[ Index ]
 

Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/includes/modules/sideboxes/ -> more_information.php (source)

   1  <?php
   2  /**

   3   * more_information sidebox - displays list of links to additional pages on the site.  Must separately build those pages' content.

   4   *

   5   * @package templateSystem

   6   * @copyright Copyright 2003-2006 Zen Cart Development Team

   7   * @copyright Portions Copyright 2003 osCommerce

   8   * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

   9   * @version $Id: more_information.php 3464 2006-04-19 00:07:26Z ajeh $

  10   */
  11  
  12  // test if box should display

  13  
  14    unset($more_information);
  15  
  16  // test if links should display

  17    if (DEFINE_PAGE_2_STATUS <= 1) {
  18      $more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_2) . '">' . BOX_INFORMATION_PAGE_2 . '</a>';
  19    }
  20    if (DEFINE_PAGE_3_STATUS <= 1) {
  21      $more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_3) . '">' . BOX_INFORMATION_PAGE_3 . '</a>';
  22    }
  23    if (DEFINE_PAGE_4_STATUS <= 1) {
  24      $more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_4) . '">' . BOX_INFORMATION_PAGE_4 . '</a>';
  25    }
  26  
  27  // insert additional links below to add to the more_information box

  28  // Example:

  29  //    $more_information[] = '<a href="' . zen_href_link(FILENAME_DEFAULT) . '">' . 'TESTING' . '</a>';

  30  
  31  
  32  // only show if links are active

  33    if (sizeof($more_information) > 0) {
  34      require($template->get_template_dir('tpl_more_information.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_more_information.php');
  35  
  36      $title =  BOX_HEADING_MORE_INFORMATION;
  37      $title_link = false;
  38      require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
  39    }
  40  ?>


Généré le : Mon Nov 26 16:45:43 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics