1<?php 2// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project 3// 4// All Rights Reserved. See copyright.txt for details and a complete list of authors. 5// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. 6// $Id$ 7 8require_once('lib/wizard/wizard.php'); 9 10/** 11 * Set up the wiki settings 12 */ 13class AdminWizardWiki extends Wizard 14{ 15 function pageTitle() 16 { 17 return tra('Set up Wiki environment'); 18 } 19 function isEditable() 20 { 21 return true; 22 } 23 24 public function onSetupPage($homepageUrl) 25 { 26 global $prefs; 27 // Run the parent first 28 parent::onSetupPage($homepageUrl); 29 30 return true; 31 } 32 33 function getTemplate() 34 { 35 $wizardTemplate = 'wizard/admin_wiki.tpl'; 36 return $wizardTemplate; 37 } 38 39 public function onContinue($homepageUrl) 40 { 41 global $tikilib; 42 43 // Run the parent first 44 parent::onContinue($homepageUrl); 45 46 // Configure detail preferences in own page 47 } 48} 49