Changeset 32155 for extensions
- Timestamp:
- May 1, 2020, 7:43:17 PM (4 years ago)
- Location:
- extensions/photos_from_one_year_ago
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/photos_from_one_year_ago/language/en_UK/plugin.lang.php
r32125 r32155 21 21 $lang['Photos from one year ago'] = 'Photos from one year ago'; 22 22 $lang['Displays photos from one year ago'] = 'Displays photos from one year ago'; 23 $lang['more photos'] = 'more photos'; 24 $lang['Display X photos from one year ago in the gallery or a album'] = 'Display X photos from one year ago in the gallery or a album'; 23 25 -
extensions/photos_from_one_year_ago/language/fr_FR/plugin.lang.php
r32125 r32155 22 22 $lang['Photos from one year ago'] = 'Photos d\'il y a un an'; 23 23 $lang['Displays photos from one year ago'] = 'Affiche les photos d\'il y a un an'; 24 $lang['more photos'] = 'plus de photos'; 25 $lang['Display X photos from one year ago in the gallery or a album'] = 'Afficher les X photos d\'il y a 1 ans de la galerie ou de l\'album'; -
extensions/photos_from_one_year_ago/main.inc.php
r32152 r32155 60 60 function section_init_pfoya() 61 61 { 62 global $tokens, $page, $conf ;63 62 global $tokens, $page, $conf,$template; 63 $template->assign('PFOAYALINK',make_index_url(array('section' => 'photos_from_one_year_ago'))); 64 64 if (!in_array('photos_from_one_year_ago', $tokens)) 65 65 { 66 66 return; 67 67 } 68 68 69 69 70 $page['section'] = 'photos_from_one_year_ago'; … … 121 122 return $tpl_thumbnails_var; 122 123 } 123 124 125 126 124 127 125 } 128 126 127 add_event_handler('get_stuffs_modules', 'register_pfoya_module'); 129 128 129 function register_pfoya_module($modules){ 130 array_push($modules, array( 131 'path' => PFOYA_PATH.'/blockhome', 132 'name' => l10n('Photos from one year ago'), 133 'description' => l10n('Display X photos from one year ago in the gallery or a album'), 134 ) 135 ); 136 return $modules; 137 } 130 138 131 139
Note: See TracChangeset
for help on using the changeset viewer.