Changeset 6384
- Timestamp:
- 07/06/08 18:35:21 (6 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
library/view/ownerView.php (modified) (2 diffs)
-
rewrite.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/library/view/ownerView.php
r6365 r6384 178 178 strpos($attachments[0]['name'] ,'.jpg') === false && 179 179 strpos($attachments[0]['name'] ,'.png') === false)) { 180 $fileName = "{$service['path']}{$adminSkinSetting['skin']}/ resources/image/spacer.gif";180 $fileName = "{$service['path']}{$adminSkinSetting['skin']}/image/spacer.gif"; 181 181 } else { 182 182 $fileName = "{$service['path']}/attach/$blogid/{$attachments[0]['name']}"; … … 313 313 height = 90; 314 314 } 315 document.getElementById('previewSelected').innerHTML = '<img src="<?php echo $service['path'];?>/attach/<?php echo $blogid;?>/'+fileName+'?randseed='+Math.random()+'" width="' + parseInt(width) + '" height="' + parseInt(height) + '" alt="" style="margin-top: ' + ((90-height)/2) + 'px" onerror="this.src=\'<?php echo $service['path'] . $adminSkinSetting['skin'];?>/ resources/image/spacer.gif\'"/>';315 document.getElementById('previewSelected').innerHTML = '<img src="<?php echo $service['path'];?>/attach/<?php echo $blogid;?>/'+fileName+'?randseed='+Math.random()+'" width="' + parseInt(width) + '" height="' + parseInt(height) + '" alt="" style="margin-top: ' + ((90-height)/2) + 'px" onerror="this.src=\'<?php echo $service['path'] . $adminSkinSetting['skin'];?>/image/spacer.gif\'"/>'; 316 316 } 317 317 catch(e) { } -
trunk/rewrite.php
r6337 r6384 29 29 preg_replace('/thumbnail/', 'cache/thumbnail', $accessInfo['input'], 1) : 30 30 $accessInfo['input']), '/'); 31 $part = (($qpos = strpos($part, '?')) !== false) ? substr($part, 0, $qpos) : $part; 31 32 if(file_exists($part)) { 32 33 require_once ROOT.'/library/function/file.php';
