Switched to using summary
[clearscm.git] / web / php / clearscm.php
index f3c01ed..aef2a4b 100644 (file)
@@ -14,6 +14,8 @@
 ////////////////////////////////////////////////////////////////////////////////
 include_once "scm.php";
 
+date_default_timezone_set('America/Los_Angeles');
+
 $base = $_SERVER['DOCUMENT_ROOT'];
 
 function menu_css () {
@@ -87,7 +89,7 @@ function menu () {
               <div class="imsc">
                 <div class="imsubc" style="width:140px;top:-23px;left:132px;">
                   <ul style="">
-                    <li><a href="/gitweb/?p=.git;a=tree">Respository</a></li>
+                    <li><a href="/gitweb/?p=.git;a=summary">Repository</a></li>
                   </ul>
                 </div>
               </div>
@@ -261,10 +263,7 @@ function display_contents_as_snippet ($contents) {
   print "</div>";
 } // display_contents_as_snippet
 
-function display_code ($file,
-                      $machine = "clearscm.com",
-                      $port    = ":8080",
-                      $path    = "/viewvc/clearscm.com/") {
+function display_code ($file) {
   display_contents_as_code (getSCMFile ($file));
 } # display_code