Deutschland United States United Kingdom
ContentLion - Open Source CMS

Compare Revisions

Ignore whitespace Rev 1 → Rev 2

/activate.php
3,10 → 3,15
if(!file_exists($dirpath."/admin/plugins/skinwizard")){
echo "<pre>";print_r(FileServer::createFolder($dirpath,"admin/plugins/skinwizard"));echo "</pre>";
}
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");
$newSkinEntry = new MenuEntry();
$newSkinEntry->menu = 8;
$newSkinEntry->title = "Skin";
$newSkinEntry->href = Page::create("admin/plugins/skinwizard/base","Plugin_SkinWizard_BaseForm","Grundgerüst wählen");
$newSkinEntry->type = 0;
$newSkinEntry->href = "javascript:showIFrameDialog('Neuer Skin',660,575,'{VAR:HOST}admin/plugins/skinwizard/base.html?blank=true',true);";
$newSkinEntry->type = 1;
$newSkinEntry->save();
?>