недочёты git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@155 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
nanosimbiot 2011-07-26 09:35:13 +00:00
commit e0aea5c003
2 changed files with 5 additions and 7 deletions

View file

@ -118,7 +118,6 @@ switch ($mode)
'user_sig' => true, 'user_sig' => true,
'user_occ' => true, 'user_occ' => true,
'user_interests' => true, 'user_interests' => true,
'user_avatar' => true,
'user_avatar_type' => true, 'user_avatar_type' => true,
); );
@ -137,6 +136,7 @@ switch ($mode)
SELECT SELECT
user_id, user_id,
user_level, user_level,
user_avatar,
$profile_fields_sql $profile_fields_sql
FROM ". BB_USERS ." FROM ". BB_USERS ."
WHERE user_id = $pr_user_id WHERE user_id = $pr_user_id
@ -534,7 +534,6 @@ foreach ($profile_fields as $field => $can_edit)
$tp_data['USER_SKYPE'] = $pr_data['user_skype']; $tp_data['USER_SKYPE'] = $pr_data['user_skype'];
break; break;
case 'user_avatar':
case 'user_avatar_type': case 'user_avatar_type':
if(isset($_POST['avatargallery']) && !$errors) if(isset($_POST['avatargallery']) && !$errors)
{ {

View file

@ -11,7 +11,7 @@ ajax.callback.posts = function(data){
</script> </script>
<div class="mrg_4" style="padding-left:2px;"> <div class="mrg_4" style="padding-left:2px;">
<select name="fontFace"> <select name="fontFace">
<option style="font-family: Verdana" value="-1" selected="selected">{L_QR_FONT_SEL}:</option> <option style="font-family: Verdana" value="-1" selected="selected">{L_FONT_SEL}:</option>
<option style="font-family: Courier" value="Courier">&nbsp;Courier</option> <option style="font-family: Courier" value="Courier">&nbsp;Courier</option>
<option style="font-family: 'Courier New'" value="'Courier New'">&nbsp;Courier New</option> <option style="font-family: 'Courier New'" value="'Courier New'">&nbsp;Courier New</option>
<option style="font-family: monospace" value="monospace">&nbsp;monospace</option> <option style="font-family: monospace" value="monospace">&nbsp;monospace</option>
@ -28,7 +28,7 @@ ajax.callback.posts = function(data){
</select> </select>
&nbsp; &nbsp;
<select name="codeColor" class="text_color"> <select name="codeColor" class="text_color">
<option style="color: black; background: #fff;" value="black" selected="selected">{L_QR_COLOR_SEL}:</option> <option style="color: black; background: #fff;" value="black" selected="selected">{L_FONT_COLOR_SEL}:</option>
<option style="color: darkred;" value="darkred">&nbsp;{L_COLOR_DARK_RED}</option> <option style="color: darkred;" value="darkred">&nbsp;{L_COLOR_DARK_RED}</option>
<option style="color: brown;" value="brown">&nbsp;{L_COLOR_BROWN}</option> <option style="color: brown;" value="brown">&nbsp;{L_COLOR_BROWN}</option>
<option style="color: #996600;" value="#996600">&nbsp;{L_COLOR_ORANGE}</option> <option style="color: #996600;" value="#996600">&nbsp;{L_COLOR_ORANGE}</option>
@ -41,11 +41,11 @@ ajax.callback.posts = function(data){
<option style="color: blue;" value="blue">&nbsp;{L_COLOR_BLUE}</option> <option style="color: blue;" value="blue">&nbsp;{L_COLOR_BLUE}</option>
<option style="color: darkblue;" value="darkblue">&nbsp;{L_COLOR_DARK_BLUE}</option> <option style="color: darkblue;" value="darkblue">&nbsp;{L_COLOR_DARK_BLUE}</option>
<option style="color: indigo;" value="indigo">&nbsp;{L_COLOR_INDIGO}</option> <option style="color: indigo;" value="indigo">&nbsp;{L_COLOR_INDIGO}</option>
<option style="color: #006699;" value="#006699">&nbsp;{L_COLOR_STEEL_BLUE}</option> <option style="color: #006699;" value="#006699">&nbsp;{L_STEEL_BLUE}</option>
</select> </select>
&nbsp; &nbsp;
<select name="codeSize" class="text_size"> <select name="codeSize" class="text_size">
<option value="12" selected="selected">{L_QR_SIZE_SEL}:</option> <option value="12" selected="selected">{L_FONT_SIZE_SEL}:</option>
<option value="9" class="em">{L_FONT_SMALL}</option> <option value="9" class="em">{L_FONT_SMALL}</option>
<option value="10">&nbsp;size=10</option> <option value="10">&nbsp;size=10</option>
<option value="11">&nbsp;size=11</option> <option value="11">&nbsp;size=11</option>
@ -174,7 +174,6 @@ function checkForm(form) {
topic_id: {TOPIC_ID} topic_id: {TOPIC_ID}
}); });
}, 100); }, 100);
$('#topic_quick_reply').hide();
return false; return false;
} }
<!-- ENDIF --> <!-- ENDIF -->