{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}
<br>
{t}Branches are created as subreleases of the currently selected branch. Creating a new branch named 1.0.2 in SARGE for example, will result in a new release called SARGE/1.0.2.{/t}
 <br>
<br>
</p>
<p class="seperator">
<br>
<b>{t}Please enter a name for the branch{/t}</b> &nbsp;
<input type="text" id="BranchName" name="BranchName" value="{$BranchName}" style="width:120px;">
<br>
<br>
</p>

<div align="right">
	<p>
		<input type="submit" value="{msgPool type=applyButton}" 	name="UseBranchName">		
		<input type="submit" value="{msgPool type=cancelButton}" 	name="CancelBranchName">		
	</p>
</div>

<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
	<!--
	focus_field('BranchName');
	-->
</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="{msgPool type=backButton}">
	</p>
</div>
-->
{/if}
