Changeset 7524 for extensions/metasimple/main.inc.php
- Timestamp:
- Oct 31, 2010, 10:16:04 PM (14 years ago)
- File:
-
- 1 edited
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 34 if (isset($page['section']) and $page['section'] == 'categories' and empty($page['category']['id'])) 35 35 { 36 $descindex='ttz';37 38 39 40 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;
Note: See TracChangeset
for help on using the changeset viewer.