Code

Made some defaults for imgs and inputs to be displayed correct by newer browsers...
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sat, 19 Nov 2005 11:59:20 +0000 (11:59 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sat, 19 Nov 2005 11:59:20 +0000 (11:59 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1984 594d385d-05f5-0310-b6e9-bd551577e9d8

html/themes/default/style.css
ihtml/themes/default/framework.tpl
plugins/admin/groups/class_groupManagement.inc
plugins/admin/groups/headpage.tpl

index e4e46c99076c415a2bc9cb2e4a190bd74410969c..1cf0b28d9257bb08b15110c094f968a0f81d8531 100644 (file)
@@ -530,7 +530,15 @@ a.tab_near_active, input.tab_near_active {
        font-weight:bold;
 }
 
+img {
+       text-align:center;
+       vertical-align:middle;
+}
 
+input {
+       text-align:left;
+       vertical-align:middle;
+}
 
 /********************** Template migration *********************/
 
index 92dc72c8409c97383ac21225e2bfd230fb2b6bb0..04c3282582eb2165b539c57dc2c786228cccf145 100644 (file)
@@ -5,24 +5,24 @@
 <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#CDF6BD" summary="" >
   <tr>
     <td style="height:36px; width:140px; vertical-align:bottom; text-align:center">
-     <a href="main.php" style="vertical-align:bottom;"><img src='{$go_logo}' border="0" alt="GOSA2" align="bottom"></a>
+     <a href="main.php" style="vertical-align:bottom;"><img src='{$go_logo}' border="0" alt="GOSA2" style='vertical-align:bottom;'></a>
     </td>
     <td>
       <table style="margin-left:20px;" border=0 summary="">
        <tr>
         <td valign="middle">
         <a class=maintitlebar href='main.php?reset=1' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "main.php?reset=1");' style="vertical-align:middle;">
-         <img src='{$go_home}' align="middle" border="0" alt="GOSA2">&nbsp;{t}Main{/t}
+         <img src='{$go_home}' style='vertical-align:middle;text-align:center;' border="0" alt="GOSA2">&nbsp;{t}Main{/t}
         </a>
        </td>
         <td>
         <a class=maintitlebar style="margin-left:35px; vertical-align:middle;" {$help_method}>
-          <img src='{$go_help}' align="middle" border="0" alt="GOSA2">&nbsp;{t}Help{/t}
+          <img src='{$go_help}' style='vertical-align:middle;text-align:center;' border="0" alt="GOSA2">&nbsp;{t}Help{/t}
          </a>
        </td>
        <td>
         <a class=maintitlebar href='logout.php' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "logout.php");' style="margin-left:35px; vertical-align:middle;">
-          <img src='{$go_out}' align="middle" border="0" alt="GOSA2">&nbsp;{t}Sign out{/t}
+          <img src='{$go_out}' style='vertical-align:middle;text-align:center;' border="0" alt="GOSA2">&nbsp;{t}Sign out{/t}
          </a>
        </td>
        </tr>
index 0c593b70ac12455e83b36363175d9528aa70bef4..e982d2da8a110ac25e46426cda5c04a286a70c11 100644 (file)
@@ -348,16 +348,14 @@ class groupManagement extends plugin
 
     // Managment
     $listhead = "<div style='background:#F0F0F9;padding:5px;'>".
-      " <input type='image' align='middle' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
-      " <input type='image' src='images/list_root.png' align='middle' title='"._("Go to root department")."' name='dep_root' alt='"._("Root")."'>&nbsp;".
-      " <input type='image' align='middle' src='images/list_home.png' title='"._("Go to users department")."'
- alt='"._("Home")."' name='dep_home'>&nbsp;".
-      " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
-      " <input type='image' align='middle' src='images/list_new_group.png' title='"._("Create new group")."'
- alt='"._("New")."' name='group_new'>&nbsp;".
-      " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
+      " <input type='image' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
+      " <input type='image' src='images/list_root.png' title='"._("Go to root department")."' name='dep_root' alt='"._("Root")."'>&nbsp;".
+      " <input type='image' src='images/list_home.png' title='"._("Go to users department")."' alt='"._("Home")."' name='dep_home'>&nbsp;".
+      " <img src='images/list_seperator.png' alt='' height='16' width='1'>&nbsp;".
+      " <input type='image' src='images/list_new_group.png' title='"._("Create new group")."' alt='"._("New")."' name='group_new'>&nbsp;".
+      " <img src='images/list_seperator.png' alt='' height='16' width='1'>&nbsp;".
       _("Current base")."&nbsp;<select name='depselect' onChange='mainform.submit()'>$options</select>".
-       " <input type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."'   name='submit_department' alt='"._("Submit")."'>&nbsp;".
+       " <input type='image' src='images/list_submit.png' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
       "</div>";
 
     
index fb28dcb34dc4533c22e404834999f7bc5d45e062..5e2804f579775d07ee863bf449b3d4d50d850e29 100644 (file)
@@ -1,4 +1,4 @@
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
+<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding='4'>
 <tr>
   <td style="vertical-align:top;">
   <div class="contentboxh">