Changeset 11378 for extensions
- Timestamp:
- Jun 15, 2011, 6:57:22 AM (13 years ago)
- 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 2 3 </td> 3 4 </tr> … … 32 33 {/if} 33 34 34 35 </td> 35 </td> 36 36 </tr> 37 37 </tbody></table> -
extensions/PaysonsPlaces/template/header.tpl
r11346 r11378 55 55 <link rel="stylesheet" type="text/css" href="../theme.css"> 56 56 </head> 57 58 57 <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"> 66 64 {foreach from=$header_msgs item=elt} 67 65 {$elt}<br> 68 66 {/foreach} 69 </div>70 {/if}67 </div> 68 {/if} 71 69 72 70 <div id="theHeader">{$PAGE_BANNER}</div> … … 79 77 </div> 80 78 {/if} 81 <div><img src="themes/paysonsplaces/images/banner.png"></div> 79 82 80 {$MENUBAR}</td> 83 81 </tr> -
extensions/PaysonsPlaces/template/index.tpl
r11346 r11378 1 <link rel="stylesheet" type="text/css" href="../theme.css"> 1 2 2 {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if} 3 3 {*<div id="content" class="content">*} 4 4 <div class="titrePage" id="nav-1"> 5 6 5 <ul class="categoryActions"> 7 6 {if !empty($image_orders)} … … 109 108 {/if} 110 109 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} 112 120 113 121 {if !empty($CATEGORIES)}{$CATEGORIES}{/if} … … 118 126 {/if} 119 127 120 {if !empty($CONTENT_DESCRIPTION)}121 <table class="padding">122 <tr>123 <td class="padding" id="des_m_p" class="text">124 128 125 {$CONTENT_DESCRIPTION}126 127 </td>128 </tr>129 </table>130 {/if}131 129 132 130 {if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} -
extensions/PaysonsPlaces/template/mainpage_categories.tpl
r11346 r11378 3 3 {foreach from=$category_thumbnails item=cat} 4 4 <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"> </spacer> 13 {/if} 14 </legend> 15 6 16 <table > 7 17 <tr > 8 <td width="96"class="padding">18 <td class="padding"> 9 19 <a href="{$cat.URL}"> 10 20 <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}"> 11 21 </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>19 22 </td> 20 23 {if not empty($cat.DESCRIPTION)} 21 24 <td class="padding" id="des_m_p"> 22 25 <div id="scroll" class="text"> … … 26 29 {else} 27 30 <td class="padding" id="cat_box"> 28 <div id="scroll _1" class="text">29 <p> </p>31 <div id="scroll" class="text"> 32 <p> </p> 30 33 </div> 31 34 </div> 32 33 </td>35 {/if} 36 </td> 34 37 </tr> 35 38 36 39 </table> 40 </fieldset> 37 41 38 </div> 39 40 </li> 42 </li> 41 43 {/foreach} 42 44 </ul> -
extensions/PaysonsPlaces/theme.css
r11346 r11378 144 144 -moz-box-shadow: 1px 1px 2px; 145 145 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); 147 147 background-attachment: fixed; 148 148 background-repeat: no-repeat; … … 156 156 margin: 0px; 157 157 padding: 0px; 158 background-image: url(images/bg_c.JPG); 159 } 158 background-image: url(images/bg_c.jpg); 159 } 160 160 161 html,body{ 161 162 margin:0; … … 194 195 -moz-box-shadow: 1px 1px 2px; 195 196 box-shadow: 1px 1px 2px; 196 background-image: url( theme/paysonsplaces/images/bg_bw.jpg);197 background-image: url(images/bg_bw.jpg); 197 198 background-attachment: fixed; 198 199 background-repeat: no-repeat; … … 215 216 -moz-box-shadow: 1px 1px 2px; 216 217 box-shadow: 1px 1px 2px; 217 background-image: url( theme/paysonsplaces/images/bg_bw.jpg);218 background-image: url(images/bg_bw.jpg); 218 219 background-attachment: fixed; 219 220 background-repeat: no-repeat; … … 235 236 -moz-box-shadow: inset 0px ; 236 237 box-shadow: inset 0px ;*/ 238 237 239 margin: 10px; 238 240 margin-bottom: 0px; 239 241 width: 100%; 240 height: 128px; 241 242 border-color: #EAEAEA; 243 border-style: groove; 244 border-width: 2px; 242 245 } 243 246 #des_m_p { 244 -moz-border-radius: 18px; 245 border-radius: 8px; 247 /*border-radius: 8px; 246 248 -webkit-box-shadow: inset 1px 1px 2px; 247 249 -moz-box-shadow: inset 1px 1px 2px; 248 box-shadow: inset 1px 1px 2px; 250 box-shadow: inset 1px 1px 2px;*/ 249 251 margin: 10px; 250 252 margin-bottom: 0px; 251 253 width: 100%; 252 254 background-color: #FFFFFF; 255 border-color: threedface; 256 border-style: groove; 257 border-width: 2px; 253 258 } 254 259 #nav-1 { … … 281 286 height: 128px; 282 287 overflow: auto; 283 background-color: #FFFFFF;284 288 width: inherit; 285 289 text-align: inherit; … … 312 316 border-right: 10; 313 317 } 314 #scroll_1 {315 height: 128px;316 overflow: auto;317 width: inherit;318 text-align: inherit;319 padding: 0px;320 }321 318 #comments .description { 322 319 font-size: 100%; -
extensions/PaysonsPlaces/themeconf.inc.php
r11346 r11378 12 12 'parent' => 'default', 13 13 'icon_dir' => 'themes/paysonsplaces/icon', 14 'add_menu_on_public_pages' => true, # activation 15 'Exclude' => array('theNBMPage','thePopuphelpPage',) 14 16 ); 17 18 // thx to Vdigital and his plugin spreadmenus 19 if ( !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 .'&cat_id='.(isset($page['category']) ? $page['category']['id'] : '') 40 .( isset($page['image_id']) ? '&image_id='.$page['image_id'] : '') 41 ); 42 } 43 44 } 45 } 15 46 ?>
Note: See TracChangeset
for help on using the changeset viewer.