Code

Updated address book
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Mar 2010 16:17:33 +0000 (16:17 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Mar 2010 16:17:33 +0000 (16:17 +0000)
-Still very broken

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16819 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/addressbook/addons/addressbook/address_edit.tpl
gosa-plugins/addressbook/addons/addressbook/address_info.tpl
gosa-plugins/addressbook/addons/addressbook/contents.tpl
gosa-plugins/addressbook/addons/addressbook/dial.tpl
gosa-plugins/addressbook/addons/addressbook/remove.tpl

index c1460614e6bfed9644dcfc3a22c565f7423bdaa0..6e922888e6b678fc9be42f2954f8ec12afbec972 100644 (file)
@@ -1,4 +1,5 @@
-<table summary="" style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=4 cellspacing=0 border=0>
+<table style='width:100%; border:1px solid #B0B0B0;' summary="">
+
        <tr style="background-color: #E8E8E8; height:26px;font-weight:bold;">
                <td align=left width="100%">
                        <LABEL for="storage_base">
                <td colspan=2>
                        <table summary="" width="100%" cellspacing=2 cellpadding=4>
                                <tr>
-                                       <td style="width:50%; vertical-align:top; background-color: #F0F0F0">
+                                       <td style='width:50%; background-color: #F0F0F0'>
+
                                                <h3>
-                                                       <img class="center" alt="" src="{$personal_image}" align=middle>
+                                                       {image path="{$personal_image}"}
+
                                                                &nbsp;{t}Personal{/t}
                                                </h3>
                                                <table summary="" width="100%">
                                                        </tr>
                                                </table>
                                        </td>
-                                       <td style="width:50%; vertical-align:top;background-color:#E8E8E8">
+                                       <td style='width:50%; background-color:#E8E8E8'>
+
                                                <h3>
-                                                       <img class="center" alt="" src="{$home_image}" align=middle>
+                                                       {image path="{$home_image}"}
+
                                                        &nbsp;{t}Private{/t}
                                                </h3>
                                                <table summary="" width="100%">
@@ -82,7 +87,8 @@
                                                                <br>
                                                                <br>
                                                                </td>
-                                                               <td style="vertical-align:top;">
+                                                               <td>
+
 {render acl=$homePostalAddressACL}
                                                                        <textarea id="homePostalAddress" name="homePostalAddress" rows=1 cols=20>{$info_homePostalAddress}</textarea>
 {/render}
                                        </td>
                                </tr>
                                <tr>
-                                       <td style="width:100%; vertical-align:top; background-color: #E4E4E4" colspan=2>
+                                       <td style='width:100%; background-color: #E4E4E4' colspan="2">
+
                                                <h3>
-                                                       <img class="center" alt="" src="{$company_image}" align=middle>
+                                                       {image path="{$company_image}"}
+
                                                        &nbsp;{t}Organizational{/t}
                                                </h3>
                                                <table summary="" width="100%">
                                                                                </tr>
                                                                        </table>
                                                                        </td>
-                                                                       <td style="vertical-align:top">
+                                                                       <td>
+
                                                                        <table summary="" width="100%">
                                                                                <tr>
                                                                                        <td>
                                                                                                <br>
                                                                                                <br>
                                                                                        </td>
-                                                                                       <td style="vertical-align:top;">
+                                                                                       <td>
+
 {render acl=$postalAddressACL}
                                                                                                <textarea id="postalAddress" name="postalAddress" rows=1 cols=20 >{$info_postalAddress}</textarea>
 {/render}
index 80e7bd460daef6eda87e1275101da8e24af6b252..1adb9afca68e4e4e882d8e1a865be1f34c4c80ce 100644 (file)
@@ -1,4 +1,5 @@
-<table summary="" style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=4 cellspacing=0 border=0>
+<table style='width:100%; border:1px solid #B0B0B0;' summary="">
+
  <tr style="background-color: #E8E8E8; height:26px;font-weight:bold;">
   <td align=left width="100%">{$storage_info}
   </td>
 
    <table summary="" width="100%" cellspacing=2 cellpadding=4>
     <tr>
-     <td style="width:50%; vertical-align:top; background-color: #F0F0F0">
+     <td style='width:50%; background-color: #F0F0F0'>
+
       <h3>
-       <img class="center" alt="" src="{$personal_image}" align=middle> 
+       {image path="{$personal_image}"} 
+
        {t}Personal{/t}
       </h3>
  
       </table>
 
      </td>
-     <td style="vertical-align:top; background-color: #E8E8E8">
+     <td style='background-color: #E8E8E8'>
+
 
       <h3>
-       <img class="center" alt="" src="{$home_image}" align=middle> 
+       {image path="{$home_image}"} 
+
        {t}Private{/t}
       </h3>
 
       <table summary="" width="100%">
         <tr>
-         <td style='vertical-align:top; width: 40%;'>
+         <td style='width: 40%;'>
+
           {t}Address{/t}
          </td>
-         <td style="vertical-align:top;">
+         <td>
+
           <i>{$info_homePostalAddress}</i>
          </td>
         </tr>
      </tr>
 
      <tr>
-      <td style="vertical-align:top; background-color: #E4E4E4" colspan=2>
+      <td style='background-color: #E4E4E4' colspan="2">
+
 
        <h3>
-        <img class="center" alt="" src="{$company_image}" align=middle> 
+        {image path="{$company_image}"} 
+
         {t}Organizational{/t}
        </h3>
 
           </table>
 
          </td>
-         <td style="vertical-align:top">
+         <td>
+
 
           <table summary="" width="100%">
            <tr>
             <td style='vertical_align:top; width:40%;'>
              {t}Address{/t}
             </td>
-            <td style="vertical-align:top;">
+            <td>
+
              <i>{$info_postalAddress}</i>
             </td>
            </tr>
index 004e3d2ae29c9d4953b77efad42e01e91cd30cd7..2443059a83d1e0374101a69fb95102743bbf9fbb 100644 (file)
@@ -1,7 +1,10 @@
-<table summary="" style="table-layout:fixed; width:100%; vertical-align:top; text-align:left; table-layout:auto;" cellpadding="4" border="0">
+<table style='table-layout:fixed; width:100%; table-layout:auto;' summary="">
+
 <tr>
-  <td style="vertical-align:top;">
-   <table summary="" style="border:1px solid #B0B0B0; width:100%; vertical-align:top; text-align:left;"  cellpadding="4" cellspacing="0">
+  <td>
+
+   <table style='border:1px solid #B0B0B0; width:100%; ' summary="">
+
     <colgroup>
         <col width="32%">
         <col width="14%">
@@ -17,7 +20,8 @@
     {$search_result}
    </table>
 
-   <table summary="" style="vertical-align:top; text-align:center; width:100%;" cellpadding="4" cellspacing="0" border="0">
+   <table style='text-align:center; width:100%;' summary="">
+
     <tr>
      <td>{$range_selector}</td>
     </tr>
    {/if}
 
   </td>
-  <td style="vertical-align:top; width:270px;">
+  <td style='width:270px;'>
+
    <div class="contentboxh" style="border-bottom:1px solid #B0B0B0;">
-    <p class="contentboxh"><img src="{$infoimage}" align="right" alt="[i]">{t}Information{/t}</p>
+    <p class="contentboxh">{image path="{$infoimage}" align="right"}{t}Information{/t}
+</p>
    </div>
    <div class="contentboxb">
     <p class="contentboxb">
    </div>
    <br>
    <div class="contentboxh">
-    <p class="contentboxh" style="vertical-align:middle;"><img src="{$actionimage}" style="vertical-align:middle;" align="right" alt="[a]">{t}Actions{/t}</p>
+    <p class="contentboxh" style="vertical-align:middle;">{image path="{$actionimage}" align="right"}{t}Actions{/t}
+</p>
    </div>
    <div class="contentboxb">
     <p class="contentboxb" style="vertical-align:middle;">
 {if $internal_createable}
-     <img class="center" alt="" src="{$add_image}">&nbsp;
+     {image path="{$add_image}"}&nbsp;
+
      <a href="main.php{$plug}&amp;global=add" style="text-align:center;vertical-align:middle;">{t}Add entry{/t}</a><br>
 {/if}
 
 {if $internal eq 0}
  {if $internal_editable}
-     <img alt="" src="{$edit_image}" class="center">&nbsp;
+     {image path="{$edit_image}"}&nbsp;
+
      <a href="main.php{$plug}&amp;global=edit">{t}Edit entry{/t}</a><br>
  {/if}
  {if $internal_removeable}
-            <img alt="" src="{$delete_image}" class="center">&nbsp;
+            {image path="{$delete_image}"}&nbsp;
+
             <a href="main.php{$plug}&amp;global=remove" style="vertical-align:middle;">{t}Remove entry{/t}</a><br>
  {/if}
 {/if}
@@ -62,7 +72,8 @@
    </div>
    <br>
    <div class="contentboxh">
-    <p class="contentboxh"><img src="{$launchimage}" align="right" alt="[F]">{t}Filters{/t}</p>
+    <p class="contentboxh">{image path="{$launchimage}" align="right"}{t}Filters{/t}
+</p>
    </div>
    <div class="contentboxb">
     <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
 <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
        <tr>
                <td>
-                       <label for="search_base"><img class="center" alt="" src="{$tree_image}" align=middle title='{t}Display results for department{/t}'></label>
+                       <label for="search_base">{image path="{$tree_image}" title="{t}Display results for department{/t}"}
+</label>
                </td>
        <td>
-                       <select name="search_base" style='width:220px' onChange="mainform.submit()" title="{t}Choose the department the search will be based on{/t}">
+                       <select name="search_base" style='width:220px' onChange="mainform.submit()" title="{t}Choose the department the search will be based on{/t}" size=1>
                        {html_options options=$deplist selected=$depselect}
                                <option disabled>&nbsp;</option>
                </select>
 <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
        <tr>
                <td>
-                       <label for="object_type"><img class="center" alt="" src="{$obj_image}" align=middle title='{t}Match object{/t}'></label>
+                       <label for="object_type">{image path="{$obj_image}" title="{t}Match object{/t}"}
+</label>
                </td>
            <td>
-                       <select id="object_type" style='width:220px' name="object_type" onChange="mainform.submit()" title="{t}Choose the object that will be searched in{/t}">
+                       <select id="object_type" style='width:220px' name="object_type" onChange="mainform.submit()" title="{t}Choose the object that will be searched in{/t}" size=1>
                        {html_options options=$objlist selected=$object_type}
                                <option disabled>&nbsp;</option>
                </select>
 </table>
 <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
        <tr>
-               <td><label for="search_for"><img class="center" alt="" src="{$search_image}" style="text-align:center;" title='{t}Search for{/t}'></label>
+               <td><label for="search_for">{image path="{$search_image}" title="{t}Search for{/t}"}
+</label>
                </td>
            <td>
                        <input id="search_for" style='width:99%' type='text' name='search_for' maxlength='20' value='{$search_for}' title='{t}Search string{/t}' onChange="mainform.submit()">
index 1bb21afd6b5b89b09500d0f9a0d1e638440eec7d..31e38a12948ffa2d0c480ddff21f7d017d1334c9 100644 (file)
@@ -1,11 +1,13 @@
-<table summary="" style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=4 cellspacing=0 border=0>
+<table style='width:100%; border:1px solid #B0B0B0;' summary="">
+
 <tr style="background-color: #E8E8E8; height:26px;font-weight:bold;">
 <td align=left width="100%"><LABEL for="dial">{t}Dial connection...{/t}</LABEL></td>
 </tr>
 <tr style="background-color: white">
 <td style="text-align:center;">
  <div style="height:50px;">&nbsp;</div>
- <a style="font-size:22px"><img alt="" src="{$phone_image}" align=middle>{$dial_info}</a>
+ <a style="font-size:22px">{image path="{$phone_image}"}{$dial_info}
+</a>
  <div style="height:60px;">&nbsp;</div>
  <button type='submit' name='dial' id="dial">{t}Dial{/t}</button>&nbsp;
 <button type='submit' name='cancel'>{msgPool type=cancelButton}</button>
index 9330e624a13897e3eafa166c0289b4ad8aa2d178..72e841f7a42ecf5fcfdaf96fa317afff9ac44f94 100644 (file)
@@ -1,5 +1,6 @@
 <div style="font-size:18px;">
- <img alt="" src="images/warning.png" align=top>&nbsp;{t}Warning{/t}
+ {image path="images/warning.png" align="top"}&nbsp;{t}Warning{/t}
+
 </div>
 <p>
   {$info}