aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-01-31 02:07:17 +0000
committerChad Little <clittle@users.sourceforge.net>2004-01-31 02:07:17 +0000
commit5f1b8248ba42c6a036d3f639fc8724ec8884d894 (patch)
tree74a8b2296eeab501d8b251e798d100266f7bb57c
parentcf2b0c139b4ca884b5ce335ce893f2211b8e95bb (diff)
downloadphpicalendar-5f1b8248ba42c6a036d3f639fc8724ec8884d894.tar.gz
phpicalendar-5f1b8248ba42c6a036d3f639fc8724ec8884d894.tar.bz2
phpicalendar-5f1b8248ba42c6a036d3f639fc8724ec8884d894.zip
Minor tweeks.
-rw-r--r--month.php2
-rw-r--r--preferences.php5
-rw-r--r--templates/default/preferences.tpl2
3 files changed, 6 insertions, 3 deletions
diff --git a/month.php b/month.php
index 2494760..c3207b1 100644
--- a/month.php
+++ b/month.php
@@ -45,9 +45,7 @@ $list_months = list_months();
$list_weeks = list_weeks();
$php_ended = getmicrotime();
-
$generated = number_format(($php_ended-$php_started),3);
-//$generated = sprintf($search_took_lang,$search_took);
$page = new Page(BASE.'templates/'.$template.'/month.tpl');
diff --git a/preferences.php b/preferences.php
index b791212..402716e 100644
--- a/preferences.php
+++ b/preferences.php
@@ -127,6 +127,9 @@ while ($file = readdir($dir_handle)) {
}
closedir($dir_handle);
+$php_ended = getmicrotime();
+$generated = number_format(($php_ended-$php_started),3);
+
$page = new Page(BASE.'templates/'.$template.'/preferences.tpl');
$page->replace_tags(array(
@@ -147,6 +150,8 @@ $page->replace_tags(array(
'time_select' => $time_select,
'startday_select' => $startday_select,
'style_select' => $style_select,
+ 'display_date' => $lang['l_preferences'],
+ 'generated' => $generated,
'message' => $message
));
diff --git a/templates/default/preferences.tpl b/templates/default/preferences.tpl
index 6f4911b..36d925a 100644
--- a/templates/default/preferences.tpl
+++ b/templates/default/preferences.tpl
@@ -1,6 +1,6 @@
{HEADER}
<center>
-<table border="0" width="700" cellspacing="0" cellpadding="0">
+<table border="0" width="650" cellspacing="0" cellpadding="0" class="calborder">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">

© 2014-2024 Faster IT GmbH | imprint | privacy policy