mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update viewtopic_attach.tpl
This commit is contained in:
parent
0474ef2ccc
commit
394153649c
@ -91,15 +91,15 @@
|
||||
<td colspan="3">{postrow.attach.tor_not_reged.comment.COMMENT}</td>
|
||||
</tr>
|
||||
<!-- END comment -->
|
||||
<!-- IF TOR_CONTROLS -->
|
||||
<tr class="row3 tCenter">
|
||||
<td colspan="3">
|
||||
<td colspan="3">
|
||||
<script type="text/javascript">
|
||||
ajax.callback.change_torrent = function(data) {
|
||||
if(data.title) alert(data.title);
|
||||
if(data.url) document.location.href = data.url;
|
||||
};
|
||||
</script>
|
||||
<!-- IF TOR_CONTROLS -->
|
||||
<script type="text/javascript">
|
||||
function change_torrents()
|
||||
{
|
||||
@ -110,16 +110,20 @@
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<select name="tor_action" id="tor-select-{postrow.attach.tor_not_reged.ATTACH_ID}" onchange="$('#tor-confirm-{postrow.attach.tor_not_reged.ATTACH_ID}').attr('checked', false); $('#tor-submit-{postrow.attach.tor_not_reged.ATTACH_ID}').attr('disabled', true)">
|
||||
<select name="tor_action" id="tor-select-{postrow.attach.tor_not_reged.ATTACH_ID}" onchange="$('#tor-confirm-{postrow.attach.tor_not_reged.ATTACH_ID}').attr('checked', false); $('#tor-submit-{postrow.attach.tor_not_reged.ATTACH_ID}').attr('disabled', true);">
|
||||
<option value="" selected="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>
|
||||
</select>
|
||||
|
||||
<a href="#" onclick="change_torrents($('#tor-{postrow.attach.tor_reged.ATTACH_ID} select').val()); return false;"><input type="submit" value="{L_SUBMIT}" class="liteoption" /></a>
|
||||
<!-- ENDIF -->
|
||||
</td>
|
||||
<a href="#" onclick="change_torrents($('#tor-{postrow.attach.tor_reged.ATTACH_ID} select').val()); return false;"><input type="submit" value="{L_SUBMIT}" class="liteoption" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF TOR_HELP_LINKS -->
|
||||
<tr class="row3 tCenter">
|
||||
<td colspan="3">{TOR_HELP_LINKS}</td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
</table>
|
||||
|
||||
<div class="spacer_12"></div>
|
||||
@ -228,6 +232,7 @@
|
||||
<td colspan="3">{postrow.attach.tor_reged.comment.COMMENT}</td>
|
||||
</tr>
|
||||
<!-- END comment -->
|
||||
<!-- IF TOR_CONTROLS -->
|
||||
<tr class="row3 tCenter">
|
||||
<td colspan="3">
|
||||
<script type="text/javascript">
|
||||
@ -236,7 +241,6 @@
|
||||
if (data.url) document.location.href = data.url;
|
||||
};
|
||||
</script>
|
||||
<!-- IF TOR_CONTROLS -->
|
||||
<script type="text/javascript">
|
||||
function change_torrents()
|
||||
{
|
||||
@ -267,9 +271,9 @@
|
||||
<!-- 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>
|
||||
<!-- ENDIF -->
|
||||
</td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF TOR_HELP_LINKS -->
|
||||
<tr class="row3 tCenter">
|
||||
<td colspan="3">{TOR_HELP_LINKS}</td>
|
||||
|
Loading…
Reference in New Issue
Block a user