mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#1525)
* Minor improvements * Update posting_tpl.tpl * Update CHANGELOG.md * Updated * Update clean_pm.php * Update mysql.sql * Update mysql.sql * Update mysql.sql * Update mysql.sql * Update mysql.sql
This commit is contained in:
parent
f8d3d2721c
commit
3488c9cc28
8 changed files with 33 additions and 22 deletions
|
@ -109,15 +109,6 @@ switch ($field) {
|
|||
$this->response['new_value'] = htmlCHR($value);
|
||||
break;
|
||||
|
||||
case 'user_regdate':
|
||||
case 'user_lastvisit':
|
||||
$tz = TIMENOW + (3600 * $bb_cfg['board_timezone']);
|
||||
if (($value = strtotime($value, $tz)) < $bb_cfg['board_startdate'] or $value > TIMENOW) {
|
||||
$this->ajax_die($lang['INVALID_DATE'] . $this->request['value']);
|
||||
}
|
||||
$this->response['new_value'] = bb_date($value, 'Y-m-d H:i', false);
|
||||
break;
|
||||
|
||||
case 'u_up_total':
|
||||
case 'u_down_total':
|
||||
case 'u_up_release':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue