Changeset 2328 for trunk/template/yoga
- Timestamp:
- May 3, 2008, 7:28:15 PM (16 years ago)
- Location:
- trunk/template/yoga
- Files:
-
- 9 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/template/yoga/admin/intro.tpl
r2235 r2328 1 1 {* $Id$ *} 2 2 <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}14 3 <dl> 15 4 <dt>{'PhpWebGallery version'|@translate}</dt> -
trunk/template/yoga/header.tpl
r2289 r2328 68 68 69 69 <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} 71 78 {if not empty($header_notes)} 72 79 <div class="header_notes"> -
trunk/template/yoga/theme/admin/theme.css
r2318 r2328 72 72 #theAdminPage h2, #theAdminPage h3 { border-bottom: 1px solid #69c; } 73 73 #imageHeaderBar, #theAdminPage #the_page { 74 background-color: #111;74 background-color: transparent; 75 75 } 76 76 #imageToolBar, .header_notes { … … 90 90 } 91 91 #theAdminPage #the_page #content, #theAdminPage #the_page .content { 92 background-color: #111;92 background-color: transparent; 93 93 border-width: 0px; 94 94 padding: 5px; … … 138 138 } 139 139 #thePicturePage #the_page { 140 background-color: #111;140 background-color: transparent; 141 141 } 142 142 #thePicturePage #imageHeaderBar { … … 145 145 } 146 146 #thePicturePage #imageToolBar { 147 background-color: #111;147 background-color: transparent; 148 148 border-bottom: 2px solid #69c; 149 149 } 150 150 #thePicturePage #theImage { 151 background-color: #111;151 background-color: transparent; 152 152 margin: 0px; 153 153 padding: 3px 0px 15px 0px; … … 303 303 .statBar { background-color: #e60; } 304 304 #imageToolBar .randomButtons a:hover, 305 #imageToolBar .navButtons a:hover { background-color: #111; }305 #imageToolBar .navButtons a:hover { background-color: transparent; } 306 306 #menubar .menuInfoCat, 307 307 #menubar .menuInfoCatByChild, … … 330 330 list-style-type:none; padding: 0pt; 331 331 /*default-layout.cs... (line 23) */ 332 margin: 0pt 0pt 0pt 13.5em; background: transparent url(images/content-bg.png)332 margin: 0pt 0pt 0pt 200px; background: transparent url(images/content-bg.png) 333 333 repeat-y scroll right top;} 334 334 #theAdminPage #menubar ul { list-style-image:url(images/list-image.png); } … … 337 337 #menubar a { border-bottom:0; text-decoration:none; font-style: italic;} 338 338 body#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; 340 340 } 341 341 body#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%; 344 344 } 345 345 #theHeader h1 { /*default-layout.cs... (line 204) */ … … 374 374 border-bottom:0; 375 375 border-right:0; 376 border-top: 1px solid #222;377 background : transparent url(images/pre-menubar-bg.png) no-repeat scroll left top;376 border-top:0px solid #222; 377 background-color: transparent; 378 378 } 379 379 #theAdminPage #menubar dt.pre-menubar { … … 382 382 } 383 383 .pwgmenu { /*theme.css (line 335)*/ 384 background:transparent ;385 display:table;384 background:transparent url(images/header_bottom.png) repeat-x scroll left 25px; 385 float:right; 386 386 font-family:verdana,arial,helvetica,sans-serif; 387 387 font-size:70%; … … 389 389 list-style-image:none; 390 390 list-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; 391 margin:1px 8px 1px 0pt; 392 padding:3px 3px 3px 101px; 393 text-decoration:none; top:-35px; 394 width:587px; 399 395 } 400 396 .pwgmenu li { /*default-layout.cs... (line 151)*/ … … 406 402 } 407 403 .pwgmenu a { /*theme.css (line 344)*/ 408 background: #FF3366 url(images/select_bt.png) repeat scroll left top;404 background:transparent url(images/onglet_inactif_transp.png) no-repeat scroll left 3px; 409 405 border:0pt none; 410 color:# CCCCCC;406 color:#FF3333; 411 407 display: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 }408 font-size:40%; height:33px; 409 padding:3px 0pt 5px 10pt; text-align:left; 410 text-decoration:none; width:126px !important; 411 } 412 .pwgmenu a:hover { /*theme.css (line 344)*/ 413 background:transparent url(images/onglet_actif_transp.png) no-repeat scroll left 2px; 414 color: #ff7700; } 419 415 #content h2:before, #content h2:after, 420 416 #menubar DT:before, #menubar DT:after { content: ""; } … … 430 426 #theAdminPage h2 { /* theme.css (line 72) */ border-bottom:0px; } 431 427 body#theAdminPage { /*theme.css (line 324) */ 432 background:#111111 url(images/ menubar-bg.png) repeat-yscroll left top;}428 background:#111111 url(images/top-left-bg.png) no-repeat scroll left top;} 433 429 #theAdminPage #the_page { /*theme.css (line 73)*/ 434 background:transparent url(images/ content-bg.png) repeat-y scroll right top; }430 background:transparent url(images/bottom-left-bg.png) no-repeat fixed left bottom; } 435 431 #the_page { /*theme.css (line 348)*/ padding-bottom:30px;} 436 432 #content, .content {background-color:transparent;} 437 433 body#theAdminPage #menubar { /* theme.css (line 324) */ 438 background:transparent none repeat-y scroll right top; border-bottom:0px; }434 background:transparent none repeat-y scroll right top; border-bottom:0px; margin-top:150px;} 439 435 #theAdminPage #the_page #content, #theAdminPage #the_page .content { /*theme.css (line 91)*/ 440 background-color: #111111; border-width:0px; padding:5px 35px 5px 5px; }436 background-color:transparent; border-width:0px; padding:5px 35px 5px 5px; } 441 437 body#theAdminPage #menubar dl.selected dd { padding-bottom: 145px; } 442 438 .header_notes {/*default-colors.cs... (line 91)*/ 443 439 background-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%; } 440 background-repeat:no-repeat; border:1px solid #AAAAAA; font-weight:bold; 441 margin:14px; padding:5px 0px 0px; position:absolute; right:31px; 442 text-align:center; top:96px; width:502px; } 443 #theAdminPage #menubar dl.selected {/*theme.css (line 372)*/ 444 background:transparent url(images/menubar-top.png) no-repeat scroll left top; 445 } 446 #theAdminPage #menubar dl {/*theme.css (line 372)*/ 447 background: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; 451 margin: 0px 0px 0px 4px; padding: 0px;} 452 span.bg { background-color: #111111; padding-right: 3px; } -
trunk/template/yoga/theme/admin/themeconf.inc.php
r2317 r2328 1 1 <?php 2 /** 3 * Accordion menus need to be stable 4 */ 5 function 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 2 45 $themeconf = array( 3 46 'template' => 'yoga', … … 18 61 jQuery(\'#menubar\').accordion({ 19 62 header: "dt.rdion", 20 event: "mouseover" 63 event: "mouseover", 64 active: '. selected_admin_menu() . ' 21 65 }); 22 66 });
Note: See TracChangeset
for help on using the changeset viewer.