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 * Show the profiles choices
12 */
13class ProfilesWizardDemoInterestingUseCases extends Wizard
14{
15	function pageTitle()
16	{
17		return tra('Demo of Interesting Use Cases');
18	}
19	function isEditable()
20	{
21		return false;
22	}
23
24	function onSetupPage($homepageUrl)
25	{
26		global $prefs, $TWV;
27		$smarty = TikiLib::lib('smarty');
28		// Run the parent first
29		parent::onSetupPage($homepageUrl);
30
31		$smarty->assign('tikiMajorVersion', substr($TWV->version, 0, 2));
32
33		return true;
34	}
35
36	function getTemplate()
37	{
38		$wizardTemplate = 'wizard/profiles_demo_interesting_use_cases.tpl';
39		return $wizardTemplate;
40	}
41
42	function onContinue($homepageUrl)
43	{
44		// Run the parent first
45		parent::onContinue($homepageUrl);
46	}
47}
48