From bb98173d4da05a30d9f0aee917e84a7e356279ed Mon Sep 17 00:00:00 2001 From: Geert Hauwaerts Date: Wed, 3 Aug 2011 11:13:57 +0000 Subject: [PATCH] - Include dates in titlebar for svn diff's (by popular request) git-svn-id: http://www.observium.org/svn/observer/trunk@2397 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/device/showconfig.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/pages/device/showconfig.inc.php b/html/pages/device/showconfig.inc.php index 3b349e9a20..470cf40cb8 100644 --- a/html/pages/device/showconfig.inc.php +++ b/html/pages/device/showconfig.inc.php @@ -30,7 +30,7 @@ if ($_SESSION['userlevel'] >= "7") if (function_exists('svn_log')) { $sep = " | "; - $svnlogs = svn_log($file, SVN_REVISION_HEAD, NULL, 10); + $svnlogs = svn_log($file, SVN_REVISION_HEAD, NULL, 5); $revlist = array(); foreach ($svnlogs as $svnlog) { @@ -40,7 +40,7 @@ if ($_SESSION['userlevel'] >= "7") if ($_GET['opta'] == $svnlog["rev"]) { echo(''); } - echo(" r" . $svnlog["rev"] .""); + echo(" r" . $svnlog["rev"] ." ". date("d M H:i", strtotime($svnlog["date"])) . ""); if ($_GET['opta'] == $svnlog["rev"]) { echo(""); } $sep = " | ";