mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
r280
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@280 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
8c3c7b3535
commit
812fb5c0b8
3 changed files with 9 additions and 10 deletions
|
@ -53,7 +53,7 @@ $bb_cfg = $tr_cfg = $page_cfg = array();
|
|||
|
||||
// Increase number of revision after update
|
||||
$bb_cfg['tp_version'] = '2.1 Stable';
|
||||
$bb_cfg['tp_release_state'] = 'R279';
|
||||
$bb_cfg['tp_release_state'] = 'R280';
|
||||
$bb_cfg['tp_release_date'] = '03-09-2011';
|
||||
|
||||
// Database
|
||||
|
|
|
@ -37,7 +37,6 @@ if (IS_ADMIN)
|
|||
{
|
||||
$template->assign_vars(array(
|
||||
'SHOW_PASSKEY' => true,
|
||||
'S_GEN_PASSKEY' => '<a href="#" onclick="ajax.exec({ action: \'gen_passkey\', user_id: '. $profile_user_id .' }); return false;">'. $lang['BT_GEN_PASSKEY_URL'] .'</a>',
|
||||
'CAN_EDIT_RATIO' => IS_ADMIN,
|
||||
));
|
||||
}
|
||||
|
|
|
@ -235,6 +235,7 @@ $(document).ready(function(){
|
|||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- IF IS_ADMIN -->
|
||||
<tr id="delete" style="display: none;">
|
||||
<td colspan="2" class="med tCenter">
|
||||
[ <a href="#" onclick="ajax.exec({action : 'delete_userdata', mode: 'delete_profile', user_id : '{PROFILE_USER_ID}'}); return false;" class="adm">{L_USER_DELETE_EXPLAIN}</a> ]
|
||||
|
@ -248,6 +249,7 @@ $(document).ready(function(){
|
|||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF LOCATION -->
|
||||
<tr>
|
||||
|
@ -363,7 +365,7 @@ $(document).ready(function(){
|
|||
<td id="u_ratio" class="gen">
|
||||
<!-- IF DOWN_TOTAL_BYTES gt MIN_DL_BYTES -->
|
||||
<b class="gen">{USER_RATIO}</b>
|
||||
<a class="gen" href="#" onclick="$('#ratio-expl').show(); $(this).hide(); return false;">[?]</a>
|
||||
[<a class="gen" href="#" onclick="toggle_block('ratio-expl'); return false;">?</a>]
|
||||
<!-- ELSE -->
|
||||
<span class="med">{L_IT_WILL_BE_DOWN} <b>{MIN_DL_FOR_RATIO}</b></span>
|
||||
<!-- ENDIF -->
|
||||
|
@ -378,19 +380,17 @@ $(document).ready(function(){
|
|||
) / {L_DOWNLOADED} <b class="leechmed">{DOWN_TOTAL}</b>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- IF SHOW_PASSKEY -->
|
||||
<script type="text/javascript">
|
||||
ajax.callback.gen_passkey = function(data){
|
||||
$('#passkey').text(data.passkey);
|
||||
};
|
||||
ajax.callback.gen_passkey = function(data){
|
||||
$('#passkey').text(data.passkey);
|
||||
};
|
||||
</script>
|
||||
<tr>
|
||||
<th><a class="med" href="#" onclick="toggle_block('gen_passkey'); return false;" class="gen">Passkey:</a></th>
|
||||
<th><a href="#" onclick="ajax.exec({ action: 'gen_passkey', user_id : {PROFILE_USER_ID} }); return false;">Passkey</a>:</th>
|
||||
<td id="passkey">{AUTH_KEY}</td>
|
||||
</tr>
|
||||
<tr id="gen_passkey" style="display: none;">
|
||||
<td colspan="2" class="med tCenter">{S_GEN_PASSKEY}</td>
|
||||
</tr>
|
||||
<!-- ENDIF / SHOW_PASSKEY -->
|
||||
</table><!--/ratio_details-->
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue