Revision 1648
Added by darkviper over 13 years ago
| index.php | ||
|---|---|---|
| 106 | 106 |
. 'WHERE `directory`=\''.DEFAULT_THEME.'\' AND `function`=\'theme\''; |
| 107 | 107 |
$tmp = $database->get_one($sql); |
| 108 | 108 |
$template->set_var('THEME_DEFAULT_NAME', $tmp);
|
| 109 |
$template->set_var('THEME_PATH', THEME_PATH);
|
|
| 109 | 110 |
// end copy current theme |
| 110 | 111 |
// start template import |
| 111 | 112 |
include(dirname(__FILE__).'/CopyThemeHtt.php'); |
| 112 |
$aTplList = CopyThemeHtt::getDivList(ADMIN_PATH.'/themes/templates',
|
|
| 113 |
$aTplList = CopyThemeHtt::getDivList(ADMIN_PATH.'/skel/themes/htt',
|
|
| 113 | 114 |
THEME_PATH.'/templates', 'htt'); |
| 114 | 115 |
$sOptionList = ''; |
| 115 | 116 |
if(sizeof($aTplList)) {
|
Also available in: Unified diff
a litte fix in /admin/addons/index.php.
added unregister_Theme to CopyTheme::_doRollback()
added CopyTheme::_activateTheme()