aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/template.class.php7
-rw-r--r--index.php5
-rw-r--r--template/yoga/content.css8
3 files changed, 4 insertions, 16 deletions
diff --git a/include/template.class.php b/include/template.class.php
index 355018a27..0b4b3a404 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -22,7 +22,7 @@
// +-----------------------------------------------------------------------+
-require_once 'smarty/libs/Smarty.class.php';
+require_once(PHPWG_ROOT_PATH.'include/smarty/libs/Smarty.class.php');
// migrate lang:XXX
// sed "s/{lang:\([^}]\+\)}/{\'\1\'|@translate}/g" my_template.tpl
@@ -173,7 +173,7 @@ class Template {
}
/**
- * Sets template extentions filenames for handles.
+ * Sets template extentions filenames for handles.
* $filename_array should be an hash of filename => array( handle, param) or filename => handle
*/
function set_extents($filename_array, $dir='', $overwrite=true)
@@ -329,8 +329,6 @@ class Template {
/** flushes the output */
function p()
{
- $start = get_moment();
-
$this->flush();
if ($this->smarty->debugging)
@@ -338,7 +336,6 @@ class Template {
global $t2;
$this->smarty->assign(
array(
- 'AAAA_DEBUG_OUTPUT_TIME__' => get_elapsed_time($start, get_moment()),
'AAAA_DEBUG_TOTAL_TIME__' => get_elapsed_time($t2, get_moment())
)
);
diff --git a/index.php b/index.php
index e4bc95c6c..9c1556ba8 100644
--- a/index.php
+++ b/index.php
@@ -287,11 +287,10 @@ if (!empty($page['cat_slideshow_url']))
}
}
-//------------------------------------------------------------ log informations
-pwg_log();
-
include(PHPWG_ROOT_PATH.'include/page_header.php');
trigger_action('loc_end_index');
$template->pparse('index');
+//------------------------------------------------------------ log informations
+pwg_log();
include(PHPWG_ROOT_PATH.'include/page_tail.php');
?>
diff --git a/template/yoga/content.css b/template/yoga/content.css
index ca6762f9f..6c49bf5f6 100644
--- a/template/yoga/content.css
+++ b/template/yoga/content.css
@@ -20,16 +20,8 @@ BODY#theNBMPage .content
margin: 1em;
}
-.content H3 {
- margin-bottom: 1ex;
-}
-
.content H2 { margin-bottom: 3px;} /*<- for IE otherwise calendar select is displaced to middle of page*/
-.content H3 {
- text-align: center;
-}
-
.content .navigationBar, .content .additional_info, .content .calendarBar {
margin: 8px 4px;
text-align: center;