3 // ----------------------------------------------------------------------
\r
4 // POST-NUKE Content Management System
\r
5 // Copyright (C) 2002 by the PostNuke Development Team.
\r
6 // http://www.postnuke.com/
\r
7 // ----------------------------------------------------------------------
\r
9 // PHP-NUKE Web Portal System - http://phpnuke.org/
\r
10 // Thatware - http://thatware.org/
\r
11 // ----------------------------------------------------------------------
\r
14 // This program is free software; you can redistribute it and/or
\r
15 // modify it under the terms of the GNU General Public License (GPL)
\r
16 // as published by the Free Software Foundation; either version 2
\r
17 // of the License, or (at your option) any later version.
\r
19 // This program is distributed in the hope that it will be useful,
\r
20 // but WIthOUT ANY WARRANTY; without even the implied warranty of
\r
21 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
22 // GNU General Public License for more details.
\r
24 // To read the license please visit http://www.gnu.org/copyleft/gpl.html
\r
25 // ----------------------------------------------------------------------
\r
27 // Based on : pnATutor
\r
28 // Postnuked by Cas Nuy
\r
29 // Purpose of file: Initialisation functions for pnATutor
\r
30 // ----------------------------------------------------------------------
\r
33 * initialise the pnATutor module
\r
34 * This function is only ever called once during the lifetime of this module
\r
36 function pnATutor_init()
\r
39 // pnATutor Default Settings
\r
40 pnModSetVar(pnATutor, '_loc', '/ATutor');
\r
41 pnModSetVar(pnATutor, '_window', 0);
\r
42 pnModSetVar(pnATutor, '_db', 'atutor');
\r
43 pnModSetVar(pnATutor, '_prf', '');
\r
44 pnModSetVar(pnATutor, '_guest', 'n');
\r
45 pnModSetVar(pnATutor, '_users', 'n');
\r
46 pnModSetVar(pnATutor, '_version','1.3.1');
\r
50 * update the pnATutor module
\r
51 * This function is only ever called once during the lifetime of this module
\r
53 function pnATutor_upgrade()
\r
55 pnModSetVar(pnATutor, '_prf', '');
\r
61 * delete the pnATutor module
\r
62 * This function is only ever called once during the lifetime of this module
\r
64 function pnATutor_delete()
\r
67 pnModDelVar(pnATutor, '_loc');
\r
68 pnModDelVar(pnATutor, '_window');
\r
69 pnModDelVar(pnATutor, '_wrap');
\r
70 pnModDelVar(pnATutor, '_db');
\r
71 pnModDelVar(pnATutor, '_guest');
\r
72 pnModDelVar(pnATutor, '_users');
\r
73 pnModDelVar(pnATutor, '_version');
\r
74 pnModDelVar(pnATutor, '_prf');
\r