Permalink
Browse files

themes/slashdot/THEME

themes/slashdot/templates/header;misc;light
	Added to Slashdot theme since we change images.

themes/slashcode/templates/mainmenu;misc;default
	Closed a dangling <NOBR> tag that was causing nasty
	non-wrapping lines in light mode

themes/slashcode/templates/dispStory;misc;light
	Topics were printing topic # as opposed to topic
	display text.

Slash/Utility/Anchor/Anchor.pm
themes/slashcode/templates/html-header;misc;default
	$title is now given an appropriate default. This header is
	template is now ALWAYS displayed for every call
	to header()

themes/slashcode/index.pl
	Nothing to see here! Move along!
  • Loading branch information...
1 parent 311b574 commit 714396269baacf5e7945cd609204a831f43284a0 @Xliff Xliff committed Aug 7, 2001
View
3 Slash/Utility/Anchor/Anchor.pm
@@ -126,7 +126,8 @@ sub header {
$title =~ s/<(.*?)>//g;
- slashDisplay('html-header', { title => $title }, { Nocomm => 1 }) if $title;
+ # This is ALWAYS displayed. Let the template handle $title.
+ slashDisplay('html-header', { title => $title }, { Nocomm => 1 });
# ssi = 1 IS NOT THE SAME as ssi = 'yes'
if ($form->{ssi} eq 'yes') {
View
8 themes/slashcode/htdocs/index.pl
@@ -49,7 +49,10 @@ sub main {
my $limit ||= $section->{section} eq 'index' ?
$user->{maxstories} : $section->{artcount};
- my $stories = $slashdb->getStoriesEssentials($limit, ($form->{section} ne 'index') ? $form->{section} : '');
+ my $stories = $slashdb->getStoriesEssentials(
+ $limit,
+ ($form->{section} ne 'index') ? $form->{section} : ''
+ );
my $Stories = displayStories($stories);
my $StandardBlocks = displayStandardBlocks($section, $stories);
@@ -228,7 +231,8 @@ sub displayStories {
if ($story->{bodytext} || $cc) {
push @links, linkStory({
- 'link' => length($story->{bodytext}) . ' ' . getData('bytes'),
+ 'link' => length($story->{bodytext}) . ' ' .
+ getData('bytes'),
sid => $sid,
mode => 'nocomment'
}) if $story->{bodytext};
View
2 themes/slashcode/templates/dispStory;misc;light
@@ -20,7 +20,7 @@ END %]
[% INCLUDE titlebar %]
-<A HREF="[% constants.rootdir %]/search.pl?topic=[% topic.tid %]">[% topic.tid %]</A> |
+<A HREF="[% constants.rootdir %]/search.pl?topic=[% topic.tid %]">[% topic.alttext %]</A> |
<B>Posted by [% author.nickname %] [% user.aton %] [% story.storytime %]</B><BR>
[% IF constants.use_dept %]
View
1 themes/slashcode/templates/html-header;misc;default
@@ -14,6 +14,7 @@ __name__
html-header
__template__
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+[% DEFAULT title="$constants.sitename: $constants.slogan" %]
<HTML><HEAD><TITLE>[% FILTER strip_literal; title; END %]</TITLE>
__seclev__

0 comments on commit 7143962

Please sign in to comment.