Code

Added AutoScrollDown to "FAI branch IFrame" just for testing. Looks good.
[gosa.git] / plugins / admin / fai / faiNewBranch.tpl
index 7d90245752ee4fdc8954ef88aff397a92f428bb3..e9afc27a21b00636a182c1c530993e79990098fb 100755 (executable)
@@ -1,3 +1,5 @@
+{if $iframe == false}
+
 <br>
 <p class="seperator">
 {t}You are now going to create a branch or locked branch. This action clones the existing release to another release name. Branches can be modified as usual. FAI classes of locked branches cannot be modified, just additional classes are possible. Branch names should be alphanumeric, excluding the reserved names 'scripts', 'hooks', 'partitions', 'variables', 'templates' and 'fai'.{/t}
        </p>
 </div>
 
-
-
-
-
-
-
-
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
        <!--
        document.mainform.BranchName.focus();
        -->
 </script>
+{else}
 
-
-
-
-
+<h2>{t}Processing the requested operation{/t}</h2>
+{t}As soon as the copy operation has finished, you can scroll down to end of the page and press the 'Continue' button to continue with the fai management dialog.{/t}
+<br>
+<br>
+<div style="margin:3px;background-color:white; border:1px solid #A0A0A0">
+<iframe src="?plug={$plugID}&amp;PerformBranch=1" width="100%" name="status" style="height:450px;background-color:#FFFFFF;">
+
+       <p>{t}Your browser doesn't support iframes, please use this link to perform the requested operation.{/t}
+               <br>
+               <a href='?plug={$plugID}&amp;PerformBranch=1' target="_blank" title="{t}Perform requested operation.{/t}"><b>{t}Initiate operation{/t}</b></a>
+       </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}