Changeset 6227 for extensions
- Timestamp:
- May 18, 2010, 7:23:32 PM (15 years ago)
- Location:
- extensions/AdditionalPages
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
extensions/AdditionalPages/admin/admin.tpl
r3609 r6227 9 9 <tr> 10 10 <td><br>{'ap_menu_name'|@translate} : </td> 11 <td><br>{' default_sort'|@translate} </td>11 <td><br>{'Default'|@translate} </td> 12 12 <td><br><input type="text" size="50" maxlength="255" value="{$LANG_DEFAULT_VALUE}" name="menu_lang[default]"/></td> 13 13 </tr> -
extensions/AdditionalPages/index_menu.php
r3609 r6227 24 24 if ( ($block = $menu->get_block( 'mbAdditionalPages' ) ) != null ) 25 25 { 26 if (!file_exists(AP_PATH . 'template/' . $user['template'] . '.tpl')) 27 { 28 $user['template'] = 'yoga'; 29 } 26 $template->set_template_dir(AP_PATH.'template/'); 30 27 31 28 load_language('plugin.lang', AP_PATH); … … 107 104 { 108 105 $block->set_title(isset($menu_langs[$user['language']]) ? $menu_langs[$user['language']] : $menu_langs['default']); 109 $block->template = dirname(__FILE__) . '/template/' . $user['template'] . '.tpl';106 $block->template = 'AdditionalPages_menu.tpl'; 110 107 $block->data = $data; 111 108 }
Note: See TracChangeset
for help on using the changeset viewer.