- Timestamp:
- 04/18/08 17:13:58 (7 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
lib/plogger/form_setup.php (modified) (1 diff)
-
plog-functions.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/plogger/form_setup.php
r517 r527 73 73 </tr> 74 74 <tr> 75 <td class="form_label"><label for="ftp_ name">FTP Path to Plogger Folder (from FTP login):</label></td>75 <td class="form_label"><label for="ftp_path">FTP Path to Plogger Folder (from FTP login):</label></td> 76 76 <td class="form_input"><input type="text" name="ftp_path" id="ftp_path" value="<?=$form['ftp_path']?>" /></td> 77 77 </tr> -
trunk/plog-functions.php
r525 r527 384 384 foreach($pic_array as $pic) { 385 385 unset($path); 386 $url = generate_thumb($pic[ "path"],$thumbnail_config[THUMB_LARGE]["prefix"],THUMB_LARGE);386 $url = generate_thumb($pic['path'],$pic['id'],THUMB_LARGE); 387 387 $script .= "\t\timage_url[$i] = '$url'\n"; 388 388 $i++; … … 502 502 503 503 if (1 == $thumb_config['disabled']) { 504 return $config['baseurl'] . ' /images/' . $path;504 return $config['baseurl'] . 'images/' . $path; 505 505 } 506 506 … … 512 512 // if thumbnail file already exists and is generated after data for a thumbnail type 513 513 // has been changed, then we assume that the thumbnail is valid. 514 if (file_exists($thumbpath) {514 if (file_exists($thumbpath)){ 515 515 $thumbnail_timestamp = @filemtime($thumbpath); 516 516 if ($thumb_config['timestamp'] < $thumbnail_timestamp) { … … 2104 2104 unset($title);unset($img_path);unset($class);unset($link); // php has problems with reassigning via iteration 2105 2105 $title = (!empty($current_thumb_nav["caption"])) ? $current_thumb_nav["caption"] : ""; 2106 $img_path = generate_thumb($current_thumb_nav["path"], $ thumbnail_config[THUMB_NAV]['prefix'], THUMB_NAV);2106 $img_path = generate_thumb($current_thumb_nav["path"], $current_thumb_nav['id'], THUMB_NAV); 2107 2107 $class = ($current_thumb_nav["id"] == $GLOBALS["current_picture"]["id"]) ? "current" : ""; 2108 2108 $link = generate_url("picture",$current_thumb_nav["id"]);
