From 2bcf01168c9e11cca5feb117bdf3227e93c665df Mon Sep 17 00:00:00 2001 From: alban <> Date: Fri, 18 Oct 2013 13:01:30 +0000 Subject: [PATCH] Un peu de presentation en haut de la liste des comptes alternC [Manuc]. --- .gitattributes | 3 +- bureau/admin/adm_list.php | 84 +++++++++++------- bureau/admin/cron.php | 8 +- bureau/admin/icon/filter.png | Bin 0 -> 300 bytes bureau/admin/images/copyrights.txt | 2 +- .../admin/images/{alert.png => warning.png} | Bin bureau/admin/styles/style.css | 18 ++-- 7 files changed, 66 insertions(+), 49 deletions(-) create mode 100644 bureau/admin/icon/filter.png rename bureau/admin/images/{alert.png => warning.png} (100%) diff --git a/.gitattributes b/.gitattributes index d8a3a941..90d6c12b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -143,6 +143,7 @@ bureau/admin/icon/edit.png -text bureau/admin/icon/encrypted.png -text bureau/admin/icon/exe.png -text bureau/admin/icon/file.png -text +bureau/admin/icon/filter.png -text bureau/admin/icon/folder.png -text bureau/admin/icon/htm.png -text bureau/admin/icon/jpg.png -text @@ -176,7 +177,6 @@ bureau/admin/icon/winresize.gif -text bureau/admin/icon/xls.png -text bureau/admin/icon/zip.png -text bureau/admin/images/admin.png -text -bureau/admin/images/alert.png -text bureau/admin/images/bgborder.gif -text bureau/admin/images/blank.gif -text bureau/admin/images/check_no.png -text @@ -247,6 +247,7 @@ bureau/admin/images/ssh.png -text bureau/admin/images/stat.png -text bureau/admin/images/success.png -text bureau/admin/images/undelete.png -text +bureau/admin/images/warning.png -text bureau/admin/index.php -text bureau/admin/ip_main.php -text bureau/admin/js/alternc.js -text diff --git a/bureau/admin/adm_list.php b/bureau/admin/adm_list.php index ca484bae..b6bbb8be 100644 --- a/bureau/admin/adm_list.php +++ b/bureau/admin/adm_list.php @@ -69,18 +69,55 @@ if ($pattern && $pattern_type) {


-
-

+user["admlist"]==0) { // Normal (large) mode +?> +

+ +

+ -
-

- />  -/> - " /> -

-
+
+ +
+

+ />  + /> + " /> +

+
+ get_creator_list(); + if ($subadmin==1 || $cuid==2000) { + if($show != 'all') { + echo '

' . _('List all AlternC accounts') . ''; + + if ($subadmin==1 || $cuid==2000) { + $infos_creators = array(); + + foreach ($list_creators as $key => $val) { + $infos_creators[] = '' . $val['login'] . ''; + } + + if (count($infos_creators)) { + echo ' ('._("Or only the accounts of:")." ". implode(', ', $infos_creators) . ')'; + } + } + echo "

"; + } else { // if show != all + echo '

' . _('List only my accounts') . '

'; + } + }// END ($subadmin==1 || $cuid==2000) + ?> +
+ ' , $error, '

'; @@ -91,29 +128,10 @@ if ( !empty($error) ) {

()

+ +

+ get_creator_list(); - -if ($subadmin==1 || $cuid==2000) { -if($show != 'all') { - echo '

' . _('List all AlternC accounts') . ''; - if ($subadmin==1 || $cuid==2000) { - $infos_creators = array(); - - foreach ($list_creators as $key => $val) { - $infos_creators[] = '' . $val['login'] . ''; - } - - if (count($infos_creators)) { - echo ' ('._("Or only the accounts of:")." ". implode(', ', $infos_creators) . ')'; - } - } - echo "

"; -} else { // if show != all - echo '

' . _('List only my accounts') . '

'; -} -}// END ($subadmin==1 || $cuid==2000) - if (!is_array($r) || empty($r) ) { echo '

'._("No account defined for now").'

'; include('foot.php'); @@ -127,9 +145,8 @@ if (!is_array($r) || empty($r) ) { if ($mem->user["admlist"]==0) { // Normal (large) mode ?>

-   5) { ?> -" /> +" />

@@ -206,7 +223,6 @@ if ($mem->user["admlist"]==1) { // SHORT MODE [  ]    

-   50) { ?> " /> 50 ?> diff --git a/bureau/admin/cron.php b/bureau/admin/cron.php index 3de77768..1ae06b56 100644 --- a/bureau/admin/cron.php +++ b/bureau/admin/cron.php @@ -54,7 +54,7 @@ for ($i=0; $i < $max_cron ; $i++) { <?php __(" title=""/>

"> - - - + + +
-
" id="crup_url_" name="" size="40" maxlength="255" value=""/> +
" size="40" maxlength="255" value=""/>

" id="crup_user_" name="" size="20" maxlength="64" value=""/>

" id="crup_pass_" name="" size="20" maxlength="64" value=""/>

" id="crup_mail_" name="" size="25" maxlength="64" value=""/>

" size="20" maxlength="64" value=""/>

" size="20" maxlength="64" value=""/>

" size="25" maxlength="64" value=""/>
diff --git a/bureau/admin/icon/filter.png b/bureau/admin/icon/filter.png new file mode 100644 index 0000000000000000000000000000000000000000..1dae56d303bed9cd613f663f87473ede002006b3 GIT binary patch literal 300 zcmV+{0n`48P)FwPokg9Q=}69WU6(#Sz)<^ yf2=gDX7o*PHbIo$<$`^T_W@)m$c7|)r@}9Gb9IY<$3wmV0000