Changeset 5449 for extensions/montblancxl
- Timestamp:
- Mar 29, 2010, 6:52:45 PM (14 years ago)
- Location:
- extensions/montblancxl
- Files:
-
- 23 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/montblancxl/icon/index.php
r3306 r5449 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | PhpWebGallery - a PHP based picture gallery | 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 3 // | Piwigo - a PHP based picture gallery | 6 4 // +-----------------------------------------------------------------------+ 7 // | file : $Id: index.php 1912 2007-03-16 06:30:07Z rub $ 8 // | last update : $Date: 2007-03-16 07:30:07 +0100 (ven, 16 mar 2007) $ 9 // | last modifier : $Author: rub $ 10 // | revision : $Revision: 1912 $ 5 // | Copyright(C) 2008-2010 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 11 8 // +-----------------------------------------------------------------------+ 12 9 // | This program is free software; you can redistribute it and/or modify | -
extensions/montblancxl/mail-css.tpl
r3306 r5449 2 2 /* for MontBlanc/MontBlancXL */ 3 3 4 {literal}5 * { margin: 0; padding: 0; border: 0; } 6 body { 4 * {ldelim} margin: 0; padding: 0; border: 0; } 5 6 body {ldelim} 7 7 font-size:0.7em; font-family: Verdana,Arial,Helvetica,sans-serif; color: black; 8 8 background: white; 9 9 } 10 #the_page { 11 background: white 12 url({pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/img/background.jpg) 13 repeat-y left top; 14 position: absolute; left: 0px; top: 16px; width: 800px; } 15 .content { background: transparent 16 url({pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/img/header.jpg) 17 no-repeat left top; 18 padding-top: 200px; width: 800px; } 19 #copyright { 20 background: transparent 21 url({pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/img/footer.jpg) 22 no-repeat left bottom; width: 800px; } 23 h2 {color:#06c;margin-top:1em;margin-left:-0.5em;} 24 h2:before {content: "»»»";} 25 img { margin:16px;padding:15px;border:1px solid #69c;background-color:#eef;-moz-border-radius:4px; border-radius:4px 4px; } 26 img:hover {border: 1px solid #c60; -moz-border-radius:4px; border-radius:4px 4px; } 27 a { color: #06c; background: transparent; } 28 {/literal} 10 #the_page {ldelim} 11 /* background: transparent url({$ROOT_URL}themes/montblancxl/img/header.jpg) no-repeat left top; */ 12 position: absolute; left: 0px; top: 16px; width: 800px; 13 } 14 15 .content {ldelim} 16 /* background: white url({$ROOT_URL}themes/montblancxl/img/background.jpg) repeat-y left top; */ 17 margin-top: 200px; 18 width: 800px; 19 } 20 21 #copyright {ldelim} 22 /* background: transparent url({$ROOT_URL}themes/montblancxl/img/footer.jpg) no-repeat left bottom; */ 23 width: 800px; 24 } 25 26 h2 {ldelim} color:#06c;margin-top:1em;margin-left:-0.5em; } 27 h2:before {ldelim} content: "»»»";} 28 img {ldelim} margin:16px;padding:15px;border:1px solid #69c;background-color:#eef;-moz-border-radius:4px; border-radius:4px 4px; } 29 img:hover {ldelim} border: 1px solid #c60; -moz-border-radius:4px; border-radius:4px 4px; } 30 a {ldelim} color: #06c; background: transparent; } -
extensions/montblancxl/theme.css
r3609 r5449 1 @import url(menu.css); 1 /* @import url(menu.css); */ 2 2 3 3 * { margin: 0; padding: 0; border: 0; } … … 17 17 ul li { list-style: none; } 18 18 19 a, a:link { color:#0066CC; text-decoration: none; border:0; }19 a, a:link, a:hover { color:#0066CC; text-decoration: none; border:0 !important; } 20 20 a:hover { text-decoration: none; border-bottom:1px solid #0066CC;} 21 21 /*a:visited { color:#333333;}*/ … … 77 77 } 78 78 79 /* Spécifique à la page des images */80 81 #thePicturePage #theHeader {82 background: transparent url(img/headerpic.jpg) no-repeat center bottom;83 height: 15px;84 }85 #thePicturePage #theHeader h1 { display: none; }86 87 79 /*=========================================================================================*/ 88 80 … … 202 194 203 195 /* Filter button */ 204 #menubar .button { position: absolute; left:95% 196 #menubar .button { position: absolute; left:95%;} 205 197 #menubar P, #menubar P.totalImages{ clear: both; margin: 0; text-align: center; padding: 0.2em } 206 198 … … 395 387 #copyright a:link, #copyright a:visited { text-decoration: underline; color: #000; } 396 388 #copyright a:hover { text-decoration: none; color: #000; border: 0; } 389 390 /* About page */ 391 #piwigoAbout UL { margin: 15px 0; } -
extensions/montblancxl/themeconf.inc.php
r3609 r5449 1 1 <?php 2 /* 3 Theme Name: Montblanc XL 4 Version: 2.1.a 5 Description: Nature theme 6 Theme URI: http://piwigo.org/ext/extension_view.php?eid=133 7 Author: P@t 8 Author URI: http://www.gauchon.fr 9 */ 10 2 11 $themeconf = array( 3 'template' => 'yoga', 4 'template_dir' => 'template/yoga', 5 'theme' => 'montblancxl', 6 'icon_dir' => PHPWG_ROOT_PATH.'template/yoga/theme/montblancxl/icon', 7 'mime_icon_dir' => PHPWG_ROOT_PATH.'template/yoga/icon/mimetypes/', 8 'local_head' => '<!--[if lt IE 7]> 9 <link rel="stylesheet" type="text/css" href="'.PHPWG_ROOT_PATH.'template/yoga/theme/montblancxl/fix-ie5-ie6.css"> 10 <![endif]-->' 12 'parent' => 'default', 13 'icon_dir' => 'themes/MontblancXL/icon', 14 'local_head' => 'local_head.tpl', 11 15 ); 12 $lang['Theme: montblancxl'] = 'Thème MontBlancXL By P@t.'; 16 17 18 add_event_handler('loc_begin_page_header', 'set_mbxl_header'); 19 20 function set_mbxl_header() 21 { 22 global $page, $conf, $template; 23 24 $config = unserialize($conf['MontblancXL']); 25 26 if (isset($page['body_id']) and $page['body_id'] == 'theCategoryPage') 27 { 28 $header = isset($page['category']) ? $config['categories'] : $config['home']; 29 } 30 elseif (isset($page['body_id']) and $page['body_id'] == 'thePicturePage') 31 { 32 $header = $config['picture']; 33 } 34 else 35 { 36 $header = $config['other']; 37 } 38 39 $template->assign('display_mbxl_banner', $header); 40 } 13 41 14 42 ?>
Note: See TracChangeset
for help on using the changeset viewer.