Changeset 9410 for extensions/PWG_Stuffs/class.inc.php
- Timestamp:
- Feb 28, 2011, 10:50:28 AM (13 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
extensions/PWG_Stuffs/class.inc.php
r9383 r9410 9 9 var $blocks = array(); 10 10 var $pos = 'begin'; 11 var $ template_var = array();11 var $prefixe = 'PLUGIN_INDEX_CONTENT_'; 12 12 13 13 function stuffs() … … 17 17 if ($page['stuffs_section'] == 'on_picture') 18 18 { 19 $this->template_var['begin'] = 'PLUGIN_PICTURE_BEFORE'; 20 $this->template_var['end'] = 'PLUGIN_PICTURE_AFTER'; 19 $this->prefixe = 'PLUGIN_PICTURE_'; 21 20 $template->set_prefilter('header', array('stuffs', 'prefilter_picture_css')); 22 21 pwgs_picture_special_sections(); … … 24 23 else 25 24 { 26 $this->template_var['begin'] = 'PLUGIN_INDEX_CONTENT_BEFORE';27 $this->template_var['end'] = 'PLUGIN_INDEX_CONTENT_AFTER';28 25 $template->set_prefilter( 'header', array('stuffs', 'prefilter_index_css') ); 29 26 } … … 55 52 56 53 $query = ' 57 SELECT DISTINCT id, name, path, parent,datas, groups, show_title, id_line, width54 SELECT DISTINCT id, name, path, datas, groups, show_title, id_line, width 58 55 FROM ' . STUFFS_TABLE . ' 59 56 LEFT JOIN ' . USER_GROUP_TABLE . ' … … 92 89 continue; 93 90 } 94 if (isset($module['parent']) and !isset($pwg_loaded_plugins[$module['parent']])) 91 92 preg_match('#^'.preg_quote(PHPWG_PLUGINS_PATH).'([^/]*?)/#', $module['path'], $match); 93 if (!isset($pwg_loaded_plugins[$match[1]])) 95 94 { 96 95 continue;
Note: See TracChangeset
for help on using the changeset viewer.