display correct name when 'choices' group name is changed (#7671)
[openemr.git] / interface / main / calendar / pntables.php
blobf638d435bf6a4396d77eb9420e2ee04716f1bdba
1 <?php
3 // File: $Id$ $Name$
4 // ----------------------------------------------------------------------
5 // POST-NUKE Content Management System
6 // Copyright (C) 2001 by the Post-Nuke Development Team.
7 // http://www.postnuke.com/
8 // ----------------------------------------------------------------------
9 // Based on:
10 // Thatware - http://thatware.org/
11 // PHP-NUKE Web Portal System - http://phpnuke.org/
12 // ----------------------------------------------------------------------
13 // LICENSE
15 // This program is free software; you can redistribute it and/or
16 // modify it under the terms of the GNU General Public License (GPL)
17 // as published by the Free Software Foundation; either version 2
18 // of the License, or (at your option) any later version.
20 // This program is distributed in the hope that it will be useful,
21 // but WITHOUT ANY WARRANTY; without even the implied warranty of
22 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 // GNU General Public License for more details.
25 // To read the license please visit http://www.gnu.org/copyleft/gpl.html
26 // ----------------------------------------------------------------------
27 // Original Author of file:
28 // Purpose of file:
29 // ----------------------------------------------------------------------
32 $prefix = $pnconfig['prefix'];
34 $pntable = array();
36 $module_vars = $prefix . '_module_vars';
37 $pntable['module_vars'] = $module_vars;
38 $pntable['module_vars_column'] = array ('id' => $module_vars . '.pn_id',
39 'modname' => $module_vars . '.pn_modname',
40 'name' => $module_vars . '.pn_name',
41 'value' => $module_vars . '.pn_value');
43 $modules = $prefix . '_modules';
44 $pntable['modules'] = $modules;
45 $pntable['modules_column'] = array ('id' => $modules . '.pn_id',
46 'name' => $modules . '.pn_name',
47 'type' => $modules . '.pn_type',
48 'displayname' => $modules . '.pn_displayname',
49 'description' => $modules . '.pn_description',
50 'regid' => $modules . '.pn_regid',
51 'directory' => $modules . '.pn_directory',
52 'version' => $modules . '.pn_version',
53 'admin_capable' => $modules . '.pn_admin_capable',
54 'user_capable' => $modules . '.pn_user_capable',
55 'state' => $modules . '.pn_state');