[ PHPXref.com ] [ Generated: Sun Jul 20 16:25:17 2008 ] [ ActionApps 2.8.1b ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/ -> hiercons.php3 (source)

   1  <?php
   2  /**
   3   * Script for hierarchical constants
   4   *
   5   * params:
   6   *  $varname - name of the select box with selected constants, defaults to "hiercons"
   7   *  $param - like in Field Input Type "hierarchical constants" but preceded with "group_name:"
   8   *          minimum is just "group_name"
   9   *  $lang_file - name of language file to be used, defaults to "en_news_lang.php3"
  10   *
  11   * @package UserOutput
  12   * @version $Id: hiercons.php3,v 1.7 2005/04/29 11:20:57 honzam Exp $
  13   * @author
  14   * @copyright Copyright (C) 1999, 2000 Association for Progressive Communications
  15  */
  16  /*
  17  Copyright (C) 1999, 2000 Association for Progressive Communications
  18  http://www.apc.org/
  19  
  20      This program is free software; you can redistribute it and/or modify
  21      it under the terms of the GNU General Public License as published by
  22      the Free Software Foundation; either version 2 of the License, or
  23      (at your option) any later version.
  24  
  25      This program is distributed in the hope that it will be useful,
  26      but WITHOUT ANY WARRANTY; without even the implied warranty of
  27      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  28      GNU General Public License for more details.
  29  
  30      You should have received a copy of the GNU General Public License
  31      along with this program (LICENSE); if not, write to the Free Software
  32      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  33  */
  34  
  35  /** APC-AA configuration file */
  36  require_once  "./include/config.php3";
  37  /** APC-AA constant definitions */
  38  require_once $GLOBALS['AA_INC_PATH']."constants.php3";
  39  require_once $GLOBALS['AA_INC_PATH']."mgettext.php3";
  40  $lang_file = substr ($lang_file, 0, 2);
  41  if (!$LANGUAGE_NAMES [$lang_file]) {
  42      $lang_file = "en";
  43  }
  44  bind_mgettext_domain($GLOBALS['AA_INC_PATH']."lang/".$lang_file."_news_lang.php3");
  45  /** Main include file for using session management function on a page */
  46  require_once $GLOBALS['AA_INC_PATH']."locsess.php3";
  47  /** Set of useful functions used on most pages */
  48  require_once $GLOBALS['AA_INC_PATH']."util.php3";
  49  require_once $GLOBALS['AA_INC_PATH']."formutil.php3";
  50  require_once $GLOBALS['AA_INC_PATH']."itemfunc.php3";
  51  
  52  FrmJavascript('var listboxes = new Array();');
  53  if (!$varname) $varname = "hiercons";
  54  if ($param) show_fnc_hco($varname, "", "", $param, 0);
  55  ?>
  56  


[ Powered by PHPXref - Served by Debian GNU/Linux ]