Changeset 11285
- Timestamp:
- Jun 9, 2011, 10:34:48 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/configuration.php
r11279 r11285 79 79 'index_created_date_icon', 80 80 'index_slideshow_icon', 81 'index_new_icon', 81 82 'picture_metadata_icon', 82 83 'picture_slideshow_icon', -
trunk/admin/themes/default/template/configuration.tpl
r11279 r11285 240 240 <input type="checkbox" name="menubar_filter_icon" {if ($display.menubar_filter_icon)}checked="checked"{/if}> 241 241 </label> 242 </li> 243 244 <li> 245 <label> 246 <span class="property">{'Activate icon "new" next to albums and pictures'|@translate}</span> 247 <input type="checkbox" name="index_new_icon" {if ($display.index_new_icon)}checked="checked"{/if}> 248 </label> 242 249 </li> 243 250 -
trunk/include/category_cats.inc.php
r9365 r11285 307 307 'TN_SRC' => $thumbnail_src_of[$category['representative_picture_id']], 308 308 'TN_ALT' => strip_tags($category['name']), 309 'icon_ts' => get_icon($category['max_date_last'], $category['is_child_date_last']),310 309 311 310 'URL' => make_index_url( … … 329 328 'NAME' => $name, 330 329 ); 330 if ($conf['index_new_icon']) 331 { 332 $row['icon_ts'] = get_icon($category['max_date_last'], $category['is_child_date_last']); 333 } 331 334 332 335 if ($conf['display_fromto']) -
trunk/include/category_default.inc.php
r8728 r11285 111 111 'TN_ALT' => $row['file'], 112 112 'TN_TITLE' => get_thumbnail_title($row), 113 'icon_ts' => get_icon($row['date_available']),114 113 'URL' => $url, 115 114 … … 128 127 true:false, /* lack of include/functions_picture.inc.php */ 129 128 ); 129 if ($conf['index_new_icon']) 130 { 131 $row['icon_ts'] = get_icon($row['date_available']); 132 } 130 133 131 134 if ($user['show_nb_hits']) -
trunk/include/functions_category.inc.php
r11155 r11285 51 51 function get_categories_menu() 52 52 { 53 global $page, $user, $filter ;53 global $page, $user, $filter, $conf; 54 54 55 55 $query = ' … … 111 111 $row['name'], 112 112 'get_categories_menu' 113 ),113 ), 114 114 'TITLE' => get_display_images_count( 115 115 $row['nb_images'], … … 118 118 false, 119 119 ' / ' 120 ),120 ), 121 121 'URL' => make_index_url(array('category' => $row)), 122 122 'LEVEL' => substr_count($row['global_rank'], '.') + 1, 123 'icon_ts' => get_icon($row['max_date_last'], $child_date_last),124 123 'SELECTED' => $selected_category['id'] == $row['id'] ? true : false, 125 124 'IS_UPPERCAT' => $selected_category['id_uppercat'] == $row['id'] ? true : false, 126 ) 127 ); 125 ) 126 ); 127 if ($conf['index_new_icon']) 128 { 129 $row['icon_ts'] = get_icon($row['max_date_last'], $child_date_last); 130 } 128 131 array_push($cats, $row); 129 132 if ($row['id']==@$page['category']['id']) //save the number of subcats for later optim -
trunk/install/config.sql
r11279 r11285 37 37 INSERT INTO piwigo_config (param,value,comment) VALUES ('index_created_date_icon','true','Display calendar by creation date icon'); 38 38 INSERT INTO piwigo_config (param,value,comment) VALUES ('index_slideshow_icon','true','Display slideshow icon'); 39 INSERT INTO piwigo_config (param,value,comment) VALUES ('index_new_icon','true','Display new icons next albums and pictures'); 39 40 INSERT INTO piwigo_config (param,value,comment) VALUES ('picture_metadata_icon','true','Display metadata icon on picture page'); 40 41 INSERT INTO piwigo_config (param,value,comment) VALUES ('picture_slideshow_icon','true','Display slideshow icon on picture page'); -
trunk/language/en_UK/admin.lang.php
r11279 r11285 99 99 $lang['Activate Navigation Thumbnails'] = 'Activate navigation thumbnails'; 100 100 $lang['Activate'] = "Activate"; 101 $lang['Activate icon "new" next to albums and pictures'] = 'Activate icon "new" next to albums and pictures'; 101 102 $lang['Active Languages'] = 'Active Languages'; 102 103 $lang['Active Plugins'] = 'Active Plugins'; -
trunk/language/fr_FR/admin.lang.php
r11279 r11285 853 853 $lang['As default order'] = "Comme l'ordre par défaut"; 854 854 $lang['Custom'] = "Personnalisé"; 855 $lang['Activate icon "new" next to albums and pictures'] = 'Afficher l\'icône "nouveau" à côté des albums et des photos'; 855 856 ?>
Note: See TracChangeset
for help on using the changeset viewer.