SōkoMan byl pokrten
authorThomas Mudrunka <tomas@mudrunka.cz>
Tue, 23 Aug 2011 02:33:01 +0000 (04:33 +0200)
committerThomas Mudrunka <tomas@mudrunka.cz>
Tue, 23 Aug 2011 02:33:01 +0000 (04:33 +0200)
index.php
sklad.conf.php.example

index 9fd0527effb05db1e1f4aeae4801a8ad4ea58b60..9fd766b05d7eb10fb4696deacda9295f0a086d2e 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -110,13 +110,17 @@ class Sklad_HTML extends HTML {
                $script = $_SERVER['SCRIPT_NAME'];
                $search = htmlspecialchars(@trim($_GET['q']));
                $message = strip_tags(@trim($_GET['message']),'<a><b><u><i>');
+               $instance = INSTANCE_ID != '' ? '/'.INSTANCE_ID : '';
                return <<<EOF
 <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+       <title>SōkoMan$title</title>
 </head>
-<h1><a href="$script/">SystémSklad</a><small>$title</small></h1>
+<h1><a href="$script/">SōkoMan</a><small>$instance$title</small></h1>
 
 <style type="text/css">
+* { font-family: arial; }
+
 .menu li {
        float: left;
        padding: 0.2em;
index a50a6b4c0d01e7ad02bdfe1781c871243d9cea77..11b44a5e06c7d11e7f9b0842f86da1bd2f0dc9d7 100755 (executable)
@@ -8,6 +8,7 @@ define('DB_DSN',                'mysql:host='.DB_HOST.';dbname='.DB_NAME);
 define('DIR_HOME',             '.');
 define('DIR_LIB',              DIR_HOME.'/lib');
 define('DIR_IMAGES',           DIR_HOME.'/images');
+define('DIR_LOCALE',           DIR_HOME.'/locale');
 define('DIR_BARCODES',         DIR_HOME.'/barcodes');
 define('DIR_TEMPLATES',                DIR_HOME.'/templates');
 define('DIR_ASSISTANTS',       DIR_HOME.'/assistants');
@@ -16,6 +17,10 @@ define('URL_HOME',           dirname($_SERVER['SCRIPT_NAME']));
 define('URL_IMAGES',           URL_HOME.'/images');
 define('URL_BARCODES',         URL_HOME.'/barcodes');
 
+define('LOCALE_LANG',          'en');
+
+define('INSTANCE_ID',          '');
+
 define('BARCODE_TYPE',         'code128b');
 define('BARCODE_PREFIX',       'STORE/');
 
This page took 0.137742 seconds and 4 git commands to generate.