Import missing functions
authorJoey Schulze <joey@infodrom.org>
Tue, 19 May 2009 17:17:11 +0000 (17:17 +0000)
committerJoey Schulze <joey@infodrom.org>
Tue, 19 May 2009 17:17:11 +0000 (17:17 +0000)
src/InfoCon/stempel/edit.wml

index f0d45ee..db64319 100644 (file)
@@ -5,15 +5,11 @@
   }
 ?>
 #include <infocon.style>
+#include "common.inc"
 
 <page func=InfoCon title="Stempeluhr">
 
 <?
-  function min2hour($minutes)
-  {
-      return sprintf('%02d:%02d', $minutes/60, $minutes%60);
-  }
-
   $dbh = pg_pconnect ("<dbhost>", "<dbport>", "<dbname>")
         or die("Unable to connect to SQL server");