[geeklog-hg] geeklog: fixed page layout when more than one file or directory ...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Apr 7 15:24:03 EDT 2013


changeset 9040:4932385599f7
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/4932385599f7
user: Dirk Haun <dirk at haun-online.de>
date: Sun Apr 07 20:39:40 2013 +0200
description:
fixed page layout when more than one file or directory had the wrong permissions

diffstat:

 public_html/admin/install/index.php        |  4 ++--
 public_html/admin/install/layout/style.css |  7 ++++++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 2cce335c44e1 -r 4932385599f7 public_html/admin/install/index.php
--- a/public_html/admin/install/index.php	Sun Apr 07 23:17:15 2013 +0530
+++ b/public_html/admin/install/index.php	Sun Apr 07 20:39:40 2013 +0200
@@ -1152,7 +1152,7 @@
                         $check_selinux = true;
                         $cmd_selinux .= $file . ' ';
                     }
-                    $display_permissions    .= '<p><label class="' . $perms_label_dir . '"><code>' . $file . '</code></label>' . LB
+                    $display_permissions    .= '<p class="clearboth"><label class="' . $perms_label_dir . '"><code>' . $file . '</code></label>' . LB
                                             . ' <span class="permissions-list">' . $LANG_INSTALL[12] . ' '. $perm_should_be .'</span> ('
                                             . $LANG_INSTALL[13] . ' ' . $permission . ')</p>' . LB ;
                     $chmod_string .= $file . ' ' ;
@@ -1192,7 +1192,7 @@
                 // Also, list the auto-generated chmod command for advanced users
                 $display .= '<div class="file-permissions">' . LB
                     . $display_permissions . '</div>' . LB
-                    . '<h2>' . $LANG_INSTALL[98] . '</h2>' . LB
+                    . '<h2 class="clearboth">' . $LANG_INSTALL[98] . '</h2>' . LB
                     . '<p>' . $LANG_INSTALL[99] . '</p>' . LB
                     . '<p class="codeblock"><code>' . $chmod_string . LB 
                     . '</code></p><br ' . XHTML . '>' . LB;
diff -r 2cce335c44e1 -r 4932385599f7 public_html/admin/install/layout/style.css
--- a/public_html/admin/install/layout/style.css	Sun Apr 07 23:17:15 2013 +0530
+++ b/public_html/admin/install/layout/style.css	Sun Apr 07 20:39:40 2013 +0200
@@ -491,4 +491,9 @@
   font-size: 13px;
   margin: 2px;
   padding: 2px;
-}
\ No newline at end of file
+}
+
+.clearboth {
+  clear:both;
+}
+



More information about the geeklog-cvs mailing list