فهرست منبع

rtl alignment fix

tokul 21 سال پیش
والد
کامیت
71f9bb86c5
4فایلهای تغییر یافته به همراه4 افزوده شده و 5 حذف شده
  1. 1 1
      plugins/abook_take/setup.php
  2. 1 1
      plugins/bug_report/setup.php
  3. 1 2
      plugins/delete_move_next/setup.php
  4. 1 1
      plugins/fortune/setup.php

+ 1 - 1
plugins/abook_take/setup.php

@@ -106,7 +106,7 @@ function abook_take_options()
 {
     global $abook_take_verify;
 
-    echo '<tr><td align="right" nowrap>' . _("Address Book Take:") . "</td>\n" .
+    echo '<tr>' . html_tag('td',_("Address Book Take:"),'right','','nowrap') . "\n" .
          '<td><input name="abook_take_abook_take_verify" type="checkbox"';
     if (isset($abook_take_verify) && $abook_take_verify)
         echo ' checked';

+ 1 - 1
plugins/bug_report/setup.php

@@ -66,7 +66,7 @@ function bug_report_load() {
 function bug_report_options() {
     global $bug_report_visible;
 
-    echo '<tr><td align=right nowrap>' . _("Bug Reports:") . "</td>\n" .
+    echo '<tr>' . html_tag('td',_("Bug Reports:"),'right','','nowrap') . "\n" .
          '<td><input name="bug_report_bug_report_visible" type=CHECKBOX';
     if ($bug_report_visible) {
         echo ' CHECKED';

+ 1 - 2
plugins/delete_move_next/setup.php

@@ -311,8 +311,7 @@ function delete_move_next_display_inside() {
         $delete_move_next_t, $delete_move_next_formATtop,
         $delete_move_next_b, $delete_move_next_formATbottom;
 
-    echo "<tr><td align=right valign=top>\n".
-         _("Delete/Move/Next Buttons:") . "</td>\n".
+    echo "<tr>" . html_tag('td',_("Delete/Move/Next Buttons:"),'right','','valign=top') . "\n".
          "<td><input type=checkbox name=delete_move_next_ti";
 
     if ($delete_move_next_t == 'on') {

+ 1 - 1
plugins/fortune/setup.php

@@ -58,7 +58,7 @@ function fortune_load() {
 function fortune_options() {
   global $fortune_visible;
 
-  echo "<tr><td align=right nowrap>" . _("Fortunes:") . "</td>\n";
+  echo "<tr>" . html_tag('td',_("Fortunes:"),'right','','nowrap') . "\n";
   echo '<td><input name="fortune_fortune_visible" type=CHECKBOX';
   if ($fortune_visible)
     echo ' CHECKED';