source: alternc/trunk/bureau/admin/bro_main.php @ 2678

Revision 2678, 18.1 KB checked in by benjamin, 3 years ago (diff)

suite GROS upgrade ergo, homogeneisation et glossaire ... MySQL cette fois-ci...

Line 
1<?php
2/*
3 $Id: bro_main.php,v 1.11 2004/09/06 18:14:36 anonymous Exp $
4 ----------------------------------------------------------------------
5 AlternC - Web Hosting System
6 Copyright (C) 2002 by the AlternC Development Team.
7 http://alternc.org/
8 ----------------------------------------------------------------------
9 Based on:
10 Valentin Lacambre's web hosting softwares: http://altern.org/
11 ----------------------------------------------------------------------
12 LICENSE
13
14 This program is free software; you can redistribute it and/or
15 modify it under the terms of the GNU General Public License (GPL)
16 as published by the Free Software Foundation; either version 2
17 of the License, or (at your option) any later version.
18
19 This program is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 GNU General Public License for more details.
23
24 To read the license please visit http://www.gnu.org/copyleft/gpl.html
25 ----------------------------------------------------------------------
26 Original Author of file: Benjamin Sonntag, Remi
27 Purpose of file: Online file Browser of AlternC
28 TODO : Voir ??? + Déplacer / Copier
29 ----------------------------------------------------------------------
30*/
31require_once("../class/config.php");
32include_once ("head.php");
33
34$p=$bro->GetPrefs();
35if (!$R && $p["golastdir"]) {
36  $R=$p["lastdir"];
37}
38$R=$bro->convertabsolute($R,1);
39// on fait ?
40if ($formu) {
41  switch ($formu) {
42  case 1:  // Créer le répertoire $R.$nomfich
43    if (!$bro->CreateDir($R,$nomfich)) {
44      print $err->errstr();
45    }
46    $p=$bro->GetPrefs();
47    break;
48  case 6: // Créer le fichier $R.$nomfich
49    if (!$bro->CreateFile($R,$nomfich)) {
50      print $err->errstr();
51    }
52    $p=$bro->GetPrefs();
53    if ($p["createfile"]==1) {
54      $file=$nomfich;
55      include("bro_editor.php");
56      exit();
57    }
58    break;
59  case 2:  // act vaut Supprimer Copier ou Renommer.
60    if ($actdel) {
61      if ($del_confirm != "") { 
62        if (!$bro->DeleteFile($d,$R)) {
63          print $err->errstr();
64        }
65      } elseif (!$cancel && is_array($d)) {
66        include_once("head.php");
67?>
68  <h3><?php printf(_("Deleting files and/or directories")); ?> : </h3>
69  <form action="bro_main.php" method="post"> 
70    <input type="hidden" name="formu" value="2" />
71    <input type="hidden" name="actdel" value="1" />
72    <input type="hidden" name="R" value="<?php echo $R?>" />
73    <p class="error"><?php __("WARNING: Confirm the deletion of this files"); ?></p>
74<?php foreach($d as $file){ ?>
75        <p><?php echo stripslashes($file); ?></p>
76        <input type="hidden" name="d[]" value="<?php echo htmlentities(stripslashes($file)); ?>" />
77<?php } ?>
78    <blockquote>
79      <input type="submit" class="inb" name="del_confirm" value="<?php __("Yes"); ?>" />&nbsp;&nbsp;
80      <input type="submit" class="inb" name="cancel" value="<?php __("No"); ?>" />
81    </blockquote>
82  </form>
83</body>
84</html>
85<?php
86        exit();
87      }
88    }
89    if ($actcopy) {
90      if (!$bro->CopyFile($d,$R,$actmoveto)) {
91        print $err->errstr();
92      }
93    }
94    if ($actmove) {
95      if (!$bro->MoveFile($d,$R,$actmoveto)) {
96        print $err->errstr();
97      }
98    }
99    break;
100  case 4:  // Renommage Effectif...
101    if (!$bro->RenameFile($R,$o,$d)) { // Rename $R (directory) $o (old) $d (new) names
102      print $err->errstr();
103    } 
104    break;
105  case 3:  // Upload de fichier...
106    if (!$bro->UploadFile($R)) {
107      print $err->errstr();
108    }
109    break;
110  case 7:  // Changement de permissions [ML]
111    if (!$bro->ChangePermissions($R, $d, $perm)) {
112      print $err->errstr();
113    }
114    break;
115  }
116}
117
118if ($actextract) {
119  print _("extracting...")."<br />\n"; flush();
120  if ($bro->ExtractFile($R. '/' . $file, $R)) {
121    print $err->errstr();
122    print _("failed")."<br />\n";
123  } else {
124    print _("done")."<br />\n";
125  }
126}
127
128/* Creation de la liste des fichiers courants */
129$c=$bro->filelist($R, $_REQUEST['showdirsize']);
130if ($c===false) $error=$err->errstr();
131
132?>
133<h3><?php __("File browser"); ?></h3>
134<table border="0" width="100%" cellspacing="0">
135<tr><td>
136
137<hr />
138<p class="breadcrumb">
139 <?php __("Path"); ?> / <a href="bro_main.php?R=/"><?php echo $mem->user["login"]; ?></a>&nbsp;/&nbsp;<?php echo $bro->PathList($R,"bro_main.php") ?>
140</p>
141
142<?php if ($error) echo "<font color=\"red\">$error</font>"; ?>
143
144<table><tr>
145<td class="formcell">
146
147     <form action="bro_main.php" enctype="multipart/form-data" method="post">
148     <input type="hidden" name="R" value="<?php echo $R; ?>" />
149     <input type="hidden" name="formu" value="3" />
150
151     <?php __("Send one file:"); ?><br />
152<input class="int" name="userfile" type="file" />
153     <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
154<br />
155     <input type="submit" id="sendthisfile" class="ina" value="<?php __("Send this file"); ?>" />
156
157     </form>
158
159</td>
160<td style="width: 20px">&nbsp;</td>
161<td class="formcell">
162
163<?php __("New file or folder:"); ?><br />
164<form action="bro_main.php" method="post" name="nn" id="nn">
165<input type="hidden" name="R" value="<?php echo $R; ?>" />
166<table><tr>
167<td><input type="text" class="int" name="nomfich" size="22" maxlength="255" /></td>
168<td><input type="submit" class="ina" value="<?php __("Create"); ?>" /></td>
169</tr><tr><td>
170<input type="radio" class="inc" id="nfile" onclick="document.nn.nomfich.focus();" name="formu" value="6" <?php if (!$p["crff"]) echo "checked=\"checked\""; ?> /><label for="nfile">&nbsp;<?php __("File"); ?></label>
171<input type="radio" class="inc" id="nfold" onclick="document.nn.nomfich.focus();" name="formu" value="1" <?php if ($p["crff"]) echo "checked=\"checked\""; ?> /><label for="nfold">&nbsp;<?php __("Folder"); ?></label>
172</td><td></td></tr></table>
173</form>
174</td></tr>
175</table>
176
177
178</td></tr>
179<tr><td valign="top">
180
181<?php
182/* Renommer / Copier / Déplacer les fichiers : */
183if ($formu==2 && $actrename && count($d)) {
184  echo "<table cellpadding=\"6\">\n";
185  echo "<form action=\"bro_main.php\" method=\"post\">\n";
186  echo "<input type=\"hidden\" name=\"R\" value=\"$R\" />\n";
187  echo "<input type=\"hidden\" name=\"formu\" value=\"4\" />\n";
188  echo "<tr><th colspan=\"2\">"._("Rename")."</th></tr>";
189  for ($i=0;$i<count($d);$i++) {
190    $d[$i]=ssla($d[$i]);
191    echo "<tr><td><input type=\"hidden\" name=\"o[$i]\" value=\"".$d[$i]."\" />".$d[$i]."</td>";
192    echo "<td><input type=\"text\" class=\"int\" name=\"d[$i]\" value=\"".$d[$i]."\" /></td></tr>";
193  }
194  echo "<tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" class=\"inb\" name=\"submit\" value=\""._("Rename")."\" /></td></tr>";
195  echo "</table></form>\n";
196  echo "<hr />\n";
197}
198
199/* [ML] Changer les permissions : */
200if ($formu==2 && $_REQUEST['actperms'] && count($d)) {
201  echo "<form action=\"bro_main.php\" method=\"post\">\n";
202  echo "<input type=\"hidden\" name=\"R\" value=\"$R\" />\n";
203  echo "<input type=\"hidden\" name=\"formu\" value=\"7\" />\n";
204  echo "<p>"._("Permissions")."</p>";
205
206  $tmp_absdir = $bro->convertabsolute($R,0);
207
208  echo "<table border=\"1\" cellpadding=\"4\" cellspacing=\"0\">";
209  echo "<tr>";
210  echo "<th>" . _("File") . "</th><th>"._("Permissions")."</th>"; 
211  echo "</tr>";
212
213  for ($i=0;$i<count($d);$i++) {
214    $d[$i]=ssla($d[$i]);
215    $stats = stat($tmp_absdir . '/' . $d[$i]);
216    $modes = $stats[2];
217
218    echo "<tr>";
219    echo "<td>".$d[$i]."</td>";
220
221    // Owner
222    echo "<td>";
223    echo "<input type=\"hidden\" name=\"d[$i]\" value=\"".$d[$i]."\" />";
224    echo "<label for=\"permw$i\">"._("write")."</label> <input type=\"checkbox\" id=\"permw$i\" name=\"perm[$i][w]\" value=\"1\" ". (($modes & 0000200) ? 'checked="checked"' : '') ." />";
225    echo "</td>";
226
227    echo "</tr>";
228  }
229
230  echo "</table>";
231
232  echo "<p><input type=\"submit\" class=\"inb\" name=\"submit\" value=\""._("Change permissions")."\" /></p>";
233  echo "</form>\n";
234  echo "<hr />\n";
235}
236
237/* We draw the file list and button bar only if there is files here ! */
238if (count($c)) {
239
240?>
241<form action="bro_main.php" method="post" name="main" id="main">
242<input type="hidden" name="R" value="<?php echo $R; ?>" />
243<input type="hidden" name="formu" value="2" />
244
245<br />
246
247
248<table width="100%" style="border: 0px">
249<tr><td class="lst2" style="padding: 4px 4px 8px 4px">
250
251<input type="submit" class="ina" name="actdel" value="<?php __("Delete"); ?>" />
252<input type="submit" class="ina" name="actrename" value="<?php __("Rename"); ?>" />
253<input type="submit" class="ina" name="actperms" value="<?php __("Permissions"); ?>" />
254&nbsp; |&nbsp;
255<input type="submit" class="ina" name="actcopy" value="<?php __("Copy"); ?>" />
256<input type="submit" class="ina" name="actmove" value="<?php __("Move"); ?>" />
257<?php __("To"); ?> 
258<input type="text" class="int" name="actmoveto" value="" />
259<script type="text/javascript">
260<!--
261document.write("<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.actmoveto');\" value=\" Choisir un r&eacute;pertoire \" class=\"bff\" />");
262//  -->
263</script>
264
265</td></tr>
266
267</table>
268
269
270<?php
271     switch ($p["listmode"]) {
272case 0:
273/* AFFICHE 1 COLONNE DETAILLEE */
274reset($c);
275echo "<table width=\"100%\" style=\"border: 0px\" cellpadding=\"2\" cellspacing=\"0\">";
276?>
277<tr><th>
278<script type="text/javascript">
279<!--
280document.write("<input type=\"checkbox\" value=\"1\" class=\"inb\" onclick=\"CheckAll();\" />");
281//  -->
282</script>
283</th>
284<?php if ($p["showicons"]) { ?>
285<th></th>
286      <?php } ?>
287<th><?php __("Filename"); ?></th>
288<th><?php __("Size"); ?></th>
289<th><?php __("Last modification"); ?></th>
290<?php if ($p["showtype"]) { ?>
291<th><?php __("File Type"); ?></th>
292                                 <?php } ?>
293<th></th>
294</tr>
295<?php
296
297$col=1;
298for($i=0;$i<count($c);$i++) {
299$col=3-$col;
300echo "<tr class=\"lst$col\">\n";
301if ($c[$i]["type"]) {
302echo "  <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\" /></td>";
303if ($p["showicons"]) {
304echo "<td width=\"28\"><img src=\"icon/".$bro->icon($c[$i]["name"])."\" width=\"16\" height=\"16\" alt=\"\" /></td>";
305}
306echo "<td><a href=\"";
307echo "bro_editor.php?file=".urlencode($c[$i]["name"])."&amp;R=".urlencode($R);
308echo "\">".htmlentities($c[$i]["name"])."</a></td>\n";
309echo "  <td>".format_size($c[$i]["size"])."</td>";
310echo "<td>".format_date('%3$d-%2$d-%1$d %4$d:%5$d',date("Y-m-d H:i:s",$c[$i]["date"]))."<br /></td>";
311if ($p["showtype"]) {
312echo "<td>"._($bro->mime($c[$i]["name"]))."</td>";
313}
314$vu=$bro->viewurl($R,$c[$i]["name"]);
315if ($vu) {
316echo "<td><a href=\"$vu\">"._("View")."</a>";
317} else {
318echo "<td>&nbsp;";
319}
320$e = $bro->is_extractable($R,$c[$i]["name"]);
321if ($e) {
322  echo " <a href=\"bro_main.php?actextract=1&file=".urlencode($c[$i]["name"])."&amp;R=".urlencode($R)."\">";
323  echo _("Extract");
324  echo "</a>";
325}
326
327echo "</td>\n";
328} else {           // DOSSIER :
329echo "  <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".htmlentities($c[$i]["name"])."\" /></td>";
330if ($p["showicons"]) {
331echo "<td width=\"28\"><img src=\"icon/folder.png\" width=\"16\" height=\"16\" alt=\"\" /></td>";
332}
333echo "<td><b><a href=\"";
334echo "bro_main.php?R=".urlencode($R."/".$c[$i]["name"]);
335echo "\">".htmlentities($c[$i]["name"])."/</a></b></td>\n";
336echo "  <td>".format_size($c[$i]["size"])."</td>";
337echo "<td>".format_date('%3$d-%2$d-%1$d %4$d:%5$d',date("Y-m-d h:i:s",$c[$i]["date"]))."<br /></td>";
338if ($p["showtype"]) {
339  echo "<td>"._("Folder")."</td>";
340}
341echo "<td>&nbsp;";
342echo "</td>\n";
343}
344
345echo "</tr>\n";
346}
347echo "</table>";
348break;
349case 1:
350/* AFFICHE 2 COLONNES COURTES */
351reset($c);
352echo "<table width=\"100%\" border=0 cellpadding=0 cellspacing=0>";
353echo "<tr><td valign=\"top\" width=\"50%\">";
354echo "<table width=\"100%\" border=0 cellpadding=0 cellspacing=0>";
355$col=1;
356for($i=0;$i<round(count($c)/2);$i++) {
357$col=3-$col;
358echo "<tr class=\"lst$col\">\n";
359if ($c[$i]["type"]) {
360echo "  <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\" /></td><td><a href=\"";
361echo "bro_editor.php?file=".urlencode($c[$i]["name"])."&amp;R=".urlencode($R);
362echo "\">".htmlentities($c[$i]["name"])."</a></td>\n";
363echo "  <td>".format_size($c[$i]["size"])."</td><td>";
364$vu=$bro->viewurl($R,$c[$i]["name"]);
365if ($vu) {
366echo "<td><a href=\"$vu\">"._("V")."</a>";
367} else {
368echo "<td>&nbsp;";
369}
370echo "</td>\n";
371} else {
372echo "  <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><b><a href=\"";
373echo "bro_main.php?R=".urlencode($R."/".$c[$i]["name"]);
374echo "\">".htmlentities($c[$i]["name"])."/</a></b></td>\n";
375echo "  <td>".format_size($c[$i]["size"])."</td><td>";
376echo "&nbsp;";
377echo "</td>\n";
378}
379
380echo "</tr>\n";
381}
382echo "</table>";
383echo "</td><td valign=\"top\" width=\"50%\">";
384echo "<table width=\"100%\" border=0 cellpadding=0 cellspacing=0>";
385$col=1;
386for($i=round(count($c)/2);$i<count($c);$i++) {
387$col=3-$col;
388echo "<tr class=\"lst$col\">\n";
389if ($c[$i]["type"]) {
390echo "  <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><a href=\"";
391echo "bro_editor.php?file=".urlencode($c[$i]["name"])."&amp;R=".urlencode($R);
392echo "\">".htmlentities($c[$i]["name"])."</a></td>\n";
393echo "  <td>".format_size($c[$i]["size"])."</td><td>";
394$vu=$bro->viewurl($R,$c[$i]["name"]);
395if ($vu) {
396echo "<td><a href=\"$vu\">"._("V")."</a>";
397} else {
398echo "<td>&nbsp;";
399}
400echo "</td>\n";
401} else {
402echo "  <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><b><a href=\"";
403echo "bro_main.php?R=".urlencode($R."/".$c[$i]["name"]);
404echo "\">".htmlentities($c[$i]["name"])."/</a></b></td>\n";
405echo "  <td>".format_size($c[$i]["size"])."</td><td>";
406echo "&nbsp;";
407echo "</td>\n";
408}
409
410echo "</tr>\n";
411}
412echo "</table>";
413echo "</td></tr>";
414echo "</table>";
415break;
416case 2:
417/* AFFICHE 3 COLONNES COURTES */
418reset($c);
419echo "<table width=\"100%\" border=0 cellpadding=0 cellspacing=0>";
420echo "<tr><td valign=\"top\" width=\"33%\">";
421echo "<table width=\"100%\" border=0 cellpadding=0 cellspacing=0>";
422$col=1;
423for($i=0;$i<round(count($c)/3);$i++) {
424$col=3-$col;
425echo "<tr class=\"lst$col\">\n";
426if ($c[$i]["type"]) {
427echo "  <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><a href=\"";
428echo "bro_editor.php?file=".urlencode($c[$i]["name"])."&amp;R=".urlencode($R);
429echo "\">".htmlentities($c[$i]["name"])."</a></td>\n";
430echo "  <td>".format_size($c[$i]["size"])."</td><td>";
431$vu=$bro->viewurl($R,$c[$i]["name"]);
432if ($vu) {
433echo "<td><a href=\"$vu\">"._("V")."</a>";
434} else {
435echo "<td>&nbsp;";
436}
437echo "</td>\n";
438} else {
439echo "  <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><b><a href=\"";
440echo "bro_main.php?R=".urlencode($R."/".$c[$i]["name"]);
441echo "\">".htmlentities($c[$i]["name"])."/</a></b></td>\n";
442echo "  <td>".format_size($c[$i]["size"])."</td><td>";
443echo "&nbsp;";
444echo "</td>\n";
445}
446
447echo "</tr>\n";
448}
449echo "</table>";
450echo "</td><td valign=\"top\" width=\"33%\">";
451echo "<table width=\"100%\" border=0 cellpadding=0 cellspacing=0>";
452$col=1;
453for($i=round(count($c)/3);$i<round(2*count($c)/3);$i++) {
454$col=3-$col;
455echo "<tr class=\"lst$col\">\n";
456if ($c[$i]["type"]) {
457echo "  <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><a href=\"";
458echo "bro_editor.php?file=".urlencode($c[$i]["name"])."&amp;R=".urlencode($R);
459echo "\">".htmlentities($c[$i]["name"])."</a></td>\n";
460echo "  <td>".format_size($c[$i]["size"])."</td><td>";
461$vu=$bro->viewurl($R,$c[$i]["name"]);
462if ($vu) {
463echo "<td><a href=\"$vu\">"._("V")."</a>";
464} else {
465echo "<td>&nbsp;";
466}
467
468echo "</td>\n";
469} else {
470echo "  <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><b><a href=\"";
471echo "bro_main.php?R=".urlencode($R."/".$c[$i]["name"]);
472echo "\">".htmlentities($c[$i]["name"])."/</a></b></td>\n";
473echo "  <td>".format_size($c[$i]["size"])."</td><td>";
474echo "&nbsp;";
475echo "</td>\n";
476}
477
478echo "</tr>\n";
479}
480echo "</table>";
481echo "</td><td valign=\"top\" width=\"33%\">";
482echo "<table width=\"100%\" border=0 cellpadding=0 cellspacing=0>";
483$col=1;
484for($i=round(2*count($c)/3);$i<count($c);$i++) {
485$col=3-$col;
486echo "<tr class=\"lst$col\">\n";
487if ($c[$i]["type"]) {
488echo "  <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><a href=\"";
489echo "bro_editor.php?file=".urlencode($c[$i]["name"])."&amp;R=".urlencode($R);
490echo "\">".htmlentities($c[$i]["name"])."</a></td>\n";
491echo "  <td>".format_size($c[$i]["size"])."</td><td>";
492$vu=$bro->viewurl($R,$c[$i]["name"]);
493if ($vu) {
494echo "<td><a href=\"$vu\">"._("View")."</a>";
495} else {
496echo "<td>&nbsp;";
497}
498echo "</td>\n";
499} else {
500echo "  <td width=\"28\"><input TYPE=checkbox class=\"inc\"  name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><b><a href=\"";
501echo "bro_main.php?R=".urlencode($R."/".$c[$i]["name"]);
502echo "\">".htmlentities($c[$i]["name"])."/</a></b></td>\n";
503echo "  <td>".format_size($c[$i]["size"])."</td><td>";
504echo "&nbsp;";
505echo "</td>\n";
506}
507
508echo "</tr>\n";
509}
510echo "</table>";
511echo "</td></tr>";
512echo "</table>";
513break;
514}
515?>
516     </form>
517<?php
518         } // is there any files here ?
519else {
520  echo "<p class=\"error\">"._("No files in this folder")."</p>";
521}
522?>
523
524     </td></tr>
525     <tr><td colspan="2" style="">
526
527     <p>&nbsp;</p>
528
529<p>
530<span class="ina"><a href="bro_main.php?R=<?php echo $R; ?>&showdirsize=1"><?php __("Show size of directories"); ?></a></span> <?php __("(slow)"); ?>
531</p><p>
532<span class="ina"><?php
533if ($hta->is_protected($R)) {
534echo "<a href=\"hta_edit.php?dir=".(($R)?$R:"/")."\">"._("Edit this folder's protection")."</a>";
535}
536else {
537  echo "<a href=\"hta_add.php?value=".(($R)?$R:"/")."\">"._("Protect this folder")."</a>";
538}
539?></span> <?php __("with a login and a password"); ?>
540</p><p>
541<span class="ina">
542  <a href="bro_tgzdown.php?dir=<?php echo $R; ?>"><?php __("Download this folder"); ?></a>
543</span> &nbsp;
544  <?php printf(_("as a %s file"),$bro->l_tgz[$p["downfmt"]]); ?>
545</span>
546</p><p>
547<span class="ina">
548  <a href="bro_pref.php"><?php __("Configure the file editor"); ?></a>
549</span>
550</p>   
551     <?php
552
553     if ($id=$ftp->is_ftp($R)) {
554?>
555<span class="ina">
556         <a href="ftp_edit.php?id=<?php ehe($id); ?>"><?php __("Edit the ftp account"); ?></a>
557</span> &nbsp; <?php __("that exists in this folder"); ?>
558<?php
559}
560else {
561?>
562<span class="ina">
563    <a href="ftp_add.php?dir=<?php ehe($R); ?>"><?php __("Create an ftp account in this folder"); ?></a>
564</span> &nbsp;
565<?php
566}
567
568?>
569
570</td></tr></table>
571<?php include_once("foot.php"); ?>
Note: See TracBrowser for help on using the repository browser.