You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

88 lines
4.4 KiB

{capture name="display"}
<input name="dst_id" type="hidden" id="dst_id" value="{$dst_id}" />
<input name="acaoUser" type="hidden" id="acaoUser" value="{$acaoUser}" />
{if $acaoUser == $formUpdate}
<input name="prt_id" type="hidden" id="prt_id" value="{$prt_id}" />
{/if}
<table width="100%" class="formCad" border="0" cellspacing="0" cellpadding="2">
<tr align="center" valign="middle" >
<td height="50" colspan="2">
<img src="imgSite/usuarios.gif" width="32" height="32" align="absmiddle"><span class="formHed"> Destino Backup</span></td>
</tr>
<tr>
<th width="150" align="left" nowrap>Protocolo</th>
<td>
<input type="radio" name="prt_id" id="radio" value="1" {if $prt_id == 1}checked="checked"{/if} {if $acaoUser == $formUpdate}disabled="disabled"{/if} onchange="submit()"/>Ftp
<input type="radio" name="prt_id" id="radio2" value="2" {if $prt_id == 2}checked="checked"{/if} {if $acaoUser == $formUpdate}disabled="disabled"{/if} onchange="submit()"/>Sftp
<input type="radio" name="prt_id" id="radio3" value="3" {if $prt_id == 3}checked="checked"{/if} {if $acaoUser == $formUpdate}disabled="disabled"{/if} onchange="submit()"/>Rede
<input type="radio" name="prt_id" id="radio3" value="4" {if $prt_id == 4}checked="checked"{/if} {if $acaoUser == $formUpdate}disabled="disabled"{/if} onchange="submit()"/>Local
<input type="radio" name="prt_id" id="radio3" value="5" {if $prt_id == 5}checked="checked"{/if} {if $acaoUser == $formUpdate}disabled="disabled"{/if} onchange="submit()"/>USB
</td>
</tr>
<tr>
<th align="left" nowrap>Nome</th>
<td>
<input name="dst_nome" type="text" id="dst_nome" value="{$dst_nome}" size="50" maxlength="50" {if $acaoUser == $formUpdate} readonly="readonly"{/if} />
</td>
</tr>
{if $prt_id != 4}
<tr>
<th align="left" nowrap>Servidor</th>
<td align="left">
<input name="dst_host" type="text" id="dst_host" value="{$dst_host}" size="50" maxlength="30" />
</td>
</tr>
{else}
<input name="dst_host" type="hidden" id="dst_host" value="127.0.0.1" />
{/if}
{if $prt_id != 3 and $prt_id != 4}
<tr>
<th align="left" nowrap>Porta</th>
<td>
<input name="dst_porta" type="text" id="dst_porta" value="{$dst_porta}" size="20" maxlength="11" />
</td>
</tr>
{else}
<input name="dst_porta" type="hidden" id="dst_porta" value="0" />
{/if}
<tr>
<th align="left" nowrap>Login</th>
<td>
<input name="dst_user_anonimo" type="radio" id="radio4" value="1" {if $dst_user_anonimo == 1}checked="checked"{/if}/>An&ocirc;nimo
<input name="dst_user_anonimo" type="radio" id="radio5" value="2" {if $dst_user_anonimo == 2}checked="checked"{/if}/>Seguro
</td>
</tr>
<tr>
<th align="left" nowrap>Usu&aacute;rio</th>
<td>
<input name="dst_user" type="text" id="dst_user" value="{$dst_user}" size="20" maxlength="30" />
</td>
</tr>
<tr>
<th align="left">Senha</th>
<td align="left">
<input name="dst_senha" type="password" id="dst_senha" value="{$dst_senha}" size="20" maxlength="20" />
</td>
</tr>
<tr>
<th align="left">Diret&oacute;rio</th>
<td align="left">
<input name="dst_diretorio_remoto" type="text" id="dst_diretorio_remoto" value="{$dst_diretorio_remoto}" size="50" maxlength="255" />
</td>
</tr>
<tr>
<th align="left">&nbsp;</th>
<td><input name="btGravar" type="submit" id="btGravar" value="Gravar"> </td>
</tr>
<tr>
<th align="left">&nbsp;</th>
<th align="left">&nbsp;</th>
</tr>
</table>
<table align="left" class="{if $erro}displayErros{else}displayMsg{/if}">
<tr>
<td>{$msg}</td>
</tr>
</table>
{/capture}