mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
use .required
This commit is contained in:
parent
e70ec46f0b
commit
3633b3d955
@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_admin/mailout.php,v $
|
||||
| $Revision: 1.21 $
|
||||
| $Date: 2009-10-26 01:23:19 $
|
||||
| $Author: e107coders $
|
||||
| $Revision: 1.22 $
|
||||
| $Date: 2009-10-29 11:32:57 $
|
||||
| $Author: marj_nl_fr $
|
||||
|
|
||||
| Work in progress - supplementary mailer plugin
|
||||
|
|
||||
@ -1213,7 +1213,8 @@ function show_prefs()
|
||||
|
||||
if(!is_executable(e_HANDLER."bounce_handler.php"))
|
||||
{
|
||||
$text .= " <b style='color:red'>IMPORTANT! You need to CHMOD this file to 0755</b>";
|
||||
//FIXME hardcoded text and wrong info
|
||||
$text .= " <span class='required'>IMPORTANT! You need to CHMOD this file to 0755</span>";
|
||||
}
|
||||
|
||||
$text .= "</td>
|
||||
|
@ -10,9 +10,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/menumanager_class.php,v $
|
||||
| $Revision: 1.8 $
|
||||
| $Date: 2009-09-19 17:43:19 $
|
||||
| $Author: e107coders $
|
||||
| $Revision: 1.9 $
|
||||
| $Date: 2009-10-29 11:32:58 $
|
||||
| $Author: marj_nl_fr $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
@ -1026,7 +1026,7 @@ class e_menuManager {
|
||||
|
||||
$menu_name = preg_replace("#_menu#i", "", $menu_name);
|
||||
//TODO we need a CSS class for this
|
||||
$vis = ($menu_class || strlen($menu_pages) > 1) ? " <span style='color:red'>*</span> " : "";
|
||||
$vis = ($menu_class || strlen($menu_pages) > 1) ? " <span class='required'>*</span> " : "";
|
||||
//DEBUG div not allowed in final tags $caption = "<div style='text-align:center'>{$menu_name}{$vis}</div>";
|
||||
// use theme render style instead
|
||||
$caption = $menu_name.$vis;
|
||||
|
@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_languages/English/admin/help/menus.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:34:43 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2009-10-29 11:32:58 $
|
||||
| $Author: marj_nl_fr $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
@ -49,7 +49,7 @@ If you find the menus are not updating properly click on the refresh button.
|
||||
<div><input type='submit' class='button' name='reset' value='Refresh' /></div>
|
||||
</form>
|
||||
<br />
|
||||
<div class='indent'><span style='color:red'>*</span> indicates menu visibility has been modified</div>
|
||||
<div class='indent'><span class='required'>*</span> indicates menu visibility has been modified</div>
|
||||
";
|
||||
|
||||
$ns -> tablerender("Menus Help", $text);
|
||||
|
@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_themes/templates/signup_template.php,v $
|
||||
| $Revision: 1.12 $
|
||||
| $Date: 2008-12-28 22:37:43 $
|
||||
| $Author: e107steved $
|
||||
| $Revision: 1.13 $
|
||||
| $Date: 2009-10-29 11:32:58 $
|
||||
| $Author: marj_nl_fr $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
@ -21,13 +21,13 @@ if (!defined('e107_INIT')) { exit; }
|
||||
if (!defined("USER_WIDTH")){ define("USER_WIDTH","width:100%"); }
|
||||
|
||||
|
||||
define("REQUIRED_FIELD_MARKER", "<span style='text-align:right;font-size:15px; color:red'> *</span>");
|
||||
define("REQUIRED_FIELD_MARKER", "<span class='required'> *</span>");
|
||||
|
||||
|
||||
|
||||
$sc_style['SIGNUP_DISPLAYNAME']['pre'] = "
|
||||
<tr>
|
||||
<td class='forumheader3' style='width:30%;white-space:nowrap' >".LAN_SIGNUP_89."<span style='font-size:15px; color:red'> *</span><br /><span class='smalltext'>".LAN_SIGNUP_90."</span></td>
|
||||
<td class='forumheader3' style='width:30%;white-space:nowrap' >".LAN_SIGNUP_89."<span class='required'> *</span><br /><span class='smalltext'>".LAN_SIGNUP_90."</span></td>
|
||||
<td class='forumheader3' style='width:70%'>
|
||||
";
|
||||
$sc_style['SIGNUP_DISPLAYNAME']['post'] = "
|
||||
@ -45,7 +45,7 @@ $sc_style['SIGNUP_REALNAME']['post'] = "
|
||||
</tr>
|
||||
";
|
||||
|
||||
$sc_style['SIGNUP_IS_MANDATORY']['pre'] = "<span style='font-size:15px; color:red'>";
|
||||
$sc_style['SIGNUP_IS_MANDATORY']['pre'] = "<span class='required'>";
|
||||
$sc_style['SIGNUP_IS_MANDATORY']['post'] = "</span>";
|
||||
|
||||
|
||||
@ -110,7 +110,7 @@ if(!defined($SIGNUP_EXTENDED_USER_FIELDS))
|
||||
|
||||
if(!defined($EXTENDED_USER_FIELD_REQUIRED))
|
||||
{
|
||||
$EXTENDED_USER_FIELD_REQUIRED = "<span style='text-align:right;font-size:15px; color:red'> *</span>";
|
||||
$EXTENDED_USER_FIELD_REQUIRED = "<span class='required'> *</span>";
|
||||
}
|
||||
|
||||
$SIGNUP_SIGNATURE_START = "
|
||||
@ -190,21 +190,21 @@ $SIGNUP_XUP_FORM = "
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class='forumheader3' style='width:30%;white-space:nowrap' >".LAN_SIGNUP_81."<span style='font-size:15px; color:red'> *</span><br /><span class='smalltext'>".LAN_SIGNUP_82."</span></td>
|
||||
<td class='forumheader3' style='width:30%;white-space:nowrap' >".LAN_SIGNUP_81."<span class='required'> *</span><br /><span class='smalltext'>".LAN_SIGNUP_82."</span></td>
|
||||
<td class='forumheader3' style='width:70%'>
|
||||
{SIGNUP_XUP_LOGINNAME}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_SIGNUP_83."<span style='font-size:15px; color:red'> *</span></td>
|
||||
<td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_SIGNUP_83."<span class='required'> *</span></td>
|
||||
<td class='forumheader3' style='width:70%'>
|
||||
{SIGNUP_XUP_PASSWORD1}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_SIGNUP_84."<span style='font-size:15px; color:red'> *</span></td>
|
||||
<td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_SIGNUP_84."<span class='required'> *</span></td>
|
||||
<td class='forumheader3' style='width:70%'>
|
||||
{SIGNUP_XUP_PASSWORD2}
|
||||
</td>
|
||||
@ -255,21 +255,21 @@ $SIGNUP_BODY = "
|
||||
<table class='fborder' style='".USER_WIDTH."'>
|
||||
{SIGNUP_DISPLAYNAME}
|
||||
<tr>
|
||||
<td class='forumheader3' style='width:30%;white-space:nowrap' >".LAN_SIGNUP_81."<span style='font-size:15px; color:red'> *</span><br /><span class='smalltext'>".LAN_SIGNUP_82."</span></td>
|
||||
<td class='forumheader3' style='width:30%;white-space:nowrap' >".LAN_SIGNUP_81."<span class='required'> *</span><br /><span class='smalltext'>".LAN_SIGNUP_82."</span></td>
|
||||
<td class='forumheader3' style='width:70%'>
|
||||
{SIGNUP_LOGINNAME}
|
||||
</td>
|
||||
</tr>
|
||||
{SIGNUP_REALNAME}
|
||||
<tr>
|
||||
<td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_SIGNUP_83."<span style='font-size:15px; color:red'> *</span></td>
|
||||
<td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_SIGNUP_83."<span class='required'> *</span></td>
|
||||
<td class='forumheader3' style='width:70%'>
|
||||
{SIGNUP_PASSWORD1}
|
||||
{SIGNUP_PASSWORD_LEN}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_SIGNUP_84."<span style='font-size:15px; color:red'> *</span></td>
|
||||
<td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_SIGNUP_84."<span class='required'> *</span></td>
|
||||
<td class='forumheader3' style='width:70%'>
|
||||
{SIGNUP_PASSWORD2}
|
||||
</td>
|
||||
|
@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_themes/templates/usersettings_template.php,v $
|
||||
| $Revision: 1.7 $
|
||||
| $Date: 2009-08-05 21:47:18 $
|
||||
| $Author: e107coders $
|
||||
| $Revision: 1.8 $
|
||||
| $Date: 2009-10-29 11:32:58 $
|
||||
| $Author: marj_nl_fr $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
@ -97,7 +97,7 @@ $USEREXTENDED_FIELD = "
|
||||
</td>
|
||||
</tr>
|
||||
";
|
||||
$REQUIRED_FIELD = "{FIELDNAME}<span style='text-align:right;font-size:15px; color:red'> *</span>";
|
||||
$REQUIRED_FIELD = "{FIELDNAME}<span class='required'> *</span>";
|
||||
|
||||
$USERSETTINGS_EDIT = "
|
||||
<div style='text-align:center'>
|
||||
|
@ -9,8 +9,8 @@
|
||||
* User settings modify
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/usersettings.php,v $
|
||||
* $Revision: 1.39 $
|
||||
* $Date: 2009-08-28 15:30:24 $
|
||||
* $Revision: 1.40 $
|
||||
* $Date: 2009-10-29 11:32:58 $
|
||||
* $Author: marj_nl_fr $
|
||||
*
|
||||
*/
|
||||
@ -671,7 +671,7 @@ $text = (e_QUERY ? $rs->form_open("post", e_SELF."?".e_QUERY, "dataform", "", "
|
||||
|
||||
if (e_QUERY == "update")
|
||||
{
|
||||
$text .= "<div class='fborder' style='text-align:center'><br />".str_replace("*", "<span style='color:red'>*</span>", LAN_USET_9)."<br />".LAN_USET_10."<br /><br /></div>";
|
||||
$text .= "<div class='fborder' style='text-align:center'><br />".str_replace("*", "<span class='required'>*</span>", LAN_USET_9)."<br />".LAN_USET_10."<br /><br /></div>";
|
||||
}
|
||||
|
||||
$text .= $tp->parseTemplate($USERSETTINGS_EDIT, true, $usersettings_shortcodes);
|
||||
@ -702,7 +702,7 @@ function req($field)
|
||||
$ret = "";
|
||||
if ($field == 2)
|
||||
{
|
||||
$ret = "<span style='text-align:right;font-size:15px; color:red'> *</span>";
|
||||
$ret = "<span class='required'> *</span>";
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user