diff options
| -rw-r--r-- | index_edit.php | 63 | ||||
| -rw-r--r-- | themes/clouds/style.css | 5 | ||||
| -rw-r--r-- | themes/colors/css/aquamarine.css | 5 | ||||
| -rw-r--r-- | themes/colors/css/ash.css | 5 | ||||
| -rw-r--r-- | themes/colors/css/belgianchocolate.css | 5 | ||||
| -rw-r--r-- | themes/colors/css/bluelagoon.css | 5 | ||||
| -rw-r--r-- | themes/colors/css/bluemarine.css | 5 | ||||
| -rw-r--r-- | themes/colors/css/coldday.css | 5 | ||||
| -rw-r--r-- | themes/colors/css/greenbeam.css | 5 | ||||
| -rw-r--r-- | themes/colors/css/mediterranio.css | 5 | ||||
| -rw-r--r-- | themes/colors/css/mercury.css | 5 | ||||
| -rw-r--r-- | themes/colors/css/nocturnal.css | 5 | ||||
| -rw-r--r-- | themes/colors/css/olivia.css | 5 | ||||
| -rw-r--r-- | themes/colors/css/pinkplastic.css | 5 | ||||
| -rw-r--r-- | themes/colors/css/shinytomato.css | 5 | ||||
| -rw-r--r-- | themes/colors/css/tealtop.css | 5 | ||||
| -rw-r--r-- | themes/minimal/style.css | 6 |
17 files changed, 24 insertions, 120 deletions
diff --git a/index_edit.php b/index_edit.php index 821636d98c..8a4e22e3b4 100644 --- a/index_edit.php +++ b/index_edit.php @@ -164,8 +164,8 @@ if ($action=="configure") { //--> </script> <?php - echo "\n<form name=\"block\" method=\"post\" action=\"index_edit.php?action=configure&ctype={$ctype}&block_id=", $block_id, "\">\n"; - echo "<input type=\"hidden\" name=\"save\" value=\"1\" />\n"; + echo "<form name=\"block\" method=\"post\" action=\"index_edit.php?action=configure&ctype={$ctype}&block_id=", $block_id, "\">"; + echo "<input type=\"hidden\" name=\"save\" value=\"1\" />"; echo "<table border=\"0\" class=\"facts_table ".$TEXT_DIRECTION."\">"; $block->configureBlock($block_id); echo "<tr><td colspan=\"2\" class=\"topbottombar\">"; @@ -262,11 +262,11 @@ if ($action=="configure") { * Load Block Description array for use by jscript */ <?php - echo "var block_descr = new Array();\n"; + echo "var block_descr = new Array();"; foreach ($all_blocks as $block_name=>$block) { - echo "block_descr['$block_name'] = '".str_replace("'", "\\'", $block->getDescription())."';\n"; + echo "block_descr['$block_name'] = '".str_replace("'", "\\'", $block->getDescription())."';"; } - echo "block_descr['advice1'] = '".str_replace("'", "\\'", i18n::translate('Highlight a block name and then click on one of the arrow icons to move that highlighted block in the indicated direction.'))."';\n"; + echo "block_descr['advice1'] = '".str_replace("'", "\\'", i18n::translate('Highlight a block name and then click on one of the arrow icons to move that highlighted block in the indicated direction.'))."';"; ?> @@ -304,11 +304,6 @@ if ($action=="configure") { } //--> </script> - <?php - //--------------------------------Start 1st tab Configuration page - ?> - <div id="configure" class="tab_page center" style="position: absolute; display: block; top: auto; left: auto; z-index: 1; "> - <br /> <form name="config_setup" method="post" action="index_edit.php"> <input type="hidden" name="ctype" value="<?php echo $ctype; ?>" /> <input type="hidden" name="action" value="update" /> @@ -322,16 +317,16 @@ if ($action=="configure") { echo "</td></tr>"; // NOTE: Row 1: Column legends echo "<tr>"; - echo "<td class=\"descriptionbox center vmiddle\" colspan=\"2\">\n"; + echo "<td class=\"descriptionbox center vmiddle\" colspan=\"2\">"; echo "<b>".i18n::translate('Main Section Blocks')."</b>"; - echo "</td>\n"; + echo "</td>"; echo "<td class=\"descriptionbox center vmiddle\" colspan=\"3\">"; echo "<b>".i18n::translate('Available Blocks')."</b>"; - echo "</td>\n"; + echo "</td>"; echo "<td class=\"descriptionbox center vmiddle\" colspan=\"2\">"; echo "<b>".i18n::translate('Right Section Blocks')."</b>"; echo "</td>"; - echo "</tr>\n"; + echo "</tr>"; echo "<tr>"; // NOTE: Row 2 column 1: Up/Down buttons for left (main) block list echo "<td class=\"optionbox width20px center vmiddle\">"; @@ -343,12 +338,12 @@ if ($action=="configure") { echo "</td>"; // NOTE: Row 2 column 2: Left (Main) block list - echo "<td class=\"optionbox\" dir=\"".$TEXT_DIRECTION."\">\n"; - echo "<select multiple=\"multiple\" id=\"main_select\" name=\"main[]\" size=\"10\" onchange=\"show_description('main_select');\">\n"; + echo "<td class=\"optionbox\" dir=\"".$TEXT_DIRECTION."\">"; + echo "<select multiple=\"multiple\" id=\"main_select\" name=\"main[]\" size=\"10\" onchange=\"show_description('main_select');\">"; foreach ($blocks['main'] as $block_id=>$block_name) { - echo "<option value=\"$block_id\">".$all_blocks[$block_name]->getTitle()."</option>\n"; + echo "<option value=\"$block_id\">".$all_blocks[$block_name]->getTitle()."</option>"; } - echo "</select>\n"; + echo "</select>"; echo "</td>"; // NOTE: Row 2 column 3: Left/Right buttons for left (main) block list echo "<td class=\"optionbox width20 vmiddle\">"; @@ -363,11 +358,11 @@ if ($action=="configure") { echo "</td>"; // Row 2 column 4: Middle (Available) block list echo "<td class=\"optionbox\" dir=\"".$TEXT_DIRECTION."\">"; - echo "<select id=\"available_select\" name=\"available[]\" size=\"10\" onchange=\"show_description('available_select');\">\n"; + echo "<select id=\"available_select\" name=\"available[]\" size=\"10\" onchange=\"show_description('available_select');\">"; foreach ($all_blocks as $block_name=>$block) { - echo "<option value=\"$block_name\">".$block->getTitle()."</option>\n"; + echo "<option value=\"$block_name\">".$block->getTitle()."</option>"; } - echo "</select>\n"; + echo "</select>"; echo "</td>"; // NOTE: Row 2 column 5: Left/Right buttons for right block list echo "<td class=\"optionbox width20 vmiddle\">"; @@ -381,11 +376,11 @@ if ($action=="configure") { echo "</td>"; // NOTE: Row 2 column 6: Right block list echo "<td class=\"optionbox\" dir=\"".$TEXT_DIRECTION."\">"; - echo "<select multiple=\"multiple\" id=\"right_select\" name=\"right[]\" size=\"10\" onchange=\"show_description('right_select');\">\n"; + echo "<select multiple=\"multiple\" id=\"right_select\" name=\"right[]\" size=\"10\" onchange=\"show_description('right_select');\">"; foreach ($blocks['side'] as $block_id=>$block_name) { - echo "<option value=\"$block_id\">".$all_blocks[$block_name]->getTitle()."</option>\n"; + echo "<option value=\"$block_id\">".$all_blocks[$block_name]->getTitle()."</option>"; } - echo "</select>\n"; + echo "</select>"; echo "</td>"; // NOTE: Row 2 column 7: Up/Down buttons for right block list echo "<td class=\"optionbox width20 vmiddle\">"; @@ -403,33 +398,21 @@ if ($action=="configure") { echo "<tr><td class=\"topbottombar\" colspan=\"7\">"; if (WT_USER_IS_ADMIN && $ctype=='user') { - echo i18n::translate('Use these blocks as the default block configuration for all users?')."<input type=\"checkbox\" name=\"setdefault\" value=\"1\" /><br /><br />\n"; + echo i18n::translate('Use these blocks as the default block configuration for all users?')."<input type=\"checkbox\" name=\"setdefault\" value=\"1\" /><br /><br />"; } - echo "<input type=\"button\" value=\"".i18n::translate('Reset to Default Blocks')."\" onclick=\"window.location='index_edit.php?ctype=$ctype&action=reset&name=".str_replace("'", "\'", $name)."';\" />\n"; + echo "<input type=\"button\" value=\"".i18n::translate('Reset to Default Blocks')."\" onclick=\"window.location='index_edit.php?ctype=$ctype&action=reset&name=".str_replace("'", "\'", $name)."';\" />"; if ($ctype=='user') { echo help_link('block_default_portal'); } else { echo help_link('block_default_index'); } echo " "; - echo "<input type=\"button\" value=\"".i18n::translate('Save')."\" onclick=\"select_options(); save_form();\" />\n"; + echo "<input type=\"button\" value=\"".i18n::translate('Save')."\" onclick=\"select_options(); save_form();\" />"; echo " "; echo "<input type =\"button\" value=\"".i18n::translate('Cancel')."\" onclick=\"window.close()\" />"; echo "</td></tr></table>"; - echo "</form>\n"; - - // end of 1st tab - echo "</div>\n"; - - //--------------------------------Start 2nd tab Help page - echo "\n\t<div id=\"help\" class=\"tab_page\" style=\"position: absolute; display: none; top: auto; left: auto; z-index: 2; \">\n\t"; - - echo "<br /><center><input type=\"button\" value=\"".i18n::translate('Click here to continue')."\" onclick=\"expand_layer('configure', true); expand_layer('help', false);\" /></center><br /><br />\n"; - echo i18n::translate("Here is a short description of each of the blocks you can place on the Welcome or My Page.<br /><table border='1' align='center'><tr><td class='list_value'><b>Name</b></td><td class='list_value'><b>Description</b></td></tr></table>"); - - // end of 2nd tab - echo "</div>\n"; + echo "</form>"; } echo "</body></html>"; // Yes! Absolutely NOTHING at page bottom, please. diff --git a/themes/clouds/style.css b/themes/clouds/style.css index 67d0905bae..2b6c5e1794 100644 --- a/themes/clouds/style.css +++ b/themes/clouds/style.css @@ -654,11 +654,6 @@ width:100%; max-width: 98%; } -.tab_page { -max-width: 100%; -width: 100%; -} - .facts_label { border:1px solid #acf; font-size: 12px; diff --git a/themes/colors/css/aquamarine.css b/themes/colors/css/aquamarine.css index c8bfa7be86..2e5f6cac92 100644 --- a/themes/colors/css/aquamarine.css +++ b/themes/colors/css/aquamarine.css @@ -644,11 +644,6 @@ width:100%; max-width: 98%; } -.tab_page { -max-width: 100%; -width: 100%; -} - .facts_label { border:1px solid #999; font-size: 12px; diff --git a/themes/colors/css/ash.css b/themes/colors/css/ash.css index 007b25828b..730d00bcea 100644 --- a/themes/colors/css/ash.css +++ b/themes/colors/css/ash.css @@ -644,11 +644,6 @@ width:100%; max-width: 98%; } -.tab_page { -max-width: 100%; -width: 100%; -} - .facts_label { border:1px solid #999; font-size: 12px; diff --git a/themes/colors/css/belgianchocolate.css b/themes/colors/css/belgianchocolate.css index ed06670236..4e8c694a21 100644 --- a/themes/colors/css/belgianchocolate.css +++ b/themes/colors/css/belgianchocolate.css @@ -644,11 +644,6 @@ width:100%; max-width: 98%; } -.tab_page { -max-width: 100%; -width: 100%; -} - .facts_label { border:1px solid #999; font-size: 12px; diff --git a/themes/colors/css/bluelagoon.css b/themes/colors/css/bluelagoon.css index 55a051c077..42527ca3ad 100644 --- a/themes/colors/css/bluelagoon.css +++ b/themes/colors/css/bluelagoon.css @@ -644,11 +644,6 @@ width:100%; max-width: 98%; } -.tab_page { -max-width: 100%; -width: 100%; -} - .facts_label { border:1px solid #999; font-size: 12px; diff --git a/themes/colors/css/bluemarine.css b/themes/colors/css/bluemarine.css index 45fb0e46f7..b468ff6843 100644 --- a/themes/colors/css/bluemarine.css +++ b/themes/colors/css/bluemarine.css @@ -644,11 +644,6 @@ width:100%; max-width: 98%; } -.tab_page { -max-width: 100%; -width: 100%; -} - .facts_label { border:1px solid #999; font-size: 12px; diff --git a/themes/colors/css/coldday.css b/themes/colors/css/coldday.css index ed6f2bbde1..c7037d904f 100644 --- a/themes/colors/css/coldday.css +++ b/themes/colors/css/coldday.css @@ -644,11 +644,6 @@ width:100%; max-width: 98%; } -.tab_page { -max-width: 100%; -width: 100%; -} - .facts_label { border:1px solid #999; font-size: 12px; diff --git a/themes/colors/css/greenbeam.css b/themes/colors/css/greenbeam.css index 628c7c3737..1aeb6ba292 100644 --- a/themes/colors/css/greenbeam.css +++ b/themes/colors/css/greenbeam.css @@ -644,11 +644,6 @@ width:100%; max-width: 98%; } -.tab_page { -max-width: 100%; -width: 100%; -} - .facts_label { border:1px solid #999; font-size: 12px; diff --git a/themes/colors/css/mediterranio.css b/themes/colors/css/mediterranio.css index 9946b2821c..a50e9c299d 100644 --- a/themes/colors/css/mediterranio.css +++ b/themes/colors/css/mediterranio.css @@ -644,11 +644,6 @@ width:100%; max-width: 98%; } -.tab_page { -max-width: 100%; -width: 100%; -} - .facts_label { border:1px solid #999; font-size: 12px; diff --git a/themes/colors/css/mercury.css b/themes/colors/css/mercury.css index fec1bab9cc..fd6498f6db 100644 --- a/themes/colors/css/mercury.css +++ b/themes/colors/css/mercury.css @@ -644,11 +644,6 @@ width:100%; max-width: 98%; } -.tab_page { -max-width: 100%; -width: 100%; -} - .facts_label { border:1px solid #999; font-size: 12px; diff --git a/themes/colors/css/nocturnal.css b/themes/colors/css/nocturnal.css index 6271477d16..3c0b573d8e 100644 --- a/themes/colors/css/nocturnal.css +++ b/themes/colors/css/nocturnal.css @@ -644,11 +644,6 @@ width:100%; max-width: 98%; } -.tab_page { -max-width: 100%; -width: 100%; -} - .facts_label { border:1px solid #999; font-size: 12px; diff --git a/themes/colors/css/olivia.css b/themes/colors/css/olivia.css index 0ac4059421..101cde4741 100644 --- a/themes/colors/css/olivia.css +++ b/themes/colors/css/olivia.css @@ -644,11 +644,6 @@ width:100%; max-width: 98%; } -.tab_page { -max-width: 100%; -width: 100%; -} - .facts_label { border:1px solid #999; font-size: 12px; diff --git a/themes/colors/css/pinkplastic.css b/themes/colors/css/pinkplastic.css index 06cc772258..1f4aba8eb9 100644 --- a/themes/colors/css/pinkplastic.css +++ b/themes/colors/css/pinkplastic.css @@ -644,11 +644,6 @@ width:100%; max-width: 98%; } -.tab_page { -max-width: 100%; -width: 100%; -} - .facts_label { border:1px solid #999; font-size: 12px; diff --git a/themes/colors/css/shinytomato.css b/themes/colors/css/shinytomato.css index b60015fba1..519a467172 100644 --- a/themes/colors/css/shinytomato.css +++ b/themes/colors/css/shinytomato.css @@ -644,11 +644,6 @@ width:100%; max-width: 98%; } -.tab_page { -max-width: 100%; -width: 100%; -} - .facts_label { border:1px solid #999; font-size: 12px; diff --git a/themes/colors/css/tealtop.css b/themes/colors/css/tealtop.css index d164c670fd..d263c65a19 100644 --- a/themes/colors/css/tealtop.css +++ b/themes/colors/css/tealtop.css @@ -644,11 +644,6 @@ width:100%; max-width: 98%; } -.tab_page { -max-width: 100%; -width: 100%; -} - .facts_label { border:1px solid #999; font-size: 12px; diff --git a/themes/minimal/style.css b/themes/minimal/style.css index dee53de8d5..710bf96b9a 100644 --- a/themes/minimal/style.css +++ b/themes/minimal/style.css @@ -275,10 +275,6 @@ table.center{ color: #888888; } -.tab_page { - width: 100%; -} - .name1 { color: black; font: bold 10px tahoma, arial, helvetica, sans-serif; @@ -1560,4 +1556,4 @@ td.descriptionbox a { /* this keeps the tag color the same when it is a link as .logo { text-align: center; -}
\ No newline at end of file +} |
