1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Bugtracker #4371 - notice removal

This commit is contained in:
e107steved 2008-04-04 21:40:50 +00:00
parent bb0a2a65ad
commit 84a5b75bc3
3 changed files with 11 additions and 11 deletions

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/frontpage.php,v $
| $Revision: 1.4 $
| $Date: 2007-10-28 19:04:13 $
| $Revision: 1.5 $
| $Date: 2008-04-04 21:40:37 $
| $Author: e107steved $
|
+----------------------------------------------------------------------------+
@ -472,7 +472,7 @@ class frontpage
return "<td class='forumheader3'>".$rs -> form_radio($ob_name, 'other', $cur_val)."</td>
<td class='forumheader3'>".FRTLAN_15."</td>
<td class='forumheader3'>
".$rs -> form_text($ob_name.'_other', 50, ($cur_val ? $cur_page : ''),100)."
".$rs -> form_text($ob_name.'_other', 50, ($cur_val ? $cur_page : ''),150)."
</td>";
}
}

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/notify.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:26 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2008-04-04 21:40:37 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
require_once('../class2.php');
@ -145,7 +145,7 @@ class notify_config {
<input type='radio' name='event[".$id."][type]' value='class' ".($this -> notify_prefs['event'][$id]['type'] == 'class' ? " checked='checked'" : "")." /> ".NT_LAN_5.":
".r_userclass('event['.$id.'][class]', $this -> notify_prefs['event'][$id]['class'], 'off', 'member,admin,classes')."
<input type='radio' name='event[".$id."][type]' value='email' ".($this -> notify_prefs['event'][$id]['type'] == 'email' ? " checked='checked'" : "")." /> ".NT_LAN_6.":
".$rs -> form_text('event['.$id.'][email]', 17, $tp -> toForm($this -> notify_prefs['event'][$id]['email']))."
".$rs -> form_text('event['.$id.'][email]', 40, $tp -> toForm($this -> notify_prefs['event'][$id]['email']), 150)."
</td>
</tr>";
return $text;

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/form_handler.php,v $
| $Revision: 1.2 $
| $Date: 2007-03-23 21:46:57 $
| $Revision: 1.3 $
| $Date: 2008-04-04 21:40:38 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -28,7 +28,7 @@ class form {
return "\n<form action='".$form_action."' ".$method.$target.$name.$form_enctype.$form_js.">";
}
function form_text($form_name, $form_size, $form_value, $form_maxlength, $form_class = "tbox", $form_readonly = "", $form_tooltip = "", $form_js = "") {
function form_text($form_name, $form_size, $form_value, $form_maxlength = FALSE, $form_class = "tbox", $form_readonly = "", $form_tooltip = "", $form_js = "") {
$name = ($form_name ? " id='".$form_name."' name='".$form_name."'" : "");
$value = (isset($form_value) ? " value='".$form_value."'" : "");
$size = ($form_size ? " size='".$form_size."'" : "");
@ -38,7 +38,7 @@ class form {
return "\n<input class='".$form_class."' type='text' ".$name.$value.$size.$maxlength.$readonly.$tooltip.$form_js." />";
}
function form_password($form_name, $form_size, $form_value, $form_maxlength, $form_class = "tbox", $form_readonly = "", $form_tooltip = "", $form_js = "") {
function form_password($form_name, $form_size, $form_value, $form_maxlength = FALSE, $form_class = "tbox", $form_readonly = "", $form_tooltip = "", $form_js = "") {
$name = ($form_name ? " id='".$form_name."' name='".$form_name."'" : "");
$value = (isset($form_value) ? " value='".$form_value."'" : "");
$size = ($form_size ? " size='".$form_size."'" : "");