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 00000000..1dae56d3 Binary files /dev/null and b/bureau/admin/icon/filter.png differ diff --git a/bureau/admin/images/copyrights.txt b/bureau/admin/images/copyrights.txt index bbfa1264..265709a2 100644 --- a/bureau/admin/images/copyrights.txt +++ b/bureau/admin/images/copyrights.txt @@ -2,7 +2,7 @@ 20131018 [alban] icons: * abort.png - * alert.png + * warning.png * danger.png * success.png 24x24 Free Application Icons diff --git a/bureau/admin/images/alert.png b/bureau/admin/images/warning.png similarity index 100% rename from bureau/admin/images/alert.png rename to bureau/admin/images/warning.png diff --git a/bureau/admin/styles/style.css b/bureau/admin/styles/style.css index 00154eb9..7da36aa5 100644 --- a/bureau/admin/styles/style.css +++ b/bureau/admin/styles/style.css @@ -95,14 +95,6 @@ pre { -moz-border-radius: 4px; } - -.filter a, a.edit, input.filter { - background-image: url(../icon/filter.png); - background-repeat: no-repeat; - background-position: 8px 3px; - padding-left: 30px; -} - .inp { /* Should not be use anymore !!! */ border-color: blue; @@ -355,7 +347,8 @@ img { /* Alert icons */ #content .alert { - background-position: 16px 16px; + background-position: 12px 10px; + background-repeat: no-repeat; padding-left: 48px; } #content .alert-danger { @@ -999,6 +992,13 @@ div.progress-bar div.txt { padding-left: 30px; } +.filter a, a.edit, input.filter { + background-image: url(../icon/filter.png); + background-repeat: no-repeat; + background-position: 8px 3px; + padding-left: 30px; +} + /* Jquery-ui */ body .ui-widget-content {