[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/templates/system/ -> offline.php (source)

   1  <?php
   2  /**
   3   * @copyright    Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
   4   * @license        GNU/GPL, see LICENSE.php
   5   * Joomla! is free software. This version may have been modified pursuant
   6   * to the GNU General Public License, and as distributed it includes or
   7   * is derivative of works licensed under the GNU General Public License or
   8   * other free or open source software licenses.
   9   * See COPYRIGHT.php for copyright notices and details.
  10   */
  11  
  12  // no direct access
  13  defined( '_JEXEC' ) or die( 'Restricted access' );
  14  ?>
  15  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  16  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
  17  <head>
  18      <jdoc:include type="head" />
  19      <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/offline.css" type="text/css" />
  20      <?php if($this->direction == 'rtl') : ?>
  21      <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/offline_rtl.css" type="text/css" />
  22      <?php endif; ?>
  23      <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
  24  </head>
  25  <body>
  26  <jdoc:include type="message" />
  27      <div id="frame" class="outline">
  28          <img src="images/joomla_logo_black.jpg" alt="Joomla! Logo" align="middle" />
  29          <h1>
  30              <?php echo $mainframe->getCfg('sitename'); ?>
  31          </h1>
  32      <p>
  33          <?php echo $mainframe->getCfg('offline_message'); ?>
  34      </p>
  35      <?php if(JPluginHelper::isEnabled('authentication', 'openid')) : ?>
  36      <?php JHTML::_('script', 'openid.js'); ?>
  37  <?php endif; ?>
  38      <form action="index.php" method="post" name="login" id="form-login">
  39      <fieldset class="input">
  40          <p id="form-login-username">
  41              <label for="username"><?php echo JText::_('Username') ?></label><br />
  42              <input name="username" id="username" type="text" class="inputbox" alt="<?php echo JText::_('Username') ?>" size="18" />
  43          </p>
  44          <p id="form-login-password">
  45              <label for="passwd"><?php echo JText::_('Password') ?></label><br />
  46              <input type="password" name="passwd" class="inputbox" size="18" alt="<?php echo JText::_('Password') ?>" id="passwd" />
  47          </p>
  48          <p id="form-login-remember">
  49              <label for="remember"><?php echo JText::_('Remember me') ?></label>
  50              <input type="checkbox" name="remember" class="inputbox" value="yes" alt="<?php echo JText::_('Remember me') ?>" id="remember" />
  51          </p>
  52          <input type="submit" name="Submit" class="button" value="<?php echo JText::_('LOGIN') ?>" />
  53      </fieldset>
  54      <input type="hidden" name="option" value="com_user" />
  55      <input type="hidden" name="task" value="login" />
  56      <input type="hidden" name="return" value="<?php echo base64_encode(JURI::base()) ?>" />
  57      <?php echo JHTML::_( 'form.token' ); ?>
  58      </form>
  59      </div>
  60  </body>
  61  </html>


Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1