mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r180
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@180 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
acc5253f71
commit
36db02656f
2 changed files with 8 additions and 1 deletions
|
@ -19,7 +19,7 @@ if (!$profiledata = get_userdata($_GET[POST_USERS_URL]))
|
|||
|
||||
if(bf($profiledata['user_opt'], 'user_opt', 'view_profile'))
|
||||
{
meta_refresh(append_sid("login.php?redirect={$_SERVER['REQUEST_URI']}", true));
|
||||
bb_die("Пользователь {$profiledata['username']} запретил гостям просмотр своего профиля");
}
|
||||
bb_die("Пользователь {$profiledata['username']} запретил гостям просмотр своего профиля");
}
|
||||
|
||||
//
|
||||
// Calculate the number of days this user has been a member ($memberdays)
|
||||
|
|
|
@ -176,6 +176,13 @@ ajax.callback.posts = function(data){
|
|||
<label><input type="radio" name="allow_viewonline" value="0" <!-- IF not ALLOW_VIEWONLINE -->checked="checked"<!-- ENDIF --> />{L_NO}</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Запретить гостям просмотр вашего профиля:</td>
|
||||
<td>
|
||||
<label><input type="radio" name="view_profile" value="1" <!-- IF VIEW_PROFILE -->checked="checked"<!-- ENDIF --> />{L_YES}</label>
|
||||
<label><input type="radio" name="view_profile" value="0" <!-- IF not VIEW_PROFILE -->checked="checked"<!-- ENDIF --> />{L_NO}</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{L_ALWAYS_NOTIFY}:<h6>{L_ALWAYS_NOTIFY_EXPLAIN}</h6></td>
|
||||
<td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue