Changeset 7524 for extensions/metasimple/main.inc.php
- Timestamp:
- 10/31/10 22:16:04 (3 years ago)
- Files:
-
- 1 modified
-
extensions/metasimple/main.inc.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
extensions/metasimple/main.inc.php
r7517 r7524 26 26 //meta homepage 27 27 { 28 global $template, $page, $meta_infosdesc ;28 global $template, $page, $meta_infosdesc, $conf; 29 29 $meta_infosdesc = array(); 30 30 $meta_infosdesc['info'] = $template->get_template_vars('INFO_FILE'); … … 32 32 $meta_infosdesc['comment'] = $template->get_template_vars('COMMENT_IMG'); 33 33 34 if (isset($page['section']) and $page['section'] == 'categories' and empty($page['category']['id']))34 if (isset($page['section']) and $page['section'] == 'categories' and empty($page['category']['id'])) 35 35 { 36 $descindex='ttz';37 if (!empty($descindex))38 {39 $template->assign('COMMENT_IMG', $descindex);40 $template->clear_assign('INFO_FILE');41 }36 $descindex = & $conf['metasimple']; 37 if (!empty($descindex)) 38 { 39 $template->assign('COMMENT_IMG', $descindex); 40 $template->clear_assign('INFO_FILE'); 41 } 42 42 } 43 43 } 44 44 45 45 function add_metadesccat() 46 //meta albums 46 47 { 47 48 global $template, $page, $meta_infosdesc; … … 68 69 69 70 function add_metadescimg() 71 //meta photos 70 72 { 71 73 global $template, $page, $meta_infosdesc;
![(please configure the [header_logo] section in trac.ini)](http://piwigo.org/screenshots/piwigo_logo_on_white.png)