[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/administrator/components/com_content/helper/ -> content.php (source)

   1  <?php
   2  /**
   3   * @version        $Id: content.php 14401 2010-01-26 14:10:00Z louis $
   4   * @package        Joomla
   5   * @subpackage    Content
   6   * @copyright    Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
   7   * @license        GNU/GPL, see LICENSE.php
   8   * Joomla! is free software. This version may have been modified pursuant
   9   * to the GNU General Public License, and as distributed it includes or
  10   * is derivative of works licensed under the GNU General Public License or
  11   * other free or open source software licenses.
  12   * See COPYRIGHT.php for copyright notices and details.
  13   */
  14  
  15  /**
  16   * Utility class for creating HTML Grids
  17   *
  18   * @static
  19   * @package        Joomla
  20   * @subpackage    Content
  21   * @since        1.5
  22   */
  23  class JHTMLContent
  24  {
  25      /**
  26       * Displays the publishing state legend for articles
  27       */
  28  	function Legend( )
  29      {
  30          ?>
  31          <table cellspacing="0" cellpadding="4" border="0" align="center">
  32          <tr align="center">
  33              <td>
  34              <img src="images/publish_y.png" width="16" height="16" border="0" alt="<?php echo JText::_( 'Pending' ); ?>" />
  35              </td>
  36              <td>
  37              <?php echo JText::_( 'Published, but is' ); ?> <u><?php echo JText::_( 'Pending' ); ?></u> |
  38              </td>
  39              <td>
  40              <img src="images/publish_g.png" width="16" height="16" border="0" alt="<?php echo JText::_( 'Visible' ); ?>" />
  41              </td>
  42              <td>
  43              <?php echo JText::_( 'Published and is' ); ?> <u><?php echo JText::_( 'Current' ); ?></u> |
  44              </td>
  45              <td>
  46              <img src="images/publish_r.png" width="16" height="16" border="0" alt="<?php echo JText::_( 'Finished' ); ?>" />
  47              </td>
  48              <td>
  49              <?php echo JText::_( 'Published, but has' ); ?> <u><?php echo JText::_( 'Expired' ); ?></u> |
  50              </td>
  51              <td>
  52              <img src="images/publish_x.png" width="16" height="16" border="0" alt="<?php echo JText::_( 'Finished' ); ?>" />
  53              </td>
  54              <td>
  55              <?php echo JText::_( 'Not Published' ); ?> |
  56              </td>
  57              <td>
  58              <img src="images/disabled.png" width="16" height="16" border="0" alt="<?php echo JText::_( 'Archived' ); ?>" />
  59              </td>
  60              <td>
  61              <?php echo JText::_( 'Archived' ); ?>
  62              </td>
  63          </tr>
  64          <tr>
  65              <td colspan="10" align="center">
  66              <?php echo JText::_( 'Click on icon to toggle state.' ); ?>
  67              </td>
  68          </tr>
  69          </table>
  70          <?php
  71      }
  72  }


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