Deutschland United States United Kingdom
ContentLion - Open Source CMS

Compare Revisions

Ignore whitespace Rev 6 → Rev 7

/activate.php
1,17 → 1,18
<?PHP
$dirpath = Settings::getInstance()->get("root")."content/articles";
if(!file_exists($dirpath."/admin/plugins/skinwizard")){
echo "<pre>";print_r(FileServer::createFolder($dirpath,"admin/plugins/skinwizard"));echo "</pre>";
FileServer::createFolder($dirpath,"admin/plugins/skinwizard");
}
Page::create("admin/plugins/skinwizard/base","Plugin_SkinWizard_BaseForm","Grundgerüst wählen");
Page::create("admin/plugins/skinwizard/colors","Plugin_SkinWizard_ColorForm","Farbe wählen");
Page::create("admin/plugins/skinwizard/font","Plugin_SkinWizard_FontForm","Schrift wählen");
Page::create("admin/plugins/skinwizard/size","Plugin_SkinWizard_SizeForm","Größen wählen");
Page::create("admin/plugins/skinwizard/generator","Plugin_SkinWizard_GeneratingForm","Speichern");
Page::create("admin/plugins/skinwizard/base","Plugin_SkinWizard_BaseForm","{LANG:PLUGIN_SKINWIZARD_CHOOSE_BASE}");
Page::create("admin/plugins/skinwizard/colors","Plugin_SkinWizard_ColorForm","{LANG:PLUGIN_SKINWIZARD_CHOOSE_COLOR}");
Page::create("admin/plugins/skinwizard/font","Plugin_SkinWizard_FontForm","{LANG:PLUGIN_SKINWIZARD_CHOOSE_FONT}");
Page::create("admin/plugins/skinwizard/size","Plugin_SkinWizard_SizeForm","{LANG:PLUGIN_SKINWIZARD_CHOOSE_SIZES}");
Page::create("admin/plugins/skinwizard/generator","Plugin_SkinWizard_GeneratingForm","{LANG:PLUGIN_SKINWIZARD_SAVE}");
$newSkinEntry = new MenuEntry();
$newSkinEntry->menu = 8;
$newSkinEntry->title = "Skin";
$newSkinEntry->href = "javascript:showIFrameDialog('Neuer Skin',660,575,'{VAR:HOST}admin/plugins/skinwizard/base.html?blank=true',true);";
$url = UrlRewriting::GetUrlByAlias("admin/plugins/skinwizard/base","blank=true");
$newSkinEntry->href = "javascript:showIFrameDialog('{LANG:PLUGIN_SKINWIZARD_NEW_SKIN}',660,575,'".$url."',true);";
$newSkinEntry->type = 1;
$newSkinEntry->save();
?>