Code

Updated mimetype templates
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Mar 2010 16:31:33 +0000 (16:31 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Mar 2010 16:31:33 +0000 (16:31 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16834 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/mimetypes/generic.tpl
gosa-plugins/goto/admin/mimetypes/mimetype-filter-release.tpl
gosa-plugins/goto/admin/mimetypes/mimetype-list-release.tpl
gosa-plugins/goto/admin/mimetypes/paste_generic.tpl
gosa-plugins/goto/admin/mimetypes/release_select.tpl

index 497023e9056454581494b17085aa23998bd98ce2..29ee2c4041ac96e428a22219723797cebbcb7520 100644 (file)
@@ -5,7 +5,8 @@
                </td>
        </tr>
        <tr>
-               <td style='width:50%; vertical-align:top;' >
+               <td style='width:50%; '>
+
                        <table>
                                <tr>
                                        <td>
@@ -23,7 +24,7 @@
                                        </td>
                                        <td>
 {render acl=$gotoMimeGroupACL}
-                                               <select name='gotoMimeGroup' title='{t}Categorize this mime type{/t}'>
+                                               <select name='gotoMimeGroup' title='{t}Categorize this mime type{/t}' size=1>
                                                        {html_options output=$gotoMimeGroups values=$gotoMimeGroups selected=$gotoMimeGroup}
                                                </select>
 {/render}
@@ -50,7 +51,8 @@
        {/render}
        {if !$isReleaseMimeType}
                {render acl=$baseACL disable_picture='images/lists/folder_grey.png'}
-                       <input type="image" name="chooseBase" src="images/lists/folder.png" class="center" title="{t}Select a base{/t}">
+                       {image path="images/lists/folder.png" action="chooseBase" title="{t}Select a base{/t}"}
+
                {/render}
        {/if}
                                        </td>
                        </table>
                        
                </td>
-               <td style="border-left:1px solid #A0A0A0;vertical-align:top;">
+               <td class='left-border'>
+
                        <table summary="">
                                <tr>
                                        <td>
                                                <LABEL for="picture_file">{t}Icon{/t}</LABEL><br>
 {if $IconReadable}
-                                               <img src="{$gotoMimeIcon}" border=1 alt='{t}Mime icon{/t}' 
+                                               {image path="{$gotoMimeIcon}"}
                                                        style="width:48px; height:48; background-color:white; vertical-align:bottom;">
 {else}
-                                               <img src="images/empty.png" border=1 alt='{t}Mime icon{/t}' 
+                                               {image path="images/empty.png"}
                                                        style="width:48px; height:48; background-color:white; vertical-align:bottom;">
 {/if}
                                        </td>
-                                       <td style="vertical-align:top">
+                                       <td>
+
                                                &nbsp;<br>
                                                <input type="hidden" name="MAX_FILE_SIZE" value="100000">
 {render acl=$gotoMimeIconACL}
                </td>
        </tr>
        <tr>
-               <td style='width:50%; vertical-align:top;' >
+               <td style='width:50%; '>
+
                        {t}File patterns{/t}{$must}
 {render acl=$gotoMimeFilePatternACL}   
                        {$gotoMimeFilePatterns} 
 
 {/render}
                </td>
-               <td style="border-left:1px solid #A0A0A0;vertical-align:top;">
+               <td class='left-border'>
+
                        {t}Applications{/t}
 {render acl=$gotoMimeApplicationACL}   
                        {$gotoMimeApplications}         
 {/render}
 
 {render acl=$gotoMimeApplicationACL}   
-                       <select name="NewApplicationSelect">
+                       <select name="NewApplicationSelect" size=1>
                                <option value="">-</option>
                                {html_options options=$ApplicationList}
                        </select>
                </td>
        </tr>
        <tr>
-               <td style='width:50%; vertical-align:top;' >
+               <td style='width:50%; '>
+
                                
                        <table>
                                <tr>
-                                       <td style='vertical-align:top; '>
+                                       <td>
+
 {render acl=$gotoMimeLeftClickActionACL}
                                                <input type='radio' name='gotoMimeLeftClickAction_IE' value='I' 
                                                        {if $gotoMimeLeftClickAction_I} checked {/if}>
                        </table>
                        
                </td>
-               <td style="border-left:1px solid #A0A0A0;vertical-align:top;">
+               <td class='left-border'>
+
                        {t}Applications{/t}
 {render acl=$gotoMimeEmbeddedApplicationACL}
                        {$gotoMimeEmbeddedApplications}         
 {/render}
 {render acl=$gotoMimeEmbeddedApplicationACL}
-                       <select name="NewEmbeddedApplicationSelect">
+                       <select name="NewEmbeddedApplicationSelect" size=1>
                                <option value="">-</option>
                                {html_options options=$ApplicationList}
                        </select>
index 6495f8fb5503db32d3479f9e63be0012cb73a340..355a8d396f309b908b970d03b627cc3d1e618424 100644 (file)
@@ -1,6 +1,7 @@
 <div class="contentboxh">
  <p class="contentboxh">
-  <img src="images/launch.png" align="right" alt="[F]">{t}Filter{/t}
+  {image path="images/launch.png" align="right"}{t}Filter{/t}
+
  </p>
 </div>
 
   </tr>
  </table>
 
- <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
+ <table style='width:100%;' summary="">
+
   <tr>
    <td>
     <label for="NAME">
-     <img src="images/lists/search.png" align=middle>&nbsp;Name
+     {image path="images/lists/search.png"}&nbsp;Name
+
     </label>
    </td>
    <td>
@@ -29,7 +32,8 @@
   </tr>
  </table>
 
- <table summary=""  width="100%"  style="background:#EEEEEE;border-top:1px solid #B0B0B0;">
+ <table style='background:#EEEEEE;' summary="">
+
   <tr>
    <td width="100%" align="right">
     {$APPLY}
index 1a5bf6f40868c70c87a25a5ada49f2657511e0e4..4a500a5008044deb8d750051ccd92878df02197f 100644 (file)
@@ -1,6 +1,8 @@
-<table summary="" style="width:100%;height:100%; vertical-align:top; text-align:left;" cellpadding=2>
+<table style='width:100%;height:100%; ' summary="">
+
   <tr>
-    <td style="vertical-align:top; width:100%;">
+    <td style='width:100%;'>
+
       <div class="contentboxh">
         <p class="contentboxh">&nbsp;{$HEADLINE}&nbsp;{$SIZELIMIT}</p>
       </div>
@@ -9,7 +11,8 @@
        <div style='background:white;padding:3px;'>
         <table><tr>
           <td>{$RELOAD}&nbsp;</td><td>{$SEPARATOR}&nbsp;</td>
-          <td><img src='images/rocket.png' alt='' class='center'></td>
+          <td>{image path="images/rocket.png"}
+</td>
           <td> {$ACTIONS}</td>
         </tr></table>
        </div>
@@ -19,7 +22,8 @@
       </div>
       {$LIST}
     </td>
-    <td style='vertical-align:top;min-width:250px'>
+    <td style='min-width:250px'>
+
       {$FILTER}
     </td>
   </tr>
index 4aa8a11be7c4d35b6bc2f18bb718ee136408e5db..355725e06ec1394f380bbb8952ecd2880da9cbf2 100644 (file)
@@ -5,7 +5,8 @@
                </td>
        </tr>
        <tr>
-               <td style='width:50%; vertical-align:top;' >
+               <td style='width:50%; '>
+
                                
                        <table>
                                <tr>
index 37813af2344c6cb5fa6591f85f0fc6f4e2b3bf54..f11b391ad1ba73c5015c2af917b08ece522d1020 100644 (file)
@@ -1,12 +1,13 @@
 <div class="contentboxh" style="border-bottom:1px solid #B0B0B0;">
- <p class="contentboxh"><img src="{$branchimage}" align="right" alt="[F]">{t}Branches{/t}</p>
+ <p class="contentboxh">{image path="{$branchimage}" align="right"}{t}Branches{/t}
+</p>
 </div>
 <div class="contentboxb">
  <table summary="" style="width:100%;">
   <tr>
    <td>
     {t}Current release{/t}&nbsp;
-    <select name="mime_release" onChange="document.mainform.submit();">
+    <select name="mime_release" onChange="document.mainform.submit();" size=1>
         {html_options output=$mime_releases values=$mime_releases selected=$mime_release}
     </select>
    </td>