changeset 22:ccfddd7fba1b

Cleanup.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Wed, 19 Sep 2012 16:15:38 +0200
parents 5dc5cc27471d
children 814296ea84a9
files cache_check.inc index.php
diffstat 2 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/cache_check.inc	Wed Sep 19 16:12:42 2012 +0200
+++ b/cache_check.inc	Wed Sep 19 16:15:38 2012 +0200
@@ -16,7 +16,8 @@
   header("Last-Modified: $gmdate_mod");
 }
 
-function cache_time($path) {
+function cache_time($path)
+{
   global $newest;
   $mtime = filemtime($path);
   if ($mtime > $newest) {
@@ -24,7 +25,8 @@
   }
 }
 
-function include_with_mtime($path) {
+function include_with_mtime($path)
+{
   cache_time($path);
   include($path);
 }
--- a/index.php	Wed Sep 19 16:12:42 2012 +0200
+++ b/index.php	Wed Sep 19 16:15:38 2012 +0200
@@ -45,7 +45,8 @@
   }
 }
 
-function getParam($param) {
+function getParam($param)
+{
   $param_type=$param->getAttribute("type");
   $param_value;
   if (!$param_type)
@@ -74,7 +75,8 @@
   return $param_value;
 }
 
-function getInput($master, $param) {
+function getInput($master, $param)
+{
   $out='';
 
   $lang=$GLOBALS['lang'];