[or-cvs] Add gui and minor fixes

Peter Palfrader weasel at seul.org
Thu Jan 26 23:34:46 UTC 2006


Update of /home/or/cvsroot/website/include
In directory moria:/tmp/cvs-serv19097/include

Modified Files:
	head.wmi 
Log Message:
Add gui and minor fixes

Index: head.wmi
===================================================================
RCS file: /home/or/cvsroot/website/include/head.wmi,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -d -r1.10 -r1.11
--- head.wmi	26 Jan 2006 23:15:02 -0000	1.10
+++ head.wmi	26 Jan 2006 23:34:44 -0000	1.11
@@ -38,7 +38,7 @@
 	      my $page = $WML_SRC_FILENAME;
 	      $page =~ s/\.wml//;
 	      if ($page ne $key) {
-	        if (-e "$(LANG)/$key.wml") {
+	        if (-e "$(DOCROOT)/$(LANG)/$key.wml") {
 	          printf '<a href="$(DOCROOT)/%s.html.$(LANG)">%s</a>'."\n",
 	                 $key, $navigation{$key};
 	        } else {
@@ -61,7 +61,7 @@
 	      if ($dir eq '$(LANG)') {
 	        printf('<img src="$(IMGROOT)/%s.png" alt="%s" /> ', $dir, $LANGUAGES{$dir});
 	      } else {
-	        printf('<a href="$(DOCROOT)/%s.html.%s"><img src="$(IMGROOT)/%s.png" alt="%s" /></a> ', $page, $dir, $dir, $LANGUAGES{$dir});
+	        printf('<a href="%s.html.%s"><img src="$(IMGROOT)/%s.png" alt="%s" /></a> ', $page, $dir, $dir, $LANGUAGES{$dir});
 	      };
 	    } else {
 	      printf('<img src="$(IMGROOT)/green-flagspace.png"/> ');



More information about the tor-commits mailing list