Changeset 9366 for trunk/include/functions_picture.inc.php
- Timestamp:
- Feb 24, 2011, 2:48:31 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_picture.inc.php
r8728 r9366 66 66 67 67 68 /* 69 * Returns the name of a photo according to its name and its filename. 70 * @param name string 71 * @param filename string 72 * @return string 73 */ 74 function get_image_name($name, $filename) 75 { 76 if (!empty($name)) 77 { 78 return $name; 79 } 80 else 81 { 82 return get_name_from_file($filename); 83 } 84 } 85 86 68 87 /** 69 88 * Returns the PATH to the image to be displayed in the picture page. If the
Note: See TracChangeset
for help on using the changeset viewer.