New folder selector

This commit is contained in:
Alan Garcia 2013-01-24 12:50:18 +00:00
parent e83da9c579
commit 836d37b76a
3 changed files with 3 additions and 11 deletions

View File

@ -283,11 +283,7 @@ if (count($c)) {
<input type="submit" class="ina" name="actmove" value="<?php __("Move"); ?>" />
<?php __("To"); ?>
<input type="text" class="int" name="actmoveto" value="" />
<script type="text/javascript">
<!--
document.write("<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.actmoveto');\" value=\" Choisir un r&eacute;pertoire \" class=\"bff\" />");
// -->
</script>
<?php display_browser( "" , "main.actmoveto" ); ?>
</td></tr>

View File

@ -49,11 +49,7 @@ include_once("head.php");
<tr>
<td><label for="dir"><?php __("Folder"); ?></label></td>
<td><input type="text" class="int" name="dir" id="dir" value="<?php (isset($dir)) ? : $dir="";ehe($dir); ?>" maxlength="255" />
<script type="text/javascript">
<!--
document.write("&nbsp;<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.dir');\" value=\" <?php __("Choose a folder..."); ?> \" class=\"bff\">");
// -->
</script>
<?php display_browser( ehe($dir,0) , "main.dir" ); ?>
</td>
</tr>
</table>

View File

@ -92,7 +92,7 @@ if (is_array($r)) {
<tr>
<th><label for="bck_dir"><?php __("In which folder do you want to store the backups?"); ?></label></th>
<td><input type="text" class="int" name="bck_dir" id="bck_dir" size="30" maxlength="255" value="<?php @ehe($r["dir"]); ?>" />
<?php display_browser( $r["dir"] , "main.bck_dir" ); ?>
<?php display_browser( isset($r["dir"])?$r["dir"]:"" , "main.bck_dir" ); ?>
</td>
</tr>