Fixed IE6 + Admin theme, version typo in installer, and paginator + IE6
authorDan
Sun, 05 Aug 2007 17:10:17 -0400
changeset 82 03c7f5ec1e4c
parent 81 d7fc25acd3f3
child 83 80facec76d9f
Fixed IE6 + Admin theme, version typo in installer, and paginator + IE6
includes/functions.php
install.php
themes/admin/acledit.tpl
themes/admin/css-ie/iefixes.css
themes/admin/header.tpl
themes/admin/images/window-gif/window-bottom.gif
themes/admin/images/window-gif/window-bottomcorners.gif
themes/admin/images/window-gif/window-left.gif
themes/admin/images/window-gif/window-right.gif
themes/admin/images/window-gif/window-top.gif
themes/admin/images/window-gif/window-topcorners.gif
--- a/includes/functions.php	Sun Aug 05 15:58:50 2007 -0400
+++ b/includes/functions.php	Sun Aug 05 17:10:17 2007 -0400
@@ -2058,7 +2058,12 @@
   $this_page = ceil ( $start / $perpage );
 
   // Build paginator
-  $begin = '<div class="tblholder" style="display: table; margin: 10px 0 0 auto;">
+  $pg_css = ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') ) ?
+            // IE-specific hack
+            'display: block; width: 1px;':
+            // Other browsers
+            'display: table; margin: 10px 0 0 auto;';
+  $begin = '<div class="tblholder" style="'. $pg_css . '">
     <table border="0" cellspacing="1" cellpadding="4">
       <tr><th>Page:</th>';
   $block = '<td class="row1" style="text-align: center;">{LINK}</td>';
--- a/install.php	Sun Aug 05 15:58:50 2007 -0400
+++ b/install.php	Sun Aug 05 17:10:17 2007 -0400
@@ -315,7 +315,7 @@
     <div style="text-align: center; margin-top: 10px;">
       <img alt="[ Enano CMS Project logo ]" src="images/enano-artwork/installer-greeting-blue.png" style="display: block; margin: 0 auto; padding-left: 100px;" />
       <h2>Welcome to Enano</h2>
