1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 20:57:26 +02:00

Frontpage Administration - admin UI conventions

This commit is contained in:
secretr
2008-12-21 10:58:35 +00:00
parent 0c28f86305
commit 04d33ef1d0
3 changed files with 34 additions and 27 deletions

View File

@@ -9,8 +9,8 @@
* Administration Area - Front page * Administration Area - Front page
* *
* $Source: /cvs_backup/e107_0.8/e107_admin/frontpage.php,v $ * $Source: /cvs_backup/e107_0.8/e107_admin/frontpage.php,v $
* $Revision: 1.8 $ * $Revision: 1.9 $
* $Date: 2008-12-15 13:31:01 $ * $Date: 2008-12-21 10:58:35 $
* $Author: secretr $ * $Author: secretr $
* *
*/ */
@@ -280,7 +280,7 @@ class frontpage
//Inline Page Help Info - system message for now //Inline Page Help Info - system message for now
//TODO - inline tooltip help system //TODO - inline tooltip help system
$emessage->add(FRTLAN_38.". ".FRTLAN_39.". ".FRTLAN_41."."); //$emessage->add(FRTLAN_38.". ".FRTLAN_39.". ".FRTLAN_41."."); - moved to a help file
// List of current settings // List of current settings
$show_legend = $show_button ? " class='e-hideme'" : ''; $show_legend = $show_button ? " class='e-hideme'" : '';

View File

@@ -1,28 +1,33 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
| e107 website system * $Id: frontpage.php,v 1.3 2008-12-21 10:58:35 secretr Exp $
| *
| <20>Steve Dunstan 2001-2002 * Frontpage Admin Help
| http://e107.org *
| jalist@e107.org
|
| Released under the terms and conditions of the
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_languages/English/admin/help/frontpage.php,v $
| $Revision: 1.2 $
| $Date: 2008-06-16 21:10:09 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/ */
if (!defined('e107_INIT')) { exit; } if (!defined('e107_INIT')) { exit; }
$caption = "Front Page Help"; $caption = "Front Page Help";
$text = "From this screen you can choose what to display as the front page of your site, the default is news. You can also determine whether /* FIXME - English native speakers: what should stay and what should go?
users are sent to a particular page after logging in.<br /><br /> <p>
The list of rules are scanned in turn, until the class of the current user matches. This then determines the user's front (home) page, and also The list of rules are scanned in turn, until the class of the current user matches.
the page he sees immediately after login."; This then determines the user's front (home) page, and also the page he sees immediately after login.
$ns -> tablerender($caption, $text); </p>
*/
$text = "
<p>
From this screen you can choose what to display as the front page of your site, the default is news. You can also determine whether
users are sent to a particular page after logging in.
</p>
<p>
The rules are searched in order, to find the first where the current user belongs to the class specified in the rule.
That rule then determines the front (home) page and any specific post-login page. If no rule matches, news.php is set as the home page.
</p>
<p>
The user is sent to the specified &quot;Post-login page&quot; (if specified) immediately following a login.
</p>
";
$ns->tablerender($caption, $text, 'admin_help');
?> ?>

View File

@@ -1,7 +1,7 @@
<?php <?php
/* /*
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt) * Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* $Id: lan_frontpage.php,v 1.4 2008-12-15 13:42:25 secretr Exp $ * $Id: lan_frontpage.php,v 1.5 2008-12-21 10:58:35 secretr Exp $
* *
* Admin Language File * Admin Language File
* *
@@ -34,10 +34,12 @@ define("FRTLAN_15", "Other (enter url):");
// New language defs for 0.8 // New language defs for 0.8
define('FRTLAN_35', 'Post-login page'); define('FRTLAN_35', 'Post-login page');
define('FRTLAN_38', 'The rules are searched in order, to find the first where the current user belongs to the class specified in the rule. That rule then determines the front (home) page and any specific post-login page.'); /* moved to the admin help file
define('FRTLAN_39', 'If no rule matches, news.php is set as the home page'); //define('FRTLAN_38', 'The rules are searched in order, to find the first where the current user belongs to the class specified in the rule. That rule then determines the front (home) page and any specific post-login page.');
//define('FRTLAN_39', 'If no rule matches, news.php is set as the home page');
//define('FRTLAN_41', 'The user is sent to the specified &quot;Post-login page&quot; (if specified) immediately following a login');
*/
define('FRTLAN_40', 'Order'); define('FRTLAN_40', 'Order');
define('FRTLAN_41', 'The user is sent to the specified &quot;Post-login page&quot; (if specified) immediately following a login');
define('FRTLAN_42', 'Add new rule'); define('FRTLAN_42', 'Add new rule');
define('FRTLAN_43', 'Class: '); define('FRTLAN_43', 'Class: ');
define('FRTLAN_44', 'Go to this page after login'); define('FRTLAN_44', 'Go to this page after login');