- 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
This commit is contained in:
Geert Hauwaerts
2011-08-03 11:13:57 +00:00
parent 75ee70124d
commit bb98173d4d
+2 -2
View File
@@ -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('<span class="pagemenu-selected">'); }
echo("<a href='device/".$device['device_id']."/showconfig/" . $svnlog["rev"] . "/'> r" . $svnlog["rev"] ."</a>");
echo("<a href='device/".$device['device_id']."/showconfig/" . $svnlog["rev"] . "/'> r" . $svnlog["rev"] ." <small>". date("d M H:i", strtotime($svnlog["date"])) . "</small></a>");
if ($_GET['opta'] == $svnlog["rev"]) { echo("</span>"); }
$sep = " | ";