Ignore:
Timestamp:
Jun 15, 2011, 6:57:22 AM (13 years ago)
Author:
tearran
Message:
 
Location:
extensions/PaysonsPlaces
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • extensions/PaysonsPlaces/template/footer.tpl

    r11346 r11378  
    1 <link rel="stylesheet" type="text/css" href="../theme.css">
     1<link rel="stylesheet" type="text/css" href="../theme.css">"
     2
    23</td>
    34                </tr>
     
    3233{/if}
    3334
    34 
    35                         </td>
     35</td>
    3636        </tr>
    3737</tbody></table>
  • extensions/PaysonsPlaces/template/header.tpl

    r11346 r11378  
    5555<link rel="stylesheet" type="text/css" href="../theme.css">
    5656</head>
    57 
    5857<body id="{$BODY_ID}">
    59 <table id="fullheight" cellspacing="20" width="100%" >
    60 
    61 <tbody><tr>
    62                   <td id="banner">
    63          
    64 {if not empty($header_msgs)}
    65 <div class="header_msgs">
     58        <table id="fullheight" cellspacing="20" width="100%" >
     59                <tbody>
     60                <tr>
     61                         <td id="banner">
     62        {if not empty($header_msgs)}
     63                <div class="header_msgs">
    6664        {foreach from=$header_msgs item=elt}
    6765        {$elt}<br>
    6866        {/foreach}
    69 </div>
    70 {/if}
     67                </div>
     68        {/if}
    7169
    7270<div id="theHeader">{$PAGE_BANNER}</div>
     
    7977</div>
    8078{/if}
    81 <div><img src="themes/paysonsplaces/images/banner.png"></div>
     79
    8280{$MENUBAR}</td>
    8381                </tr>
  • extensions/PaysonsPlaces/template/index.tpl

    r11346 r11378  
    1 <link rel="stylesheet" type="text/css" href="../theme.css">
     1
    22{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
    33{*<div id="content" class="content">*}
    44<div class="titrePage" id="nav-1">
    5 
    65        <ul class="categoryActions">
    76{if !empty($image_orders)}
     
    109108{/if}
    110109
    111 
     110{if !empty($CONTENT_DESCRIPTION)}
     111<fieldset  style="background-color:#ffffff">   
     112                <legend>
     113<b>Description</b>
     114        </legend>
     115<div class="padding" class="text" >
     116{$CONTENT_DESCRIPTION}
     117</div>
     118</fieldset>         
     119{/if}
    112120
    113121{if !empty($CATEGORIES)}{$CATEGORIES}{/if}
     
    118126{/if}
    119127
    120 {if !empty($CONTENT_DESCRIPTION)}
    121 <table class="padding">
    122 <tr>
    123         <td class="padding" id="des_m_p" class="text">
    124128
    125 {$CONTENT_DESCRIPTION}
    126 
    127     </td>
    128   </tr>
    129 </table>   
    130 {/if}
    131129
    132130{if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
  • extensions/PaysonsPlaces/template/mainpage_categories.tpl

    r11346 r11378  
    33{foreach from=$category_thumbnails item=cat}
    44        <li>
    5 <div class="padding">
     5
     6<fieldset>     
     7                <legend>
     8                <a href="{$cat.URL}">{$cat.NAME}</a>
     9                {if !empty($cat.icon_ts)}
     10                        <img src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" alt="(!)" width="44" height="18" title="{$cat.icon_ts.TITLE}" />
     11                {else}
     12        <spacer width="44" height="18">&nbsp;</spacer>
     13        {/if}
     14        </legend>
     15
    616<table >
    717 <tr >
    8     <td width="96" class="padding">
     18    <td class="padding">
    919        <a href="{$cat.URL}">
    1020                                <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}">
    1121                        </a>
    12 <center>
    13 <a href="{$cat.URL}">{$cat.NAME}</a>
    14 {if !empty($cat.icon_ts)}
    15 <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" alt="(!)">
    16 {/if}
    17 
    18 </center>
    1922        </td>
    20     {if not empty($cat.DESCRIPTION)}
     23{if not empty($cat.DESCRIPTION)}
    2124    <td class="padding" id="des_m_p">
    2225        <div id="scroll" class="text">
     
    2629        {else}
    2730    <td class="padding" id="cat_box">
    28         <div id="scroll_1" class="text">
    29                         <p></p>                         
     31        <div id="scroll" class="text">
     32                        <p>&nbsp;</p>
    3033                </div>
    3134        </div>
    32          {/if}
    33 </td>
     35{/if}
     36        </td>
    3437</tr>
    3538 
    3639</table>
     40</fieldset>     
    3741
    38 </div>
    39 
    40         </li>
     42</li>
    4143{/foreach}
    4244</ul>
  • extensions/PaysonsPlaces/theme.css

    r11346 r11378  
    144144        -moz-box-shadow: 1px 1px 2px;
    145145        box-shadow: 1px 1px 2px;
    146         background-image: url(theme/paysonsplaces/theme/paysonsplaces/images/bg_bw.jpg);
     146        background-image: url(images/bg_bw.jpg);
    147147        background-attachment: fixed;
    148148        background-repeat: no-repeat;
     
    156156        margin: 0px;
    157157        padding: 0px;
    158         background-image: url(images/bg_c.JPG);
    159 }
     158        background-image: url(images/bg_c.jpg);
     159}
     160
    160161   html,body{
    161162      margin:0;
     
    194195        -moz-box-shadow: 1px 1px 2px;
    195196        box-shadow: 1px 1px 2px;
    196         background-image: url(theme/paysonsplaces/images/bg_bw.jpg);
     197        background-image: url(images/bg_bw.jpg);
    197198        background-attachment: fixed;
    198199        background-repeat: no-repeat;
     
    215216        -moz-box-shadow: 1px 1px 2px;
    216217        box-shadow: 1px 1px 2px;
    217         background-image: url(theme/paysonsplaces/images/bg_bw.jpg);
     218        background-image: url(images/bg_bw.jpg);
    218219        background-attachment: fixed;
    219220        background-repeat: no-repeat;
     
    235236        -moz-box-shadow: inset  0px ;
    236237        box-shadow: inset 0px ;*/
     238       
    237239        margin: 10px;
    238240        margin-bottom: 0px;
    239241        width: 100%;
    240         height: 128px;
    241 
     242        border-color: #EAEAEA;
     243        border-style: groove;
     244        border-width: 2px;
    242245}
    243246#des_m_p {
    244         -moz-border-radius: 18px;
    245         border-radius: 8px;
     247        /*border-radius: 8px;
    246248        -webkit-box-shadow: inset 1px 1px 2px;
    247249        -moz-box-shadow: inset  1px 1px 2px;
    248         box-shadow: inset 1px 1px 2px;
     250        box-shadow: inset 1px 1px 2px;*/
    249251        margin: 10px;
    250252        margin-bottom: 0px;
    251253        width: 100%;
    252254        background-color: #FFFFFF;
     255        border-color: threedface;
     256        border-style: groove;
     257        border-width: 2px;
    253258}
    254259#nav-1 {
     
    281286        height: 128px;
    282287        overflow: auto;
    283         background-color: #FFFFFF;
    284288        width: inherit;
    285289        text-align: inherit;
     
    312316        border-right: 10;
    313317}
    314 #scroll_1 {
    315         height: 128px;
    316         overflow: auto;
    317         width: inherit;
    318         text-align: inherit;
    319         padding: 0px;
    320 }
    321318#comments .description {
    322319        font-size: 100%;
  • extensions/PaysonsPlaces/themeconf.inc.php

    r11346 r11378  
    1212        'parent' => 'default',
    1313        'icon_dir' => 'themes/paysonsplaces/icon',
     14        'add_menu_on_public_pages' => true,     # activation
     15        'Exclude' => array('theNBMPage','thePopuphelpPage',)
    1416);
     17
     18// thx to Vdigital and his plugin spreadmenus
     19if ( !function_exists( 'add_menu_on_public_pages' ) ) {
     20//      if ( defined('IN_ADMIN') and IN_ADMIN ) return false;
     21        add_event_handler('loc_after_page_header', 'add_menu_on_public_pages', 20);
     22
     23        function  add_menu_on_public_pages() {
     24          if ( function_exists( 'initialize_menu') ) return false; # The current page has already the menu
     25          if ( !get_themeconf('add_menu_on_public_pages') ) return false; # The current page has already the menu
     26          global $template, $page, $conf;
     27         // if ( isset($page['body_id']) and in_array($page['body_id'], get_themeconf('Exclude')) ) return false;
     28
     29          $template->set_filenames(array(
     30                'add_menu_on_public_pages' => dirname(__FILE__) . '/template/add_menu_on_public_pages.tpl',
     31          ));
     32          include_once(PHPWG_ROOT_PATH.'include/menubar.inc.php');
     33          $template->parse('add_menu_on_public_pages');
     34         
     35          if (is_admin())
     36                {
     37          $template->assign(
     38        'U_ADMIN', get_root_url().'admin.php?page=picture_modify'
     39      .'&amp;cat_id='.(isset($page['category']) ? $page['category']['id'] : '')
     40      .( isset($page['image_id']) ? '&amp;image_id='.$page['image_id'] : '')
     41      );
     42                }
     43         
     44        }
     45}
    1546?>
Note: See TracChangeset for help on using the changeset viewer.