You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

49 lines
1.1 KiB

<?php
// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
require_once('lib/wizard/wizard.php');
/**
* Show the profiles choices
*/
class ProfilesWizardDemoCommonConfs extends Wizard
{
public function pageTitle()
{
return tra('Demo of Commonly Used Configurations');
}
public function isEditable()
{
return false;
}
public function onSetupPage($homepageUrl)
{
global$TWV;
$smarty = TikiLib::lib('smarty');
// Run the parent first
parent::onSetupPage($homepageUrl);
$smarty->assign('tikiMajorVersion', substr($TWV->version, 0, 2));
return true;
}
public function getTemplate()
{
$wizardTemplate = 'wizard/profiles_demo_common_confs.tpl';
return $wizardTemplate;
}
public function onContinue($homepageUrl)
{
// Run the parent first
parent::onContinue($homepageUrl);
}
}