Changeset 2660
- Timestamp:
- 03/04/10 14:51:32 (3 years ago)
- Location:
- alternc/trunk/bureau/admin
- Files:
-
- 4 edited
-
bro_main.php (modified) (7 diffs)
-
browseforfolder.php (modified) (1 diff)
-
dom_edit.php (modified) (7 diffs)
-
styles/style.css (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/bureau/admin/bro_main.php
r2559 r2660 136 136 137 137 <hr /> 138 <table width="100%"><tr><td valign="top"> 139 <a href="bro_main.php?R=/"><?php echo $mem->user["login"]; ?></a> / <?php echo $bro->PathList($R,"bro_main.php") ?><br /> 138 <p class="breadcrumb"> 139 <?php __("Path"); ?> / <a href="bro_main.php?R=/"><?php echo $mem->user["login"]; ?></a> / <?php echo $bro->PathList($R,"bro_main.php") ?> 140 </p> 141 140 142 <?php if ($error) echo "<font color=\"red\">$error</font>"; ?> 141 </td><td valign="top" align="right"> 142 143 144 <table><tr> 145 <td valign="top" style="border: 1px solid #aaa; padding: 10px"> 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"> </td> 161 <td valign="top" style="border: 1px solid #aaa; padding: 10px"> 162 163 <?php __("New file or folder:"); ?><br /> 143 164 <form action="bro_main.php" method="post" name="nn" id="nn"> 144 165 <input type="hidden" name="R" value="<?php echo $R; ?>" /> 145 166 <table><tr> 146 167 <td><input type="text" class="int" name="nomfich" size="22" maxlength="255" /></td> 147 <td><input type="submit" class="in b" value="<?php __("Create"); ?>" /></td>168 <td><input type="submit" class="ina" value="<?php __("Create"); ?>" /></td> 148 169 </tr><tr><td> 149 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"> <?php __("File"); ?></label> … … 153 174 </td></tr> 154 175 </table> 176 155 177 156 178 </td></tr> … … 220 242 <input type="hidden" name="R" value="<?php echo $R; ?>" /> 221 243 <input type="hidden" name="formu" value="2" /> 222 <hr /> 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 | 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="" /> 223 259 <script type="text/javascript"> 224 260 <!-- 225 document.write("<input type=\"button\" value=\"<?php __("all/none"); ?>\" class=\"inb\" onclick=\"CheckAll();\" />");261 document.write("<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.actmoveto');\" value=\" Choisir un répertoire \" class=\"bff\" />"); 226 262 // --> 227 263 </script> 228 229 <input type="submit" class="inb" name="actdel" value="<?php __("Delete"); ?>" /> 230 231 <input type="submit" class="inb" name="actrename" value="<?php __("Rename"); ?>" /> 232 <input type="submit" class="inb" name="actperms" value="<?php __("Permissions"); ?>" /> <!-- [ML] --> 233 <br /><br /> 234 <input type="submit" class="inb" name="actcopy" value="<?php __("Copy"); ?>" /> 235 <input type="submit" class="inb" name="actmove" value="<?php __("Move"); ?>" /> : <input type="text" class="int" name="actmoveto" value="" /> 236 <script type="text/javascript"> 237 <!-- 238 document.write("<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.actmoveto');\" value=\" ... \" class=\"inb\" />"); 239 // --> 240 </script> 241 <hr /> 242 264 265 </td></tr> 266 267 </table> 243 268 244 269 … … 248 273 /* AFFICHE 1 COLONNE DETAILLEE */ 249 274 reset($c); 250 echo "<table width=\"100%\" style=\"border: 0px\" cellpadding=\"0\" cellspacing=\"0\">"; 275 echo "<table width=\"100%\" style=\"border: 0px\" cellpadding=\"2\" cellspacing=\"0\">"; 276 ?> 277 <tr><th> 278 <script type="text/javascript"> 279 <!-- 280 document.write("<input type=\"checkbox\" value=\"1\" class=\"inb\" onclick=\"CheckAll();\" />"); 281 // --> 282 </script> 283 </th> 284 <th></th> 285 <th><?php __("Filename"); ?></th> 286 <th><?php __("Size"); ?></th> 287 <th><?php __("Last modification"); ?></th> 288 <th><?php __("File Type"); ?></th> 289 <th></th> 290 </tr> 291 <?php 292 251 293 $col=1; 252 294 for($i=0;$i<count($c);$i++) { … … 274 316 $e = $bro->is_extractable($R,$c[$i]["name"]); 275 317 if ($e) { 276 echo " <a href=\"bro_main.php?actextract=1&file=".urlencode($c[$i]["name"])."&R=".urlencode($R)."\">";318 echo " <a href=\"bro_main.php?actextract=1&file=".urlencode($c[$i]["name"])."&R=".urlencode($R)."\">"; 277 319 echo _("Extract"); 278 320 echo "</a>"; … … 477 519 478 520 </td></tr> 479 <tr><td colspan="2"> 480 481 482 <form action="bro_main.php" enctype="multipart/form-data" method="post"> 483 <input type="hidden" name="R" value="<?php echo $R; ?>" /> 484 <input type="hidden" name="formu" value="3" /> 485 <hr /> 486 <?php __("Import this file"); ?> <input class="int" name="userfile" type="file" /> 487 <input type="hidden" name="MAX_FILE_SIZE" value="10000000" /> 488 <input type="submit" class="inb" value="<?php __("Send"); ?>" /> 489 <hr /> 490 </form> 521 <tr><td colspan="2" style=""> 522 491 523 <p> </p> 492 524 525 <p> 526 <span class="ina"><a href="bro_main.php?R=<?php echo $R; ?>&showdirsize=1"><?php __("Show size of directories"); ?></a></span> <?php __("(slow)"); ?> 527 </p><p> 528 <span class="ina"><?php 529 if ($hta->is_protected($R)) { 530 echo "<a href=\"hta_edit.php?dir=$R\">"._("Edit this folder's restrictions")."</a>"; 531 } 532 else { 533 echo "<a href=\"hta_add.php?value=$R\">"._("Protect this folder")."</a>"; 534 } 535 ?></span> <?php __("with a login and a password"); ?> 536 </p><p> 537 <span class="ina"> 538 <a href="bro_tgzdown.php?dir=<?php echo $R; ?>"><?php __("Download this folder"); ?></a> 539 </span> 540 <?php printf(_("as a %s file"),$bro->l_tgz[$p["downfmt"]]); ?> 541 </span> 542 </p><p> 543 <span class="ina"> 544 <a href="bro_pref.php"><?php __("File browser preferences"); ?></a> 545 </span> 546 </p> 493 547 <?php 494 495 echo '<a href="bro_main.php?R=' . $R . '&showdirsize=1">' . _("Show disk usage of directories (slow)") . '</a><br /><br />';496 548 497 549 if ($id=$ftp->is_ftp($R)) { … … 502 554 } 503 555 504 if ($hta->is_protected($R)) { 505 echo "<a href=\"hta_edit.php?dir=$R\">"._("This folder has restricted access")."</a><br />"; 506 } 507 else { 508 echo "<a href=\"hta_add.php?value=$R\">"._("Click here to protect this folder with login/password")."</a><br />"; 509 } 510 ?> 511 <br /> 512 <a href="bro_tgzdown.php?dir=<?php echo $R; ?>"><?php __("Download"); ?></a> <?php __("this folder and its subfolders as a compressed file"); ?> (<?php echo $bro->l_tgz[$p["downfmt"]]; ?>)<br /> 513 <a href="bro_pref.php"><?php __("Configure the file browser"); ?></a><br /> 556 ?> 514 557 515 558 </td></tr></table> -
alternc/trunk/bureau/admin/browseforfolder.php
r2559 r2660 131 131 <input type="hidden" name="lastcurdir" value="<?php echo $curdir; ?>" /> 132 132 133 <input type="text" class="int" name="file" size="20" value="<?php echo $file ?>" /><input class=" inb" type="submit" name="submit" value="..." /><br />133 <input type="text" class="int" name="file" size="20" value="<?php echo $file ?>" /><input class="bff" type="submit" name="submit" value="..." /><br /> 134 134 135 135 <input type="submit" name="select" value="<?php __("Select"); ?>" class="inb" /> -
alternc/trunk/bureau/admin/dom_edit.php
r2559 r2660 59 59 } 60 60 </script> 61 <h3><?php printf(_("Editing domain%s"),$domain); ?></h3>61 <h3><?php printf(_("Editing subdomains of %s"),$domain); ?></h3> 62 62 <?php 63 63 if ($error) { … … 66 66 ?> 67 67 <hr /> 68 <br /> 68 69 <!-- ***************************************** 69 70 gestion des sous-domaines 70 71 --> 71 <h3><?php __("Subdomains"); ?></h3>72 72 <table cellspacing="0" cellpadding="3"> 73 <tr><th colspan="2"><?php __("Actions"); ?></th><th><?php __("Subdomain"); ?></th><th><?php __("Place"); ?></th></tr> 73 74 <?php 74 75 $col=1; … … 78 79 <tr class="lst<?php echo $col; ?>"> 79 80 <td class="center"> 80 <a href="dom_subedit.php?domain=<?php echo urlencode($r["name"]) ?>&sub=<?php echo urlencode($r["sub"][$i]["name"]) ?>"><img src="images/edit.png" alt="<?php __("Edit"); ?>" /></a> <a href="dom_subdel.php?domain=<?php echo urlencode($r["name"]) ?>&sub=<?php echo urlencode($r["sub"][$i]["name"]) ?>"><img src="images/delete.png" alt="<?php __("Delete"); ?>" /></a> 81 <div class="ina"><a href="dom_subedit.php?domain=<?php echo urlencode($r["name"]) ?>&sub=<?php echo urlencode($r["sub"][$i]["name"]) ?>"><img src="images/edit.png" alt="<?php __("Edit"); ?>" /><?php __("Edit"); ?></a></div> 82 </td><td class="center"> 83 <div class="ina"><a href="dom_subdel.php?domain=<?php echo urlencode($r["name"]) ?>&sub=<?php echo urlencode($r["sub"][$i]["name"]) ?>"><img src="images/delete.png" alt="<?php __("Delete"); ?>" /><?php __("Delete"); ?></a></div> 81 84 </td> 82 85 <td><a href="http://<?php ecif($r["sub"][$i]["name"],$r["sub"][$i]["name"]."."); echo $r["name"] ?>" target="_blank"><?php ecif($r["sub"][$i]["name"],$r["sub"][$i]["name"]."."); echo $r["name"] ?></a></td> … … 85 88 <?php } ?> 86 89 </table> 90 <br /> 91 <hr/> 87 92 <br /> 88 93 <form action="dom_subdoedit.php?" method="post" name="main" id="main"> … … 98 103 <td><input type="radio" id="local" class="inc" name="type" value="<?php echo $dom->type_local; ?>" checked="checked" onclick="document.main.sub_local.focus();" /> 99 104 <label for="local"><?php __("Locally managed"); ?></label></td> 100 <td><input type="text" class="int" name="sub_local" id="sub_local" value="/" size=" 40" />105 <td><input type="text" class="int" name="sub_local" id="sub_local" value="/" size="28" /> 101 106 <script type="text/javascript"> 102 107 <!-- 103 document.write(" <input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.sub_local');\" value=\" ... \" class=\"inb\">");108 document.write(" <input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.sub_local');\" value=\" Choisir un répertoire... \" class=\"bff\">"); 104 109 // --> 105 110 </script> … … 123 128 <td> </td> 124 129 </tr> 125 <tr >126 <td colspan="2"><input type="submit" class="inb" name="add" value="<?php __("Add asubdomain"); ?>" /></td>130 <tr style="text-align: right"> 131 <td colspan="2"><input type="submit" class="inb" name="add" value="<?php __("Add this subdomain"); ?>" /></td> 127 132 </tr> 128 133 </table> … … 171 176 <form action="dom_dodel.php?domain=<?php echo urlencode($domain) ?>" method="post"> 172 177 <p> 173 <input type="submit" class="inb" name="detruire" value="<?php printf(_("Delete %s "),$domain); ?>" />178 <input type="submit" class="inb" name="detruire" value="<?php printf(_("Delete %s from this server"),$domain); ?>" /> 174 179 </p> 175 180 </form> -
alternc/trunk/bureau/admin/styles/style.css
r2559 r2660 22 22 .hlp { 23 23 font-family: Helvetica, Tahoma, sans-serif; 24 font-size: 1 0px;24 font-size: 11px; 25 25 color: #202020; 26 26 } … … 34 34 font-size: 11px; 35 35 color: #000000; 36 padding-right: 10px; 36 37 } 37 38 … … 39 40 font-family: Verdana, Arial, Helvetica, sans-serif; 40 41 font-size: 11px; 41 color: #007799; 42 font-weight: bold 42 color: black; 43 background: #F1F8FD; 44 font-weight: normal; 45 text-align: left; 43 46 } 44 47 … … 48 51 font-weight: bold; 49 52 color: #10507C; 50 text-align: center; 51 padding: 10px; 53 text-align: left; 54 padding: 11px; 55 padding-left: 0; 52 56 margin: 0px; 53 57 } … … 77 81 border: 1px solid black; 78 82 font-family: Verdana, Arial, Helvetica, sans-serif; 79 font-size: 1 1px;83 font-size: 10px; 80 84 border-style: none; 81 85 color: black; … … 83 87 84 88 .inb { 85 border: 1px solid black; 86 background-color: white; 87 font-family: Verdana, Arial, Helvetica, sans-serif; 88 font-size: 11px; 89 color: black; 90 } 91 89 border: 1px solid #999; 90 font-family: Verdana, Arial, Helvetica, sans-serif; 91 font-size: 11px; 92 padding: 4px; 93 padding-left: 6px; 94 padding-right: 6px; 95 color: black; 96 background-color: #CFE3F1; 97 cursor: pointer; 98 } 99 .inb:hover { 100 background-color: #BFD3E1; 101 } 102 103 .ina { 104 border: 1px solid #999; 105 background-color: #F1F8FD; 106 font-family: Verdana, Arial, Helvetica, sans-serif; 107 font-size: 10px; 108 padding: 2px 4px 2px 4px; 109 color: black; 110 111 } 112 .ina:hover { 113 border: 1px solid #999; 114 background-color: #CFE3F1; 115 font-family: Verdana, Arial, Helvetica, sans-serif; 116 font-size: 10px; 117 padding: 2px 4px 2px 4px; 118 color: black; 119 cursor: pointer; 120 } 121 .ina a { 122 color: black; 123 } 124 .ina a:hover { 125 text-decoration: none; 126 color: black; 127 } 128 129 .ina img { 130 vertical-align: middle; 131 padding: 2px; 132 } 133 .bff { 134 border: 1px solid #999; 135 background-color: #F1F8FD; 136 font-family: Verdana, Arial, Helvetica, sans-serif; 137 font-size: 10px; 138 padding-left: 2px; 139 padding-right: 4px; 140 color: black; 141 cursor: pointer; 142 } 92 143 .int { 93 144 border: 1px dotted black; 94 145 background-color: white; 95 146 font-family: Verdana, Arial, Helvetica, sans-serif; 96 font-size: 1 1px;147 font-size: 10px; 97 148 padding-left: 2px; 98 149 padding-right: 2px; … … 290 341 font-weight: bold; 291 342 } 343 344 345 #sendthisfile { 346 margin-top: 6px; 347 } 348 349 .breadcrumb { 350 font-size: 12px; 351 352 }
Note: See TracChangeset
for help on using the changeset viewer.
