Changeset 2660


Ignore:
Timestamp:
03/04/10 14:51:32 (4 years ago)
Author:
benjamin
Message:

modif ergo et html, step 1

Location:
alternc/trunk/bureau/admin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • alternc/trunk/bureau/admin/bro_main.php

    r2559 r2660  
    136136 
    137137<hr /> 
    138 <table width="100%"><tr><td valign="top"> 
    139 <a href="bro_main.php?R=/"><?php echo $mem->user["login"]; ?></a>&nbsp;/&nbsp;<?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>&nbsp;/&nbsp;<?php echo $bro->PathList($R,"bro_main.php") ?> 
     140</p> 
     141 
    140142<?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">&nbsp;</td> 
     161<td valign="top" style="border: 1px solid #aaa; padding: 10px"> 
     162 
     163<?php __("New file or folder:"); ?><br /> 
    143164<form action="bro_main.php" method="post" name="nn" id="nn"> 
    144165<input type="hidden" name="R" value="<?php echo $R; ?>" /> 
    145166<table><tr> 
    146167<td><input type="text" class="int" name="nomfich" size="22" maxlength="255" /></td> 
    147 <td><input type="submit" class="inb" value="<?php __("Create"); ?>" /></td> 
     168<td><input type="submit" class="ina" value="<?php __("Create"); ?>" /></td> 
    148169</tr><tr><td> 
    149170<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> 
     
    153174</td></tr> 
    154175</table> 
     176 
    155177 
    156178</td></tr> 
     
    220242<input type="hidden" name="R" value="<?php echo $R; ?>" /> 
    221243<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&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="" /> 
    223259<script type="text/javascript"> 
    224260<!-- 
    225 document.write("<input type=\"button\" value=\"<?php __("all/none"); ?>\" class=\"inb\" onclick=\"CheckAll();\" />"); 
     261document.write("<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.actmoveto');\" value=\" Choisir un r&eacute;pertoire \" class=\"bff\" />"); 
    226262//  --> 
    227263</script> 
    228 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    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 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /><br /> 
    234 <input type="submit" class="inb" name="actcopy" value="<?php __("Copy"); ?>" /> 
    235 <input type="submit" class="inb" name="actmove" value="<?php __("Move"); ?>" />&nbsp;:&nbsp;<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> 
    243268 
    244269 
     
    248273/* AFFICHE 1 COLONNE DETAILLEE */ 
    249274reset($c); 
    250 echo "<table width=\"100%\" style=\"border: 0px\" cellpadding=\"0\" cellspacing=\"0\">"; 
     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<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 
    251293$col=1; 
    252294for($i=0;$i<count($c);$i++) { 
     
    274316$e = $bro->is_extractable($R,$c[$i]["name"]); 
    275317if ($e) { 
    276   echo "<a href=\"bro_main.php?actextract=1&file=".urlencode($c[$i]["name"])."&amp;R=".urlencode($R)."\">"; 
     318  echo " <a href=\"bro_main.php?actextract=1&file=".urlencode($c[$i]["name"])."&amp;R=".urlencode($R)."\">"; 
    277319  echo _("Extract"); 
    278320  echo "</a>"; 
     
    477519 
    478520     </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"); ?>&nbsp;&nbsp;<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 
    491523     <p>&nbsp;</p> 
    492524 
     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 
     529if ($hta->is_protected($R)) { 
     530echo "<a href=\"hta_edit.php?dir=$R\">"._("Edit this folder's restrictions")."</a>"; 
     531} 
     532else { 
     533echo "<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> &nbsp;  
     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>     
    493547     <?php 
    494  
    495      echo '<a href="bro_main.php?R=' . $R . '&showdirsize=1">' . _("Show disk usage of directories (slow)") . '</a><br /><br />'; 
    496548 
    497549     if ($id=$ftp->is_ftp($R)) { 
     
    502554} 
    503555 
    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?> 
    514557 
    515558</td></tr></table> 
  • alternc/trunk/bureau/admin/browseforfolder.php

    r2559 r2660  
    131131<input type="hidden" name="lastcurdir" value="<?php echo $curdir; ?>" /> 
    132132 
    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 /> 
    134134 
    135135<input type="submit" name="select" value="<?php __("Select"); ?>" class="inb" />&nbsp; 
  • alternc/trunk/bureau/admin/dom_edit.php

    r2559 r2660  
    5959} 
    6060</script> 
    61 <h3><?php printf(_("Editing domain %s"),$domain); ?></h3> 
     61<h3><?php printf(_("Editing subdomains of %s"),$domain); ?></h3> 
    6262<?php 
    6363        if ($error) { 
     
    6666?> 
    6767<hr /> 
     68<br /> 
    6869<!-- ***************************************** 
    6970                 gestion des sous-domaines 
    7071 --> 
    71 <h3><?php __("Subdomains"); ?></h3> 
    7272<table cellspacing="0" cellpadding="3"> 
     73<tr><th colspan="2"><?php __("Actions"); ?></th><th><?php __("Subdomain"); ?></th><th><?php __("Place"); ?></th></tr> 
    7374<?php 
    7475$col=1; 
     
    7879        <tr class="lst<?php echo $col; ?>"> 
    7980                <td class="center"> 
    80                         <a href="dom_subedit.php?domain=<?php echo urlencode($r["name"]) ?>&amp;sub=<?php  echo urlencode($r["sub"][$i]["name"]) ?>"><img src="images/edit.png" alt="<?php __("Edit"); ?>" /></a>&nbsp;<a href="dom_subdel.php?domain=<?php echo urlencode($r["name"]) ?>&amp;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"]) ?>&amp;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"]) ?>&amp;sub=<?php  echo urlencode($r["sub"][$i]["name"]) ?>"><img src="images/delete.png" alt="<?php __("Delete"); ?>" /><?php __("Delete"); ?></a></div> 
    8184                </td> 
    8285                <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> 
     
    8588<?php } ?> 
    8689</table> 
     90<br /> 
     91<hr/> 
    8792<br /> 
    8893<form action="dom_subdoedit.php?" method="post" name="main" id="main"> 
     
    98103                        <td><input type="radio" id="local" class="inc" name="type" value="<?php echo $dom->type_local; ?>" checked="checked" onclick="document.main.sub_local.focus();" /> 
    99104                                <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" /> 
    101106<script type="text/javascript"> 
    102107<!-- 
    103   document.write("&nbsp;<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.sub_local');\" value=\" ... \" class=\"inb\">"); 
     108  document.write("&nbsp;<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.sub_local');\" value=\" Choisir un r&eacute;pertoire... \" class=\"bff\">"); 
    104109//  --> 
    105110</script> 
     
    123128                        <td>&nbsp;</td> 
    124129                </tr> 
    125                 <tr> 
    126                         <td colspan="2"><input type="submit" class="inb" name="add" value="<?php __("Add a subdomain"); ?>" /></td> 
     130                <tr style="text-align: right"> 
     131                        <td colspan="2"><input type="submit" class="inb" name="add" value="<?php __("Add this subdomain"); ?>" /></td> 
    127132                </tr> 
    128133        </table> 
     
    171176<form action="dom_dodel.php?domain=<?php echo urlencode($domain) ?>" method="post"> 
    172177<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); ?>" /> 
    174179</p> 
    175180</form> 
  • alternc/trunk/bureau/admin/styles/style.css

    r2559 r2660  
    2222.hlp { 
    2323        font-family: Helvetica, Tahoma, sans-serif; 
    24         font-size: 10px; 
     24        font-size: 11px; 
    2525        color: #202020; 
    2626} 
     
    3434        font-size: 11px; 
    3535        color: #000000; 
     36        padding-right: 10px; 
    3637} 
    3738 
     
    3940        font-family: Verdana, Arial, Helvetica, sans-serif; 
    4041        font-size: 11px; 
    41         color: #007799; 
    42         font-weight: bold 
     42        color: black; 
     43        background: #F1F8FD; 
     44        font-weight: normal; 
     45        text-align: left; 
    4346} 
    4447 
     
    4851        font-weight: bold; 
    4952        color: #10507C; 
    50         text-align: center; 
    51         padding: 10px; 
     53        text-align: left; 
     54        padding: 11px; 
     55        padding-left: 0; 
    5256        margin: 0px; 
    5357} 
     
    7781        border: 1px solid black; 
    7882        font-family: Verdana, Arial, Helvetica, sans-serif; 
    79         font-size: 11px; 
     83        font-size: 10px; 
    8084        border-style: none; 
    8185        color: black; 
     
    8387 
    8488.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} 
    92143.int { 
    93144        border: 1px dotted black; 
    94145        background-color: white; 
    95146        font-family: Verdana, Arial, Helvetica, sans-serif; 
    96         font-size: 11px; 
     147        font-size: 10px; 
    97148        padding-left: 2px; 
    98149        padding-right: 2px; 
     
    290341        font-weight: bold; 
    291342} 
     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.