mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Minor improvements (#199)
* Minor improvements * Update CHANGELOG.md * fix * Update CHANGELOG.md * Update mod_action.php * Update admin_user_search.tpl
This commit is contained in:
parent
e4c3837e9c
commit
0ae3ab28ba
@ -21,7 +21,7 @@
|
||||
**Merged pull requests:**
|
||||
|
||||
- Release v2.1.5-2023.05 🎉
|
||||
- Minor improvements [\#167](https://github.com/torrentpier/torrentpier-lts/pull/167), [\#168](https://github.com/torrentpier/torrentpier-lts/pull/168), [\#169](https://github.com/torrentpier/torrentpier-lts/pull/169), [\#170](https://github.com/torrentpier/torrentpier-lts/pull/170) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Minor improvements [\#169](https://github.com/torrentpier/torrentpier-lts/pull/169), [\#170](https://github.com/torrentpier/torrentpier-lts/pull/170) ([belomaxorka](https://github.com/belomaxorka))
|
||||
|
||||
## [v2.1.5-2023.04](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.04) (2023-05-04)
|
||||
[Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.03...v2.1.5-2023.04)
|
||||
|
@ -200,7 +200,7 @@ if ($mode != '')
|
||||
}
|
||||
else
|
||||
{
|
||||
bb_die('Invalid mode: ' . htmlCHR($mode));
|
||||
bb_die('Invalid mode');
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -245,7 +245,7 @@ else
|
||||
break;
|
||||
|
||||
default:
|
||||
bb_die('Invalid mode: ' . htmlCHR($mode));
|
||||
bb_die('Invalid mode');
|
||||
}
|
||||
|
||||
$base_url = 'admin_user_search.php?dosearch=true';
|
||||
|
@ -76,31 +76,31 @@ $passkey = isset($$passkey_key) ? $$passkey_key : null;
|
||||
// Required params (info_hash, peer_id, port, uploaded, downloaded, left, passkey)
|
||||
if (!isset($info_hash) || strlen($info_hash) != 20)
|
||||
{
|
||||
msg_die('Invalid info_hash: ' . htmlCHR($info_hash));
|
||||
msg_die('Invalid info_hash');
|
||||
}
|
||||
if (!isset($peer_id) || strlen($peer_id) != 20)
|
||||
{
|
||||
msg_die('Invalid peer_id: ' . htmlCHR($peer_id));
|
||||
msg_die('Invalid peer_id');
|
||||
}
|
||||
if (!isset($port) || $port < 0 || $port > 0xFFFF)
|
||||
{
|
||||
msg_die('Invalid port: ' . htmlCHR($port));
|
||||
msg_die('Invalid port');
|
||||
}
|
||||
if (!isset($uploaded) || $uploaded < 0 || $uploaded > $max_up_down_val || $uploaded == 1844674407370)
|
||||
{
|
||||
msg_die('Invalid uploaded value: ' . htmlCHR($uploaded));
|
||||
msg_die('Invalid uploaded value');
|
||||
}
|
||||
if (!isset($downloaded) || $downloaded < 0 || $downloaded > $max_up_down_val || $downloaded == 1844674407370)
|
||||
{
|
||||
msg_die('Invalid downloaded value: ' . htmlCHR($downloaded));
|
||||
msg_die('Invalid downloaded value');
|
||||
}
|
||||
if (!isset($left) || $left < 0 || $left > $max_left_val)
|
||||
{
|
||||
msg_die('Invalid left value: ' . htmlCHR($left));
|
||||
msg_die('Invalid left value');
|
||||
}
|
||||
if (!verify_id($passkey, BT_AUTH_KEY_LENGTH))
|
||||
{
|
||||
msg_die('Invalid passkey: ' . htmlCHR($passkey));
|
||||
msg_die('Invalid passkey');
|
||||
}
|
||||
|
||||
// IP
|
||||
|
@ -14,7 +14,7 @@ if (isset($_GET['?info_hash']) && !isset($_GET['info_hash']))
|
||||
|
||||
if (!isset($_GET['info_hash']) || strlen($_GET['info_hash']) != 20)
|
||||
{
|
||||
msg_die('Invalid info_hash: ' . htmlCHR($_GET['info_hash']));
|
||||
msg_die('Invalid info_hash');
|
||||
}
|
||||
|
||||
$info_hash = $_GET['info_hash'];
|
||||
|
2
info.php
2
info.php
@ -36,7 +36,7 @@ switch ($req_mode)
|
||||
break;
|
||||
|
||||
default:
|
||||
bb_simple_die('Invalid request: ' . htmlCHR($req_mode));
|
||||
bb_simple_die('Invalid request');
|
||||
}
|
||||
|
||||
$require = file_exists($html_dir . $info['src']) ? $html_dir . $info['src'] : $html_dir . 'not_found.html';
|
||||
|
@ -9,7 +9,7 @@ $user_id = (int) $this->request['user_id'];
|
||||
|
||||
if (!$user_id OR !$u_data = get_userdata($user_id))
|
||||
{
|
||||
$this->ajax_die('Invalid user_id: ' . htmlCHR($user_id));
|
||||
$this->ajax_die('Invalid user_id');
|
||||
}
|
||||
|
||||
if (!IS_ADMIN && $user_id != $user->id)
|
||||
@ -25,7 +25,7 @@ switch ($mode)
|
||||
$response = '<img src="'. $bb_cfg['avatars']['upload_path'] . $bb_cfg['avatars']['no_avatar'] .'" alt="'. $user_id .'" />';
|
||||
break;
|
||||
default:
|
||||
$this->ajax_die('Invalid mode: ' . htmlCHR($mode));
|
||||
$this->ajax_die('Invalid mode');
|
||||
}
|
||||
|
||||
DB()->query("UPDATE ". BB_USERS ." SET avatar_ext_id = $new_ext_id WHERE user_id = $user_id LIMIT 1");
|
||||
|
@ -9,12 +9,12 @@ $new_opt = Zend\Json\Json::decode($this->request['user_opt'], Zend\Json\Json::TY
|
||||
|
||||
if (!$user_id OR !$u_data = get_userdata($user_id))
|
||||
{
|
||||
$this->ajax_die('invalid user_id: ' . htmlCHR($user_id));
|
||||
$this->ajax_die('invalid user_id');
|
||||
}
|
||||
|
||||
if (!is_array($new_opt))
|
||||
{
|
||||
$this->ajax_die('invalid new_opt: ' . htmlCHR($new_opt));
|
||||
$this->ajax_die('invalid new_opt');
|
||||
}
|
||||
|
||||
foreach ($bf['user_opt'] as $opt_name => $opt_bit)
|
||||
|
@ -65,5 +65,5 @@ switch ($mode)
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->ajax_die('Invalid mode: ' . htmlCHR($mode));
|
||||
$this->ajax_die("invalid mode: $mode");
|
||||
}
|
@ -132,7 +132,7 @@ switch($mode)
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->ajax_die('Invalid mode: ' . htmlCHR($mode));
|
||||
$this->ajax_die('Invalid mode');
|
||||
}
|
||||
|
||||
$this->response['html'] = $html;
|
||||
|
@ -113,7 +113,7 @@ switch ($mode)
|
||||
|
||||
default:
|
||||
|
||||
$this->ajax_die('Invalid mode: ' . htmlCHR($mode));
|
||||
$this->ajax_die('Invalid mode');
|
||||
}
|
||||
|
||||
$this->response['mode'] = $mode;
|
@ -81,7 +81,7 @@ switch ($mode)
|
||||
|
||||
default:
|
||||
|
||||
$this->ajax_die('Invalid mode: ' . htmlCHR($mode));
|
||||
$this->ajax_die('Invalid mode');
|
||||
}
|
||||
|
||||
$this->response['mode'] = $mode;
|
||||
|
@ -131,5 +131,5 @@ switch ($mode)
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->ajax_die('Invalid mode: ' . htmlCHR($mode));
|
||||
$this->ajax_die('Invalid mode');
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ switch ($mode)
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->ajax_die('Invalid mode: ' . htmlCHR($mode));
|
||||
$this->ajax_die('Invalid mode');
|
||||
}
|
||||
|
||||
$this->response['html'] = $html;
|
||||
|
@ -154,7 +154,7 @@ switch ($mode)
|
||||
|
||||
// ошибочный $mode
|
||||
default:
|
||||
$this->ajax_die('Invalid mode: ' . htmlCHR($mode));
|
||||
$this->ajax_die("invalid mode: $mode");
|
||||
}
|
||||
|
||||
// возможный дубль названия шаблона
|
||||
|
@ -68,7 +68,7 @@ switch($mode)
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->ajax_die('Invalid mode: ' . htmlCHR($mode));
|
||||
$this->ajax_die('Invalid mode');
|
||||
}
|
||||
|
||||
$this->response['html'] = $html;
|
||||
|
@ -846,7 +846,7 @@ switch ($mode)
|
||||
break;
|
||||
|
||||
default:
|
||||
bb_die('Invalid action: ' . htmlCHR($mode));
|
||||
bb_die('invalid action');
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -46,5 +46,5 @@ switch ($mode)
|
||||
break;
|
||||
|
||||
default:
|
||||
bb_die('Invalid mode: ' . htmlCHR($mode));
|
||||
bb_die('Invalid mode');
|
||||
}
|
@ -42,44 +42,44 @@
|
||||
<tr>
|
||||
<td><h4>{L_AUTOLOGIN_TIME}</h4><h6>{L_AUTOLOGIN_TIME_EXPLAIN}</h6></td>
|
||||
<td>
|
||||
<input class="post" type="number" size="3" maxlength="4" name="max_autologin_time" value="{AUTOLOGIN_TIME}" /> {L_DAYS}
|
||||
<input class="post" type="text" size="3" maxlength="4" name="max_autologin_time" value="{AUTOLOGIN_TIME}" /> {L_DAYS}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_FLOOD_INTERVAL}</h4><h6>{L_FLOOD_INTERVAL_EXPLAIN}</h6></td>
|
||||
<td>
|
||||
<input class="post" type="number" size="3" maxlength="4" name="flood_interval" value="{FLOOD_INTERVAL}" /> {L_SEC}
|
||||
<input class="post" type="text" size="3" maxlength="4" name="flood_interval" value="{FLOOD_INTERVAL}" /> {L_SEC}
|
||||
</td>
|
||||
</tr>
|
||||
<!--
|
||||
<tr>
|
||||
<td><h4>{L_MAX_LOGIN_ATTEMPTS}</h4><h6>{L_MAX_LOGIN_ATTEMPTS_EXPLAIN}</h6></td>
|
||||
<td>
|
||||
<input class="post" type="number" size="3" maxlength="4" name="max_login_attempts" value="{MAX_LOGIN_ATTEMPTS}" />
|
||||
<input class="post" type="text" size="3" maxlength="4" name="max_login_attempts" value="{MAX_LOGIN_ATTEMPTS}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_LOGIN_RESET_TIME}</h4><h6>{L_LOGIN_RESET_TIME_EXPLAIN}</h6></td>
|
||||
<td>
|
||||
<input class="post" type="number" size="3" maxlength="4" name="login_reset_time" value="{LOGIN_RESET_TIME}" />
|
||||
<input class="post" type="text" size="3" maxlength="4" name="login_reset_time" value="{LOGIN_RESET_TIME}" />
|
||||
</td>
|
||||
</tr>
|
||||
-->
|
||||
<tr>
|
||||
<td><h4>{L_TOPICS_PER_PAGE}</h4></td>
|
||||
<td>
|
||||
<input class="post" type="number" name="topics_per_page" size="5" maxlength="4" value="{TOPICS_PER_PAGE}" />
|
||||
<input class="post" type="text" name="topics_per_page" size="5" maxlength="4" value="{TOPICS_PER_PAGE}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_POSTS_PER_PAGE}</h4></td>
|
||||
<td>
|
||||
<input class="post" type="number" name="posts_per_page" size="5" maxlength="4" value="{POSTS_PER_PAGE}" />
|
||||
<input class="post" type="text" name="posts_per_page" size="5" maxlength="4" value="{POSTS_PER_PAGE}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_HOT_THRESHOLD}</h4></td>
|
||||
<td><input class="post" type="number" name="hot_threshold" size="5" maxlength="4" value="{HOT_TOPIC}" /></td>
|
||||
<td><input class="post" type="text" name="hot_threshold" size="5" maxlength="4" value="{HOT_TOPIC}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_DEFAULT_LANGUAGE}</h4></td>
|
||||
@ -105,7 +105,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_MAX_POLL_OPTIONS}</h4></td>
|
||||
<td><input class="post" type="number" name="max_poll_options" size="4" maxlength="4" value="{MAX_POLL_OPTIONS}" /></td>
|
||||
<td><input class="post" type="text" name="max_poll_options" size="4" maxlength="4" value="{MAX_POLL_OPTIONS}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_ALLOW_BBCODE}</h4></td>
|
||||
@ -134,7 +134,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_MAX_SIG_LENGTH}</h4><h6>{L_MAX_SIG_LENGTH_EXPLAIN}</h6></td>
|
||||
<td><input class="post" type="number" size="5" maxlength="4" name="max_sig_chars" value="{SIG_SIZE}" /></td>
|
||||
<td><input class="post" type="text" size="5" maxlength="4" name="max_sig_chars" value="{SIG_SIZE}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_ALLOW_NAME_CHANGE}</h4></td>
|
||||
@ -237,15 +237,15 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_MAX_NEWS_TITLE}</h4></td>
|
||||
<td><input class="post" type="number" size="25" maxlength="100" name="max_news_title" value="{MAX_NEWS_TITLE}" /></td>
|
||||
<td><input class="post" type="text" size="25" maxlength="100" name="max_news_title" value="{MAX_NEWS_TITLE}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_NEWS_COUNT}</h4></td>
|
||||
<td><input class="post" type="number" size="25" maxlength="100" name="latest_news_count" value="{LATEST_NEWS_COUNT}" /></td>
|
||||
<td><input class="post" type="text" size="25" maxlength="100" name="latest_news_count" value="{LATEST_NEWS_COUNT}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_NEWS_FORUM_ID}</h4></td>
|
||||
<td><input class="post" type="number" size="25" maxlength="100" name="latest_news_forum_id" value="{LATEST_NEWS_FORUM_ID}" /></td>
|
||||
<td><input class="post" type="text" size="25" maxlength="100" name="latest_news_forum_id" value="{LATEST_NEWS_FORUM_ID}" /></td>
|
||||
</tr>
|
||||
|
||||
<tr class="row3 med">
|
||||
@ -260,15 +260,15 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_MAX_NEWS_TITLE}</h4></td>
|
||||
<td><input class="post" type="number" size="25" maxlength="100" name="max_net_title" value="{MAX_NET_TITLE}" /></td>
|
||||
<td><input class="post" type="text" size="25" maxlength="100" name="max_net_title" value="{MAX_NET_TITLE}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_NEWS_COUNT}</h4></td>
|
||||
<td><input class="post" type="number" size="25" maxlength="100" name="network_news_count" value="{NETWORK_NEWS_COUNT}" /></td>
|
||||
<td><input class="post" type="text" size="25" maxlength="100" name="network_news_count" value="{NETWORK_NEWS_COUNT}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_NEWS_FORUM_ID}</h4></td>
|
||||
<td><input class="post" type="number" size="25" maxlength="100" name="network_news_forum_id" value="{NETWORK_NEWS_FORUM_ID}" /></td>
|
||||
<td><input class="post" type="text" size="25" maxlength="100" name="network_news_forum_id" value="{NETWORK_NEWS_FORUM_ID}" /></td>
|
||||
</tr>
|
||||
|
||||
<tr class="row3 med">
|
||||
@ -283,15 +283,15 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_BIRTHDAY_MAX_AGE}</h4></td>
|
||||
<td><input class="post" type="number" size="25" maxlength="100" name="birthday_max_age" value="{BIRTHDAY_MAX_AGE}" /> {L_YEARS}</td>
|
||||
<td><input class="post" type="text" size="25" maxlength="100" name="birthday_max_age" value="{BIRTHDAY_MAX_AGE}" /> {L_YEARS}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_BIRTHDAY_MIN_AGE}</h4></td>
|
||||
<td><input class="post" type="number" size="25" maxlength="100" name="birthday_min_age" value="{BIRTHDAY_MIN_AGE}" /> {L_YEARS}</td>
|
||||
<td><input class="post" type="text" size="25" maxlength="100" name="birthday_min_age" value="{BIRTHDAY_MIN_AGE}" /> {L_YEARS}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_BIRTHDAY_CHECK_DAY}</h4></td>
|
||||
<td><input class="post" type="number" size="25" maxlength="100" name="birthday_check_day" value="{BIRTHDAY_CHECK_DAY}" /> {L_DAYS}</td>
|
||||
<td><input class="post" type="text" size="25" maxlength="100" name="birthday_check_day" value="{BIRTHDAY_CHECK_DAY}" /> {L_DAYS}</td>
|
||||
</tr>
|
||||
|
||||
<tr class="row3 med">
|
||||
@ -311,8 +311,8 @@
|
||||
<tr id="seed_bonus_{seed_bonus.RELEASE}">
|
||||
<td>{L_SEED_BONUS_ADD}</td>
|
||||
<td>
|
||||
<input class="post" type="number" size="5" name="seed_bonus_release[]" value="{seed_bonus.RELEASE}" /> {L_SEED_BONUS_RELEASE} <br />
|
||||
<input class="post" type="number" size="5" name="seed_bonus_points[]" value="{seed_bonus.POINTS}" /> {L_SEED_BONUS_POINTS}
|
||||
<input class="post" type="text" size="5" name="seed_bonus_release[]" value="{seed_bonus.RELEASE}" /> {L_SEED_BONUS_RELEASE} <br />
|
||||
<input class="post" type="text" size="5" name="seed_bonus_points[]" value="{seed_bonus.POINTS}" /> {L_SEED_BONUS_POINTS}
|
||||
<input onclick="$('#seed_bonus_{seed_bonus.RELEASE}').remove();" class="post" type="button" size="2" value="{L_DELETE}" />
|
||||
</td>
|
||||
</tr>
|
||||
@ -321,8 +321,8 @@
|
||||
<tr id="seed_bonus">
|
||||
<td>{L_SEED_BONUS_ADD}</td>
|
||||
<td>
|
||||
<input class="post" type="number" size="5" name="seed_bonus_release[]" value="" /> {L_SEED_BONUS_RELEASE} <br />
|
||||
<input class="post" type="number" size="5" name="seed_bonus_points[]" value="" /> {L_SEED_BONUS_POINTS}
|
||||
<input class="post" type="text" size="5" name="seed_bonus_release[]" value="" /> {L_SEED_BONUS_RELEASE} <br />
|
||||
<input class="post" type="text" size="5" name="seed_bonus_points[]" value="" /> {L_SEED_BONUS_POINTS}
|
||||
<input onclick="$('#seed_bonus').clone().appendTo('.seed_bonus');" class="post" type="button" size="2" value="+" />
|
||||
<input onclick="$('#seed_bonus').remove();" class="post" type="button" size="2" value="-" />
|
||||
</td>
|
||||
@ -331,11 +331,11 @@
|
||||
<tr class="row3 med"><td colspan="2"></td></tr>
|
||||
<tr>
|
||||
<td>{L_SEED_BONUS_TOR_SIZE}</td>
|
||||
<td><input class="post" type="number" size="25" maxlength="100" name="seed_bonus_tor_size" value="{SEED_BONUS_TOR_SIZE}" /> {L_GB}</td>
|
||||
<td><input class="post" type="text" size="25" maxlength="100" name="seed_bonus_tor_size" value="{SEED_BONUS_TOR_SIZE}" /> {L_GB}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{L_SEED_BONUS_USER_REGDATA}</td>
|
||||
<td><input class="post" type="number" size="25" maxlength="100" name="seed_bonus_user_regdate" value="{SEED_BONUS_USER_REGDATE}" /> {L_DAYS}</td>
|
||||
<td><input class="post" type="text" size="25" maxlength="100" name="seed_bonus_user_regdate" value="{SEED_BONUS_USER_REGDATE}" /> {L_DAYS}</td>
|
||||
</tr>
|
||||
<tr class="row3 med">
|
||||
<td class="bold tCenter" colspan="2">{L_SEED_BONUS_EXCHANGE}</td>
|
||||
@ -354,8 +354,8 @@
|
||||
<tr id="bonus_upload">
|
||||
<td><h4>{L_SEED_BONUS_ROPORTION}</h4><h6></h6></td>
|
||||
<td>
|
||||
<input class="post" type="number" size="5" name="bonus_upload[]" value="" /> {L_GB} <br />
|
||||
<input class="post" type="number" size="5" name="bonus_upload_price[]" value="" /> {L_PRICE}
|
||||
<input class="post" type="text" size="5" name="bonus_upload[]" value="" /> {L_GB} <br />
|
||||
<input class="post" type="text" size="5" name="bonus_upload_price[]" value="" /> {L_PRICE}
|
||||
<input onclick="$('#bonus_upload').clone().appendTo('.bonus_upload');" class="post" type="button" size="2" value="+" />
|
||||
<input onclick="$('#bonus_upload').remove();" class="post" type="button" size="2" value="-" />
|
||||
</td>
|
||||
|
@ -93,7 +93,7 @@
|
||||
<td class="row1" align="center"><input type="checkbox" name="add_allowed" /></td>
|
||||
<td class="row2" align="center">{S_ADD_DOWNLOAD_MODE}</td>
|
||||
<td class="row1" align="center"><input type="text" size="15" maxlength="100" name="add_upload_icon" class="post" value="{UPLOAD_ICON}" /></td>
|
||||
<td class="row2" align="center"><input type="number" size="3" maxlength="15" name="add_max_filesize" class="post" value="{MAX_FILESIZE}" /> {S_FILESIZE}</td>
|
||||
<td class="row2" align="center"><input type="text" size="3" maxlength="15" name="add_max_filesize" class="post" value="{MAX_FILESIZE}" /> {S_FILESIZE}</td>
|
||||
<td class="row1" align="center"> </td>
|
||||
<td class="row2" align="center"><input type="checkbox" name="add_extension_group_check" /></td>
|
||||
</tr>
|
||||
@ -125,7 +125,7 @@
|
||||
<td class="row1" align="center"><input type="checkbox" name="allowed_list[]" value="{grouprow.GROUP_ID}" {grouprow.S_ALLOW_SELECTED} /></td>
|
||||
<td class="row2" align="center">{grouprow.S_DOWNLOAD_MODE}</td>
|
||||
<td class="row1" align="center"><input type="text" size="15" maxlength="100" name="upload_icon_list[]" class="post" value="{grouprow.UPLOAD_ICON}" /></td>
|
||||
<td class="row2" align="center"><input type="number" size="3" maxlength="15" name="max_filesize_list[]" class="post" value="{grouprow.MAX_FILESIZE}" /> {grouprow.S_FILESIZE}</td>
|
||||
<td class="row2" align="center"><input type="text" size="3" maxlength="15" name="max_filesize_list[]" class="post" value="{grouprow.MAX_FILESIZE}" /> {grouprow.S_FILESIZE}</td>
|
||||
<td class="row1" align="center"><span class="small"><a href="{grouprow.U_FORUM_PERMISSIONS}" class="small">{L_EXT_GROUP_PERMISSIONS}</a></span></td>
|
||||
<td class="row2" align="center"><input type="checkbox" name="group_id_list[]" value="{grouprow.GROUP_ID}" /></td>
|
||||
</tr>
|
||||
|
@ -58,7 +58,7 @@ table.log_filters td {
|
||||
<p class="input nowrap">
|
||||
<input class="post" type="text" size="10" maxlength="20" name="{DATETIME_NAME}" value="{DATETIME_VAL}" />
|
||||
&
|
||||
<input class="post" type="number" size="2" maxlength="5" name="{DAYSBACK_NAME}" value="{DAYSBACK_VAL}" />
|
||||
<input class="post" type="text" size="2" maxlength="5" name="{DAYSBACK_NAME}" value="{DAYSBACK_VAL}" />
|
||||
{L_ACTS_LOG_DAYS_BACK}
|
||||
</p>
|
||||
</div>
|
||||
|
@ -58,7 +58,7 @@ function swap_values()
|
||||
<td><h4>{L_STARTING_POST_ID}</h4><h6>{L_STARTING_POST_ID_EXPLAIN}</h6></td>
|
||||
<td>
|
||||
<!-- BEGIN start_text_input -->
|
||||
<input class="post" type="number" name="start_t" value="0" size="10" disabled="disabled" />
|
||||
<input class="post" type="text" name="start_t" value="0" size="10" disabled="disabled" />
|
||||
<input type="hidden" name="start" value="0" />
|
||||
<!-- END start_text_input -->
|
||||
<!-- BEGIN start_select_input -->
|
||||
@ -79,19 +79,19 @@ function swap_values()
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_NUM_OF_POSTS}</h4><h6>{L_NUM_OF_POSTS_EXPLAIN}</h6></td>
|
||||
<td><input class="post" type="number" name="session_posts_processing" value="{SESSION_POSTS_PROCESSING}" size="10" /></td>
|
||||
<td><input class="post" type="text" name="session_posts_processing" value="{SESSION_POSTS_PROCESSING}" size="10" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_POSTS_PER_CYCLE}</h4><h6>{L_POSTS_PER_CYCLE_EXPLAIN}</h6></td>
|
||||
<td><input class="post" type="number" name="post_limit" value="{POST_LIMIT}" size="10" /></td>
|
||||
<td><input class="post" type="text" name="post_limit" value="{POST_LIMIT}" size="10" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_TIME_LIMIT}</h4><h6>{L_TIME_LIMIT_EXPLAIN}</h6></td>
|
||||
<td><input class="post" type="number" name="time_limit" value="{TIME_LIMIT}" size="10" /></td>
|
||||
<td><input class="post" type="text" name="time_limit" value="{TIME_LIMIT}" size="10" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>{L_REFRESH_RATE}</h4><h6>{L_REFRESH_RATE_EXPLAIN}</h6></td>
|
||||
<td><input class="post" type="number" name="refresh_rate" value="{REFRESH_RATE}" size="10" /></td>
|
||||
<td><input class="post" type="text" name="refresh_rate" value="{REFRESH_RATE}" size="10" /></td>
|
||||
</tr>
|
||||
<!-- BEGIN last_saved_info -->
|
||||
<tr>
|
||||
|
@ -53,7 +53,7 @@
|
||||
</tr>
|
||||
<!-- END ranks_exist -->
|
||||
<tr>
|
||||
<td class="row1"><span class="gen"><b>{L_POSTCOUNT}</b> <select name="postcount_type"><option value="equals" selected="selected">{L_EQUALS}</option><option value="lesser">{L_LESS_THAN}</option><option value="greater">{L_GREATER_THAN}</option></select> <input value="0" class="post" type="number" name="postcount_value" maxlength="25" size="5" /> <input type="submit" class="post2" name="search_postcount" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_POSTCOUNT_EXPLAIN}</span></td>
|
||||
<td class="row1"><span class="gen"><b>{L_POSTCOUNT}</b> <select name="postcount_type"><option value="equals" selected="selected">{L_EQUALS}</option><option value="lesser">{L_LESS_THAN}</option><option value="greater">{L_GREATER_THAN}</option></select> <input value="0" class="post" type="text" name="postcount_value" maxlength="25" size="5" /> <input type="submit" class="post2" name="search_postcount" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_POSTCOUNT_EXPLAIN}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row2"> </td>
|
||||
|
Loading…
Reference in New Issue
Block a user