mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
- 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:
@@ -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 = " | ";
|
||||
|
||||
Reference in New Issue
Block a user