Code

Added back button to fai branch/freeze status page.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Mar 2006 09:35:34 +0000 (09:35 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Mar 2006 09:35:34 +0000 (09:35 +0000)
This button will only be visible if the operation is complete

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

plugins/admin/fai/class_faiManagement.inc
plugins/admin/fai/faiNewBranch.tpl

index 3a03dfecff4722ab19673ec52923302c4b47a74a..64f68a7e02b09a1fe89544d80803def1195604cb 100644 (file)
@@ -425,6 +425,10 @@ class faiManagement extends plugin
       $ldap->cd ($this->config->current['BASE']);
       $ldap->copy_FAI_resource_recursive($baseToUse,"ou=".$name.",".$baseToUse,$type,true);
 
+      echo "<div style='width:100%;text-align:right;'><form name='form' method='post' action='?plug=".$_GET['plug']."' target='_parent'>
+              <input type='submit' name='back' value='"._("Back")."'>
+            </form></div>";
+
       $this->dispNewFreeze = false; 
 
       /* Postcreate */ 
index 4c42c9e841ad79fcc5506df1b2bb265f3a20003b..de54b285c25049129a0cfa06e2b7c9cea4d43bab 100755 (executable)
 {else}
 
 <h2>{t}Processing requested operation, the status of this operation will be displayed in an iframe below.{/t}</h2>
-
+{t}As soon as the operation has finished, you can scroll down to end of the page and press the 'Back' button to return to the fai management dialog.{/t}
+<br>
+<br>
+<p class='seperator'>&nbsp;</p>
+<br>
 <div>
 <iframe src="?plug={$plugID}&PerformBranch=1" width="100%" name="status" style="height:450px;background-color:#FFFFFF;">
 
        </p>    
 </iframe>
 </div>
+<!--
 <p class="seperator">&nbsp;</p>
 <div style="text-align: right;width:99%;">
        <p>
                <input type="submit" name="CancelBranchName" value="{t}Back{/t}">
        </p>
 </div>
+-->
 {/if}