[ Index ] |
|
Code source de Serendipity 1.2 |
1 {if $is_embedded != true} 2 {if $is_xhtml} 3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 5 {else} 6 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 7 "http://www.w3.org/TR/html4/loose.dtd"> 8 {/if} 9 10 <html xmlns="http://www.w3.org/1999/xhtml"> 11 <!-- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> --> 12 <head> 13 <title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title> 14 <meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" /> 15 <meta name="Powered-By" content="Serendipity v.{$head_version}" /> 16 <link rel="alternate" type="application/rss+xml" title="{$blogTitle} RSS feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/index.rss2" /> 17 <link rel="alternate" type="application/x.atom+xml" title="{$blogTitle} Atom feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/atom.xml" /> 18 {if $entry_id}<link rel="pingback" href="{$serendipityBaseURL}comment.php?type=pingback&entry_id={$entry_id}" />{/if} 19 <link rel="shortcut icon" href="{$serendipityBaseURL}favicon.ico" /> 20 <!-- base styles needed for bulletproof --> 21 <link rel="stylesheet" type="text/css" href="{serendipity_getFile file="base.css"}" /> 22 <!-- style.css --> 23 <link rel="stylesheet" type="text/css" href="{$head_link_stylesheet}" /> 24 <!--[if IE 6]> 25 <link rel="stylesheet" type="text/css" href="{serendipity_getFile file="ie6.css"}" /> 26 <![endif]--> 27 <!--[if IE 7]> 28 <link rel="stylesheet" type="text/css" href="{serendipity_getFile file="ie7.css"}" /> 29 <![endif]--> 30 <!-- additional colorset stylesheet --> 31 <link rel="stylesheet" type="text/css" href="{$serendipityHTTPPath}templates/{$template}/{$template_option.colorset}_style.css" /> 32 {if $template_option.custheader == 'true'} 33 <style type="text/css"> 34 #serendipity_banner {ldelim} 35 background-image: url({$template_option.headerimage}); 36 background-position: {$template_option.headerposhor} {$template_option.headerposver}; 37 {if $template_option.headertype == 'banner'} 38 background-repeat: no-repeat; 39 {elseif $template_option.headertype == 'htiled'} 40 background-repeat: repeat-x; 41 {elseif $template_option.headertype == 'vtiled'} 42 background-repeat: repeat-y; 43 {elseif $template_option.headertype == 'btiled'} 44 background-repeat: repeat; 45 {/if} 46 {rdelim} 47 </style> 48 {/if} 49 {if $template_option.jscolumns == 'true'}<script type="text/javascript" src="{$serendipityHTTPPath}templates/{$template}/js/p7_eqCols2_10.js"></script>{/if} 50 {serendipity_hookPlugin hook="frontend_header"} 51 </head> 52 53 <body{if $template_option.jscolumns == 'true'} onload="P7_equalCols2(0,{if $template_option.layouttype != '1col'}'content','DIV',{/if}'serendipityLeftSideBar','DIV','serendipityRightSideBar','DIV','serendipityLeftSideBarLeft','DIV','serendipityLeftSideBarRight','DIV')"{/if}> 54 {else}{serendipity_hookPlugin hook="frontend_header"}{/if} 55 {if $is_raw_mode != true} 56 57 <!-- #skiplinks: these are links used to navigate quickly in text-based browsers --> 58 <!-- they are of little use in modern graphical browsers, so the are --> 59 <!-- hidden using CSS --> 60 <div id="skiplinks"> 61 <ul> 62 <li><a href="skipnav">Skip to site navigation</a></li> 63 <li><a href="skipent">Skip to blog entries</a></li> 64 <li><a href="{$serendipityBaseURL}index.php?/archive">Skip to archive page</a></li> 65 <li><a href="skiplsb">Skip to left sidebar</a></li> 66 <li><a href="skiprsb">Skip to right sidebar</a></li> 67 </ul> 68 </div> 69 70 <!-- #wrapper: this wrapper div holds the actual blog content; it can be used to --> 71 <!-- give the blog a width in px or % plus an additional max-width in --> 72 <!-- order to limit the width in high resolutions to limit the length --> 73 <!-- of a line --> 74 <div id="wrapper"> 75 76 {if $template_option.sitenavpos == 'above'} 77 <!-- #sitenav: this holds a list of navigational links which can be customized --> 78 <!-- in the theme configurator --> 79 <div id="sitenav" class="snabove"> 80 <a name="skipnav"></a> 81 <ul> 82 {foreach from=$navlinks item="navlink" name=navbar} 83 <li{if $currpage == $navlink.href} class="currentpage"{/if}><a href="{$navlink.href}" title="{$navlink.title}">{$navlink.title}</a></li> 84 {/foreach} 85 </ul> 86 <!-- quicksearch option in the navigational link menu bar only when navbar is --> 87 <!-- above or below the banner --> 88 {if $template_option.sitenav_quicksearch == 'true'} 89 <form id="navbarsearchform" action="{$serendipityBaseURL}" method="get"><input type="hidden" name="serendipity[action]" value="search" /><input alt="{$CONST.QUICKSEARCH}" type="text" name="serendipity[searchTerm]" value="{$CONST.QUICKSEARCH}..." onfocus="if(this.value=='{$CONST.QUICKSEARCH}...')value=''" onblur="if(this.value=='')value='{$CONST.QUICKSEARCH}...';" /></form> 90 {/if} 91 </div> 92 {/if} 93 94 <!-- #serendipity_banner: this is the header area. it holds the blog title and --> 95 <!-- description headlines --> 96 <div id="serendipity_banner"> 97 <h1><span class="{if $template_option.firbtitle == 'false'}in{/if}visible"><a class="homelink1" href="{$serendipityBaseURL}">{$head_title|@default:$blogTitle|truncate:80:" ..."}</a></span></h1> 98 <h2><span class="{if $template_option.firbdescr == 'false'}in{/if}visible"><a class="homelink2" href="{$serendipityBaseURL}">{$head_subtitle|@default:$blogDescription}</a></span></h2> 99 </div> 100 <div id="serendipity_below_banner"></div> 101 102 {if $template_option.sitenavpos == 'below'} 103 <!-- #sitenav: this holds a list of navigational links which can be customized --> 104 <!-- in the theme configurator --> 105 <div id="sitenav" class="snbelow"> 106 <a name="skipnav"></a> 107 <ul> 108 {foreach from=$navlinks item="navlink"} 109 <li{if $currpage==$navlink.href} class="currentpage"{/if}><a href="{$navlink.href}" title="{$navlink.title}">{$navlink.title}</a></li> 110 {/foreach} 111 </ul> 112 <!-- quicksearch option in the navigational link menu bar only when navbar is --> 113 <!-- above or below the banner --> 114 {if $template_option.sitenav_quicksearch == 'true'} 115 <form id="navbarsearchform" action="{$serendipityBaseURL}" method="get"><input type="hidden" name="serendipity[action]" value="search" /><input alt="{$CONST.QUICKSEARCH}" type="text" name="serendipity[searchTerm]" value="{$CONST.QUICKSEARCH}..." onfocus="if(this.value=='{$CONST.QUICKSEARCH}...')value=''" onblur="if(this.value=='')value='{$CONST.QUICKSEARCH}...';" /></form> 116 {/if} 117 </div> 118 {/if} 119 120 <!-- this is the actual content of the blog, entries column plus one or two --> 121 <!-- sidebars, depending on how users configure their sidebar plugins --> 122 123 {if $template_option.layouttype == '3sbs'} 124 <!-- case 1: 3 columns, sidebar-content-sidebar --> 125 <div id="serendipityLeftSideBar" class="threeside"> 126 <a name="skiplsb"></a> 127 {if $template_option.sitenavpos == 'left'} 128 <!-- #sbsitenav: like #sitenav, but placed within the sidebar --> 129 <div id="sbsitenav" class="serendipitySideBarItem"> 130 <a name="skipnav"></a> 131 <h3 class="serendipitySideBarTitle">{$template_option.sitenav_sidebar_title}</h3> 132 <!-- the line below must remain as a single uninterrupted line to display correctly in ie6 --> 133 <ul>{foreach from=$navlinks item="navlink"}<li{if $currpage==$navlink.href} class="currentpage"{/if}><a href="{$navlink.href}" title="{$navlink.title}">{$navlink.title}</a></li>{/foreach}</ul> 134 <div class="serendipitySideBarFooter"></div> 135 </div> 136 {/if} 137 {serendipity_printSidebar side="left"} 138 </div> 139 <div id="content" class="threemain"> 140 <a name="skipent"></a> 141 {$CONTENT} 142 </div> 143 <div id="serendipityRightSideBar" class="threeside"> 144 <a name="skiprsb"></a> 145 {if $template_option.sitenavpos == 'right'} 146 <!-- #sbsitenav: like #sitenav, but placed within the sidebar --> 147 <div id="sbsitenav" class="serendipitySideBarItem"> 148 <a name="skipnav"></a> 149 <h3 class="serendipitySideBarTitle">{$template_option.sitenav_sidebar_title}</h3> 150 <!-- the line below must remain as a single uninterrupted line to display correctly in ie6 --> 151 <ul>{foreach from=$navlinks item="navlink"}<li{if $currpage==$navlink.href} class="currentpage"{/if}><a href="{$navlink.href}" title="{$navlink.title}">{$navlink.title}</a></li>{/foreach}</ul> 152 <div class="serendipitySideBarFooter"></div> 153 </div> 154 {/if} 155 {serendipity_printSidebar side="right"} 156 </div> 157 {/if} 158 159 {if $template_option.layouttype == '3bss'} 160 <!-- case 2: 3 columns, content-sidebar-sidebar --> 161 <div id="content" class="threemain"> 162 <a name="skipent"></a> 163 {$CONTENT} 164 </div> 165 <div id="serendipityLeftSideBar" class="threeside"> 166 <a name="skiplsb"></a> 167 {if $template_option.sitenavpos == 'left'} 168 <!-- #sbsitenav: like #sitenav, but placed within the sidebar --> 169 <div id="sbsitenav" class="serendipitySideBarItem"> 170 <a name="skipnav"></a> 171 <h3 class="serendipitySideBarTitle">{$template_option.sitenav_sidebar_title}</h3> 172 <!-- the line below must remain as a single uninterrupted line to display correctly in ie6 --> 173 <ul>{foreach from=$navlinks item="navlink"}<li{if $currpage==$navlink.href} class="currentpage"{/if}><a href="{$navlink.href}" title="{$navlink.title}">{$navlink.title}</a></li>{/foreach}</ul> 174 <div class="serendipitySideBarFooter"></div> 175 </div> 176 {/if} 177 {serendipity_printSidebar side="left"} 178 </div> 179 <div id="serendipityRightSideBar" class="threeside"> 180 <a name="skiprsb"></a> 181 {if $template_option.sitenavpos == 'right'} 182 <!-- #sbsitenav: like #sitenav, but placed within the sidebar --> 183 <div id="sbsitenav" class="serendipitySideBarItem"> 184 <a name="skipnav"></a> 185 <h3 class="serendipitySideBarTitle">{$template_option.sitenav_sidebar_title}</h3> 186 <!-- the line below must remain as a single uninterrupted line to display correctly in ie6 --> 187 <ul>{foreach from=$navlinks item="navlink"}<li{if $currpage==$navlink.href} class="currentpage"{/if}><a href="{$navlink.href}" title="{$navlink.title}">{$navlink.title}</a></li>{/foreach}</ul> 188 <div class="serendipitySideBarFooter"></div> 189 </div> 190 {/if} 191 {serendipity_printSidebar side="right"} 192 </div> 193 {/if} 194 195 {if $template_option.layouttype == '3ssb'} 196 <!-- case 3: 3 columns, sidebar-sidebar-content --> 197 <div id="serendipityLeftSideBarLeft" class="threeside"> 198 <a name="skiplsb"></a> 199 {if $template_option.sitenavpos == 'left'} 200 <!-- #sbsitenav: like #sitenav, but placed within the sidebar --> 201 <div id="sbsitenav" class="serendipitySideBarItem"> 202 <a name="skipnav"></a> 203 <h3 class="serendipitySideBarTitle">{$template_option.sitenav_sidebar_title}</h3> 204 <!-- the line below must remain as a single uninterrupted line to display correctly in ie6 --> 205 <ul>{foreach from=$navlinks item="navlink"}<li{if $currpage==$navlink.href} class="currentpage"{/if}><a href="{$navlink.href}" title="{$navlink.title}">{$navlink.title}</a></li>{/foreach}</ul> 206 <div class="serendipitySideBarFooter"></div> 207 </div> 208 {/if} 209 {serendipity_printSidebar side="left"} 210 </div> 211 <div id="serendipityLeftSideBarRight" class="threeside"> 212 <a name="skiprsb"></a> 213 {if $template_option.sitenavpos == 'right'} 214 <!-- #sbsitenav: like #sitenav, but placed within the sidebar --> 215 <div id="sbsitenav" class="serendipitySideBarItem"> 216 <a name="skipnav"></a> 217 <h3 class="serendipitySideBarTitle">{$template_option.sitenav_sidebar_title}</h3> 218 <!-- the line below must remain as a single uninterrupted line to display correctly in ie6 --> 219 <ul>{foreach from=$navlinks item="navlink"}<li{if $currpage==$navlink.href} class="currentpage"{/if}><a href="{$navlink.href}" title="{$navlink.title}">{$navlink.title}</a></li>{/foreach}</ul> 220 <div class="serendipitySideBarFooter"></div> 221 </div> 222 {/if} 223 {serendipity_printSidebar side="right"} 224 </div> 225 <div id="content" class="threemain"> 226 <a name="skipent"></a> 227 {$CONTENT} 228 </div> 229 {/if} 230 231 {if $template_option.layouttype == '2sb'} 232 <!-- case 4: 2 columns, left sidebar only --> 233 <div id="serendipityLeftSideBar" class="twoside"> 234 <a name="skiplsb"></a> 235 {if $template_option.sitenavpos == 'left' or $template_option.sitenavpos == 'right'} 236 <!-- #sbsitenav: like #sitenav, but placed within the sidebar --> 237 <div id="sbsitenav" class="serendipitySideBarItem"> 238 <a name="skipnav"></a> 239 <h3 class="serendipitySideBarTitle">{$template_option.sitenav_sidebar_title}</h3> 240 <!-- the line below must remain as a single uninterrupted line to display correctly in ie6 --> 241 <ul>{foreach from=$navlinks item="navlink"}<li{if $currpage==$navlink.href} class="currentpage"{/if}><a href="{$navlink.href}" title="{$navlink.title}">{$navlink.title}</a></li>{/foreach}</ul> 242 <div class="serendipitySideBarFooter"></div> 243 </div> 244 {/if} 245 {serendipity_printSidebar side="left"} 246 {serendipity_printSidebar side="right"} 247 </div> 248 <div id="content" class="twomain"> 249 <a name="skipent"></a> 250 {$CONTENT} 251 </div> 252 {/if} 253 254 {if $template_option.layouttype == '2bs'} 255 <!-- case 5: 2 columns, right sidebar only --> 256 <div id="content" class="twomain"> 257 <a name="skipent"></a> 258 {$CONTENT} 259 </div> 260 <div id="serendipityRightSideBar" class="twoside"> 261 <a name="skiprsb"></a> 262 {if $template_option.sitenavpos == 'left' or $template_option.sitenavpos == 'right'} 263 <!-- #sbsitenav: like #sitenav, but placed within the sidebar --> 264 <div id="sbsitenav" class="serendipitySideBarItem"> 265 <a name="skipnav"></a> 266 <h3 class="serendipitySideBarTitle">{$template_option.sitenav_sidebar_title}</h3> 267 <!-- the line below must remain as a single uninterrupted line to display correctly in ie6 --> 268 <ul>{foreach from=$navlinks item="navlink"}<li{if $currpage==$navlink.href} class="currentpage"{/if}><a href="{$navlink.href}" title="{$navlink.title}">{$navlink.title}</a></li>{/foreach}</ul> 269 <div class="serendipitySideBarFooter"></div> 270 </div> 271 {/if} 272 {serendipity_printSidebar side="left"} 273 {serendipity_printSidebar side="right"} 274 </div> 275 {/if} 276 277 {if $template_option.layouttype == '1col'} 278 <!-- case 6: 1 column, sidebar(s) below --> 279 <div id="content" class="onemain"> 280 <a name="skipent"></a> 281 {$CONTENT} 282 </div> 283 284 {if $leftSidebarElements > 0} 285 <div id="serendipityLeftSideBarLeft" {if $rightSidebarElements > 0}class="oneside"{else}class="onefull"{/if}> 286 <a name="skiplsb"></a> 287 {if $template_option.sitenavpos == 'left'} 288 <!-- #sbsitenav: like #sitenav, but placed within the sidebar --> 289 <div id="sbsitenav" class="serendipitySideBarItem"> 290 <a name="skipnav"></a> 291 <h3 class="serendipitySideBarTitle">{$template_option.sitenav_sidebar_title}</h3> 292 <!-- the line below must remain as a single uninterrupted line to display correctly in ie6 --> 293 <ul>{foreach from=$navlinks item="navlink"}<li{if $currpage==$navlink.href} class="currentpage"{/if}><a href="{$navlink.href}" title="{$navlink.title}">{$navlink.title}</a></li>{/foreach}</ul> 294 <div class="serendipitySideBarFooter"></div> 295 </div> 296 {/if} 297 {serendipity_printSidebar side="left"} 298 </div> 299 {/if} 300 301 {if $rightSidebarElements > 0} 302 <div id="serendipityRightSideBar" {if $leftSidebarElements > 0}class="oneside"{else}class="onefull"{/if}> 303 <a name="skiprsb"></a> 304 {if $template_option.sitenavpos == 'right'} 305 <!-- #sbsitenav: like #sitenav, but placed within the sidebar --> 306 <div id="sbsitenav" class="serendipitySideBarItem"> 307 <a name="skipnav"></a> 308 <h3 class="serendipitySideBarTitle">{$template_option.sitenav_sidebar_title}</h3> 309 <!-- the line below must remain as a single uninterrupted line to display correctly in ie6 --> 310 <ul>{foreach from=$navlinks item="navlink"}<li{if $currpage==$navlink.href} class="currentpage"{/if}><a href="{$navlink.href}" title="{$navlink.title}">{$navlink.title}</a></li>{/foreach}</ul> 311 <div class="serendipitySideBarFooter"></div> 312 </div> 313 {/if} 314 {serendipity_printSidebar side="right"} 315 </div> 316 {/if} 317 {/if} 318 319 <!-- #footer: the page footer can be used for additional information --> 320 <div id="footer"> 321 {if $template_option.footer_text_toggle == 'true'} 322 <p>{$template_option.footer_text}</p> 323 {/if} 324 <div id="serendipity_bulletproof_button"><a href="http://s9y-bulletproof.com" title="Based on the s9y Bulletproof template framework"><img src="{$serendipityHTTPPath}templates/{$template}/img/bulletproof_button.png" alt="Based on the s9y Bulletproof template framework" width="100" height="28" /></a></div> 325 <div id="serendipity_credit_line">{$CONST.POWERED_BY} <a href="http://www.s9y.org">s9y</a> – Template by <a href="http://s9y-bulletproof.com">Bulletproof development team</a>.</div> 326 {if $template_option.counter_code_toggle == 'true'} 327 <div class="counter_code">{$template_option.counter_code}</div> 328 {/if} 329 <!-- option to display navigation links in the footer --> 330 {if ($template_option.sitenavpos != 'none' and $template_option.sitenav_footer == 'true')} 331 <div id="footer_sitenav"> 332 <ul> 333 {foreach from=$navlinks item="navlink" name=navbar} 334 <li{if $currpage == $navlink.href} class="currentpage"{/if}><a href="{$navlink.href}" title="{$navlink.title}">{$navlink.title}</a></li> 335 {/foreach} 336 </ul> 337 </div> 338 {/if} 339 </div> 340 </div> 341 {/if} 342 343 {$raw_data} 344 {serendipity_hookPlugin hook="frontend_footer"} 345 {if $is_embedded != true} 346 </body> 347 </html> 348 {/if}
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Nov 24 09:00:37 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |