]>
src.bluestatic.org Git - isso.git/blob - installer.php
2 /*=====================================================================*\
3 || ###################################################################
4 || # Blue Static ISSO Framework [#]issoversion[#]
5 || # Copyright ©2002-[#]year[#] Blue Static
7 || # This program is free software; you can redistribute it and/or modify
8 || # it under the terms of the GNU General Public License as published by
9 || # the Free Software Foundation; version [#]gpl[#] of the License.
11 || # This program is distributed in the hope that it will be useful, but
12 || # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 || # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 || # You should have received a copy of the GNU General Public License along
17 || # with this program; if not, write to the Free Software Foundation, Inc.,
18 || # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19 || ###################################################################
20 \*=====================================================================*/
29 // ###################################################################
31 * Constructs the header of a page; imbeds the CSS from installer.css.php
37 require_once($GLOBALS['isso:callback']->get('sourcepath') . 'installer.css.php');
39 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
40 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
41 <html xmlns
="http://www.w3.org/1999/xhtml" xml
:lang
="en" lang
="en">
43 <meta http
-equiv
="content-type" content
="text/html; charset=iso-8859-1" />
44 <title
><?= $GLOBALS['isso:callback']->get('application') ?> Installer
</title
>
46 <style type
="text/css">
57 // ###################################################################
59 * Creates the end of the page and the "Next" button. The "Next" button
60 * reqires that STOP_MARK be defined to be the total number of steps,
61 * ACTIVE_SITE to be the page to link to for the next button, and
62 * STOP_LINK to be an <a> for when all the steps have been reached.
66 * @param bool Produce the "Next" button?
68 function page_end($next = true)
70 if (defined('STOP_MARK') AND $next)
72 if ($GLOBALS['isso:callback']->in
['mark'] >= STOP_MARK
AND !defined('IGNORE_STOP'))
74 echo '<div class="buttonlink">' . STOP_LINK
. '</div>';
78 echo '<div class="buttonlink"><a href="' . ACTIVE_SITE
. '?mark=' . ($GLOBALS['isso:callback']->in
['mark'] +
1) . '">Next Step</a></div>';
91 /*=====================================================================*\
92 || ###################################################################
95 || ###################################################################
96 \*=====================================================================*/