mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
Minor improvements (#974)
This commit is contained in:
parent
9b513714ad
commit
10468263cd
2 changed files with 50 additions and 47 deletions
|
@ -22,7 +22,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>{L_GROUP_MODERATOR}:</td>
|
||||
<td><input class="post" type="text" class="post" name="username" maxlength="50" size="20" value="{GROUP_MODERATOR}" /> <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onClick="window.open('{U_SEARCH_USER}', '_bbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /></td>
|
||||
<td><input class="post" type="text" name="username" maxlength="50" size="20" value="{GROUP_MODERATOR}" /> <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onClick="window.open('{U_SEARCH_USER}', '_bbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{L_GROUP_STATUS}:</td>
|
||||
|
|
|
@ -235,8 +235,7 @@
|
|||
</script>
|
||||
<!-- IF TOR_CONTROLS -->
|
||||
<script type="text/javascript">
|
||||
function change_torrents()
|
||||
{
|
||||
function change_torrents() {
|
||||
ajax.exec({
|
||||
action: 'change_torrent',
|
||||
attach_id: {postrow.attach.tor_reged.ATTACH_ID},
|
||||
|
@ -244,7 +243,8 @@
|
|||
});
|
||||
}
|
||||
</script>
|
||||
<select name="tor_action" id="tor-select-{postrow.attach.tor_reged.ATTACH_ID}" onchange="$('#tor-confirm-{postrow.attach.tor_reged.ATTACH_ID}').attr('checked', false); $('#tor-submit-{postrow.attach.tor_reged.ATTACH_ID}').attr('disabled', true)">
|
||||
<select name="tor_action" id="tor-select-{postrow.attach.tor_reged.ATTACH_ID}"
|
||||
onchange="$('#tor-confirm-{postrow.attach.tor_reged.ATTACH_ID}').attr('checked', false); $('#tor-submit-{postrow.attach.tor_reged.ATTACH_ID}').attr('disabled', true);">
|
||||
<option value="" selected class="select-action">» {L_SELECT_ACTION}</option>
|
||||
<option value="del_torrent">{L_DELETE_TORRENT}</option>
|
||||
<option value="del_torrent_move_topic">{L_DELETE_MOVE_TORRENT}</option>
|
||||
|
@ -263,14 +263,17 @@
|
|||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
</select>
|
||||
<a href="#" onclick="change_torrents($('#tor-{postrow.attach.tor_reged.ATTACH_ID} select').val()); return false;"><input type="submit" value="{L_EDIT}" class="liteoption" /></a>
|
||||
<!-- ELSEIF TOR_HELP_LINKS -->
|
||||
{TOR_HELP_LINKS}
|
||||
<!-- ELSE -->
|
||||
|
||||
<a href="#"
|
||||
onclick="change_torrents($('#tor-{postrow.attach.tor_reged.ATTACH_ID} select').val()); return false;"><input
|
||||
type="submit" value="{L_EDIT}" class="liteoption"/></a>
|
||||
<!-- ENDIF -->
|
||||
</td>
|
||||
</tr>
|
||||
<!-- IF TOR_HELP_LINKS -->
|
||||
<tr class="row3 tCenter">
|
||||
<td colspan="3">{TOR_HELP_LINKS}</td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
</table>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue