File: unconfigured.php

package info (click to toggle)
gallery 1.5-1sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 21,172 kB
  • ctags: 4,516
  • sloc: php: 26,456; sh: 427; perl: 188; makefile: 58; xml: 48
file content (44 lines) | stat: -rw-r--r-- 1,231 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
// $Id: unconfigured.php,v 1.24 2004/06/07 16:52:29 jenst Exp $
?>
<?php 
	if (! defined("GALLERY_URL")) define ("GALLERY_URL","");
	doctype();
?>
<html>
<head>
  <title><?php echo _("Gallery Configuration Error") ?></title>
  <?php common_header(); ?>
</head>
<body dir="<?php echo $gallery->direction ?>">

<center>
<p class="header"><?php echo _("Gallery has not been configured!") ?></p>

<p class="sitedesc">
<?php 
	echo _("Gallery must be configured before you can use it.");
?>
</p>
<table class="sitedesc">
<tr>
	<td><?php echo _("1."); ?></td>
	<td><?php echo _("Either run /usr/share/gallery/configure.sh as root or create an empty file .htaccess and an empty file config.php"); ?></td>
</tr>
	<td><?php echo _("2."); ?></td>
	<td><?php echo _("Create an albums folder for your pictures and movies."); ?></td>
</tr>
<tr>
	<td colspan="2" class="emphasis"><?php echo _("Make sure that both files and the folder are read and writeable for your webserver !"); ?></td>
</tr>
</table>

<p>
<?php echo sprintf(_("Then start the %sConfiguration Wizard%s."), 
		'<a href="'. GALLERY_URL . 'setup/index.php">', '</a>'); 
	print "<br>";
	include(dirname(__FILE__) . "/configure_help.php"); ?>
</p>
</center>
</body>
</html>