-      <h3>version 1.0 &ndash; stable<br />
+      <h3>version 1.0.1 &ndash; stable<br />
       <span style="font-weight: normal;">also affectionately known as "loch ness" <tt>:)</tt></span></h3>
       <?php
       if ( file_exists('./_nightly.php') )
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/admin/acledit.tpl	Sun Aug 05 17:10:17 2007 -0400
@@ -0,0 +1,36 @@
+<!-- VAR acl_field_begin -->
+<div class="tblholder">
+  <table border="0" cellspacing="1" cellpadding="4" style="width: 100%;">
+    <tr>
+      <th></th>
+      <th style='cursor: pointer;' title="Click to change all columns" onclick="__aclSetAllRadios('1');">Deny</th>
+      <th style='cursor: pointer;' title="Click to change all columns" onclick="__aclSetAllRadios('2');">Disallow</th>
+      <th style='cursor: pointer;' title="Click to change all columns" onclick="__aclSetAllRadios('3');">Wiki mode</th>
+      <th style='cursor: pointer;' title="Click to change all columns" onclick="__aclSetAllRadios('4');">Allow</th>
+    </tr>
+<!-- ENDVAR acl_field_begin -->
+<!-- VAR acl_field_item -->
+    <tr>
+      <td class="{ROW_CLASS}">{FIELD_DESC}</td>
+      <td class="{ROW_CLASS}" style="text-align: center;"><input type="radio" value="1" name="{FIELD_NAME}" {FIELD_DENY_CHECKED} /></td>
+      <td class="{ROW_CLASS}" style="text-align: center;"><input type="radio" value="2" name="{FIELD_NAME}" {FIELD_DISALLOW_CHECKED} /></td>
+      <td class="{ROW_CLASS}" style="text-align: center;"><input type="radio" value="3" name="{FIELD_NAME}" {FIELD_WIKIMODE_CHECKED} /></td>
+      <td class="{ROW_CLASS}" style="text-align: center;"><input type="radio" value="4" name="{FIELD_NAME}" {FIELD_ALLOW_CHECKED} /></td>
+    </tr>
+<!-- ENDVAR acl_field_item -->
+<!-- VAR acl_field_end -->
+    <tr>
+      <td colspan="5" class="row3">
+        <p><b>Permission types:</b></p>
+        <ul>
+          <li><b>Allow</b> means that the user is allowed to access the item</li>
+          <li><b>Wiki mode</b> means the user can access the item if wiki mode is active (per-page wiki mode is taken into account)</li>
+          <li><b>Disallow</b> means the user is denied access unless something allows it.</li>
+          <li><b>Deny</b> means that the user is denied access to the item. This setting overrides all other permissions.</li>
+        </ul>
+      </td>
+    </tr>
+  </table>
+</div>
+<!-- ENDVAR acl_field_end -->
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/admin/css-ie/iefixes.css	Sun Aug 05 17:10:17 2007 -0400
@@ -0,0 +1,9 @@
+table.wrapper td.top-left     { width: 37px; height: 28px; background-image: url(../images/window-gif/window-topcorners.gif); background-repeat: no-repeat; }
+table.wrapper td.top          {              height: 28px; background-image: url(../images/window-gif/window-top.gif); background-repeat: repeat-x; }
+table.wrapper td.top-right    { width: 37px; height: 28px; background-image: url(../images/window-gif/window-topcorners.gif); background-repeat: no-repeat; background-position: -37px 0px; }
+table.wrapper td.left         { width: 37px;               background-image: url(../images/window-gif/window-left.gif); background-repeat: repeat-y; }
+table.wrapper td.right        { width: 37px;               background-image: url(../images/window-gif/window-right.gif); background-repeat: repeat-y; }
+table.wrapper td.bottom-left  { width: 37px; height: 44px; background-image: url(../images/window-gif/window-bottomcorners.gif); background-repeat: no-repeat; }
+table.wrapper td.bottom       {              height: 44px; background-image: url(../images/window-gif/window-bottom.gif); background-repeat: repeat-x; }
+table.wrapper td.bottom-right { width: 37px; height: 44px; background-image: url(../images/window-gif/window-bottomcorners.gif); background-repeat: no-repeat; background-position: -37px 0px; }
+
--- a/themes/admin/header.tpl	Sun Aug 05 15:58:50 2007 -0400
+++ b/themes/admin/header.tpl	Sun Aug 05 17:10:17 2007 -0400
@@ -5,6 +5,9 @@
     <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
     <link rel="stylesheet" type="text/css" href="{SCRIPTPATH}/includes/clientside/css/enano-shared.css" />
     <link id="mdgCss" rel="stylesheet" type="text/css" href="{SCRIPTPATH}/themes/{THEME_ID}/css/{STYLE_ID}.css" />
+    <!--[if IE]>
+    <link id="mdgCss" rel="stylesheet" type="text/css" href="{SCRIPTPATH}/themes/{THEME_ID}/css-ie/iefixes.css" />
+    <![endif]-->
     {JS_DYNAMIC_VARS}
     <script type="text/javascript" src="{SCRIPTPATH}/includes/clientside/static/enano-lib-basic.js"></script>
     <script type="text/javascript" src="{SCRIPTPATH}/themes/admin/js/menu.js"></script>
Binary file themes/admin/images/window-gif/window-bottom.gif has changed
Binary file themes/admin/images/window-gif/window-bottomcorners.gif has changed
Binary file themes/admin/images/window-gif/window-left.gif has changed
Binary file themes/admin/images/window-gif/window-right.gif has changed
Binary file themes/admin/images/window-gif/window-top.gif has changed
Binary file themes/admin/images/window-gif/window-topcorners.gif has changed