Ignore:
Timestamp:
May 21, 2010, 3:51:02 PM (14 years ago)
Author:
repie38
Message:

2.1.x version

Location:
extensions/blancmontxl
Files:
26 added
3 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/blancmontxl/img/index.php

    r3686 r6262  
    33// | Piwigo - a PHP based picture gallery                                  |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2009 Piwigo Team                  http://piwigo.org |
     5// | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    66// | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    77// | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
  • extensions/blancmontxl/index.php

    r3686 r6262  
    33// | Piwigo - a PHP based picture gallery                                  |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2009 Piwigo Team                  http://piwigo.org |
     5// | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    66// | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    77// | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
  • extensions/blancmontxl/theme.css

    r3686 r6262  
    1 @import url(menu.css);
     1/* @import url(menu.css); */
    22
    33* { margin: 0; padding: 0; border: 0; }
     
    1818ul li { list-style: none; }
    1919
    20 a, a:link { color:#ff9933; text-decoration: none; border:0; }
     20a, a:link, a:hover { color:#ff9933; text-decoration: none; border:0 !important; }
    2121a:hover { text-decoration: none; border-bottom:1px solid #ff9933;}
    22 /*a:visited { color:#cccccc;}*/
     22/*a:visited { color:#333333;}*/
    2323
    2424pre { overflow: auto; width: 100%; height: auto; }
     
    7171        margin: 0;
    7272        /*      padding: 170px 34px 0 34px; */
    73         color: #FFF;
     73        color: #fff;
    7474        text-align: left;
    7575        position: absolute;
     
    8484        margin: 0 auto !important;
    8585}
    86 
    87 /* Spécifique à la page des images */
    88 
    89 #thePicturePage #theHeader {
    90         background: transparent url(img/headerpic.jpg) no-repeat center bottom;
    91         height: 15px;
    92 }
    93 #thePicturePage #theHeader h1 { display: none; }
    9486
    9587/*=========================================================================================*/
     
    210202
    211203/* Filter button */
    212 #menubar .button { position: absolute; left:95% }
     204#menubar .button { position: absolute; left:95%;}
    213205#menubar P, #menubar P.totalImages{ clear: both; margin: 0; text-align: center; padding: 0.2em }
    214206
     
    298290FORM#quickconnect LABEL INPUT { font-size: 1em; /*width: 15em;*/ }
    299291FORM#quickconnect P, FORM#quickconnect A { border: none; padding: 0; }
    300 FORM#quickconnect .button { position:relative; top: -20x; left: 50px}
     292FORM#quickconnect .button { position:relative; top: -20px; left: 50px}
    301293
    302294/*      menuTagCloud
     
    347339.tagLevel1 { font-size:80%; }
    348340
     341#theTagsPage fieldset.tagLetter { width:181px; }
     342
    349343/* others */
    350344.pleaseNote {
     
    403397#copyright a:link, #copyright a:visited { text-decoration: underline; color: #fff; }
    404398#copyright a:hover { text-decoration: none; color: #fff; border: 0; }
     399
     400/* About page */
     401#piwigoAbout UL { margin: 15px 0; }
  • extensions/blancmontxl/themeconf.inc.php

    r3686 r6262  
    11<?php
     2/*
     3Theme Name: BlancMont XL
     4Version: 2.1.a
     5Description: Night theme
     6Theme URI: http://piwigo.org/ext/extension_view.php?eid=232
     7Author: repie38
     8Author URI:
     9*/
     10
    211$themeconf = array(
    3   'template' => 'yoga',
    4   'template_dir' => 'template/yoga',
    5   'theme' => 'blancmontxl',
    6   'icon_dir' => PHPWG_ROOT_PATH.'template/yoga/theme/blancmontxl/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/blancmontxl/fix-ie5-ie6.css">
    10 <![endif]-->'
     12  'parent'      => 'default',
     13  'icon_dir'    => 'themes/blancmontxl/icon',
     14  'local_head'  => 'local_head.tpl',
    1115);
    12 $lang['Theme: blancmontxl'] = 'Thème BlancMontXP By repié38.';
     16
     17
     18add_event_handler('loc_begin_page_header', 'set_bmxl_header');
     19
     20function set_bmxl_header()
     21{
     22  global $page, $conf, $template;
     23
     24  $config = unserialize($conf['BlancmontXL']);
     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_bmxl_banner', $header);
     40}
    1341
    1442?>
Note: See TracChangeset for help on using the changeset viewer.