Changeset 2328 for trunk


Ignore:
Timestamp:
May 3, 2008, 7:28:15 PM (16 years ago)
Author:
vdigital
Message:

Start of Stripy look on Admin page (Not stable for all browsers)

Location:
trunk
Files:
9 added
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin.php

    r2299 r2328  
    136136}
    137137
     138// Add the PhpWebGallery Official menu
     139  $template->assign( 'pwgmenu', pwg_URL() );
     140 
    138141include(PHPWG_ROOT_PATH.'include/page_header.php');
    139142$template->pparse('admin');
  • trunk/admin/intro.php

    r2299 r2328  
    269269}
    270270
    271 // Add the PhpWebGallery Official menu
    272   $template->assign( 'pwgmenu', pwg_URL() );
    273 
    274271// +-----------------------------------------------------------------------+
    275272// |                           sending html code                           |
  • trunk/language/en_UK/admin.lang.php

    r2325 r2328  
    505505$lang['special_admin_menu'] = 'Specials';
    506506$lang['Duplicates'] = 'Files with same name in more than one physical category';
    507 $lang['DEMO'] = 'DEMO';
    508 $lang['HOME'] = 'HOME';
    509 $lang['FORUM'] = 'FORUM';
    510 $lang['BUGS'] = 'BUGS';
    511 $lang['EXTENSIONS'] = 'EXTENSIONS';
    512 $lang['WIKI / DOC'] = 'WIKI / DOC';
     507
    513508$lang['Export data'] = 'Export data';
    514509$lang['Overall'] = 'Overall';
     
    633628$lang['plugins_check_chmod'] = 'Please check "plugins" folder and sub-folders permissions (CHMOD).';
    634629$lang['plugins_server_error'] = 'Can\'t connect to server.';
    635 // --------- Starting below: New or revised $lang ---- from Butterfly (1.8)
     630
    636631$lang['Purge compiled templates'] = 'Purge compiled templates';
    637632$lang['Caddie is currently empty'] = 'Caddie is currently empty';
     
    646641$lang['ACCESS_5'] = 'No access';
    647642
     643$lang['DEMO'] = 'Demo';
     644$lang['HOME'] = 'Piwigo home';
     645$lang['FORUM'] = 'Support';
     646$lang['BUGS'] = 'Bugs';
     647$lang['EXTENSIONS'] = 'Extensions';
     648$lang['WIKI / DOC'] = 'Documentation';
    648649?>
  • trunk/language/es_ES/admin.lang.php

    r2325 r2328  
    510510$lang['note_check_more_info_wiki'] = 'el wiki';
    511511$lang['Duplicates'] = 'Ficheros que llevan el mismo nombre en varias categorías físicas';
    512 $lang['DEMO'] = 'DEMO';
    513 $lang['HOME'] = 'ACOGIDA PWG';
    514 $lang['FORUM'] = 'FORO';
    515 $lang['BUGS'] = 'BUGS';
    516 $lang['EXTENSIONS'] = 'EXTENSIONES';
    517 $lang['WIKI / DOC'] = 'WIKI / DOC';
     512
    518513$lang['Export data'] = 'Exportar los datos';
    519514$lang['Overall'] = 'Vista global';
     
    638633$lang['plugins_check_chmod'] = 'Verifique los autorizaciones del expediente " plugins " y de sus subexpedientes (CHMOD).';
    639634$lang['plugins_server_error'] = 'Imposible conectarse al servidor.';
    640 // --------- Starting below: New or revised $lang ---- from Butterfly (1.8)
     635/* TODO */
    641636$lang['Purge compiled templates'] = 'Purgar el templates compilado';
    642637/* TODO */ $lang['Caddie is currently empty'] = 'Caddie is currently empty';
     
    651646/* TODO */ $lang['ACCESS_5'] = 'No access';
    652647
     648$lang['DEMO'] = 'Demo';
     649$lang['HOME'] = 'Acogida Piwigo';
     650$lang['FORUM'] = 'Ayuda';
     651$lang['BUGS'] = 'Bugs';
     652$lang['EXTENSIONS'] = 'Extensiones';
     653$lang['WIKI / DOC'] = 'Documentación';
    653654?>
  • trunk/language/fr_FR/admin.lang.php

    r2325 r2328  
    505505$lang['special_admin_menu'] = 'Spéciales';
    506506$lang['Duplicates'] = 'Fichiers portant le même nom dans plusieurs catégories physiques';
    507 $lang['DEMO'] = 'DÉMO';
    508 $lang['HOME'] = 'ACCUEIL PWG';
    509 $lang['FORUM'] = 'FORUM';
    510 $lang['BUGS'] = 'BOGUES';
    511 $lang['EXTENSIONS'] = 'EXTENSIONS';
    512 $lang['WIKI / DOC'] = 'WIKI / DOC';
     507
    513508$lang['Export data'] = 'Exporter les données';
    514509$lang['Overall'] = 'Vue globale';
     
    633628$lang['plugins_check_chmod'] = 'Vérifiez les permissions du dossier "plugins" et de ses sous-dossiers (CHMOD).';
    634629$lang['plugins_server_error'] = 'Impossible de se connecter au serveur.';
    635 // --------- Starting below: New or revised $lang ---- from Butterfly (1.8)
     630
    636631$lang['Purge compiled templates'] = 'Purger les templates compilés';
    637632$lang['Caddie is currently empty'] = 'Le panier est actuellement vide.';
     633$lang['DEMO'] = 'Démo';
     634$lang['HOME'] = 'Accueil Piwigo';
     635$lang['FORUM'] = 'Support';
     636$lang['BUGS'] = 'Bogues';
     637$lang['EXTENSIONS'] = 'Extensions';
     638$lang['WIKI / DOC'] = 'Documentation';
    638639$lang['conf_upload_title'] = 'Téléchargement';
    639640$lang['Show upload link every time'] = 'Afficher le lien d\'ajout d\'image tout le temps';
  • trunk/language/nl_NL/admin.lang.php

    r2325 r2328  
    511511$lang['note_check_more_info_wiki'] = 'de wiki';
    512512$lang['Duplicates'] = 'Bestanden met de zelfde naam in meer dan één physieke categorie';
    513 $lang['DEMO'] = 'DEMO';
    514 $lang['HOME'] = 'HOME';
    515 $lang['FORUM'] = 'FORUM';
    516 $lang['BUGS'] = 'FOUTEN';
    517 $lang['EXTENSIONS'] = 'EXTENSIES';
    518 $lang['WIKI / DOC'] = 'WIKI / DOC';
     513
    519514$lang['Export data'] = 'Exporteer data';
    520515$lang['Overall'] = 'Totaal';
     
    641636/* TODO */ $lang['plugins_server_error'] = 'Can\'t connect to server.';
    642637
    643 // --------- Starting below: New or revised $lang ---- from Butterfly (1.8)
    644638/* TODO */ $lang['Purge compiled templates'] = 'Purge compiled templates';
    645639/* TODO */ $lang['Caddie is currently empty'] = 'Caddie is currently empty';
     640/* TODO */ $lang['DEMO'] = 'Demo';
     641/* TODO */ $lang['HOME'] = 'Piwigo Home';
     642/* TODO */ $lang['FORUM'] = 'Bijstand';
     643/* TODO */ $lang['BUGS'] = 'Fouten';
     644/* TODO */ $lang['EXTENSIONS'] = 'Extensies';
     645/* TODO */ $lang['WIKI / DOC'] = 'Documentatie';
    646646/* TODO */ $lang['conf_upload_title'] = 'Upload';
    647647/* TODO */ $lang['Show upload link every time'] = 'Show upload link every time';
  • trunk/template/yoga/admin/intro.tpl

    r2235 r2328  
    11{* $Id$ *}
    22<h2>{'title_default'|@translate}</h2>
    3 {if isset($pwgmenu)}
    4 <ul class="pwgmenu">
    5   <!-- Keep Doctype XHTML Strict acceptable even in Admin -->
    6   <!-- New window is open if Js available (Webmasters accept it usually) -->
    7   <li><a href="{$pwgmenu.HOME}" onclick="window.open(this.href, ''); return false;">{'HOME'|@translate}</a></li>
    8   <li><a href="{$pwgmenu.WIKI}" onclick="window.open(this.href, ''); return false;">{'WIKI / DOC'|@translate}</a></li>
    9   <li><a href="{$pwgmenu.FORUM}" onclick="window.open(this.href, ''); return false;">{'FORUM'|@translate}</a></li>
    10   <li><a href="{$pwgmenu.BUGS}" onclick="window.open(this.href, ''); return false;">{'BUGS'|@translate}</a></li>
    11   <li><a href="{$pwgmenu.EXTENSIONS}" onclick="window.open(this.href, ''); return false;">{'EXTENSIONS'|@translate}</a></li>
    12 </ul>   
    13 {/if}
    143<dl>
    154  <dt>{'PhpWebGallery version'|@translate}</dt>
  • trunk/template/yoga/header.tpl

    r2289 r2328  
    6868
    6969<div id="theHeader">{$PAGE_BANNER}</div>
    70 
     70{if isset($pwgmenu)}
     71<ul class="pwgmenu">
     72  <li><a href="{$pwgmenu.HOME}" onclick="window.open(this.href, ''); return false;"><span class="bg">{'HOME'|@translate}<span></a></li>
     73  <li><a href="{$pwgmenu.WIKI}" onclick="window.open(this.href, ''); return false;"><span class="bg">{'WIKI / DOC'|@translate}<span></a></li>
     74  <li><a href="{$pwgmenu.FORUM}" onclick="window.open(this.href, ''); return false;"><span class="bg">{'FORUM'|@translate}<span></a></li>
     75  <li><a href="{$pwgmenu.EXTENSIONS}" onclick="window.open(this.href, ''); return false;"><span class="bg">{'EXTENSIONS'|@translate}<span></a></li>
     76</ul>   
     77{/if}
    7178{if not empty($header_notes)}
    7279<div class="header_notes">
  • trunk/template/yoga/theme/admin/theme.css

    r2318 r2328  
    7272#theAdminPage h2, #theAdminPage h3 { border-bottom: 1px solid #69c; }
    7373#imageHeaderBar, #theAdminPage #the_page {
    74   background-color: #111;
     74  background-color: transparent;
    7575}
    7676#imageToolBar, .header_notes {
     
    9090}
    9191#theAdminPage #the_page #content, #theAdminPage #the_page .content {
    92   background-color: #111;
     92  background-color: transparent;
    9393  border-width: 0px;
    9494  padding: 5px;
     
    138138}
    139139#thePicturePage #the_page {
    140   background-color: #111;
     140  background-color: transparent;
    141141}
    142142#thePicturePage #imageHeaderBar {
     
    145145}
    146146#thePicturePage #imageToolBar {
    147   background-color: #111;
     147  background-color: transparent;
    148148  border-bottom: 2px solid #69c;
    149149}
    150150#thePicturePage #theImage {
    151   background-color: #111;
     151  background-color: transparent;
    152152  margin: 0px;
    153153  padding: 3px 0px 15px 0px;
     
    303303.statBar { background-color: #e60; }
    304304#imageToolBar .randomButtons a:hover,
    305 #imageToolBar .navButtons a:hover { background-color: #111; }
     305#imageToolBar .navButtons a:hover { background-color: transparent; }
    306306#menubar .menuInfoCat,
    307307#menubar .menuInfoCatByChild,
     
    330330list-style-type:none; padding: 0pt;
    331331 /*default-layout.cs... (line 23) */
    332 margin: 0pt 0pt 0pt 13.5em; background: transparent url(images/content-bg.png)
     332margin: 0pt 0pt 0pt 200px; background: transparent url(images/content-bg.png)
    333333  repeat-y scroll right top;}
    334334#theAdminPage #menubar ul { list-style-image:url(images/list-image.png); }
     
    337337#menubar a { border-bottom:0; text-decoration:none; font-style: italic;}
    338338body#theAdminPage #theHeader {
    339   background:#111 url(images/logo23.jpg) no-repeat top left; height:105px;
     339  background:transparent url(images/piwigo_logo_sombre_214x100.png) no-repeat 230px top; height:105px;
    340340}
    341341body#theAdminPage #post-header {
    342   background: transparent url(images/tableh1_bg.png) repeat-x top left;
    343   width: 100%; height: 4px;
     342  background-color: transparent;
     343  width: 60%; height: 4px; margin-left:40%;
    344344}
    345345#theHeader h1 { /*default-layout.cs... (line 204) */
     
    374374border-bottom:0;
    375375border-right:0;
    376 border-top:1px solid #222;
    377 background: transparent url(images/pre-menubar-bg.png) no-repeat scroll left top;
     376border-top:0px solid #222;
     377background-color: transparent;
    378378}
    379379#theAdminPage #menubar dt.pre-menubar {
     
    382382}
    383383.pwgmenu { /*theme.css (line 335)*/
    384 background:transparent;
    385 display:table;
     384background:transparent url(images/header_bottom.png) repeat-x scroll left 25px;
     385float:right;
    386386font-family:verdana,arial,helvetica,sans-serif;
    387387font-size:70%;
     
    389389list-style-image:none;
    390390list-style-type:none;
    391 margin:1px 8px 1px 00;
    392 padding:3px;
    393 position:relative;
    394 right:-406px;
    395 text-decoration:none;
    396 top:-93px;
    397 white-space:nowrap;
    398 width:636px;
     391margin:1px 8px 1px 0pt;
     392padding:3px 3px 3px 101px;
     393text-decoration:none; top:-35px;
     394width:587px;
    399395}
    400396.pwgmenu li { /*default-layout.cs... (line 151)*/
     
    406402}
    407403.pwgmenu a { /*theme.css (line 344)*/
    408 background:#FF3366 url(images/select_bt.png) repeat scroll left top;
     404background:transparent url(images/onglet_inactif_transp.png) no-repeat scroll left 3px;
    409405border:0pt none;
    410 color:#CCCCCC;
     406color:#FF3333;
    411407display:block;
    412 font-size:140%;
    413 height:15px;
    414 padding:15px 0pt 0pt;
    415 text-align:center;
    416 text-decoration:none;
    417 width:126px !important;
    418 }
     408font-size:40%; height:33px;
     409padding:3px 0pt 5px 10pt; text-align:left;
     410text-decoration:none; width:126px !important;
     411}
     412.pwgmenu a:hover { /*theme.css (line 344)*/
     413background:transparent url(images/onglet_actif_transp.png) no-repeat scroll left 2px;
     414color: #ff7700; }
    419415#content h2:before, #content h2:after,
    420416#menubar DT:before, #menubar DT:after { content: ""; }
     
    430426#theAdminPage h2 { /* theme.css (line 72) */ border-bottom:0px; }
    431427body#theAdminPage { /*theme.css (line 324) */
    432 background:#111111 url(images/menubar-bg.png) repeat-y scroll left top;}
     428background:#111111 url(images/top-left-bg.png) no-repeat scroll left top;}
    433429#theAdminPage #the_page { /*theme.css (line 73)*/
    434 background:transparent url(images/content-bg.png) repeat-y scroll right top; }
     430background:transparent url(images/bottom-left-bg.png) no-repeat fixed left bottom; }
    435431#the_page { /*theme.css (line 348)*/ padding-bottom:30px;}
    436432#content, .content {background-color:transparent;}
    437433body#theAdminPage #menubar {  /* theme.css (line 324) */
    438 background:transparent none repeat-y scroll right top; border-bottom:0px; }
     434background:transparent none repeat-y scroll right top; border-bottom:0px; margin-top:150px;}
    439435#theAdminPage #the_page #content, #theAdminPage #the_page .content { /*theme.css (line 91)*/
    440 background-color:#111111; border-width:0px; padding:5px 35px 5px 5px; }
     436background-color:transparent; border-width:0px; padding:5px 35px 5px 5px; }
    441437body#theAdminPage #menubar dl.selected dd { padding-bottom: 145px; }
    442438.header_notes {/*default-colors.cs... (line 91)*/
    443439background-image:url(icon/note.png); background-position:left top;
    444 background-repeat:no-repeat; border:1px solid #AAAAAA;
    445 font-weight:bold; margin:14px; padding:5px 0px 0px;
    446 position:absolute; right:31px; text-align:center; top:96px;  width:50%; }
     440background-repeat:no-repeat; border:1px solid #AAAAAA; font-weight:bold;
     441margin:14px; padding:5px 0px 0px; position:absolute; right:31px;
     442text-align:center; top:96px; width:502px; }
     443#theAdminPage #menubar dl.selected {/*theme.css (line 372)*/
     444background:transparent url(images/menubar-top.png) no-repeat scroll left top;
     445}
     446#theAdminPage #menubar dl {/*theme.css (line 372)*/
     447background:transparent url(images/menubar-top.png) no-repeat scroll left top; width: 198px;
     448}
     449#theAdminPage #menubar dt { background: none; left:10px; position:relative; text-align:left; top:-10px;}
     450#theAdminPage #menubar dd { background: transparent url(images/menubar-detail.png) repeat-y top left;
     451margin: 0px 0px 0px 4px; padding: 0px;}
     452span.bg { background-color: #111111; padding-right: 3px; }
  • trunk/template/yoga/theme/admin/themeconf.inc.php

    r2317 r2328  
    11<?php
     2/**
     3 * Accordion menus need to be stable
     4 */
     5function selected_admin_menu()
     6{
     7  if (isset($_GET['page']))
     8  {
     9    switch ($_GET['page']) {
     10      case 'configuration':
     11        return 1;
     12      case 'site_manager':
     13      case 'site_update':
     14      case 'cat_list':
     15      case 'cat_modify':
     16      case 'element_set':
     17      case 'cat_perm':
     18      case 'picture_modify':
     19        if (isset($_GET['cat']) and $_GET['cat']='caddie') {
     20          return 3;
     21        }
     22        return 2;
     23      case 'comments':
     24      case 'thumbnail':
     25      case 'rating':
     26      case 'tags':
     27        return 3;
     28      case 'user_list':
     29      case 'group_list':
     30      case 'notification_by_mail':
     31        return 4;
     32      case 'stats':
     33      case 'history':
     34      case 'maintenance':
     35      case 'advanced_feature':
     36      case 'wd_checker':
     37      case 'plugins_list':
     38      case 'plugin':
     39        return 5;
     40    }
     41  }
     42  return 0;
     43}
     44
    245$themeconf = array(
    346  'template' => 'yoga',
     
    1861    jQuery(\'#menubar\').accordion({
    1962      header: "dt.rdion",
    20       event: "mouseover"
     63      event: "mouseover",
     64      active: '. selected_admin_menu() . '
    2165    });
    2266  });
Note: See TracChangeset for help on using the changeset viewer.