<inp2:m_include t="incs/header"/>
<inp2:m_RenderElement name="combined_header" prefix="adm" section="in-portal:service" title_preset="backup"/>

<!-- ToolBar -->
<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
<tbody>
	<tr>
  	<td>
  		<script type="text/javascript">
				a_toolbar = new ToolBar();
				a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
						}
					) );
				a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
						submit_event('adm.backup','OnBackup');
						}
				 ) );
				a_toolbar.Render();
				a_toolbar.DisableButton('prev');

				$(document).ready(
					function() {
						$('#step_number').text(1);
					}
				);
			</script>
		</td>
	</tr>
</tbody>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="4" class="bordered" id="config_table">
	<inp2:m_RenderElement name="subsection" title="la_Prompt_Step_One"/>
		<tr class="<inp2:m_odd_even odd="table-color1" even="table-color2"/>">
			<inp2:m_inc param="tab_index" by="1"/>
			<td colspan="3" class="text">
				<inp2:m_Phrase label="la_Text_Backup_Info"/>
			</td>
		</tr>
		<tr class="<inp2:m_odd_even odd="table-color1" even="table-color2"/>">
			<inp2:m_inc param="tab_index" by="1"/>
			<td class="text" style="width: 300px;">
				<inp2:m_Phrase label="la_prompt_Backup_Path"/>
				<inp2:m_if check="conf_IsWritablePath" name="Backup_Path" inverse="1">
					<br /><span class="error"><inp2:m_Phrase label="la_Text_backup_access"/></span>
					<script type="text/javascript">
						a_toolbar.DisableButton('next');
					</script>
				</inp2:m_if>
			</td>
			<td valign="top" colspan="2">
	 	  		<input type="text" name="conf[<inp2:conf_GetVariableID name="Backup_Path"/>][VariableValue]" class="text" value='<inp2:conf_ConfigValue name="Backup_Path"/>' style="width:80%">
	 	  		<input class="button" type="button" onclick="submit_event('conf', 'OnUpdate');" value="Update">
	 	  	<!--##
	 	  		<input type="hidden" name="section" value="in-portal:configure_general"/>
	 	  	##-->
			</td>
		</tr>
</table>
<input type="hidden" name="section" value="<inp2:conf_GetVariableSection name='Backup_Path'/>"/>

<inp2:m_include t="incs/footer"/>