Changeset 17104


Ignore:
Timestamp:
Jul 25, 2012, 11:15:15 PM (12 years ago)
Author:
Sixpo
Message:
 
Location:
extensions/Wall
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/Wall/icon/index.php

    r17073 r17104  
    11<?php
    2 // +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008      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 |
    8 // +-----------------------------------------------------------------------+
    9 // | This program is free software; you can redistribute it and/or modify  |
    10 // | it under the terms of the GNU General Public License as published by  |
    11 // | the Free Software Foundation                                          |
    12 // |                                                                       |
    13 // | This program is distributed in the hope that it will be useful, but   |
    14 // | WITHOUT ANY WARRANTY; without even the implied warranty of            |
    15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
    16 // | General Public License for more details.                              |
    17 // |                                                                       |
    18 // | You should have received a copy of the GNU General Public License     |
    19 // | along with this program; if not, write to the Free Software           |
    20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    21 // | USA.                                                                  |
     2
    223// +-----------------------------------------------------------------------+
    234
     5// | Piwigo - a PHP based picture gallery                                  |
     6
     7// +-----------------------------------------------------------------------+
     8
     9// | Copyright(C) 2008      Piwigo Team                  http://piwigo.org |
     10
     11// | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
     12
     13// | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     14
     15// +-----------------------------------------------------------------------+
     16
     17// | This program is free software; you can redistribute it and/or modify  |
     18
     19// | it under the terms of the GNU General Public License as published by  |
     20
     21// | the Free Software Foundation                                          |
     22
     23// |                                                                       |
     24
     25// | This program is distributed in the hope that it will be useful, but   |
     26
     27// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
     28
     29// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
     30
     31// | General Public License for more details.                              |
     32
     33// |                                                                       |
     34
     35// | You should have received a copy of the GNU General Public License     |
     36
     37// | along with this program; if not, write to the Free Software           |
     38
     39// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
     40
     41// | USA.                                                                  |
     42
     43// +-----------------------------------------------------------------------+
     44
     45
     46
    2447// Recursive call
     48
    2549$url = '../';
     50
    2651header( 'Request-URI: '.$url );
     52
    2753header( 'Content-Location: '.$url );
     54
    2855header( 'Location: '.$url );
     56
    2957exit();
     58
    3059?>
     60
  • extensions/Wall/index.php

    r17092 r17104  
    11<?php
    22
     3
     4
    35$url = '../';
     6
    47header( 'Request-URI: '.$url );
     8
    59header( 'Content-Location: '.$url );
     10
    611header( 'Location: '.$url );
     12
    713exit();
     14
    815?>
     16
  • extensions/Wall/theme.css

    r17090 r17104  
     1
     2
    13
    24
    35BODY#theCategoryPage .thumbnailCategories {
     6
    47        padding-left:auto;
     8
    59        padding-right:auto;
     10
    611        list-style: none outside none;
     12
    713        text-align: center;
     14
    815        background:none;
    9 }
     16
     17}
     18
    1019BODY#theCategoryPage .thumbnailCategories li {
     20
    1121        width: auto;
     22
    1223        float: none;
     24
    1325        display:inline-block;
     26
    1427        text-align:center;
     28
    1529        margin-left:10px;
     30
    1631       
    17 }
     32
     33}
     34
    1835BODY#theCategoryPage div.thumbnailCategory div.illustration {
     36
    1937        width:auto;
     38
    2039        height:auto;
     40
    2141        /*height:135px;*/
     42
    2243    text-align:center;
     44
    2345        overflow: inherit;
     46
    2447        float:none;
     48
    2549        margin: 0;
     50
    2651        padding: 0;
     52
    2753       
    28 }
     54
     55}
     56
    2957BODY#theCategoryPage div.thumbnailCategory div.description {   /*fond de description cathegotire et photos*/
     58
    3059    position:relative;
     60
    3161        width:300px;             
     62
    3263        height:auto;
     64
    3365        text-align:center;
     66
    3467        overflow:inherit;
     68
    3569        margin-left:35%;
     70
    3671        margin-top:-100px;
     72
    3773    font-size:14px     /*taille police titre cathegorie*/
    38 }
     74
     75}
     76
     77
     78
    3979
    4080
    4181BODY#theCategoryPage div.thumbnailCategory div.description IMG { /*logo pour signaler nouvaute dans la cathegorie*/
     82
    4283float:center;
     84
    4385       
    44 }
     86
     87}
     88
     89
    4590
    4691BODY#theCategoryPage div.thumbnailCategory div.description p {
     92
    4793    float:center;
     94
    4895    width:87%;             
     96
    4997        height:120px;
     98
    5099        text-align: center;
    51         margin-top:-120px;
     100
     101        margin-top:-110px;
     102
    52103        margin-left:15px;
     104
    53105    font-size:12px;
     106
    54107        padding:10px;
     108
    55109       
    56110
     111
     112
    57113       
     114
    58115}       
    59116
    60117
    61118
     119
     120
     121
     122
    62123BODY#theCategoryPage div.thumbnailCategory div.description div.text p.Nb_images{ /*nombres de photos*/
     124
    63125    width:160px;
     126
    64127        height:5px;
     128
    65129        text-align: left;
     130
    66131        margin-top:75px;
     132
    67133        margin-left:-155px;
     134
    68135    font-size:10px;
    69136
    70 }
     137
     138
     139}
     140
    71141BODY#theCategoryPage div.thumbnailCategory {
     142
    72143        display: inline-block;
     144
    73145        margin: 5px auto;
     146
    74147        padding:5px;
     148
    75149        vertical-align: middle;
     150
    76151        width:450px;
     152
    77153        height:135px;
     154
    78155        text-align: center;
     156
    79157    background-image:url(images/mur1.jpg);
     158
    80159         box-shadow: 8px 8px 12px #000000;
     160
    81161    -webkit-box-shadow: 8px 8px 12px #000000;
     162
    82163    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=8, Direction=135, Color='#000000')";/* pour IE8 */ 
     164
    83165    border: ridge 1px;
     166
    84167    border-radius:1em;
     168
    85169    border-color:#3f3f3f;
    86 }
     170
     171}
     172
    87173BODY#theCategoryPage div.thumbnailCategory * {
     174
    88175        vertical-align: middle;
    89 }
     176
     177}
     178
    90179BODY#theCategoryPage div.thumbnailCategory div.illustration img { /*taille et forme photo cathegorie*/
     180
    91181    width:160px;
     182
    92183        height: 96px;
     184
    93185        margin-left: -225px;
     186
    94187        margin-top:10px;
     188
    95189        box-shadow: 8px 8px 12px #000000;
     190
    96191    -webkit-box-shadow: 8px 8px 12px #000000;
     192
    97193    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=8, Direction=135, Color='#000000')";/* pour IE8 */ 
     194
    98195    border: ridge 1px;
     196
    99197    border-radius:1em;
     198
    100199    border-color:#3f3f3f;
    101 }
     200
     201}
     202
     203
     204
    102205
    103206
    104207BODY#theCategoryPage div.thumbnailCategory div.description h3 {
     208
    105209        text-align:center;
    106 }
     210
     211}
     212
    107213#la_description {
     214
    108215        display:none;
    109 }
     216
     217}
     218
    110219/* text color */
     220
    111221BODY, H1, H3, DT, INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ {
     222
    112223        color:#e0e0e0;
    113 }
     224
     225}
     226
    114227H2, #menubar DT, .throw {
     228
    115229        color: #ffffff;
    116 }
     230
     231}
     232
    117233#content .navigationBar {
     234
    118235        color: #aaaaaa;
    119 }
     236
     237}
     238
    120239#content .pageNumberSelected {
     240
    121241        color: #000000;
    122 }
     242
     243}
     244
    123245.tabsheet li, .tabsheet li a {
     246
    124247        color: #fff;
    125 }
     248
     249}
     250
    126251.tabsheet li a:hover {
     252
    127253        color: #fff48e;
    128 }
     254
     255}
     256
    129257/* backgrounds */
     258
    130259BODY {
     260
    131261        background-image: url(images/mur.jpg);
    132 }
     262
     263}
     264
    133265BODY#theCategoryPage #the_page {
     266
    134267        background:transparent;
     268
    135269        background-repeat: repeat;
     270
    136271        background-attachment: fixed;
     272
    137273        border: none;
    138 }
     274
     275}
     276
    139277BODY#thePicturePage #theHeader {
     278
    140279        background:transparent;
    141 }
     280
     281}
     282
    142283H3, #the_page, #imageHeaderBar, #imageToolBar A:hover, .row1 {
     284
    143285        background:transparent;
    144 }
     286
     287}
     288
    145289#menubar DL, #content, #imageToolBar, .header_notes, .content {
     290
    146291        background: transparent;
    147 }
     292
     293}
     294
    148295H2, #menubar DT, .throw {
     296
    149297        background-image: url(images/tableh1_bg.png);
    150 }
     298
     299}
     300
    151301#imageHeaderBar H2 {
     302
    152303        background-image: none;
     304
    153305        background-color: transparent;
     306
    154307        border: none;
    155 }
     308
     309}
     310
    156311#imageHeaderBar {
     312
    157313        background-image: url(images/tableh2_bg.png);
     314
    158315        background-repeat: repeat-x;
     316
    159317        background-position: center;
    160 }
     318
     319}
     320
    161321.tabsheet li {
     322
    162323        background-color: #3f3f3f;
    163 }
     324
     325}
     326
    164327.selected_tab {
     328
    165329        background-color: #5f5f5f !important;
    166 }
     330
     331}
     332
    167333/* borders */
     334
    168335#menubar DL, #content, .content,#comments DIV.comment BLOCKQUOTE {
     336
    169337border: none;
    170 }
     338
     339}
     340
    171341#imageHeaderBar {
     342
    172343background-image: url(images/mur1.jpg);
     344
    173345box-shadow: 8px 8px 12px #000000;
     346
    174347-webkit-box-shadow: 8px 8px 12px #000000;
     348
    175349-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=8, Direction=135, Color='#000000')";/* pour IE8 */ 
     350
    176351border-radius:1em;
    177 }
     352
     353}
     354
     355
    178356
    179357#menubar DL {
     358
    180359margin-bottom:-1px;
     360
    181361border:1px solid #303030;
     362
    182363background-image:url(images/mur1.jpg);
     364
    183365}
    184366
    185367
     368
     369
     370
    186371 H2, #menubar DT, #imageToolBar {
     372
    187373  border-bottom: 0px solid #cc0000;
     374
    188375}
     376
    189377#theImage img {
     378
    190379 border: 8px solid #333333;/*cadre des photos moyenne*/
     380
    191381 margin-top: 10px;
     382
    192383 margin-bottom: 10px;
     384
    193385 }
    194 }
     386
     387}
     388
    195389#content UL.thumbnail IMG {
     390
    196391        border: 1px solid #a0a0a0;
    197 }
     392
     393}
     394
    198395FIELDSET, INPUT, SELECT, TEXTAREA, #content DIV.comment A.illustration IMG, #infos, #content DIV.thumbnailCategory {
     396
    199397        border: 1px solid #303030;; /*bordure de photos */
    200 }
     398
     399}
     400
    201401#comments DIV.comment BLOCKQUOTE {
     402
    202403        border-left: 2px solid #696969;
    203 }
     404
     405}
     406
    204407       
     408
    205409#content UL.thumbnails SPAN, .thumbnails .wrap2 A, .thumbnails LABEL { /*taille miniatures album*/
     410
    206411    width: 190px;
     412
    207413    margin-left:30px;
     414
    208415}       
    209416
    210417
     418
     419
     420
    211421#content UL.thumbnails SPAN.wrap2 {
     422
    212423    background-image:url(images/mur3.jpg);
     424
    213425        border: 1px solid #aaaaaa;      /* thumbnails border color and style */
     426
    214427        -moz-border-radius: 10px;       /* round corners with Geko */
     428
    215429        border-radius: 10px 10px;       /* round corners with CSS3 compliant browsers */
    216 }
     430
     431}
     432
    217433#content UL.thumbnails SPAN.wrap2:hover, #content UL.thumbnailCategories DIV.thumbnailCategory:hover{
     434
    218435        border-color: none;   /* thumbnails border color when mouse cursor is over it */
     436
    219437    background-image:url(images/mur7.jpg);
     438
    220439        -moz-border-radius: 10px;       /* round corners with Geko */
     440
    221441        border-radius: 10px 10px;       /* round corners with CSS3 compliant browsers */
    222 }
     442
     443}
     444
    223445#content UL.thumbnailCategories DIV.thumbnailCategory:hover A{
     446
    224447    color: #6D071A;    /*couleur lien cathegorie selactiopnner*/
    225 }
     448
     449}
     450
    226451#content UL.thumbnailCategories DIV.thumbnailCategory:hover {
     452
    227453    color: #6D071A;   /*couleur texte cathegorie selectionner*/
    228 }
     454
     455}
     456
     457
    229458
    230459ul.tabsheet {
     460
    231461        border-color: #fff48e;
    232 }
     462
     463}
     464
    233465.tabsheet li {
     466
    234467        border: 1px solid #fff;
    235 }
     468
     469}
     470
    236471.tabsheet li:hover {
     472
    237473        border-color: #fff48e !important;
    238 }
     474
     475}
     476
    239477/* links */
     478
    240479A, INPUT.rateButton {
     480
    241481        color: #FFFFFF;
    242 }
     482
     483}
     484
    243485A:hover {
     486
    244487color: #CC6600;                      /*texte lien menu selectionner*/
     488
    245489border: none;
    246 }
     490
     491}
     492
    247493#imageToolBar A, #imageToolBar A:hover, A.navThumb, A.navThumb:hover {
     494
    248495    color: #CC6600;                   /*texte lien cathegorie selectionner*/
     496
    249497        border-bottom: none;
    250 }
     498
     499}
     500
    251501#theHeader A {
     502
    252503        text-decoration: none;
     504
    253505        margin: 0px;
     506
    254507        padding: 0px;
    255 }
     508
     509}
     510
    256511/* others */
     512
    257513.thumbnailCategories blockquote UL LI {
     514
    258515        list-style-position: outside;
     516
    259517        list-style-type:circle;
     518
    260519        background:red;
    261 }
     520
     521}
     522
    262523.thumbnailCategories blockquote OL LI {
     524
    263525        list-style-position: outside;
     526
    264527        list-style-type: decimal;
    265 }
     528
     529}
     530
    266531.pleaseNote {
     532
    267533        background: #9c9c9c;
     534
    268535        color: #ffff99;
     536
    269537        padding: 1ex;
     538
    270539        font-weight: bold;
    271 }
     540
     541}
     542
    272543#the_page {
     544
    273545        border: none;    /*page photos*/
     546
    274547        padding-top: 5px;
     548
    275549        padding-bottom:30px;
     550
    276551        display:block;
    277 }
     552
     553}
     554
    278555.pwg-icon {
     556
    279557        background-image: url(../default/s26/outline_ffffff.png);
    280 }
     558
     559}
     560
    281561A:hover .pwg-icon {
     562
    282563        background-image: url(../default/s26/outline_ffff80.png);
    283 }
     564
     565}
     566
    284567/*calendar elements*/
     568
    285569SPAN.calItemEmpty {
     570
    286571        color: silver;
    287 }
     572
     573}
     574
    288575SPAN.calItem, SPAN.calItemEmpty {
     576
    289577        border: 1px solid gray;
    290 }
     578
     579}
     580
    291581/* nice looking month calendar*/
     582
    292583TD.calDayCellEmpty, TD.calDayCellFull {
     584
    293585        border: 1px solid gray;
    294 }
     586
     587}
     588
    295589TD.calDayCellEmpty {
     590
    296591        color: silver;
    297 }
     592
     593}
     594
    298595.calBackDate {
     596
    299597        color: #000;
    300 }
     598
     599}
     600
    301601.calForeDate {
     602
    302603        color: #fff;
    303 }
     604
     605}
     606
    304607.virtual_cat {
     608
    305609        background: #3f3f3f !important;
    306 }
     610
     611}
     612
    307613.qsearch {
     614
    308615        font-size: 80%;
     616
    309617        font-style: normal;
    310 }
     618
     619}
     620
    311621#mbMenu #quicksearch > p {
     622
    312623        text-align: left;
    313 }
     624
     625}
     626
  • extensions/Wall/themeconf.inc.php

    r17091 r17104  
    11<?php
     2
    23/*
     4
    35Theme Name: Wall
     6
    47Version: auto
    58Description: tableau accroché au mur
    6 Theme URI: http://piwigo.org/ext/extension_view.php?eid=542
     9
     10Theme URI: http://piwigo.org/ext/extension_view.php?eid=624
    711Author: Sixpo
     12
    813Author URI:
     14
    915*/
     16
    1017$themeconf = array(
     18
    1119  'name' => 'Wall',
     20
    1221  'parent'        => 'default',
     22
    1323  'icon_dir'      => 'themes/Wall/icon',
     24
    1425  'mime_icon_dir' => 'themes/Wall/icon/mimetypes/',
     26
    1527  'local_head'          => 'local_head.tpl',
     28
    1629  );
    1730
     31
     32
    1833$conf['level_separator'] = ' &raquo; ';
     34
    1935$conf['paginate_pages_around'] = 7;
     36
    2037$conf['show_picture_name_on_title'] = false;
     38
    2139$conf['show_thumbnail_caption'] = false;
    2240
     41
     42
    2343?>
     44
Note: See TracChangeset for help on using the changeset viewer.