~quam-plures-core/quam-plures/xml-comment-feeds-fix

« back to all changes in this revision

Viewing changes to qp_view_admin/conf_error.main.php

  • Committer: EdB
  • Date: 2013-05-18 17:02:22 UTC
  • mfrom: (7556.2.107 quam-plures)
  • Revision ID: 1912webworks@gmail.com-20130518170222-ccp8ok2njoasujlb
updating to current core

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
2
/**
3
 
 * This page displays an error message if the config is not done yet.
4
 
 *
5
 
 * VERY IMPORTANT: this file should assume AS LITTLE AS POSSIBLE
6
 
 * on what configuration is already done or not
7
 
 *
8
 
 * Before calling this page, you must set:
9
 
 * - $error_message
10
 
 *
 
3
 * This page displays an error message if configuration is not done
 
4
 *
 
5
 * VERY IMPORTANT: this file should assume AS LITTLE AS POSSIBLE on what configuration
 
6
 * is already done or not. Before calling this page, you must set: $error_message
 
7
 *
 
8
 * @author {@link http://wonderwinds.com/ Ed Bennett}
 
9
 * @copyright (c) 2009 by {@link http://quamplures.net/ the Quam Plures project}
 
10
 * @license http://www.gnu.org/licenses/gpl.txt GNU General Public License v3
11
11
 * @package admin
12
12
 */
13
 
if( !defined('QP_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
 
13
if(!defined('QP_MAIN_INIT')) die('fail');
14
14
 
15
15
global $app_name;
16
16
global $app_version;
19
19
?>
20
20
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
21
21
<html xmlns="http://www.w3.org/1999/xhtml">
22
 
        <head>
23
 
                <title><?php echo $app_name ?> is not configured yet</title>
24
 
                <link href="qp_rsc/css/support_install.css" rel="stylesheet" type="text/css" /> 
25
 
        </head>
 
22
<head>
 
23
<title><?php echo $app_name; ?> is not configured yet</title>
 
24
<link href="qp_rsc/css/support_install.css" rel="stylesheet" type="text/css" />
 
25
</head>
26
26
<body>
27
 
        <div class="block1">
28
 
                <?php
29
 
                        printf( '<img src="qp_rsc/img/qp-logo.jpg" alt="'.T_('%s Logo').'" title="'.T_('%s Logo').'"/>', $app_name, $app_name );
30
 
                ?>
31
 
                <p>This is <?php echo $app_name ?> version <?php echo $app_version ?>.</p>
32
 
                <p>You cannot use <?php echo $app_name ?> before you finish configuration and installation.</strong></p>
33
 
                <div><strong><?php echo $error_message; ?></strong></div>
34
 
                <p>Please use the installer to finish your configuration/installation now.</p>
35
 
                <p style="font-weight:bold; padding:10px; text-align:right;"><a href="qp_install/index.php">Next >></a></p>
36
 
        </div>
 
27
<div class="block1">
 
28
<?php printf( '<img src="qp_rsc/logo.jpg" width="337" height="76" alt="'.T_('%s Logo').'" title="'.T_('%s Logo').'"/>', $app_name, $app_name ); ?>
 
29
<div><strong><?php echo $error_message; ?></strong></div>
 
30
<p>You cannot use <?php echo $app_name; ?> version <?php echo $app_version; ?> before you finish configuration and installation. Please use the installer to finish your configuration/installation now.</p>
 
31
<p style="font-weight:bold; padding:2ex 4ex; text-align:right;"><a href="qp_install/index.php">Next >></a></p>
 
32
</div>
37
33
</body>
38
34
</html>
39
 
<?php
40
 
        exit(0);
41
 
?>
 
35
<?php exit(0); ?>