Changeset 6230 for extensions
- Timestamp:
- May 18, 2010, 8:49:08 PM (14 years ago)
- Location:
- extensions/PWG_Stuffs
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
extensions/PWG_Stuffs/admin/add_module.php
r3609 r6230 118 118 $template->assign(array( 119 119 'STUFFS_TITLE' => l10n('stuffs_add_mod'), 120 'MODULE_NAME' => l10n('module_name_' . $type),120 'MODULE_NAME' => l10n('module_name_' . strtolower($type)), 121 121 'show_title_CHECKED' => 'checked="checked"', 122 122 'on_home_CHECKED' => 'checked="checked"')); -
extensions/PWG_Stuffs/admin/functions.inc.php
r4540 r6230 9 9 if (is_dir($path) and !is_link($path)) { 10 10 $modules[$file] = array('type' => $file, 11 'name' => l10n('module_name_' . $file),12 'description' => l10n('module_desc_' . $file));11 'name' => l10n('module_name_' . strtolower($file)), 12 'description' => l10n('module_desc_' . strtolower($file))); 13 13 } 14 14 } -
extensions/PWG_Stuffs/include/class.inc.php
r5727 r6230 95 95 $block['U_EDIT'] = PHPWG_ROOT_PATH.'admin.php?page=plugin&section='.STUFFS_DIR.'%2Fadmin%2Fadd_module.php&type='.$module['type'].'&edit='.$module['id']; 96 96 } 97 $block['TEMPLATE'] = 'stuffs_'. $module['type'].'.tpl';97 $block['TEMPLATE'] = 'stuffs_'.strtolower($module['type']).'.tpl'; 98 98 $this->set_tpl_block($block, $module); 99 99 }
Note: See TracChangeset
for help on using the changeset viewer.