[ Index ]
 

Code source de IMP H3 (4.1.5)

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/templates/ -> common-header.inc (source)

   1  <?php
   2  global $language;
   3  if (isset($language)) {
   4      header('Content-type: text/html; charset=' . NLS::getCharset());
   5      header('Vary: Accept-Language');
   6  }
   7  ?>
   8  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
   9  <!-- IMP: Copyright 2001-2006, The Horde Project. IMP is under the GPL. -->
  10  <!--   Horde Project: http://horde.org/ | IMP: http://horde.org/imp/    -->
  11  <!--      GNU Public License: http://www.fsf.org/copyleft/gpl.html      -->
  12  <?php
  13  echo (!empty($language)) ? '<html lang="' . strtr($language, '_', '-') . '"' : '<html';
  14  echo (!empty($ie_clientcaps)) ? ' xmlns:IE>' : '>';
  15  ?>
  16  <head>
  17  <?php
  18  
  19  $page_title = $GLOBALS['registry']->get('name');
  20  if (!empty($title)) $page_title .= ' :: ' . $title;
  21  if (!empty($refresh_time) && !empty($refresh_url)) {
  22      echo "<meta http-equiv=\"refresh\" content=\"$refresh_time;url=$refresh_url\" />\n";
  23  }
  24  Horde::includeScriptFiles();
  25  ?>
  26  <title><?php echo htmlspecialchars($page_title) ?></title>
  27  <link href="<?php echo $GLOBALS['registry']->getImageDir() ?>/favicon.ico" rel="SHORTCUT ICON" />
  28  <?php if ($mailbox_url = Util::nonInputVar('mailbox_url')): ?>
  29  <link href="<?php echo $mailbox_url ?>" rel="Up" />
  30  <?php else: ?>
  31  <link href="<?php echo Util::addParameter(Horde::applicationUrl('mailbox.php'), 'mailbox', 'INBOX') ?>" rel="Top" />
  32  <?php endif; ?>
  33  <?php if ($first_url = Util::nonInputVar('first_url')): ?>
  34  <link href="<?php echo $first_url ?>" rel="First" />
  35  <?php endif; ?>
  36  <?php if ($prev_url = Util::nonInputVar('prev_url')): ?>
  37  <link href="<?php echo $prev_url ?>" rel="Previous" id="prev" />
  38  <?php endif; ?>
  39  <?php if ($next_url = Util::nonInputVar('next_url')): ?>
  40  <link href="<?php echo $next_url ?>" rel="Next" id="next" />
  41  <?php endif; ?>
  42  <?php if ($last_url = Util::nonInputVar('last_url')): ?>
  43  <link href="<?php echo $last_url ?>" rel="Last" />
  44  <?php endif; ?>
  45  <link href="<?php echo Horde::applicationUrl('search.php') ?>" rel="search" />
  46  <?php echo Horde::stylesheetLink('imp', empty($printer_friendly) ? '' : 'print') ?>
  47  <?php if (!empty($ie_clientcaps)): ?><style>IE\:clientcaps {behavior:url(#default#clientcaps)}</style><?php endif; ?>
  48  </head>
  49  
  50  <body<?php if (Util::nonInputVar('bodyClass')) echo ' class="' . $bodyClass . '"'; ?>>
  51  <?php if (!empty($ie_clientcaps)): ?><IE:clientcaps ID="objCCaps" /><?php endif; ?>


Généré le : Thu Nov 29 12:30:07 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics