Changeset 21222
- Timestamp:
- Mar 5, 2013, 11:58:54 PM (11 years ago)
- Location:
- extensions/Photo_add_by
- Files:
-
- 5 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Photo_add_by/initpicture.php
r21162 r21222 10 10 } 11 11 12 12 13 function pabIT($content, &$smarty) 13 14 { 14 $search = '#<div id="datecreate" class="imageInfo">#'; 15 16 global $conf; 17 18 $search = '#<div id="'.$conf['Photo_add_by'].'" class="imageInfo">#'; 15 19 16 20 $replacement = ' … … 21 25 </div> 22 26 {/if} 23 <div id=" datecreate" class="imageInfo">';27 <div id="'.$conf['Photo_add_by'].'" class="imageInfo">'; 24 28 25 29 return preg_replace($search, $replacement, $content); -
extensions/Photo_add_by/language/en_UK/plugin.lang.php
r16897 r21222 1 1 <?php 2 $lang['Management'] = 'Management'; 2 3 $lang['Photo added by'] = 'Photo added by'; 4 $lang['Add information before'] = 'Add information before'; 5 $lang['Information must be displayed on the photo page for this to work'] = 'Information must be displayed on the photo page for this to work'; 6 $lang['Choice saved'] = 'Choice saved'; 3 7 ?> -
extensions/Photo_add_by/language/fr_FR/plugin.lang.php
r16897 r21222 1 1 <?php 2 $lang['Management'] = 'gestion'; 2 3 $lang['Photo added by'] = 'Photo Ajouté par'; 4 $lang['Add information before'] = 'Ajouter l\'information avant'; 5 $lang['Information must be displayed on the photo page for this to work'] = 'L\'information doit être affiché sur la page photo pour que cela fonctionne'; 6 $lang['Choice saved'] = 'Choix sauvegardé'; 3 7 ?> -
extensions/Photo_add_by/main.inc.php
r16897 r21222 22 22 } 23 23 24 // menu admin 25 add_event_handler('get_admin_plugin_menu_links', 'PAB_admin_menu'); 26 function PAB_admin_menu($menu) 27 { 28 array_push($menu, array( 29 'NAME' => 'Photo added by', 30 'URL' => get_admin_plugin_menu_link(PAB_PATH . 'admin/admin.php'))); 31 return $menu; 32 } 33 34 24 35 ?>
Note: See TracChangeset
for help on using the changeset viewer.