Code

Updated reference templates
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Apr 2010 14:33:43 +0000 (14:33 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Apr 2010 14:33:43 +0000 (14:33 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17850 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/ihtml/themes/default/ldifViewer.tpl
gosa-core/plugins/generic/references/contents.tpl

index dee813f299c6057cc591343c8da21cf368c81110..6b46ce19ede73297f146a7a3aa7188fa9619e3e3 100644 (file)
@@ -1,4 +1,5 @@
-
+<h3>{t}Raw LDAP entry{/t}</h3>
+<hr>
 <pre>
 {$ldif}
 </pre>
index 3e230575291c47644a101c2a00aff90a812acb7a..6b420383b8ec33d6719c2c7ef40e268f2a45b28a 100644 (file)
@@ -1,29 +1,31 @@
 
-<h3>{t}Object info{/t}</h3>
+<h3>{t}Object information{/t}</h3>
 <table width='100%' summary='{t}Object info{/t}'>
     <tr>
         <td style='width:48%;'>
-            {if !$someACL|regex_replace:"/[cdmw]/":"" == "r"}
-                {msgPool type='permView'}
-            {else}
-                {if $modifyTimestamp==""}
-                    Last modified: {t}Unknown{/t}
-                {else}
-                    Last modified: {$modifyTimestamp}
-                {/if}
+            {if $completeACL|regex_replace:"/[cdmw]/":"" == "r"}
+                <button type='submit' name='viewLdif'>{t}Show raw object entry{/t}</button>
             {/if}
         </td>
         <td class='right-border' style='width:2px'>
           &nbsp;
         </td>
         <td>
-            {if $completeACL|regex_replace:"/[cdmw]/":"" == "r"}
-                {t}View current entry ldif{/t}&nbsp;<button type='submit' name='viewLdif'>{t}View{/t}</button>
+            {if !$someACL|regex_replace:"/[cdmw]/":"" == "r"}
+                {msgPool type='permView'}
+            {else}
+                {if $modifyTimestamp==""}
+                    {t}Last modification{/t}: {t}Unknown{/t}
+                {else}
+                    {t}Last modification{/t}: {$modifyTimestamp}
+                {/if}
             {/if}
         </td>
     </tr>
 </table>
+
 <hr>
+
 <table summary='{t}Object references{/t}' class='reference-tab'>
     <tr>
         <td style='width:48%'>