Desktop TNG in progress...
This commit is contained in:
parent
516f1082c0
commit
ed8e9883d4
|
@ -328,6 +328,8 @@ bureau/admin/piwik_sitelist.php -text
|
|||
bureau/admin/piwik_user_dodel.php -text
|
||||
bureau/admin/piwik_userlist.php -text
|
||||
bureau/admin/powered2.jpg -text
|
||||
bureau/admin/powered_by_alternc.png -text
|
||||
bureau/admin/powered_by_alternc2.png -text
|
||||
bureau/admin/quota_show.php -text
|
||||
bureau/admin/quotas_oneuser.php -text
|
||||
bureau/admin/quotas_users.php -text
|
||||
|
|
|
@ -109,16 +109,13 @@ if (!is_array($r)) {
|
|||
|
||||
if ($mem->user["admlist"]==0) { // Normal (large) mode
|
||||
?>
|
||||
<table class="tlist">
|
||||
<tr><td colspan="6">
|
||||
<p>
|
||||
<span class="ina" style="float: right;"><a href="adm_list.php?short=1"><?php __("Minimal view"); ?></a></span>
|
||||
<?php if (count($r)>5) { ?>
|
||||
<input type="submit" class="inb" name="submit" value="<?php __("Delete checked accounts"); ?>" />
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td class="trbtn" colspan="4">
|
||||
<span class="ina"><a href="adm_list.php?short=1"><?php __("Minimal view"); ?></a></span>
|
||||
</td>
|
||||
</tr>
|
||||
</p>
|
||||
<table class="tlist" style="clear: both;">
|
||||
<tr>
|
||||
<th></th>
|
||||
<th><?php __("Account"); ?></th>
|
||||
|
@ -192,16 +189,13 @@ if ($mem->user["admlist"]==1) { // SHORT MODE
|
|||
[ <?php __("E"); ?> ] <?php __("Edit"); ?>
|
||||
[ <?php __("Q"); ?> ] <?php __("Quotas"); ?>
|
||||
|
||||
<table class="tlist">
|
||||
<tr><td colspan="4">
|
||||
<p>
|
||||
<span class="ina" style="float:right;"><a href="adm_list.php?short=0"><?php __("Complete view"); ?></a></span>
|
||||
<?php if (count($r)>50) { ?>
|
||||
<input type="submit" class="inb" name="submit" value="<?php __("Delete checked accounts"); ?>" />
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td class="trbtn" colspan="5">
|
||||
<span class="ina"><a href="adm_list.php?short=0"><?php __("Complete view"); ?></a></span>
|
||||
</td>
|
||||
</tr>
|
||||
</p>
|
||||
<table class="tlist" style="clear:both;">
|
||||
<tr>
|
||||
<th colspan="2"> </th><th><?php __("Account"); ?></th>
|
||||
<th colspan="2"> </th><th><?php __("Account"); ?></th>
|
||||
|
@ -281,8 +275,8 @@ if (is_array($val)) {
|
|||
|
||||
|
||||
?>
|
||||
<tr><td colspan="10"><input type="submit" class="inb" name="submit" value="<?php __("Delete checked accounts"); ?>" /></td></tr>
|
||||
</table>
|
||||
<p><input type="submit" class="inb" name="submit" value="<?php __("Delete checked accounts"); ?>" /></p>
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
|
|
|
@ -90,13 +90,11 @@ if (isset($error) && $error) {
|
|||
<th><label for="pass"><?php __("Password"); ?></label></th>
|
||||
<td><a href="javascript:ftp_edit_pass_toggle();"><?php __("Click here if you want to edit password");?></a></td>
|
||||
</tr>
|
||||
<tr class="trbtn">
|
||||
<td colspan="2">
|
||||
<input type="submit" class="inb" name="submit" value="<?php __("Save"); ?>" onclick='return ftp_check_pass();' />
|
||||
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='ftp_list.php'"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>
|
||||
<input type="submit" class="inb" name="submit" value="<?php __("Save"); ?>" onclick='return ftp_check_pass();' />
|
||||
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='ftp_list.php'"/>
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
|
@ -89,8 +89,8 @@ while (list($key,$val)=each($r))
|
|||
<?php
|
||||
}
|
||||
?>
|
||||
<tr><td colspan="5"><input type="submit" name="submit" class="inb" value="<?php __("Delete checked accounts"); ?>" /></td></tr>
|
||||
</table>
|
||||
<p><input type="submit" name="submit" class="inb" value="<?php __("Delete checked accounts"); ?>" /></p>
|
||||
</form>
|
||||
|
||||
<?php
|
||||
|
|
|
@ -125,7 +125,7 @@ if (isset($url) && $url) {
|
|||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<a href="http://www.alternc.com/"><img src="alternc.jpg" width="128" height="32" alt="powered by AlternC" /></a>
|
||||
<a href="http://www.alternc.com/"><img src="powered_by_alternc2.png" width="128" height="32" alt="Powered by AlternC" /></a>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -73,7 +73,7 @@ $lac = $authip->list_affected();
|
|||
echo "<td><pan title=\"{$list_ip[$ll['authorised_ip_id']]['ip_human']}\">".$list_ip[$ll['authorised_ip_id']]['infos'];
|
||||
//echo "<br/>".$list_ip[$ll['authorised_ip_id']]['ip_human'];
|
||||
echo "</span></td>";
|
||||
echo "<td>".$ac[$ll['protocol']]['name'];
|
||||
echo "<td>".@$ac[$ll['protocol']]['name'];
|
||||
if (isset($ac[$ll['protocol']]['values'][$ll['parameters']]) && $ac[$ll['protocol']]['values'][$ll['parameters']]) {
|
||||
echo " "._("for")." ".$ac[$ll['protocol']]['values'][$ll['parameters']];
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
|
@ -51,8 +51,8 @@ if ($r) {
|
|||
|
||||
<form method="post" action="sql_users_dorights.php">
|
||||
<input type="hidden" name="id" value="<?php echo $id; ?>" />
|
||||
<table cellspacing="0" cellpadding="4" class="tlist">
|
||||
<tr>
|
||||
<table cellspacing="0" cellpadding="4" class="tlist ombrage">
|
||||
<tr class="petit">
|
||||
<th> </th>
|
||||
<th> </th>
|
||||
<th>SELECT</th>
|
||||
|
@ -96,11 +96,11 @@ for($i=0;$i<count($r);$i++) {
|
|||
|
||||
}
|
||||
?>
|
||||
<tr><td colspan="5">
|
||||
<input type="submit" value="<?php __("Apply"); ?>" class="inb" />
|
||||
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='sql_users_list.php'"/>
|
||||
</td></tr>
|
||||
</table>
|
||||
<p>
|
||||
<input type="submit" value="<?php __("Apply"); ?>" class="inb" />
|
||||
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='sql_users_list.php'"/>
|
||||
</p>
|
||||
</form>
|
||||
<p> </p>
|
||||
<script type="text/javascript">
|
||||
|
|
|
@ -274,7 +274,6 @@ img {
|
|||
padding-right: 10px;
|
||||
padding-bottom: 10px;
|
||||
padding-left: 10px;
|
||||
background-color: #EEE;
|
||||
border-radius: 10px 0 0 10px;
|
||||
-webkit-border-radius: 10px 0 0 10px;
|
||||
-moz-border-radius: 10px 0 0 10px;
|
||||
|
@ -565,3 +564,15 @@ input#dir, input#sub_local {
|
|||
border: solid 1px #CACACA;
|
||||
padding-bottom
|
||||
}
|
||||
|
||||
.ombrage {
|
||||
border: 1px solid #888;
|
||||
box-shadow: 1px 1px 15px #555;
|
||||
}
|
||||
|
||||
.petit,
|
||||
.petit p,
|
||||
.petit th,
|
||||
.petit td {
|
||||
font-size:95%;
|
||||
}
|
||||
|
|
|
@ -28,20 +28,18 @@
|
|||
----------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/* Toutes les pages du bureau passent ici. On utilise une sémaphore pour
|
||||
s'assurer que personne ne pourra accéder à 2 pages du bureau en même temps.
|
||||
*/
|
||||
/* */
|
||||
if ( "@@REPLACED_DURING_BUILD@@"==$L_VERSION ) {
|
||||
// To enable dispay of PHP errors
|
||||
ini_set('display_errors', true);
|
||||
}
|
||||
/* */
|
||||
|
||||
/*
|
||||
Si vous voulez mettre le bureau en maintenance, décommentez le code ci-dessous
|
||||
et mettez votre ip dans le IF pour que seule votre ip puisse accéder au bureau :
|
||||
*/
|
||||
|
||||
/* * /
|
||||
// To enable dispay of PHP errors
|
||||
ini_set('display_errors', true);
|
||||
/* */
|
||||
|
||||
/* * /
|
||||
if (getenv("REMOTE_ADDR")!="127.0.0.1") {
|
||||
echo "Le bureau AlternC est en vacances jusqu'a minuit pour maintenance.<br>
|
||||
|
@ -57,6 +55,9 @@ define('ALTERNC_PANEL', "/var/alternc/bureau");
|
|||
define('ALTERNC_LOGS', "/var/alternc/logs");
|
||||
define('ALTERNC_LOCALES', "/var/alternc/bureau/locales");
|
||||
|
||||
/* Toutes les pages du bureau passent ici. On utilise une sémaphore pour
|
||||
s'assurer que personne ne pourra accéder à 2 pages du bureau en même temps.
|
||||
*/
|
||||
// 1. Get a semaphore id for the alternc magic number (18577)
|
||||
$alternc_sem = sem_get ( 18577 );
|
||||
// 2. Declare the shutdown function, that release the semaphore
|
||||
|
|
Loading…
Reference in New Issue