aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-01-29 22:31:43 +0000
committergweltas <gweltas@piwigo.org>2004-01-29 22:31:43 +0000
commit9e4078def401cd4b6fb93e8691e899ef6a2023e6 (patch)
tree26b6112fee645bb5468fe5e4c5958572cb052a2d
parentee8227a3cebad5440ba023fd235f87644cb2f2d3 (diff)
CSS Admin creation
git-svn-id: http://piwigo.org/svn/branches/release-1_3@329 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/admin.php4
-rw-r--r--template/default/admin/admin.vtp85
-rw-r--r--template/default/admin/configuration.vtp2
-rw-r--r--template/default/default-admin.css79
4 files changed, 84 insertions, 86 deletions
diff --git a/admin/admin.php b/admin/admin.php
index fbdb590ae..71875348b 100644
--- a/admin/admin.php
+++ b/admin/admin.php
@@ -25,7 +25,9 @@ $handle = $vtp->Open( '../template/'.$user['template'].'/admin/admin.vtp' );
// language
$tpl = array( 'menu_title','title_default','charset','install_warning' );
templatize_array( $tpl, 'lang', $handle );
-$vtp->setGlobalVar( $handle, 'user_template', $user['template'] );
+$vtp->setGlobalVar( $handle, 'user_template',$user['template']);
+$vtp->setGlobalVar( $handle, 'style', '../template/'.$user['template'].'/'.$user['template'].'-admin.css');
+
//-------------------------------------------------- install.php still exists ?
if ( is_file( './install.php' ) )
{
diff --git a/template/default/admin/admin.vtp b/template/default/admin/admin.vtp
index fa50cd5c0..70d0a077a 100644
--- a/template/default/admin/admin.vtp
+++ b/template/default/admin/admin.vtp
@@ -4,90 +4,7 @@
<meta http-equiv="Content-Type" content="text/html; charset={#charset}" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>{#title_default}</title>
- <link rel="stylesheet" href="../template/default/default.css" type="text/css" />
- <style>
- a {
- color:#006699;
- }
- a:hover {
- color:#006699;
- }
- body,font,table,input,form,select,textarea {
- font-family:arial,verdana,sans-serif;
- font-size:12px;
- color:#000000;
- text-align:left;
- }
-table
-{
- border-collapse:separate;
-}
- body {
- background-color:#E5E5E5;
- margin:5px;
- }
-
- .table1 {
- border-collapse:collapse;
- background-color:#FFFFFF;
- }
- .contenucellule {
- background-color:#EEEEEE;
- border:2px solid #006699;
- }
- .style1 {
- margin-top:20px;
- }
- th {
- font-weight:bold;
- background-color:#D3DCE3;
- margin-bottom:10px;
- }
- td {
- padding:3px;
- }
- td.row1 {
- background-color:#E6E4E4;
- }
- td.row2,td.throw2 {
- background-color:#E8E8E8;
- }
- td.throw2 {
- text-align:center;
- font-weight:bold;
- }
- td.row3 {
- background-color:#eeeeee;
- }
- td.row4 {
- background-color:#cccccc;
- }
- .info {
- color:darkblue;
- text-align:center;
- }
- div.key {
- margin-left : 10px;
- }
- td.choice {
- text-align : center;
- }
- div.install_warning {
- text-align:center;
- color:red;
- margin:20px;
- font-weight:bold;
- }
-
- .tableComment,.cellAuthor,.cellInfo {
- color:#000000;
- border-color:#006699;
- }
- .commentsAuthor,.commentsTitle,.commentsInfos,.commentsContent
- {
- color:#000000;
- }
- </style>
+ <link rel="stylesheet" href="{#style}" type="text/css" />
<script language="javascript">
function SelectAll( formulaire )
{
diff --git a/template/default/admin/configuration.vtp b/template/default/admin/configuration.vtp
index 162e530ee..b3ec239ee 100644
--- a/template/default/admin/configuration.vtp
+++ b/template/default/admin/configuration.vtp
@@ -47,7 +47,7 @@
<!--/VTP_param_line-->
<!--VTP_title_line-->
<tr>
- <th colspan="3" align="center">{#title}</th>
+ <th colspan="3">{#title}</th>
</tr>
<!--/VTP_title_line-->
<!--VTP_space_line-->
diff --git a/template/default/default-admin.css b/template/default/default-admin.css
new file mode 100644
index 000000000..a5d661aba
--- /dev/null
+++ b/template/default/default-admin.css
@@ -0,0 +1,79 @@
+@import url("default.css");
+
+a, a:hover {
+color:#006699;
+}
+
+body,font,table,input,form,select,textarea {
+font-family:arial,verdana,sans-serif;
+font-size:12px;
+color:#000000;
+text-align:left;
+}
+table
+{
+border-collapse:separate;
+}
+body {
+background-color:#E5E5E5;
+margin:5px;
+}
+
+.table1 {
+border-collapse:collapse;
+background-color:#FFFFFF;
+}
+.contenucellule {
+background-color:#EEEEEE;
+border:2px solid #006699;
+}
+.style1 {
+margin-top:20px;
+}
+th {
+font-weight:bold;
+background-color:#D3DCE3;
+margin-bottom:10px;
+text-align: center;
+}
+td.row1 {
+background-color:#E6E4E4;
+}
+td.row2,td.throw2 {
+background-color:#E8E8E8;
+}
+td.throw2 {
+text-align:center;
+font-weight:bold;
+}
+td.row3 {
+background-color:#eeeeee;
+}
+td.row4 {
+background-color:#cccccc;
+}
+.info {
+color:darkblue;
+text-align:center;
+}
+div.key {
+margin-left : 10px;
+}
+td.choice {
+text-align : center;
+}
+div.install_warning {
+text-align:center;
+color:red;
+margin:20px;
+font-weight:bold;
+}
+
+.tableComment,.cellAuthor,.cellInfo {
+color:#000000;
+border-color:#006699;
+}
+.commentsAuthor,.commentsTitle,.commentsInfos,.commentsContent
+{
+color:#000000;
+} \ No newline at end of file