Changeset 5098
- Timestamp:
- Mar 10, 2010, 12:19:11 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin.php
r5089 r5098 60 60 } 61 61 62 // theme changer 63 if (isset($_GET['change_theme'])) 64 { 65 $admin_themes = array('goto/roma', 'goto/clear'); 66 67 $new_admin_theme = array_pop( 68 array_diff( 69 $admin_themes, 70 array($conf['admin_layout']) 71 ) 72 ); 73 74 $query = ' 75 DELETE 76 FROM '.CONFIG_TABLE.' 77 WHERE param = "admin_layout" 78 ;'; 79 pwg_query($query); 80 81 $query = ' 82 INSERT 83 INTO '.CONFIG_TABLE.' 84 SET param = "admin_layout" 85 , value = "'.$new_admin_theme.'" 86 ;'; 87 pwg_query($query); 88 89 redirect('admin.php'); 90 } 91 62 92 // +-----------------------------------------------------------------------+ 63 93 // | synchronize user informations | … … 95 125 $template->assign( 96 126 array( 127 'USERNAME' => $user['username'], 97 128 'U_SITE_MANAGER'=> $link_start.'site_manager', 98 129 'U_HISTORY_STAT'=> $link_start.'stats', … … 124 155 'U_PLUGINS'=> $link_start.'plugins_list', 125 156 'U_ADD_PHOTOS' => $link_start.'photos_add', 157 'U_CHANGE_THEME' => PHPWG_ROOT_PATH.'admin.php?change_theme=1', 126 158 ) 127 159 ); -
trunk/admin/template/goto/admin.tpl
r5089 r5098 1 1 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/packed/ui.core.packed.js" } 2 2 {known_script id="jquery.ui.accordion" src=$ROOT_URL|@cat:"template-common/lib/ui/packed/ui.accordion.packed.js" } 3 {known_script id="jquery.tipTip" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.tipTip.minified.js" } 3 4 4 5 <script type="text/javascript"> … … 13 14 14 15 <div id="menubar"> 16 <div id="adminHome"><a href="{$U_ADMIN}">Administration Home</a></div> 15 17 <dl class="first"> 16 <dt class="rdion"><span>{'Links'|@translate} </span></dt>17 <dd>18 <ul>19 <li><a href="{$U_RETURN}">{'Home'|@translate}</a></li>20 <li><a href="{$U_FAQ}">{'Instructions'|@translate}</a></li>21 <li><a href="{$U_ADMIN}" title="{'Administration'|@translate}">{'Administration'|@translate}</a></li>22 <li><a href="{$U_LOGOUT}">{'Logout'|@translate}</a></li>23 {if isset($pwgmenu)}24 <li class="external"><a class="external" href="{$pwgmenu.WIKI}" onclick="window.open(this.href, '');25 return false;">{'Documentation'|@translate}</a></li>26 <li class="external"><a class="external" href="{$pwgmenu.FORUM}" onclick="window.open(this.href, '');27 return false;">{'Support'|@translate}</a></li>28 {/if}29 30 </ul>31 </dd>32 </dl>33 <dl>34 18 <dt class="rdion"><span>{'Configuration'|@translate} </span></dt> 35 19 <dd> -
trunk/admin/template/goto/content.css
r3283 r5098 1 1 /* .Content is on every pages so it is common and it will no longer be a specific css */ 2 2 .content { margin-right: 1em; margin-bottom: 1em; } 3 .content h2 { margin-bottom: 3px;}3 .content h2 {margin: 0; padding: 5px 0.5em 5px 0.5em; text-align: right; font-size: 120%;} 4 4 .content .navigationBar { margin: 10px 0; text-align: center; } 5 5 .content form { text-align: left; } -
trunk/admin/template/goto/default-layout.css
r5089 r5098 211 211 padding: 0; 212 212 font-size: 0.8em; 213 font-family: Univers, Helvetica, Optima, "Bitstream Vera Sans",sans-serif;213 font-family: "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif; 214 214 text-align: center; /* be nice to IE5 */ 215 215 } 216 216 217 217 H1 { 218 text-align: center; 219 font-size: 150%; 220 font-weight: bold; 221 padding: 0; 222 margin: 0.5em 0 1em 0; 223 } 224 225 H2 { 226 margin: 0; 227 padding: 5px 0.5em 5px 0.5em; 228 text-align: left; 229 font-size: 120%; 230 } 218 color:#eee; 219 letter-spacing:1px; 220 text-align: left; 221 font-size: 150%; 222 font-weight: normal; 223 font-style:italic; 224 padding: 8px 0 0 10px; 225 margin: 0; 226 float:left; 227 } 228 229 #pwgHead {color:#aaa;} 230 #pwgHead A {color:#ccc;} 231 #pwgHead A:hover {color:#fff;border-bottom:1px solid #fff} 232 #pwgHead A#instructions:hover {border:none;} 233 234 #headActions {float:right; height:46px; line-height:46px; margin-right:10px;} 231 235 232 236 A { … … 247 251 visibility: hidden; 248 252 clear: both; 249 }250 251 #copyright {252 clear: both;253 font-size: 83%;254 text-align: center;255 margin: 0 0 10px 0;256 253 } 257 254 … … 549 546 width:50%; 550 547 } 548 549 #pwgHead { 550 background-color:#464646; 551 height:46px; 552 } 553 554 html, body {height:100%; margin:0; padding:0;} 555 #the_page {min-height:100%; position:relative; padding:0;margin:0;} 556 #pwgMain {padding:10px;padding-bottom:60px;} 557 558 #footer { 559 position:absolute; 560 bottom:0; 561 width:100%; 562 height:46px; 563 background-color:#464646; 564 color:#aaa; 565 line-height:46px; 566 } 567 568 #footer A {color:#ccc;} 569 #footer A:hover {color:#fff;border-bottom:1px solid #fff;} 570 571 #adminHome { 572 text-align:center; 573 margin-bottom:15px; 574 line-height:30px; 575 width:200px; 576 margin-left:5px; 577 -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; 578 } 579 580 #adminHome A {display:block; font-size:1.1em; font-weight:bold;} 581 #adminHome A {border:none;} 582 583 #piwigoInfos {float:left; margin-left:10px;} 584 #pageInfos {float:right; margin-right:10px;} 585 586 /* TipTip CSS - Version 1.2 */ 587 588 #tiptip_holder { 589 display: none; 590 position: absolute; 591 top: 0; 592 left: 0; 593 z-index: 99999; 594 } 595 596 #tiptip_holder.tip_top { 597 padding-bottom: 5px; 598 } 599 600 #tiptip_holder.tip_bottom { 601 padding-top: 5px; 602 } 603 604 #tiptip_holder.tip_right { 605 padding-left: 5px; 606 } 607 608 #tiptip_holder.tip_left { 609 padding-right: 5px; 610 } 611 612 #tiptip_content { 613 font-size: 11px; 614 color: #fff; 615 text-shadow: 0 0 2px #000; 616 padding: 4px 8px; 617 border: 1px solid rgba(255,255,255,0.25); 618 background-color: rgb(25,25,25); 619 background-color: rgba(25,25,25,0.92); 620 background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000)); 621 border-radius: 3px; 622 -webkit-border-radius: 3px; 623 -moz-border-radius: 3px; 624 box-shadow: 0 0 3px #555; 625 -webkit-box-shadow: 0 0 3px #555; 626 -moz-box-shadow: 0 0 3px #555; 627 } 628 629 #tiptip_arrow, #tiptip_arrow_inner { 630 position: absolute; 631 border-color: transparent; 632 border-style: solid; 633 border-width: 6px; 634 height: 0; 635 width: 0; 636 } 637 638 #tiptip_holder.tip_top #tiptip_arrow { 639 border-top-color: #fff; 640 border-top-color: rgba(255,255,255,0.35); 641 } 642 643 #tiptip_holder.tip_bottom #tiptip_arrow { 644 border-bottom-color: #fff; 645 border-bottom-color: rgba(255,255,255,0.35); 646 } 647 648 #tiptip_holder.tip_right #tiptip_arrow { 649 border-right-color: #fff; 650 border-right-color: rgba(255,255,255,0.35); 651 } 652 653 #tiptip_holder.tip_left #tiptip_arrow { 654 border-left-color: #fff; 655 border-left-color: rgba(255,255,255,0.35); 656 } 657 658 #tiptip_holder.tip_top #tiptip_arrow_inner { 659 margin-top: -7px; 660 margin-left: -6px; 661 border-top-color: rgb(25,25,25); 662 border-top-color: rgba(25,25,25,0.92); 663 } 664 665 #tiptip_holder.tip_bottom #tiptip_arrow_inner { 666 margin-top: -5px; 667 margin-left: -6px; 668 border-bottom-color: rgb(25,25,25); 669 border-bottom-color: rgba(25,25,25,0.92); 670 } 671 672 #tiptip_holder.tip_right #tiptip_arrow_inner { 673 margin-top: -6px; 674 margin-left: -5px; 675 border-right-color: rgb(25,25,25); 676 border-right-color: rgba(25,25,25,0.92); 677 } 678 679 #tiptip_holder.tip_left #tiptip_arrow_inner { 680 margin-top: -6px; 681 margin-left: -7px; 682 border-left-color: rgb(25,25,25); 683 border-left-color: rgba(25,25,25,0.92); 684 } 685 686 /* Webkit Hacks */ 687 @media screen and (-webkit-min-device-pixel-ratio:0) { 688 #tiptip_content { 689 padding: 4px 8px 5px 8px; 690 background-color: rgba(45,45,45,0.88); 691 } 692 #tiptip_holder.tip_bottom #tiptip_arrow_inner { 693 border-bottom-color: rgba(45,45,45,0.88); 694 } 695 #tiptip_holder.tip_top #tiptip_arrow_inner { 696 border-top-color: rgba(20,20,20,0.92); 697 } 698 } -
trunk/admin/template/goto/footer.tpl
r5021 r5098 3 3 don't be confusing with the public page footer 4 4 *} 5 <div id="copyright"> 6 <a name="EoP"></a> <!-- End of ADMIN Page --> 7 {if isset($debug.TIME) } 8 {'SQL queries in'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|@translate} {$debug.SQL_TIME}) - 9 {/if} 10 11 {* Please, do not remove this copyright. If you really want to, 12 contact us on http://piwigo.org to find a solution on how 13 to show the origin of the script... 14 *} 15 16 {'Powered by'|@translate} 17 <a href="{$PHPWG_URL}" class="Piwigo"> 18 <span class="Piwigo">Piwigo</span></a> 19 {$VERSION} 20 {if isset($CONTACT_MAIL)} 21 - {'Contact'|@translate} 22 <a href="mailto:{$CONTACT_MAIL}?subject={'title_send_mail'|@translate|@escape:url}">{'Webmaster'|@translate}</a> 23 {/if} 24 25 </div> <!-- copyright --> 5 </div> <!-- pwgMain --> 26 6 {if isset($footer_elements)} 27 7 {foreach from=$footer_elements item=v} … … 34 14 </div> 35 15 {/if} 16 17 <div id="footer"> 18 <div id="piwigoInfos"> 19 {* Please, do not remove this copyright. If you really want to, 20 contact us on http://piwigo.org to find a solution on how 21 to show the origin of the script... 22 *} 23 24 {'Powered by'|@translate} 25 <a href="{$PHPWG_URL}" title="Visit Piwigo project website"> 26 <span class="Piwigo">Piwigo</span></a> 27 {$VERSION} 28 | <a class="external" href="{$pwgmenu.WIKI}" title="Read Piwigo Documentation" onclick="window.open(this.href, ''); return false;">{'Documentation'|@translate}</a> 29 | <a class="external" href="{$pwgmenu.FORUM}" title="Get Support on Piwigo Forum" onclick="window.open(this.href, ''); return false;">{'Support'|@translate}</a> 30 </div> <!-- piwigoInfos --> 31 32 <div id="pageInfos"> 33 {if isset($debug.TIME) } 34 {'SQL queries in'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|@translate} {$debug.SQL_TIME}) - 35 {/if} 36 37 38 {'Contact'|@translate} 39 <a href="mailto:{$CONTACT_MAIL}?subject={'title_send_mail'|@translate|@escape:url}">{'Webmaster'|@translate}</a> 40 </div> <!-- pageInfos --> 41 42 </div> <!-- footer --> 36 43 </div> <!-- the_page --> 44 45 {literal} 46 <script type='text/javascript'> 47 $(function() { 48 $('#pwgHead A, #footer A').tipTip({ 49 'delay' : 0, 50 'fadeIn' : 200, 51 'fadeOut' : 200, 52 }); 53 }); 54 </script> 55 {/literal} 37 56 38 57 </body> -
trunk/admin/template/goto/header.tpl
r3283 r5098 44 44 45 45 <body id="{$BODY_ID}"> 46 <div id="headbranch"></div> {* Dummy block for double background management *} 46 47 47 <div id="the_page"> 48 49 <div id="pwgHead"> 50 <h1> 51 <a href="{$U_RETURN}" title="Visit Gallery"> 52 <img src="admin/template/goto/icon/home.png" alt="{'Home'|@translate}"> 53 {$GALLERY_TITLE} 54 </a> 55 </h1> 56 57 <div id="headActions"> 58 Hello {$USERNAME} : 59 <a href="{$U_RETURN}" title="Visit Gallery">Visit Gallery</a> | 60 <a href="{$U_CHANGE_THEME}" title="Switch to clear theme for administration">Change Theme</a> | 61 <a href="{$U_LOGOUT}">{'Logout'|@translate}</a> 62 <a href="{$U_FAQ}" title="{'Instructions'|@translate}" id="instructions"><img style="padding-left:10px;" src="{$ROOT_URL}admin/template/goto/icon/help.png" class="button" alt="(?)"></a> 63 </div> 64 </div> 65 66 <div style="clear:both;"></div> 48 67 49 68 {if not empty($header_msgs)} … … 56 75 57 76 <div id="theHeader">{*$PAGE_BANNER*}</div> 77 58 78 {if not empty($header_notes)} 59 79 <div class="header_notes"> … … 63 83 </div> 64 84 {/if} 85 86 <div id="pwgMain"> -
trunk/admin/template/goto/photos_add_direct.tpl
r5089 r5098 72 72 {/if} 73 73 74 <div class="titrePage" style="height:25px">74 <div class="titrePage"> 75 75 <h2>{'Upload photos'|@translate}</h2> 76 76 </div> -
trunk/admin/template/goto/theme/clear/theme.css
r5090 r5098 23 23 html, body { min-height: 100%; } 24 24 body { margin: 0; padding: 0; background:#eeeeee } 25 #the_page { margin: 0; padding: 0; z-index: 1; top:0px; 26 padding-top: 0; min-height: 100%; width:100%; position:absolute; left:0px; } 25 /* #the_page { margin: 0; padding: 0; z-index: 1; top:0px; */ 26 /* padding-top: 0; min-height: 100%; width:100%; position:absolute; left:0px; } */ 27 27 #headbranch { width: 233px; height: 240px; margin: 0; padding: 0; 28 28 position:absolute; left:0px; top:0px; z-index: 0; … … 41 41 /*.content h2:before, .content h2:after, */ 42 42 .content h2 { 43 letter-spacing:2px; margin-right:30px; text-align: right; color: #999;43 letter-spacing:2px; margin-right:30px; text-align:left; color: #999; 44 44 text-transform:none; font-weight:bold; padding-left:20px; width:54%; } 45 45 .content h2:lang(en) { text-transform:capitalize; } … … 97 97 .content .navigationBar {color:#999;} 98 98 ul.actions, .content form#waiting {text-align:center;} 99 h2 { display:block; font-size:28px; letter-spacing:-1px; 100 margin:0 20px; height:40px; overflow:hidden; padding:0; position:absolute; 101 right:0; text-align:right; top:0; width:770px; } 99 h2 { font-size:28px; letter-spacing:-1px;padding:0; text-align:left;} 102 100 .header_msgs { background:transparent url(images/header_msgs-bg.gif) repeat scroll right top; 103 101 border:0; color:#ccc; font-size:24px; height:30px; left:0; margin:0; padding:10px 0 0; position:absolute; -
trunk/admin/template/goto/theme/roma/theme.css
r5096 r5098 9 9 INPUT[type="submit"], INPUT[type="reset"] { color:#999; border: 1px solid #666; background-color: #444; padding: 1px 15px; } 10 10 input.rateButton, legend, h3 { color: #666; } 11 #theAdminPage h2 { color: # 333;}11 #theAdminPage h2 { color: #ccc; letter-spacing:2px; font-weight:bold;} 12 12 .content .infos { color: #f70; border:0; background-color: transparent; 13 13 padding:5px 60px 0pt 10pt; min-height: 48px; text-align:left; background-position:left top;} … … 16 16 .content .errors { color: #f33; border:0; background-color: transparent; 17 17 padding:5px 60px 0pt 10pt; min-height: 48px; text-align:left; font-weight:bold; background-position:left top; } 18 #copyright { color:#666; margin:60px auto 0px 240px; text-align:center;19 padding-bottom: 15px; }20 18 .header_notes { background: transparent url(../../icon/note.png) no-repeat right top; 21 19 border:0; font-weight:bold; min-height: 48px; … … 24 22 html, body { min-height: 100%; } 25 23 body { margin: 0; padding: 0; 26 background :#111111 url(images/bottom-left-bg.jpg) no-repeat fixed left bottom; }27 #the_page { margin: 0; padding: 0; z-index: 1; top:0px; 28 padding-top: 0; min-height: 100%; width:100%; position:absolute; left:0px; } 24 background-color:#111111; } 25 /* #the_page { margin: 0; padding: 0; z-index: 1; top:0px; */ 26 /* padding-top: 0; min-height: 100%; width:100%; position:absolute; left:0px; } */ 29 27 #headbranch { width: 233px; height: 240px; margin: 0; padding: 0; 30 28 position:absolute; left:0px; top:0px; z-index: 0; 31 background:transparent url(images/top-left-bg.jpg) no-repeat scroll left top;}32 #theHeader { min-height:105px; margin: 0; padding: 0;29 } 30 #theHeader { display:none;min-height:105px; margin: 0; padding: 0; 33 31 background:transparent url(images/piwigo_logo_sombre_214x100.png) no-repeat scroll 245px top; } 34 32 h3, #imageToolBar a:hover, .row2, .content { background-color: #222; } 35 33 .throw, .row1 { background-color:#111; } 36 34 .throw em { font-style: normal; color: #ff3363; } 37 #content { min-height: 466px; margin-top: 9px; } 35 36 #content { min-height: 466px; margin-top: 15px; } 38 37 .content { padding:0 5px 5px; margin: 0 10px 0 248px; z-index:99; } 39 .content h3 { font-size:20px; letter-spacing:-0.4px; margin:0 20px 12px 0; 40 text-align:center; background:none; border: 0; }38 39 .content h3 { font-size:20px; letter-spacing:-0.4px; margin:0 20px 12px 0; text-align:center; background:none; border: 0; } 41 40 .content h3 ~ h3{ margin-top: 40px; } 42 41 .content h4 { font-size:14px; text-align:left; padding:3px; margin: 2px;} 43 /*.content h2:before, .content h2:after, */ 44 .content h2 { 45 letter-spacing:2px; margin-right:30px; text-align:right; color: #666; 46 text-transform:none; font-weight:bold; padding-left:20px; width:54%; } 47 .content h2:lang(en) { text-transform:capitalize; } 42 43 /*.content h2:before, .content h2:after, */ 44 h2:lang(en) { text-transform:capitalize; } 48 45 49 46 .content dl, dd { margin:5px; } 50 .content div.titrePage { height:55px;}47 .content div.titrePage {} 51 48 .instructions { height:450px; overflow:scroll; padding:0 20px 0; text-align:left; margin-bottom: 20px; 52 49 font-size:14px; line-height:21px; } … … 108 105 .content .navigationBar {color:#666;} 109 106 ul.actions, .content form#waiting {text-align:center;} 110 h2 { display:block; font-size:28px; letter-spacing:-1px; 111 margin:0 20px; height:104px; overflow:hidden; padding:0; position:absolute; 112 right:0; text-align:right; top:0; width:770px; } 107 113 108 .header_msgs { background:transparent url(images/header_msgs-bg.gif) repeat scroll right top; 114 109 border:0; color:#333; font-size:24px; height:30px; left:0; margin:0; padding:10px 0 0; position:absolute; … … 125 120 top:-2px; white-space:nowrap; margin: 0 0 0 -5px; padding-left:10px; 126 121 width:100%; } 127 .tabsheet li { background:#222222; float:left; margin:0 6px 0 0; overflow:hidden; text-align:right; border:1px solid #ff3363; border-bottom:none; position:relative; top:11px; }122 .tabsheet li { background:#222222; float:left; margin:0 6px 0 0; overflow:hidden; text-align:right; border:1px solid #ff3363; border-bottom:none; position:relative; top:11px; -moz-border-radius-topleft:5px; -moz-border-radius-topright:5px;} 128 123 .tabsheet a { 129 124 color:#666; display:block; font-size:11px; border:0; … … 143 138 #menubar { 144 139 background:transparent url(images/menuBoxBottom_new.png) no-repeat scroll left bottom; 145 border:0; display:inline; float:left; left:0; margin: 0 0 0 35px; min-height:475px; height:475px; /* should be 477 */146 padding:0; width:2 07px; z-index:99; text-align: left; }140 border:0; display:inline; float:left; left:0; margin: 10px 0 0 10px; min-height:475px; height:475px; /* should be 477 */ 141 padding:0; width:230px; z-index:99; text-align: left; } 147 142 #menubar ul.scroll { height:163px; margin-right:10px; overflow-y:auto; 148 143 /* Only IE family supports colored scrollbar */ … … 218 213 *+html .bigtext { left: 70px; } 219 214 *+html .bigbutton input, * html .bigbutton input { left:0px; position:relative; top:-40px; } 215 220 216 * html .bigtext { margin-right: 300px; } 217 218 #adminHome {background-color:#222;} 219 #adminHome:hover {background-color:#333;}
Note: See TracChangeset
for help on using the changeset viewer.