Changeset 296
- Timestamp:
- 01/26/10 08:29:04 (2 years ago)
- Files:
-
- admin/page_header_admin.php (modified) (1 diff)
- captcha (added)
- captcha/fonts (added)
- captcha/fonts/assimila.ttf (added)
- captcha/fonts/elephant.ttf (added)
- captcha/fonts/index.htm (added)
- captcha/fonts/swash_normal.ttf (added)
- captcha/fonts/terminal.phpfont (added)
- captcha/fonts/trekker_regular.ttf (added)
- captcha/index.htm (added)
- captcha/pics (added)
- captcha/pics/index.htm (added)
- captcha/pics/mandelbrot.png (added)
- captcha/pics/milkyway.png (added)
- captcha/pics/palm.png (added)
- captcha/pics/spektrum.png (added)
- include/bbcode/Xbb/Tags/A.php (modified) (2 diffs)
- include/bbcode/Xbb/Tags/Img.php (modified) (1 diff)
- include/bbcode/Xbb/Tags/gametrailers.php (added)
- include/bbcode/Xbb/Tags/youtube.php (added)
- include/bbcode/bbcode.lib.php (modified) (2 diffs)
- languages/lang_english/lang_main.php (modified) (1 diff)
- languages/lang_russian/lang_main.php (modified) (1 diff)
- templates/bithdtv/browse.html (modified) (1 diff)
- templates/main/browse.html (modified) (1 diff)
- templates/reflection/browse.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
admin/page_header_admin.php
r266 r296 134 134 header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0'); 135 135 } 136 header ('Expires: 0');137 header ('Pragma: no-cache');138 136 header('Expires: 0'); 137 header('Pragma: no-cache'); 138 header('Content-type: text/html; charset=UTF-8'); 139 139 140 140 $template->display('header'); include/bbcode/Xbb/Tags/A.php
r269 r296 43 43 if (! $href && ! isset($this -> attrib['anchor'])) { $href = $text; } 44 44 45 if (strpos($href, generate_base_url()) !== false && strpos($href, 'sid=') !== false)45 if (strpos($href, $this->base_url) !== false && strpos($href, 'sid=') !== false) 46 46 { 47 47 … … 51 51 } 52 52 53 $href = $this -> checkUrl($href); 53 if ( !$href = $this -> checkUrl($href) ) { 54 return '[url]' . parent::get_html($this -> tree) . '[/url]'; 55 } 54 56 55 57 $attr = 'class="bb"'; include/bbcode/Xbb/Tags/Img.php
r269 r296 43 43 if ('text' == $text['type']) { $src .= $text['str']; } 44 44 } 45 $src = $this -> checkUrl($src); 46 return '<img src="'.$src.'" '.$attr.' />'; 45 if ( !$c_src = $this -> checkUrl($src) ) { 46 return '[img]' . $src . '[/img]'; 47 } 48 else { 49 return '<img src="'.$c_src.'" '.$attr.' />'; 50 } 47 51 } 48 52 } include/bbcode/bbcode.lib.php
r283 r296 1164 1164 $protocols = array( 1165 1165 'ftp://', 'file://', 'http://', 'https://', 'mailto:', 'svn://', 1166 '#', '/', '?', './', '../', 'www.' 1166 //'#', '/', '?', './', '../', 'www.' 1167 'www.' 1167 1168 ); 1168 1169 $is_http = false; … … 1176 1177 } 1177 1178 } 1178 if (! $is_http) { $url = './'.$url; } 1179 if (! $is_http) { 1180 // $url = './'.$url; 1181 return false; 1182 } 1179 1183 $url = htmlentities($url, ENT_QUOTES); 1180 1184 $url = str_replace('.', '&#'.ord('.').';', $url); languages/lang_english/lang_main.php
r293 r296 797 797 'login_type' => 'Login type', 798 798 'alternate' => 'Alternate', 799 'standart' => 'Standart', 799 800 'rss_generate' => 'Generate RSS link', 800 801 languages/lang_russian/lang_main.php
r293 r296 804 804 'login_type' => 'Тип логина', 805 805 'alternate' => 'Альтернативный', 806 'standart' => 'Стандартный', 806 807 'rss_generate' => 'Сгенерировать RSS ссылку', 807 808 templates/bithdtv/browse.html
r295 r296 24 24 {INCLDEAD_SELECT} 25 25 26 <!-- IF SHOW_TAGS_CLOUD --> 27 28 <br /><br /> 29 30 <table width="100%" class="main" border="0" cellpadding="5" id="tag_cloud"> 31 <tr> 32 <td> 33 <!-- BEGIN tags_cloud --> 34 35 <a href="{tags_cloud.U_TAG}" style="font-size:{tags_cloud.TAG_SIZE}px;">{tags_cloud.TAG_NAME}</a> 36 37 <!-- END tags_cloud --> 38 39 </td> 40 41 </tr> 42 43 </table> 26 44 <br /> 45 <!-- ENDIF --> 27 46 28 47 <table width=700 class=main border=0 cellpadding=5> templates/main/browse.html
r295 r296 37 37 </fieldset> 38 38 39 <!-- IF SHOW_TAGS_CLOUD --> 40 41 <fieldset id="tag_cloud"> 42 43 <!-- BEGIN tags_cloud --> 44 45 <a href="{tags_cloud.U_TAG}" style="font-size:{tags_cloud.TAG_SIZE}px;">{tags_cloud.TAG_NAME}</a> 46 47 <!-- END tags_cloud --> 48 49 50 </fieldset> 51 52 <!-- ENDIF --> 53 39 54 <fieldset> 40 55 {L_SEARCH} <input type="text" name="search" size="40" value="{SEARCH_STRING}" onmouseover="return overlib(L_JS_SEARCH_EXPLAIN);" onmouseout="return nd();" /> {L_IN} {SEARCH_IN_SELECT} <input type="submit" value="{L_SEARCH}" /><br /> templates/reflection/browse.html
r295 r296 21 21 <div align="center">(<a href="{U_SHOW_ALL}"><b>{L_SHOW_ALL}</b></a>) {INCLDEAD_SELECT} </div> 22 22 23 <!-- IF SHOW_TAGS_CLOUD --> 24 25 <fieldset id="tag_cloud" class="catNamesBlock"> 26 27 <!-- BEGIN tags_cloud --> 28 29 <a href="{tags_cloud.U_TAG}" style="font-size:{tags_cloud.TAG_SIZE}px;">{tags_cloud.TAG_NAME}</a> 30 31 <!-- END tags_cloud --> 32 33 </fieldset> 34 35 <!-- ENDIF --> 36 23 37 <fieldset class="catNamesBlock"> 24 38 {L_SEARCH} <input type="text" name="search" size="40" value="{SEARCH_STRING}" onmouseover="return overlib(L_JS_SEARCH_EXPLAIN);" onmouseout="return nd();" /> {L_IN} {SEARCH_IN_SELECT} <input type="submit" value="{L_SEARCH}" />
