Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
alternc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
domainepublic
alternc
Commits
33732a5d
Commit
33732a5d
authored
Feb 08, 2013
by
Alan Garcia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajout d'une fleche sur les menu
parent
6cb836c4
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
78 additions
and
32 deletions
+78
-32
awstats/bureau/admin/menu_aws.php
awstats/bureau/admin/menu_aws.php
+4
-1
bureau/admin/dom_edit.php
bureau/admin/dom_edit.php
+2
-2
bureau/admin/images/menu_right.png
bureau/admin/images/menu_right.png
+0
-0
bureau/admin/menu_aide.php
bureau/admin/menu_aide.php
+4
-1
bureau/admin/menu_brouteur.php
bureau/admin/menu_brouteur.php
+4
-1
bureau/admin/menu_cron.php
bureau/admin/menu_cron.php
+2
-1
bureau/admin/menu_ip.php
bureau/admin/menu_ip.php
+1
-0
bureau/admin/menu_logs.php
bureau/admin/menu_logs.php
+4
-1
bureau/admin/menu_mail.php
bureau/admin/menu_mail.php
+2
-2
bureau/admin/menu_mem.php
bureau/admin/menu_mem.php
+4
-1
bureau/admin/menu_piwik.php
bureau/admin/menu_piwik.php
+2
-1
bureau/admin/menu_quota.php
bureau/admin/menu_quota.php
+2
-1
bureau/admin/styles/style.css
bureau/admin/styles/style.css
+40
-17
bureau/class/functions.php
bureau/class/functions.php
+7
-3
No files found.
awstats/bureau/admin/menu_aws.php
View file @
33732a5d
...
...
@@ -35,7 +35,10 @@ if (isset($q["t"]) && isset($r["u"]) && $q["t"] > 0 && $r["u"] > 0) {
?>
<div
class=
"menu-box"
>
<a
href=
"aws_list.php"
>
<div
class=
"menu-title"
><img
src=
"images/stat.png"
alt=
"
<?php
__
(
"Web Statistics"
);
?>
"
/>
<?php
__
(
"Web Statistics"
);
?>
(
<?=
$q
[
"u"
];
?>
/
<?=
$q
[
"t"
];
?>
)
</div>
<div
class=
"menu-title"
>
<img
src=
"images/stat.png"
alt=
"
<?php
__
(
"Web Statistics"
);
?>
"
/>
<?php
__
(
"Web Statistics"
);
?>
(
<?=
$q
[
"u"
];
?>
/
<?=
$q
[
"t"
];
?>
)
<img
src=
"images/menu_right.png"
alt=
""
style=
"float:right;"
class=
"menu-right"
/>
</div>
</a>
</div>
<?php
}
?>
bureau/admin/dom_edit.php
View file @
33732a5d
...
...
@@ -138,11 +138,11 @@ for($i=0;$i<$r["nsub"];$i++) {
<td><div
class=
"retour-auto"
>
<?php
__
(
$r
[
'sub'
][
$i
][
'type_desc'
]);
?>
<?php
//if ($r["sub"][$i]['type'] === 'VHOST') {
if
(
$dt
[
$r
[
"sub"
][
$i
][
'type'
]][
'target'
]
===
'DIRECTORY'
)
{
if
(
@
$dt
[
$r
[
"sub"
][
$i
][
'type'
]][
'target'
]
===
'DIRECTORY'
)
{
$iidir
=
$r
[
"sub"
][
$i
][
"dest"
];
if
(
$iidir
==
''
)
$iidir
=
'/'
;
echo
'<br /><a href="bro_main.php?R='
.
urlencode
(
$iidir
)
.
'">'
.
htmlspecialchars
(
$iidir
)
.
'</a>'
;
if
(
!
file_exists
(
$bro
->
convertabsolute
(
$iidir
,
0
)))
{
echo
" <
i style='color:red;'>"
.
_
(
"Directory not found"
)
.
"</i
>"
;
}
if
(
!
file_exists
(
$bro
->
convertabsolute
(
$iidir
,
0
)))
{
echo
" <
span class=
\"
alerte
\"
>"
.
_
(
"Directory not found"
)
.
"</span
>"
;
}
}
else
{
if
(
$r
[
"sub"
][
$i
][
'type'
])
echo
"<br />"
.
htmlspecialchars
(
$r
[
"sub"
][
$i
][
"dest"
]);
}
...
...
bureau/admin/images/menu_right.png
View replaced file @
6cb836c4
View file @
33732a5d
455 Bytes
|
W:
|
H:
417 Bytes
|
W:
|
H:
2-up
Swipe
Onion skin
bureau/admin/menu_aide.php
View file @
33732a5d
...
...
@@ -23,6 +23,9 @@
?>
<div
class=
"menu-box"
>
<a
href=
"
<?php
echo
$help_baseurl
;
?>
"
target=
"help"
>
<div
class=
"menu-title"
><img
src=
"images/help.png"
alt=
"
<?php
__
(
"Online help"
);
?>
"
/>
<?php
__
(
"Online help"
);
?>
</div>
<div
class=
"menu-title"
>
<img
src=
"images/help.png"
alt=
"
<?php
__
(
"Online help"
);
?>
"
/>
<?php
__
(
"Online help"
);
?>
<img
src=
"images/menu_right.png"
alt=
""
style=
"float:right;"
class=
"menu-right"
/>
</div>
</a>
</div>
bureau/admin/menu_brouteur.php
View file @
33732a5d
...
...
@@ -24,6 +24,9 @@
?>
<div
class=
"menu-box"
>
<a
href=
"bro_main.php"
>
<div
class=
"menu-title"
><img
src=
"images/folder.png"
alt=
"
<?php
__
(
"File browser"
);
?>
"
/>
<?php
__
(
"File browser"
);
?>
</div>
<div
class=
"menu-title"
>
<img
src=
"images/folder.png"
alt=
"
<?php
__
(
"File browser"
);
?>
"
/>
<?php
__
(
"File browser"
);
?>
<img
src=
"images/menu_right.png"
alt=
""
style=
"float:right;"
class=
"menu-right"
/>
</div>
</a>
</div>
bureau/admin/menu_cron.php
View file @
33732a5d
...
...
@@ -30,7 +30,8 @@ if ($q['t'] > 0 || $q['u'] > 0) {
<div
class=
"menu-box"
>
<a
href=
"cron.php"
>
<div
class=
"menu-title"
>
<img
src=
"images/schedule.png"
alt=
"
<?php
__
(
"Scheduled tasks"
);
?>
"
width=
16px
height=
16px/
>
<?php
__
(
"Scheduled tasks"
);
?>
(
<?php
echo
$q
[
"u"
]
.
'/'
.
$q
[
"t"
];
?>
)
<img
src=
"images/schedule.png"
alt=
"
<?php
__
(
"Scheduled tasks"
);
?>
"
width=
16px
height=
16px/
>
<?php
__
(
"Scheduled tasks"
);
?>
(
<?php
echo
$q
[
"u"
]
.
'/'
.
$q
[
"t"
];
?>
)
<img
src=
"images/menu_right.png"
alt=
""
style=
"float:right;"
class=
"menu-right"
/>
</div>
</a>
</div>
...
...
bureau/admin/menu_ip.php
View file @
33732a5d
...
...
@@ -28,6 +28,7 @@
<a
href=
"ip_main.php"
>
<div
class=
"menu-title"
>
<img
src=
"images/ip.png"
alt=
"
<?php
__
(
"Access security"
);
?>
"
width=
"16"
height=
"16"
/>
<?php
__
(
"Access security"
);
?>
<img
src=
"images/menu_right.png"
alt=
""
style=
"float:right;"
class=
"menu-right"
/>
</div>
</a>
</div>
bureau/admin/menu_logs.php
View file @
33732a5d
...
...
@@ -26,7 +26,10 @@
?>
<div
class=
"menu-box"
>
<a
href=
"logs_list.php"
>
<div
class=
"menu-title"
><img
src=
"images/logs.png"
alt=
"
<?php
__
(
"Logs"
);
?>
"
width=
"16"
height=
"16"
/>
<?php
__
(
"Logs"
);
?>
</div>
<div
class=
"menu-title"
>
<img
src=
"images/logs.png"
alt=
"
<?php
__
(
"Logs"
);
?>
"
width=
"16"
height=
"16"
/>
<?php
__
(
"Logs"
);
?>
<img
src=
"images/menu_right.png"
alt=
""
style=
"float:right;"
class=
"menu-right"
/>
</div>
</a>
</div>
...
...
bureau/admin/menu_mail.php
View file @
33732a5d
...
...
@@ -32,8 +32,8 @@ if ($q["u"] > 0 || ( $r["u"] > 0 && $q['t'] > 0 )) {
<div
class=
"menu-box"
>
<a
href=
"javascript:menu_toggle('menu-mail');"
>
<div
class=
"menu-title"
>
<img
src=
"images/mail.png"
alt=
"
<?php
__
(
"Email Addresses"
);
?>
"
/>
<?php
__
(
"Email Addresses"
);
?>
(
<?php
echo
$q
[
"u"
];
?>
/
<?php
echo
$q
[
"t"
];
?>
)
<img
src=
"/images/menu_moins.png"
alt=
""
style=
"float:right;"
id=
"menu-mail-img"
/>
<img
src=
"images/mail.png"
alt=
"
<?php
__
(
"Email Addresses"
);
?>
"
/>
<?php
__
(
"Email Addresses"
);
?>
(
<?php
echo
$q
[
"u"
];
?>
/
<?php
echo
$q
[
"t"
];
?>
)
<img
src=
"/images/menu_moins.png"
alt=
""
style=
"float:right;"
id=
"menu-mail-img"
/>
</div>
</a>
<div
class=
"menu-content"
id=
"menu-mail"
>
...
...
bureau/admin/menu_mem.php
View file @
33732a5d
...
...
@@ -23,7 +23,10 @@
?>
<div
class=
"menu-box"
>
<a
href=
"mem_param.php"
>
<div
class=
"menu-title"
><img
src=
"images/config.png"
alt=
"
<?php
__
(
"Settings"
);
?>
"
/>
<?php
__
(
"Settings"
);
?>
</div>
<div
class=
"menu-title"
>
<img
src=
"images/config.png"
alt=
"
<?php
__
(
"Settings"
);
?>
"
/>
<?php
__
(
"Settings"
);
?>
<img
src=
"images/menu_right.png"
alt=
""
style=
"float:right;"
class=
"menu-right"
/>
</div>
</a>
</div>
<div
class=
"menu-box"
>
...
...
bureau/admin/menu_piwik.php
View file @
33732a5d
...
...
@@ -28,7 +28,8 @@ if (!empty($piwik->piwik_server_uri) && ($q["t"] > 0 || $r["u"] > 0)) {
<div
class=
"menu-box"
>
<a
href=
"javascript:menu_toggle('menu-piwik');"
>
<div
class=
"menu-title"
>
<img
src=
"images/stat.png"
alt=
"
<?php
__
(
"Piwik statistics"
);
?>
"
/>
<?php
__
(
"Piwik statistics"
);
?>
(
<?php
echo
$q
[
"u"
];
?>
/
<?php
echo
$q
[
"t"
];
?>
)
<img
src=
"images/stat.png"
alt=
"
<?php
__
(
"Piwik statistics"
);
?>
"
/>
<?php
__
(
"Piwik statistics"
);
?>
(
<?php
echo
$q
[
"u"
];
?>
/
<?php
echo
$q
[
"t"
];
?>
)
<img
src=
"images/menu_right.png"
alt=
""
style=
"float:right;"
class=
"menu-right"
/>
</div>
</a>
<div
class=
"menu-content"
id=
"menu-piwik"
>
...
...
bureau/admin/menu_quota.php
View file @
33732a5d
...
...
@@ -25,6 +25,7 @@
<a
href=
"quota_show.php"
>
<div
class=
"menu-title"
>
<img
src=
"images/quota.png"
alt=
"
<?php
__
(
"Show my quotas"
);
?>
"
/>
<?php
__
(
"Show my quotas"
);
?>
<img
src=
"images/menu_right.png"
alt=
""
style=
"float:right;"
class=
"menu-right"
/>
</div>
</a>
<?php
...
...
@@ -66,7 +67,7 @@
$url
=
(
$key
==
'bw_web'
?
'stats_show_per_month.php'
:
'quota_show.php'
);
echo
"<dd>"
;
echo
'<div><a href="'
.
$url
.
'">'
.
/* _($val) */
_
(
"quota_"
.
$key
)
.
' '
.
$usage_percent
.
'%'
.
'
('
.
format_size
(
$q
[
$key
][
"u"
])
.
' / '
.
format_size
(
$q
[
$key
][
"t"
])
.
')
</a></div>'
;
echo
'<div><a href="'
.
$url
.
'">'
.
/* _($val) */
_
(
"quota_"
.
$key
)
.
' '
.
$usage_percent
.
'%'
.
'
<small>('
.
format_size
(
$q
[
$key
][
"u"
],
true
)
.
' / '
.
format_size
(
$q
[
$key
][
"t"
],
true
)
.
')</small>
</a></div>'
;
echo
"</dd>"
;
echo
"<dd>"
;
echo
'<div class="progress-bar">'
;
...
...
bureau/admin/styles/style.css
View file @
33732a5d
...
...
@@ -71,6 +71,16 @@ hr {
border-width
:
1px
0
0
0
;
}
a
{
text-decoration
:
none
;
color
:
#0D5689
;
}
a
:hover
{
text-decoration
:
underline
;
color
:
#000000
;
}
fieldset
{
border
:
1px
solid
#555
;
}
...
...
@@ -93,23 +103,35 @@ fieldset {
}
.inb
{
-webkit-border-radius
:
5
px
;
-moz-border-radius
:
5
px
;
border-radius
:
5
px
;
-webkit-border-radius
:
3
px
;
-moz-border-radius
:
3
px
;
border-radius
:
3
px
;
border
:
1px
solid
#999
;
font-family
:
Verdana
,
Arial
,
Helvetica
,
sans-serif
;
font-size
:
11px
;
padding
:
4px
;
padding-left
:
6px
;
padding-right
:
6px
;
padding
:
4px
6px
;
color
:
black
;
background-color
:
#CFE3F1
;
cursor
:
pointer
;
margin-right
:
4px
;
height
:
25px
;
vertical-align
:
middle
;
}
.inb
:hover
{
background-color
:
#BFD3E1
;
}
.ina
a
,
.ina
a
:hover
,
.inb
a
,
.inb
a
:hover
{
color
:
#000
;
text-decoration
:
none
;
vertical-align
:
middle
;
line-height
:
15px
;
}
span
.inb
{
display
:
inline-block
;
height
:
15px
;
padding
:
4px
6px
;
}
input
.ina
:hover
,
input
.ina
,
input
.inav
,
input
.inav
:hover
{
border
:
1px
solid
#999
;
...
...
@@ -147,12 +169,17 @@ input.inav:hover, .inav a:hover, a.inav:hover {
-webkit-border-radius
:
3px
;
-moz-border-radius
:
3px
;
border-radius
:
3px
;
display
:
inline-block
;
vertical-align
:
middle
;
line-height
:
15px
;
height
:
15px
;
}
input
[
type
=
button
],
input
[
type
=
submit
]
{
-webkit-border-radius
:
3px
;
-moz-border-radius
:
3px
;
border-radius
:
3px
;
height
:
25px
;
}
.ina
a
:hover
,
a
.ina
:hover
,
.inav
a
:hover
,
a
.inav
:hover
{
text-decoration
:
none
;
...
...
@@ -161,7 +188,8 @@ input[type=submit] {
.ina
img
,
.ina
img
{
vertical-align
:
middle
;
padding
:
2px
2px
5px
0
;
padding
:
0
2px
0
0
;
float
:
left
;
}
.bff
{
border
:
1px
solid
#999
;
...
...
@@ -220,6 +248,11 @@ img {
text-align
:
left
;
}
.alerte
{
color
:
#A00
;
font-style
:
italic
;
}
/* Over quota class */
.over
{
color
:
red
;
...
...
@@ -408,16 +441,6 @@ table.searchtable td {
margin-right
:
auto
;
}
a
{
text-decoration
:
none
;
color
:
#0D5689
;
}
a
:hover
{
text-decoration
:
underline
;
color
:
#000000
;
}
.border
{
border
:
1px
solid
#C0DCF0
;
}
...
...
bureau/class/functions.php
View file @
33732a5d
...
...
@@ -269,7 +269,7 @@ function ife($test,$tr,$fa="") {
return
$fa
;
}
function
format_size
(
$size
)
{
function
format_size
(
$size
,
$html
=
0
)
{
// Retourne une taille formatte en Octets, Kilo-octets, Mga-octets ou Giga-Octets, avec 2 dcimales.
if
(
"-"
==
$size
)
{
return
$size
;
...
...
@@ -300,7 +300,11 @@ function format_size($size) {
}
}
}
return
$r
;
if
(
$html
)
{
return
str_replace
(
" "
,
" "
,
$r
);
}
else
{
return
$r
;
}
}
function
getlinkhelp
(
$hid
)
{
...
...
@@ -635,7 +639,7 @@ function display_browser($dir="", $caller="main.dir", $width=350, $height=450) {
open: function()
{
$('.ui-widget-overlay').css('opacity', .70);
$('.ui-dialog-content').css('background-color', '#F0F0F
4
');
$('.ui-dialog-content').css('background-color', '#F0F0F
A
');
},
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment