Changeset 11675 for extensions/Copyrights/image.php
- Timestamp:
- Jul 9, 2011, 3:30:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Copyrights/image.php
r11656 r11675 1 1 <?php 2 /*3 This php file will insert the names of the copyrights into the images description,4 so you can see below the image what copyright it has.5 */6 2 7 3 // Add a prefilter … … 38 34 function copyrights_add_image_vars_to_template() 39 35 { 40 // For as far as i know i only need the $prefixtable, $page and $template41 //global $conf, $page, $template, $tab, $cit, $nbr, $prefixeTable;42 36 global $page, $template, $prefixeTable; 43 //load_language('plugin.lang', ADDINFO_PATH);44 //load_language('lang', PHPWG_ROOT_PATH.'local/', array('no_fallback'=>true, 'local'=>true) );45 37 46 38 // Show block only on the photo page 47 39 if ( !empty($page['image_id']) ) 48 40 { 49 // Get the copyright name and url (FROM cr_admin) that belongs to the current media_item (FROM cr_media)41 // Get the copyright name, url and description that belongs to the current media_item 50 42 $query = ' 51 43 select name, url, descr
Note: See TracChangeset
for help on using the changeset viewer.