[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/templates/default-php/ -> index.tpl (source)

   1  <?php if ($GLOBALS['tpl']['is_embedded'] != true): ?>
   2  <html>
   3  <head>
   4      <title><?= $GLOBALS['template']->getdefault('head_title', 'blogTitle'); ?> - <?= $GLOBALS['template']->getdefault('head_subtitle', 'blogDescription'); ?></title>
   5      <meta http-equiv="Content-Type" content="text/html; charset=<?= $GLOBALS['tpl']['head_charset']; ?>" />
   6      <meta name="Powered-By" content="Serendipity v.<?= $GLOBALS['tpl']['head_version']; ?>" />
   7      <link rel="stylesheet" type="text/css" href="<?= $GLOBALS['tpl']['head_link_stylesheet']; ?>" />
   8      <link rel="alternate"  type="application/rss+xml" title="<?= $GLOBALS['tpl']['blogTitle']; ?> RSS feed" href="<?= $GLOBALS['tpl']['serendipityBaseURL']; ?><?= $GLOBALS['tpl']['serendipityRewritePrefix']; ?>feeds/index.rss2" />
   9      <link rel="alternate"  type="application/x.atom+xml"  title="<?= $GLOBALS['tpl']['blogTitle']; ?> Atom feed"  href="<?= $GLOBALS['tpl']['serendipityBaseURL']; ?><?= $GLOBALS['tpl']['serendipityRewritePrefix']; ?>feeds/atom.xml" />
  10  <?php if ($GLOBALS['tpl']['entry_id']): ?>
  11      <link rel="pingback" href="<?= $GLOBALS['tpl']['serendipityBaseURL']; ?>comment.php?type=pingback&amp;entry_id=<?= $GLOBALS['tpl']['entry_id']; ?>" />
  12  <?php endif; ?>
  13  
  14  <?php serendipity_plugin_api::hook_event('frontend_header', $GLOBALS['template']); ?>
  15  </head>
  16  
  17  <body>
  18  <?php else: ?>
  19  <?php serendipity_plugin_api::hook_event('frontend_header', $GLOBALS['template']); ?>
  20  <?php endif; ?>
  21  
  22  <?php if ($GLOBALS['tpl']['is_raw_mode'] != true): ?>
  23  <div id="serendipity_banner">
  24      <h1><a class="homelink1" href="<?= $GLOBALS['tpl']['serendipityBaseURL']; ?>"><?= $GLOBALS['template']->getdefault('head_title', 'blogTitle'); ?></a></h1>
  25      <h2><a class="homelink2" href="<?= $GLOBALS['tpl']['serendipityBaseURL']; ?>"><?= $GLOBALS['template']->getdefault('head_subtitle', 'blogDescription'); ?></a></h2>
  26  </div>
  27  
  28  <table id="mainpane">
  29      <tr>
  30  <?php if ($GLOBALS['tpl']['leftSidebarElements'] > 0): ?>
  31          <td id="serendipityLeftSideBar" valign="top"><?php echo serendipity_plugin_api::generate_plugins('left'); ?></td>
  32  <?php endif; ?>
  33          <td id="content" valign="top"><?= $GLOBALS['tpl']['CONTENT']; ?></td>
  34  <?php if ($GLOBALS['tpl']['rightSidebarElements'] > 0): ?>
  35          <td id="serendipityRightSideBar" valign="top"><?php echo serendipity_plugin_api::generate_plugins('right'); ?></td>
  36  <?php endif; ?>
  37      </tr>
  38  </table>
  39  <?php endif; ?>
  40  
  41  <?= $GLOBALS['tpl']['raw_data']; ?>
  42  <?php serendipity_plugin_api::hook_event('frontend_footer', $GLOBALS['template']); ?>
  43  
  44  <?php if ($GLOBALS['tpl']['is_embedded'] != true): ?>
  45  </body>
  46  </html>
  47  <?php endif; ?>
  48  


Généré le : Sat Nov 24 09:00:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics