Changeset 32398 for extensions/read_metadata
- Timestamp:
- Jan 17, 2021, 10:08:51 PM (4 years ago)
- Location:
- extensions/read_metadata
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/read_metadata/initadmin.php
r32397 r32398 21 21 22 22 //add admin menu 23 /* 23 24 add_event_handler('get_admin_plugin_menu_links', 'read_metadata_admin_menu'); 24 25 25 function read_metadata_admin_menu($menu){ 26 26 $menu[] = array( … … 30 30 return $menu; 31 31 } 32 32 */ 33 33 add_event_handler('loc_begin_admin_page', 'read_metadataprefiltre',60); 34 34 … … 48 48 49 49 function read_metadataprefiltreT($content, &$smarty){ 50 $search = '# </ul> 51 </td> 52 </tr> 53 </table>#'; 50 $search = '# </div> 51 </div> 52 </div> 53 54 55 <p> 56 <strong>#'; 54 57 55 $replacement = ' 56 <li><a href="{$U_SHOWMETADATA}"><span class="icon-eye"></span>{\'Show metadata\'|@translate}</a></li> 58 $replacement = ' </div> 59 </div> 60 </div> 57 61 58 </ul> 59 </td> 60 </tr> 61 </table>'; 62 63 <p> 64 <strong> 65 <a class="icon-eye" href="{$U_SHOWMETADATA}">{\'Show metadata\'|@translate}</a><br><br> 66 '; 62 67 63 68 return preg_replace($search, $replacement, $content); -
extensions/read_metadata/main.inc.php
r32397 r32398 7 7 Author: ddtddt 8 8 Author URI: http://temmii.com/piwigo/ 9 Has Settings: webmaster 9 10 */ 10 11
Note: See TracChangeset
for help on using the changeset viewer.