inc/footer.inc.php
changeset 24 9f0138ac3028
parent 23 4abaed69febd
child 26 5d63f1e71d6e
--- a/inc/footer.inc.php	Mon Jun 25 19:56:50 2007 +0000
+++ b/inc/footer.inc.php	Mon Jun 25 20:52:41 2007 +0000
@@ -1,15 +1,18 @@
 <?
-
 global $db;
 if(is_object($db))
 {
 	 $db->disconnect();
 }
 
+ $svn_rev = '$LastChangedRevision: 71 $ $Date: 2006-07-22 21:42:37 -0700 (Sat, 22 Jul 2006) $ $Author: rejo $';
+ $svn_rev = preg_split("/[\s,]+/", $svn_rev);
+ $revision = "revision $svn_rev[1] (commited at $svn_rev[4] by $svn_rev[13])";
+
 ?>
   </div> <!-- /content -->
   <div class="footer">
-   <strong>poweradmin</strong> revision $LastChangedRevision: 70 $ (changed by $LastChangedBy: rejo $) - <a href="credits.php"><? echo _('credits'); ?></a>
+   <strong>poweradmin</strong> <? echo $revision;?> - <a href="credits.php"><? echo _('credits'); ?></a>
   </div>
 <?
 if(file_exists('inc/custom_footer.inc.php'))