fixing browse for folder not working

This commit is contained in:
Benjamin Sonntag 2015-06-09 11:23:28 +02:00
parent cab86d7fa5
commit 118da88237
4 changed files with 5 additions and 5 deletions

View File

@ -287,8 +287,8 @@ if (count($c)) {
<input type="submit" class="ina" name="actcopy" value="<?php __("Copy"); ?>" onClick=" return actmoveto_not_empty();"/>
<input type="submit" class="ina" name="actmove" value="<?php __("Move"); ?>" onClick=" return actmoveto_not_empty();"/>
<?php __("To"); ?>
<input type="text" class="int" id='actmoveto' name="actmoveto" value="" />
<?php display_browser( "" , "main.actmoveto" ); ?>
<input type="text" class="int" id="actmoveto" name="actmoveto" value="" />
<?php display_browser( "" , "actmoveto" ); ?>
</td></tr>

View File

@ -76,7 +76,7 @@ if (isset($error) && $error) {
<th><label for="dir"><?php __("Folder"); ?></label></th>
<td>
<input type="text" class="int" name="dir" id="dir" value="<?php empty($dir)?@ehe("/".$rr[0]["dir"]):@ehe($dir); ?>" size="20" maxlength="64" />
<?php display_browser( empty($dir)?("/".( isset($rr[0]["dir"])?$rr[0]["dir"]:'') ):$dir , "main.dir" ); ?>
<?php display_browser( empty($dir)?("/".( isset($rr[0]["dir"])?$rr[0]["dir"]:'') ):$dir , "dir" ); ?>
<p><?php __("This is the root folder for this FTP user. i.e. this FTP user can access to this folder and all its sub-folders."); ?></p>
</td>

View File

@ -55,7 +55,7 @@ if (isset($error) && $error) {
<th><label for="dir"><?php __("Folder"); ?></label></th>
<td>
<input type="text" class="int" name="dir" id="dir" value="<?php (isset($dir)) ? : $dir="";ehe($dir); ?>" maxlength="255" />
<?php display_browser( ehe($dir,false) , "main.dir" ); ?>
<?php display_browser( ehe($dir,false) , "dir" ); ?>
</td>
</tr>
</table>

View File

@ -99,7 +99,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( isset($r["dir"])?$r["dir"]:"" , "main.bck_dir" ); ?>
<?php display_browser( isset($r["dir"])?$r["dir"]:"" , "bck_dir" ); ?>
</td>
</tr>