- Timestamp:
- 03/17/11 15:01:21 (14 months ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
-
includes/bbcode/bbcode.lib.php (modified) (2 diffs)
-
includes/graphic.inc.php (modified) (1 diff)
-
plugins/p_loginza (added)
-
plugins/p_loginza/auth.php (added)
-
plugins/p_loginza/plugin.php (added)
-
url_rewrite.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/bbcode/bbcode.lib.php
r524 r703 1182 1182 $url = $href; 1183 1183 $local = true; 1184 } elseif (!strstr($href, '?')) { 1185 $url = '/go/url='.htmlspecialchars($href); 1186 $local = false; 1184 1187 } else { 1185 $url = '/go/url='.htmlspecialchars($this->process_url($href)); 1186 $local = false; 1187 } 1188 $url = $href; 1189 } 1188 1190 $attr .= ' href="'.$url.'"'; 1189 1191 } … … 1200 1202 } 1201 1203 1202 private function process_url($href){1203 return str_replace('?', '--q--', $href);1204 }1205 1204 } 1206 1205 -
trunk/includes/graphic.inc.php
r670 r703 72 72 if ($size === false) return false; 73 73 74 $new_width = $size[0];75 $new_height = $size[1];76 77 74 if (($new_height <= $maxheight) && ($new_width <= $maxwidth)){ 78 75 @copy($src, $dest); -
trunk/url_rewrite.php
r458 r703 148 148 149 149 $rules[] = array( 150 'source' => '/^content\/(.+).html$/i',151 'target' => '/{1}.html',152 'action' => 'redirect-301'153 );154 155 $rules[] = array(156 150 'source' => '/^content\/(.+)\/page\-([0-9]+)$/i', 157 151 'target' => '/{1}/page-{2}', … … 160 154 161 155 $rules[] = array( 156 'source' => '/^content\/([0-9]+)\/(.+).html$/i', 157 'target' => '/{2}.html', 158 'action' => 'redirect-301' 159 ); 160 161 $rules[] = array( 162 'source' => '/^content\/([0-9]+)\/(.+)$/i', 163 'target' => '/{2}', 164 'action' => 'redirect-301' 165 ); 166 167 $rules[] = array( 162 168 'source' => '/^content\/(.+)$/i', 163 169 'target' => '/{1}', … … 166 172 167 173 $rules[] = array( 168 'source' => '/^content\/([0-9]+)\/(.+).html$/i',169 'target' => '/{2}.html',170 'action' => 'redirect-301'171 );172 173 $rules[] = array(174 174 'source' => '/^content\/([0-9]+)\/(.+)\/page\-([0-9]+).html$/i', 175 175 'target' => '/{2}/page-{3}.html', … … 178 178 179 179 $rules[] = array( 180 'source' => '/^content\/([0-9]+)\/(.+)$/i',181 'target' => '/{2}',182 'action' => 'redirect-301'183 );184 185 $rules[] = array(186 180 'source' => '/^content\/([0-9]+)\/(.+)\/page\-([0-9]+)$/i', 187 181 'target' => '/{2}/page-{3}',
Note: See TracChangeset
for help on using the changeset viewer.
