projects
/
matthijs
/
upstream
/
blosxom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced references to www.blosxom.com with blosxom.sourceforge.net
[matthijs/upstream/blosxom.git]
/
blosxom.cgi
diff --git
a/blosxom.cgi
b/blosxom.cgi
index 2fd086149ff63fd7838de45be2f1c6a431901f4f..320238814f3b13092d44714c39a44326c5abe54f 100755
(executable)
--- a/
blosxom.cgi
+++ b/
blosxom.cgi
@@
-2,8
+2,8
@@
# Blosxom
# Author: Rael Dornfest <rael@oreilly.com>
# Blosxom
# Author: Rael Dornfest <rael@oreilly.com>
-# Version: 2.0.
1
-# Home/Docs/Licensing: http://
www.blosxom.com
/
+# Version: 2.0.
2
+# Home/Docs/Licensing: http://
blosxom.sourceforge.net
/
# Development/Downloads: http://sourceforge.net/projects/blosxom
package blosxom;
# Development/Downloads: http://sourceforge.net/projects/blosxom
package blosxom;
@@
-76,7
+76,7
@@
use File::stat;
use Time::localtime;
use CGI qw/:standard :netscape/;
use Time::localtime;
use CGI qw/:standard :netscape/;
-$version = "2.0";
+$version = "2.0
.2
";
my $fh = new FileHandle;
my $fh = new FileHandle;
@@
-183,7
+183,7
@@
sub load_template {
return &$template(@_);
}
return &$template(@_);
}
-# Define default
find
subroutine
+# Define default
entries
subroutine
$entries =
sub {
my(%files, %indexes, %others);
$entries =
sub {
my(%files, %indexes, %others);
@@
-363,7
+363,7
@@
sub generate {
($path,$fn) = $path_file =~ m!^$datadir/(?:(.*)/)?(.*)\.$file_extension!;
# Only stories in the right hierarchy
($path,$fn) = $path_file =~ m!^$datadir/(?:(.*)/)?(.*)\.$file_extension!;
# Only stories in the right hierarchy
- $path =~ /^$currentdir
(?=$|\/)
/ or $path_file eq "$datadir/$currentdir" or next;
+ $path =~ /^$currentdir/ or $path_file eq "$datadir/$currentdir" or next;
# Prepend a slash for use in templates only if a path exists
$path &&= "/$path";
# Prepend a slash for use in templates only if a path exists
$path &&= "/$path";
@@
-481,7
+481,7
@@
html date <h3>$dw, $da $mo $yr</h3>
html foot
html foot <p />
html foot <center>
html foot
html foot <p />
html foot <center>
-html foot <a href="http://
www.blosxom.com/"><img src="http://www.blosxom.com
/images/pb_blosxom.gif" border="0" /></a>
+html foot <a href="http://
blosxom.sourceforge.net/"><img src="http://blosxom.sourceforge.net
/images/pb_blosxom.gif" border="0" /></a>
html foot </center>
html foot </body>
html foot </html>
html foot </center>
html foot </body>
html foot </html>