From: Gabriel Dunne Date: Tue, 4 Oct 2011 12:32:09 +0000 (+0530) Subject: Timezone settings X-Git-Url: https://git.quilime.com/?a=commitdiff_plain;h=9faa54fcde381043114752b301b81f277befd2cc;p=plog.git Timezone settings --- diff --git a/css/style.css b/css/style.css index 43c1279..797e211 100644 --- a/css/style.css +++ b/css/style.css @@ -1,10 +1,8 @@ body { padding:50px; -} -html, body, table { + font-size: 0.8em; font-family: sans-serif; - line-height:1.4em; - font-size:12px; + line-height:1.5em; } a { @@ -36,13 +34,11 @@ ol { ol li { list-style-type:decimal; } - blockquote { font-style:italic; } - -p { - font-size:14px; +pre { + line-height:1.3em; } #content { diff --git a/lib/init.php b/lib/init.php index 3f3aa5a..cb12121 100644 --- a/lib/init.php +++ b/lib/init.php @@ -14,27 +14,26 @@ error_reporting(E_ALL); ini_set("display_errors", 1); # timezone -putenv("TZ=Asia/Calcutta"); +putenv('TZ=Asia/Calcutta'); # include path ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . dirname(realpath(__FILE__))); # settings -define ('CLEAN_URLS', false); -define ('SITE_TITLE', 'india 2011'); -define ('LOCAL_ROOT', '/Users/gdunne/Sites/india/'); -define ('WEB_ROOT', '/~gdunne/india/'); -define ('CONTENT_DIR', 'content/'); -define ('TEMPLATE_DIR', 'templates/'); -define ('PAGE_DIR', 'pages/'); -define ('CONFIG_DELIMITER', '--'); -define ('CONFIG_FILE', 'config'); -define ('MORE_DELIM', ''); -define ('TITLE_DELIMITER', ' — '); +define ('CLEAN_URLS', false); +define ('SITE_TITLE', 'india 2011'); +define ('LOCAL_ROOT', '/Users/gdunne/Sites/india/'); +define ('WEB_ROOT', '/~gdunne/india/'); +define ('CONTENT_DIR', 'content/'); +define ('TEMPLATE_DIR', 'templates/'); +define ('PAGE_DIR', 'pages/'); +define ('CONFIG_DELIMITER', '--'); +define ('CONFIG_FILE', 'config'); +define ('MORE_DELIM', ''); +define ('TITLE_DELIMITER', ' — '); define ('ENTRY_DATE_FORMAT', 'M d Y, h:i:s A T'); $_FILE_IGNORES = array(CONFIG_FILE, '.DS_Store'); - # includes require_once 'data.php'; diff --git a/templates/archive.html.tpl b/templates/archive.html.tpl index 9cd5db6..7a67251 100644 --- a/templates/archive.html.tpl +++ b/templates/archive.html.tpl @@ -15,7 +15,7 @@ diff --git a/templates/entry.html.tpl b/templates/entry.html.tpl index 2a69cc2..0d96740 100644 --- a/templates/entry.html.tpl +++ b/templates/entry.html.tpl @@ -21,6 +21,4 @@ - -