Add new skin neoclassic

-add files.
- Add option for new skin.
This commit is contained in:
Marco Antonio Nina
2013-05-09 13:46:23 -04:00
parent 14e7c23a5b
commit 8d67974ce5
5 changed files with 40 additions and 51 deletions

View File

@@ -122,6 +122,12 @@ function newSkin ($baseSkin = 'classic')
) );
$pathBase = G::ExpandPath( "skinEngine" ) . 'base' . PATH_SEP;
break;
case 'neoclassic':
//Special Copy of this dir + xmlreplace
copy_skin_folder( G::ExpandPath( "skinEngine" ) . 'neoclassic' . PATH_SEP, PATH_CUSTOM_SKINS . $skinFolder, array ("config.xml","baseCss"
) );
$pathBase = G::ExpandPath( "skinEngine" ) . 'neoclassic' . PATH_SEP;
break;
default:
//Commmon copy/paste of a folder + xmlrepalce
copy_skin_folder( PATH_CUSTOM_SKINS . $skinBase, PATH_CUSTOM_SKINS . $skinFolder, array ("config.xml"