Code

Updated ldif export handling!
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jul 2010 07:14:59 +0000 (07:14 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jul 2010 07:14:59 +0000 (07:14 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19197 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/ldapmanager/addons/ldapmanager/contentexport.tpl

index 641abcabe3c3d51c0eeabe086aead44654c47ffe..1e619e98ad494c7d554310c024358785585a2eda 100644 (file)
@@ -1,8 +1,7 @@
-{if $LDIFError != FALSE || $type == FALSE}
 <p style="margin-top:5px;">
   {t}The LDIF export plugin provides methods to download a complete snapshot of the running LDAP directory as ldif. You may save these files for backup purpose or when initializing a new server.{/t}
 </p>
-<p class="seperator">&nbsp;</p>
+<hr>
 
 <table summary="" style="width:100%;">
 <tr>
                <LABEL for="text" >{t}Export single entry{/t}</LABEL>
        </td>
        <td>
-               <input id="text" type="text" value="" name="single">
+               <input id="text" type="text" value="{$single}" name="single">
        </td>
        <td>
-               <input type="submit" value="{t}Export{/t}" name="sfrmgetsingle">
+               <button type='submit' name='sfrmgetsingle'>{t}Export{/t}</button>
+
        </td>
 </tr>
 <tr>
                <LABEL for="selfull">{t}Export complete LDIF for{/t}</LABEL>
        </td>
        <td>
-               <select id="selfull" name="selfull" size="1" title="{t}Choose the department you want to Export{/t}">
-                       {html_options options=$deplist selected=0}
-               </select>
-       </td>
-       <td>
-               <input type="submit" value="{t}Export{/t}" name="sfrmgetfull">
-       </td>
-</tr>
-       
-{if $govmode eq "true"}
-<tr>
-       <td width="30%">
-               <LABEL for="selivbb">{t}Export IVBB LDIF for{/t}</LABEL>
-       </td>
-       <td>
-               <select id="selivbb" name="selivbb" size="1" title="{t}Choose the department you want to Export{/t}">
-                       {html_options options=$deplist selected=$depselectivbb}
-               </select>
+        {$base}
        </td>
        <td>
-               <input type="submit" value="{t}Export{/t}" name="sfrmgetivbb">
+               <button type='submit' name='sfrmgetfull'>{t}Export{/t}</button>
+
        </td>
 </tr>
-{/if}
 </table> 
 
-
-{else}
-
-
-<br>
-       <h1>{t}Export successful{/t}</h1>
-<br>
-       <div>
-               <img alt="" border="0" align=middle src="images/filesaveas.png">
-               <a href = "plugins/ldapmanager/getldif.php{$para}" title="{t}Click here to save the complete LDAP database to a file{/t} ">{t}Click here to save the LDAP Export {/t}</a>
-
-
-               <br>
-               <br>
-       </div>
-       <div align="right">
-               <input type="submit" value="{msgPool type=backButton}" name='back'>
-       </div>
-{/if}
-<p class="plugbottom">
-  &nbsp;
-</p>
+<hr>
 
 <input type="hidden" name="ignore">