Revision 275
Added by stefan almost 19 years ago
preferences_form.php | ||
---|---|---|
35 | 35 |
<input type="hidden" name="user_id" value="{USER_ID}" /> |
36 | 36 |
|
37 | 37 |
<table cellpadding="5" cellspacing="0" border="0" width="97%"> |
38 |
<tr> |
|
39 | 38 |
<td width="140"><?php echo $TEXT['DISPLAY_NAME']; ?>:</td> |
40 | 39 |
<td class="value_input"> |
41 |
<input type="text" name="display_name" style="width: 380px;" maxlength="255" value="<?php echo $admin->get_display_name(); ?>" />
|
|
40 |
<input type="text" name="display_name" style="width: 380px;" maxlength="255" value="<?php echo $wb->get_display_name(); ?>" />
|
|
42 | 41 |
</td> |
43 | 42 |
</tr> |
44 | 43 |
<tr> |
... | ... | |
80 | 79 |
// Insert default timezone values |
81 | 80 |
require_once(ADMIN_PATH.'/interface/timezones.php'); |
82 | 81 |
foreach($TIMEZONES AS $hour_offset => $title) { |
83 |
if($admin->get_timezone() == $hour_offset*60*60) {
|
|
82 |
if($wb->get_timezone() == $hour_offset*60*60) {
|
|
84 | 83 |
?> |
85 | 84 |
<option value="<?php echo $hour_offset; ?>" selected><?php echo $title; ?></option> |
86 | 85 |
<?php |
... | ... | |
179 | 178 |
<tr> |
180 | 179 |
<td><?php echo $TEXT['EMAIL']; ?>:</td> |
181 | 180 |
<td class="value_input"> |
182 |
<input type="text" name="email" style="width: 380px;" maxlength="255" value="<?php echo $admin->get_email(); ?>" />
|
|
181 |
<input type="text" name="email" style="width: 380px;" maxlength="255" value="<?php echo $wb->get_email(); ?>" />
|
|
183 | 182 |
</td> |
184 | 183 |
</tr> |
185 | 184 |
<tr> |
Also available in: Unified diff
Replace 'admin' by 'wb' in all account pages. Moved print_success and print_error code to class.wb.php. Added correct parameters to these functions in account pages.