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 ChangesWizardNewIn17 extends Wizard 14{ 15 function pageTitle() 16 { 17 return tra('New in Tiki 17'); 18 } 19 20 function isEditable() 21 { 22 return true; 23 } 24 25 function onSetupPage($homepageUrl) 26 { 27 global $prefs; 28 $smarty = TikiLib::lib('smarty'); 29 $addonprefs = TikiLib::lib('prefs')->getPackagePrefs(); 30 $smarty->assign('addonprefs', $addonprefs); 31 32 // Run the parent first 33 parent::onSetupPage($homepageUrl); 34 35 $showPage = true; 36 37 // Show if any more specification is needed 38 39 return $showPage; 40 } 41 42 function getTemplate() 43 { 44 $wizardTemplate = 'wizard/changes_new_in_17.tpl'; 45 46 return $wizardTemplate; 47 } 48 49 function onContinue($homepageUrl) 50 { 51 global $tikilib; 52 53 // Run the parent first 54 parent::onContinue($homepageUrl); 55 } 56} 57