Преглед изворни кода

Replace "and" with "&", fix css width.

jmontoyaa пре 7 година
родитељ
комит
5ec1145c2f
2 измењених фајлова са 3 додато и 3 уклоњено
  1. 1 1
      main/forum/editpost.php
  2. 2 2
      main/forum/forumfunction.inc.php

+ 1 - 1
main/forum/editpost.php

@@ -225,7 +225,7 @@ $values = show_edit_post_form(
     isset($_SESSION['formelements']) ? $_SESSION['formelements'] : ''
 );
 
-if (!empty($values) and isset($_POST['SubmitPost'])) {
+if (!empty($values) && isset($_POST['SubmitPost'])) {
     store_edit_post($current_forum, $values);
 }
 

+ 2 - 2
main/forum/forumfunction.inc.php

@@ -3525,7 +3525,7 @@ function show_edit_post_form(
             get_lang('QualificationNumeric'),
             array(
                 'value' => $current_thread['thread_qualify_max'],
-                'style' => 'width:40px',
+                'style' => 'width:100px',
             )
         );
         $form->applyFilter('numeric_calification', 'html_filter');
@@ -3544,7 +3544,7 @@ function show_edit_post_form(
             array(get_lang('QualifyWeight'), null, ''),
             array(
                 'value' => $current_thread['thread_weight'],
-                'style' => 'width:40px',
+                'style' => 'width:100px',
             )
         );
         $form->applyFilter('weight_calification', 'html_filter');