Adding language settings to config.php so that people can control the language output...
[viewsvn.git] / view.php
index e0635c555ad201f6db24fba08ed45834c679a52a..b2aa13bebb64c89a75deab12832f804b1f674d0e 100644 (file)
--- a/view.php
+++ b/view.php
@@ -2,7 +2,7 @@
 /*=====================================================================*\
 || ###################################################################
 || # ViewSVN [#]version[#]
-|| # Copyright ©2002-[#]year[#] Iris Studios, Inc.
+|| # Copyright ©2002-[#]year[#] Blue Static
 || #
 || # This program is free software; you can redistribute it and/or modify
 || # it under the terms of the GNU General Public License as published by
@@ -39,7 +39,7 @@ if ($input->in['rev'])
        if ($headRev->revision != $revision->revision)
        {
                $show['head'] = true;
-               $link['gohead'] = ConstructLink('browse', $input->in['repos'], $input->in['path'], 0);
+               $link['gohead'] = ConstructLink('view', $input->in['repos'], $input->in['path'], 0);
        }
 }
 
@@ -49,6 +49,8 @@ if ($revision->revision - 1 > 0)
        $link['diff'] = ConstructLink('diff', $input->in['repos'], $input->in['path'], $revision->revision);
 }
 
+$link['log'] = ConstructLink('log', $input->in['repos'], $input->in['path'], 0);
+
 // ###################################################################
 
 $revision->getRevisionInfo();