Commit 4fbf4feb authored by xavidp's avatar xavidp

[FIX]Naming consistency: 'Start Profiles Wizard' and 'Wizard steps' instead of...

[FIX]Naming consistency: 'Start Profiles Wizard' and 'Wizard steps' instead of just 'Choose a Configuration profile' (since there are many profiles, and several can be applied) or 'Admin Wizard Steps' (the toc is also shown for the Profiles Wizard. Fix also the workflow of the profiles wizard, to indicate in a last step how to continue to the 'Admin Wizard' (or other shortcuts) once the 'Profiles Wizard' is finished.
parent 5f2a043e
......@@ -4893,6 +4893,7 @@ lib/wizard/pages/admin_language.php -text
lib/wizard/pages/admin_login.php -text
lib/wizard/pages/admin_look_and_feel.php -text
lib/wizard/pages/admin_namespace.php -text
lib/wizard/pages/admin_profiles_completed.php -text
lib/wizard/pages/admin_profiles_demo.php -text
lib/wizard/pages/admin_profiles_featured.php -text
lib/wizard/pages/admin_profiles_useful.php -text
......@@ -6687,6 +6688,7 @@ templates/wizard/admin_language.tpl -text
templates/wizard/admin_login.tpl -text
templates/wizard/admin_look_and_feel.tpl -text
templates/wizard/admin_namespace.tpl -text
templates/wizard/admin_profiles_completed.tpl -text
templates/wizard/admin_profiles_demo.tpl -text
templates/wizard/admin_profiles_featured.tpl -text
templates/wizard/admin_profiles_useful.tpl -text
......
<?php
// (c) Copyright 2002-2013 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');
/**
* The Admin Profiles last screen
*/
class AdminWizardProfilesCompleted extends Wizard
{
function pageTitle ()
{
return tra('Profiles Wizard Completed!');
}
function isEditable ()
{
return false;
}
public function onSetupPage ($homepageUrl)
{
global $smarty;
// Run the parent first
parent::onSetupPage($homepageUrl);
// Assign the page template
$wizardTemplate = 'wizard/admin_profiles_completed.tpl';
$smarty->assign('wizardBody', $wizardTemplate);
return true;
}
function onContinue ($homepageUrl)
{
global $tikilib;
// Run the parent first
parent::onContinue($homepageUrl);
}
}
......@@ -9,7 +9,7 @@
<tr>
{if !empty($wizard_toc)}
<td class="adminWizardTOC">
<span class="adminWizardTOCTitle">{tr}Admin Wizard Steps{/tr}</span><br>
<span class="adminWizardTOCTitle">{tr}Wizard Steps{/tr}</span><br>
{$wizard_toc}
</td>
{/if}
......
{* $Id$ *}
<div class="adminWizardIconleft"><img src="img/icons/large/profiles48x48.png" alt="{tr}Profiles Wizard completed{/tr}" /></div>
<div class="adminWizardContent">
<img src="img/icons/tick.png" alt="{tr}Ok{/tr}" />{tr}Congratulations{/tr}. {tr}You are done with the Profiles Wizard{/tr}.<br>
<fieldset>
<legend>{tr}Next?{/tr}</legend>
<ul>
<li>{tr}Visit the <a href="tiki-wizard_admin.php?&stepNr=1&url=tiki-index.php">Admin Wizard</a> to continue configuring your site{/tr}.</li>
<li>{tr}Visit the <a href="tiki-wizard_user.php">User Wizard</a> to set some of your user preferences{/tr}.</li>
<li>{tr}Or click at the button <strong>Finish</strong> to end the admin wizard and go back to the where you were{/tr}.</li>
</ul>
</fieldset>
</div>
......@@ -16,7 +16,7 @@
{tr}If you are new to Tiki administration, we recommend that you start with this approach{/tr}.
{tr}If the profile you selected does not quite meet your needs, you will still have the option of customizing it further with one of the approaches below{/tr}.
<br>
<input type="submit" class="btn btn-default" name="use-default-prefs" value="{tr}Choose a Configuration Profile{/tr}" />
<input type="submit" class="btn btn-default" name="use-default-prefs" value="{tr}Start Profiles Wizard{/tr}" />
<br><br>
</td>
</tr>
......
......@@ -46,6 +46,9 @@ if ($useDefaultPrefs) {
require_once('lib/wizard/pages/admin_profiles_demo.php');
$pages[] = new AdminWizardProfilesDemo();
require_once('lib/wizard/pages/admin_profiles_completed.php');
$pages[] = new AdminWizardProfilesCompleted();
} else {
require_once('lib/wizard/pages/admin_language.php');
$pages[] = new AdminWizardLanguage();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment