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 * The Wizard's language handler 12 */ 13class AdminWizardLanguage extends Wizard 14{ 15 function pageTitle() 16 { 17 return tra('Set up Language'); 18 } 19 20 function isEditable() 21 { 22 return true; 23 } 24 25 function onSetupPage($homepageUrl) 26 { 27 // Run the parent first 28 parent::onSetupPage($homepageUrl); 29 30 $showPage = true; 31 32 return $showPage; 33 } 34 35 function getTemplate() 36 { 37 $wizardTemplate = 'wizard/admin_language.tpl'; 38 return $wizardTemplate; 39 } 40 41 function onContinue($homepageUrl) 42 { 43 // Run the parent first 44 parent::onContinue($homepageUrl); 45 } 46} 47