[ Index ]

Source Code Reference for V1.00

title

Body

[close]

/modules/help/ -> index.php (source)

   1  <?php /* $Id: index.php,v 1.7.12.3 2007/03/06 00:34:41 merlinyoda Exp $ */
   2  if (!defined('W2P_BASE_DIR')) {
   3      die('You should not access this file directly.');
   4  }
   5  
   6  $hid = w2PgetParam($_GET, 'hid', 'help.toc');
   7  
   8  $inc = W2P_BASE_DIR . '/modules/help/' . $AppUI->user_locale . '/' . $hid . '.hlp';
   9  
  10  if (!file_exists($inc)) {
  11      $inc = W2P_BASE_DIR . '/modules/help/en/' . $hid . '.hlp';
  12      if (!file_exists($inc)) {
  13          $hid = "help.toc";
  14          $inc = W2P_BASE_DIR . '/modules/help/' . $AppUI->user_locale . '/' . $hid . '.hlp';
  15          if (!file_exists($inc)) {
  16              $inc = W2P_BASE_DIR . '/modules/help/en/' . $hid . '.hlp';
  17          }
  18      }
  19  }
  20  if ($hid != 'help.toc') {
  21      echo '<a href="?m=help&dialog=1">' . $AppUI->_('index') . '</a>';
  22  }
  23  readfile($inc);
  24  ?>


Generated: Fri Jan 9 03:00:02 2009 Cross-referenced by PHPXref 0.7