aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/theme/roma
diff options
context:
space:
mode:
Diffstat (limited to 'admin/template/goto/theme/roma')
-rw-r--r--admin/template/goto/theme/roma/images/active_tab.pngbin0 -> 678 bytes
-rw-r--r--admin/template/goto/theme/roma/images/active_tab2.pngbin0 -> 593 bytes
-rw-r--r--admin/template/goto/theme/roma/images/bottom-left-bg.pngbin0 -> 22748 bytes
-rw-r--r--admin/template/goto/theme/roma/images/external_active.pngbin0 -> 578 bytes
-rw-r--r--admin/template/goto/theme/roma/images/external_inactive.pngbin0 -> 598 bytes
-rw-r--r--admin/template/goto/theme/roma/images/fillet.pngbin0 -> 153 bytes
-rw-r--r--admin/template/goto/theme/roma/images/inactive_tab.pngbin0 -> 410 bytes
-rw-r--r--admin/template/goto/theme/roma/images/inactive_tab2.pngbin0 -> 416 bytes
-rw-r--r--admin/template/goto/theme/roma/images/menuBoxBottom_new.pngbin0 -> 1292 bytes
-rw-r--r--admin/template/goto/theme/roma/images/menuBoxTop_new.pngbin0 -> 1635 bytes
-rw-r--r--admin/template/goto/theme/roma/images/menubar-detail.pngbin0 -> 208 bytes
-rw-r--r--admin/template/goto/theme/roma/images/menubar-top.pngbin0 -> 1514 bytes
-rw-r--r--admin/template/goto/theme/roma/images/piwigo_logo_sombre_214x100.pngbin0 -> 12154 bytes
-rw-r--r--admin/template/goto/theme/roma/images/top-left-bg.pngbin0 -> 48511 bytes
-rw-r--r--admin/template/goto/theme/roma/index.php54
-rw-r--r--admin/template/goto/theme/roma/mail-css.tpl19
-rw-r--r--admin/template/goto/theme/roma/theme.css126
-rw-r--r--admin/template/goto/theme/roma/themeconf.inc.php59
18 files changed, 258 insertions, 0 deletions
diff --git a/admin/template/goto/theme/roma/images/active_tab.png b/admin/template/goto/theme/roma/images/active_tab.png
new file mode 100644
index 000000000..a0c6e5ce5
--- /dev/null
+++ b/admin/template/goto/theme/roma/images/active_tab.png
Binary files differ
diff --git a/admin/template/goto/theme/roma/images/active_tab2.png b/admin/template/goto/theme/roma/images/active_tab2.png
new file mode 100644
index 000000000..560c27a56
--- /dev/null
+++ b/admin/template/goto/theme/roma/images/active_tab2.png
Binary files differ
diff --git a/admin/template/goto/theme/roma/images/bottom-left-bg.png b/admin/template/goto/theme/roma/images/bottom-left-bg.png
new file mode 100644
index 000000000..ce611dfed
--- /dev/null
+++ b/admin/template/goto/theme/roma/images/bottom-left-bg.png
Binary files differ
diff --git a/admin/template/goto/theme/roma/images/external_active.png b/admin/template/goto/theme/roma/images/external_active.png
new file mode 100644
index 000000000..918640316
--- /dev/null
+++ b/admin/template/goto/theme/roma/images/external_active.png
Binary files differ
diff --git a/admin/template/goto/theme/roma/images/external_inactive.png b/admin/template/goto/theme/roma/images/external_inactive.png
new file mode 100644
index 000000000..03c50fbf5
--- /dev/null
+++ b/admin/template/goto/theme/roma/images/external_inactive.png
Binary files differ
diff --git a/admin/template/goto/theme/roma/images/fillet.png b/admin/template/goto/theme/roma/images/fillet.png
new file mode 100644
index 000000000..dd63b2e49
--- /dev/null
+++ b/admin/template/goto/theme/roma/images/fillet.png
Binary files differ
diff --git a/admin/template/goto/theme/roma/images/inactive_tab.png b/admin/template/goto/theme/roma/images/inactive_tab.png
new file mode 100644
index 000000000..a9eabe672
--- /dev/null
+++ b/admin/template/goto/theme/roma/images/inactive_tab.png
Binary files differ
diff --git a/admin/template/goto/theme/roma/images/inactive_tab2.png b/admin/template/goto/theme/roma/images/inactive_tab2.png
new file mode 100644
index 000000000..63b66476a
--- /dev/null
+++ b/admin/template/goto/theme/roma/images/inactive_tab2.png
Binary files differ
diff --git a/admin/template/goto/theme/roma/images/menuBoxBottom_new.png b/admin/template/goto/theme/roma/images/menuBoxBottom_new.png
new file mode 100644
index 000000000..66b91a5e4
--- /dev/null
+++ b/admin/template/goto/theme/roma/images/menuBoxBottom_new.png
Binary files differ
diff --git a/admin/template/goto/theme/roma/images/menuBoxTop_new.png b/admin/template/goto/theme/roma/images/menuBoxTop_new.png
new file mode 100644
index 000000000..c74e6c2c7
--- /dev/null
+++ b/admin/template/goto/theme/roma/images/menuBoxTop_new.png
Binary files differ
diff --git a/admin/template/goto/theme/roma/images/menubar-detail.png b/admin/template/goto/theme/roma/images/menubar-detail.png
new file mode 100644
index 000000000..d78ebe7f8
--- /dev/null
+++ b/admin/template/goto/theme/roma/images/menubar-detail.png
Binary files differ
diff --git a/admin/template/goto/theme/roma/images/menubar-top.png b/admin/template/goto/theme/roma/images/menubar-top.png
new file mode 100644
index 000000000..d122f5dca
--- /dev/null
+++ b/admin/template/goto/theme/roma/images/menubar-top.png
Binary files differ
diff --git a/admin/template/goto/theme/roma/images/piwigo_logo_sombre_214x100.png b/admin/template/goto/theme/roma/images/piwigo_logo_sombre_214x100.png
new file mode 100644
index 000000000..106f20add
--- /dev/null
+++ b/admin/template/goto/theme/roma/images/piwigo_logo_sombre_214x100.png
Binary files differ
diff --git a/admin/template/goto/theme/roma/images/top-left-bg.png b/admin/template/goto/theme/roma/images/top-left-bg.png
new file mode 100644
index 000000000..9f1711826
--- /dev/null
+++ b/admin/template/goto/theme/roma/images/top-left-bg.png
Binary files differ
diff --git a/admin/template/goto/theme/roma/index.php b/admin/template/goto/theme/roma/index.php
new file mode 100644
index 000000000..547a117bf
--- /dev/null
+++ b/admin/template/goto/theme/roma/index.php
@@ -0,0 +1,54 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based picture gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file : $Id$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/admin/template/goto/theme/roma/mail-css.tpl b/admin/template/goto/theme/roma/mail-css.tpl
new file mode 100644
index 000000000..5b3e53c3d
--- /dev/null
+++ b/admin/template/goto/theme/roma/mail-css.tpl
@@ -0,0 +1,19 @@
+{* $Id$ *}
+/* Theme wipi mail css */
+
+body {ldelim} background-color:#111; color:#69c;}
+#the_page {ldelim} background: #111 url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;}
+#content {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;}
+#copyright {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom;
+color: #69c;}
+h2 {ldelim} background-color: #222;color:#eee;background-image: url({$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/images/tableh1_bg.png);}
+img {ldelim} margin: 16px; padding:15px;border:1px solid #eee; -moz-border-radius: 4px; border-radius: 4px 4px; }
+img:hover {ldelim} border:1px solid #69c; -moz-border-radius: 4px; border-radius: 4px 4px; }
+a {ldelim} color: #69c; background: transparent; }
+a:hover {ldelim} color: #f92; }
+a.PWG {ldelim} border: 0px; }
+a.PWG .P {ldelim} color : #f92; }
+a.PWG .W {ldelim} color : #aaa; }
+a.PWG .G {ldelim} color : #69c; }
+a.PWG:hover .P {ldelim} color : #69c; }
+a.PWG:hover .G {ldelim} color : #f92; }
diff --git a/admin/template/goto/theme/roma/theme.css b/admin/template/goto/theme/roma/theme.css
new file mode 100644
index 000000000..d2fe4ae1a
--- /dev/null
+++ b/admin/template/goto/theme/roma/theme.css
@@ -0,0 +1,126 @@
+/* $Id$ */
+/* text color */
+body, h3, dt, h2, .throw, .content,
+input.rateButtonSelected /* <= why IE doesn't inherit this ? */ { color:#ccc; }
+INPUT[type="text"], INPUT[type="password"], INPUT[type="button"],
+INPUT[type="submit"], INPUT[type="reset"], INPUT[type="file"], select, textarea {
+color:#111; background-color: #eee; }
+input.rateButton, legend, #theAdminPage h3 { color: #777; }
+#theAdminPage h2 { color: #333; }
+
+.content .infos { color: #3f6; border:0pt none; background-color: transparent;
+padding:5px 0px 0pt 10pt; min-height: 48px; text-align:left; }
+.content .infos li, .content .errors li { list-style-type:none; }
+.content .errors { color: #f70; border:0pt none; background-color: transparent;
+padding:5px 0px 0pt 10pt; min-height: 48px; text-align:left; font-weight:bold; }
+#copyright { color:#777; margin:60px auto 0px 240px; text-align:center;
+padding-bottom: 15px; }
+.header_notes {
+background: transparent url(../../../../../template/yoga/icon/note.png) no-repeat right top;
+border:0; font-weight:bold; min-height: 48px;
+padding:15px 60px 0 0; position:absolute; right:0;
+text-align:right; top:90px; width:550px; }
+
+html, body { min-height: 100%; }
+body { margin: 0; padding: 0;
+background:#111111 url(images/bottom-left-bg.png) no-repeat fixed left bottom; }
+#the_page { margin: 0; padding: 0; z-index: 1; top:0px;
+padding-top: 0; min-height: 100%; width:100%; position:absolute; left:0px; }
+#headbranch { width: 233px; height: 240px; margin: 0; padding: 0;
+position:absolute; left:0px; top:0px; z-index: 0;
+background:transparent url(images/top-left-bg.png) no-repeat scroll left top; }
+#theHeader { min-height:105px; margin: 0; padding: 0;
+background:transparent url(images/piwigo_logo_sombre_214x100.png) no-repeat scroll 245px top; }
+h3, #imageToolBar a:hover, .row1, .content { background-color: #222; }
+.row2 { background-color:#111; }
+#content { background: #222 url(images/fillet.png) repeat-x top left; min-height: 466px; }
+.content { padding:0px 5px 5px 5px; margin: 0 10px 0 248px; z-index:99; }
+.content h3 { font-size:20px; letter-spacing:-0.4px; margin:0 20px 12px 0;
+ text-align:right; background:none; border: 0; }
+.content h4 { font-size:14px; text-align:left; padding:3px; margin: 2px;}
+.content h2:before, .content h2:after,
+.content h2 {
+letter-spacing:0.1em; margin-right:30px; text-align:right; color: #777;
+text-transform:none; font-weight:bold; padding-left:20px; }
+.content dl, dd { margin:5px; }
+.content div.titrePage { height:55px; }
+.instructions { text-align: left; padding: 20px 20px 0 20px; }
+.throw, td h3 {
+ background-image: url(images/fillet.png); background-repeat: repeat-x; }
+/* borders */ /* TODO */
+INPUT, SELECT, TEXTAREA { border-left: 2px inset #696969;
+cursor:text; text-indent:4px; }
+.content UL.thumbnails SPAN.wrap2 {
+ border: 1px solid #aaaaaa; /* thumbnails border color and style */
+ border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */
+}
+label { cursor:pointer }
+.virtual_cat { background: #222 !important; }
+a.Piwigo {
+ font-family: verdana, arial, helvetica, sans-serif !important;
+ font-size: 11px; font-weight: normal; letter-spacing: 0;
+ color : #f36; text-decoration: none; border: 0; color: #f36; }
+
+* { outline-width: 0; }
+a { color:#f70; border-color: #FF3363; }
+a:hover { color: #f33; border-color: #FF3363; }
+
+h2 { display:block; font-size:28px; letter-spacing:-1px;
+margin:0 20px; height:95px; overflow:hidden; padding:0; position:absolute;
+right:0; text-align:right; top:0; width:770px; }
+.header_msgs { background-color:transparent; }
+.HelpActions a { border:0; margin:4px 14px 0 0; position:absolute; right:0; }
+.HelpActions li {list-style-image:none; list-style-position:outside;
+list-style-type:none; text-align:center; text-indent:0pt; }
+
+/* tabsheets are often used in admin pages => No specific css files */
+.tabsheet {
+background-color:transparent; border:0; display:table; float:right;
+font-family:verdana,arial,helvetica,sans-serif; font-size:8px; line-height:14px;
+list-style-image:none; padding: 0; position:relative; text-decoration:none;
+top:-2px; white-space:nowrap; margin: 0 28px 0 0;}
+.tabsheet li { float:left; margin: 0 8px; text-align:right; overflow: hidden;
+background:transparent url(images/inactive_tab2.png) no-repeat scroll right 5px; }
+.tabsheet a {
+background:transparent url(images/inactive_tab.png) no-repeat scroll left 5px;
+color:#777; display:block; font-size:11px; text-transform:capitalize; border:0;
+font-weight:bold; height:28px; overflow:hidden; padding:12px 7px 5px 18px; line-height: 18px;
+text-align:right; text-decoration:none; margin: 0 4px 0 0; }
+.tabsheet li:hover, .tabsheet li.selected_tab {
+background:transparent url(images/active_tab2.png) no-repeat scroll right 5px; }
+.tabsheet a:hover, .tabsheet li.selected_tab a { color: #F36;
+background:transparent url(images/active_tab.png) no-repeat scroll left 5px; }
+.tabsheet a span { background-color: #222; }
+
+#debug { margin-left:248px; font-size:12px; }
+/* menubar is on all admin pages => No specific css file */
+#menubar {
+background:transparent url(images/menuBoxBottom_new.png) no-repeat scroll left bottom;
+border:0; display:inline; float:left; left:0; margin: 0 0 0 35px; min-height:475px; height:475px; /* should be 477 */
+padding:0; width:207px; z-index:99; text-align: left; }
+#menubar ul.scroll { overflow-y:auto; height: 148px; margin-right:8px;
+ /* Only IE family supports colored scrollbar */
+ scrollbar-face-color: #222; scrollbar-shadow-color: #444; scrollbar-highlight-color: #000;
+ scrollbar-3dlight-color: #292929; scrollbar-darkshadow-color: #333; scrollbar-track-color: #111;
+ scrollbar-arrow-color: #ff3333; }
+html>body #menubar {min-height:477px; height:477px;} /* IE 7 and modern browsers */
+#menubar .selected a { color: #f70; border-color: #f36;}
+#menubar .selected a:hover { color: #f36; border-bottom: 1px solid #f36;}
+#menubar dd {
+background: transparent url(images/menubar-detail.png) repeat-y top left;
+margin: 10px 0 0 0; padding: 0; height:232px; }
+#menubar dl {
+background:transparent url(images/menuBoxTop_new.png) no-repeat scroll left top;
+width: 207px; border:0; margin: 0; padding: 0; display: block; min-height:35px; }
+#menubar dl.first {
+background:transparent url(images/menubar-top.png) no-repeat scroll left 1px; }
+#menubar dt { margin: 0; display: block; background: none; left:10px; font-weight:bold;
+position:relative; padding: 5px 1px 4px 5px; top:-10px; font-size: 13px; color: #666; }
+#menubar dt span { background-color: #111; cursor:pointer; }
+#menubar a { border-bottom:0; text-decoration:none; font-size: 12px;
+color: #F70; border-bottom: 1px dotted #777;}
+#menubar li { margin: 0 0 0 6px; }
+#menubar li.external { list-style-image:url(images/external_inactive.png); padding:10px 0px 0pt 10px; }
+#menubar li.external:hover { list-style-image:url(images/external_active.png); }
+#menubar ul { color: #333; margin:10px 0pt 3px 9px;
+ list-style-type: square; list-style-position: inside; padding: 0 0 0 2px; }
diff --git a/admin/template/goto/theme/roma/themeconf.inc.php b/admin/template/goto/theme/roma/themeconf.inc.php
new file mode 100644
index 000000000..690e3e4b9
--- /dev/null
+++ b/admin/template/goto/theme/roma/themeconf.inc.php
@@ -0,0 +1,59 @@
+<?php
+/**
+ * Accordion menus need to be stable
+ */
+function selected_admin_menu()
+{
+ if (isset($_GET['page']))
+ {
+ switch ($_GET['page']) {
+ case 'configuration':
+ case 'extend_for_templates':
+ case 'menubar':
+ return 1;
+ case 'site_manager':
+ case 'site_update':
+ case 'cat_list':
+ case 'cat_modify':
+ case 'cat_move':
+ case 'cat_options':
+ case 'element_set':
+ case 'cat_perm':
+ case 'permalinks':
+ case 'picture_modify':
+ if (isset($_GET['cat']) and $_GET['cat']=='caddie') {
+ return 3;
+ }
+ return 2;
+ case 'comments':
+ case 'upload':
+ case 'thumbnail':
+ case 'rating':
+ case 'tags':
+ return 3;
+ case 'user_list':
+ case 'group_list':
+ case 'notification_by_mail':
+ return 4;
+ case 'stats':
+ case 'history':
+ case 'maintenance':
+ case 'advanced_feature':
+ case 'plugins_list':
+ case 'plugin':
+ return 5;
+ }
+ }
+ return 0;
+}
+
+$themeconf = array(
+ 'template' => 'goto', /* Goto Admin template */
+ 'theme' => 'roma', /* "roma" is the foundation theme of Piwigo */
+ 'icon_dir' => 'template/yoga/icon',
+ 'admin_icon_dir' => 'admin/template/goto/icon',
+ 'mime_icon_dir' => 'template/yoga/icon/mimetypes/',
+ 'selected_admin_menu' => selected_admin_menu(),
+ 'local_head' => '',
+);
+?>