Code

Removed duplicated save_object
[gosa.git] / plugins / admin / fai / faiNewBranch.tpl
1 {if $iframe == false}
3 <br>
4 <p class="seperator">
5 {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}
6 <br>
7 <br>
8 </p>
9 <p class="seperator">
10 <br>
11 <b>{t}Please enter a name for the branch{/t}</b> &nbsp;
12 <input type="text" id="BranchName" name="BranchName" value="{$BranchName}" style="width:120px;">
13 <br>
14 <br>
15 </p>
17 <div align="right">
18         <p>
19                 <input type="submit" value="{t}Apply{/t}"       name="UseBranchName">           
20                 <input type="submit" value="{t}Cancel{/t}"      name="CancelBranchName">                
21         </p>
22 </div>
24 <!-- Place cursor -->
25 <script language="JavaScript" type="text/javascript">
26         <!--
27         document.mainform.BranchName.select();
28         document.mainform.BranchName.focus();
29         -->
30 </script>
31 {else}
33 <h2>{t}Processing the requested operation{/t}</h2>
34 {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}
35 <br>
36 <br>
37 <div style="margin:3px;background-color:white; border:1px solid #A0A0A0">
38 <iframe src="?plug={$plugID}&PerformBranch=1" width="100%" name="status" style="height:450px;background-color:#FFFFFF;">
40         <p>{t}Your browser doesn't support iframes, please use this link to perform the requested operation.{/t}
41                 <br>
42                 <a href='?plug={$plugID}&PerformBranch=1' target="_blank" title="{t}Perform requested operation.{/t}"><b>{t}Initiate operation{/t}</b></a>
43         </p>    
44 </iframe>
45 </div>
46 <!--
47 <p class="seperator">&nbsp;</p>
48 <div style="text-align: right;width:99%;">
49         <p>
50                 <input type="submit" name="CancelBranchName" value="{t}Back{/t}">
51         </p>
52 </div>
53 -->
54 {/if}