Commit graph

17 commits

Author SHA1 Message Date
Hannes Wallnöfer
8388d56f1b merged changes from branch hns_timezone into main branch. 2002-05-27 18:50:48 +00:00
Hannes Wallnöfer
61570c4c05 - Do not display stories on the weblog home page that are in the future
(i.e. have been posted to future days). We only show when they're
explicitly accessed via calendar. Also, don't display a "newer stories"
link on the home page if there are stories with future days/dates on the
weblog.

- Only pad dates in calender with non-breaking spaces for single digit
days. The idea is that single digit days are easy to click while the whole
calendar widget remains what it would be without padding.
2002-04-22 20:36:45 +00:00
Robert Gaggl
d1f0bd2dfd fixed a bug where the frontpage of a weblog would be empty if "number of days on frontpage" is set to 1 and the only story of the newest day is set to "online just in topic"
there's still a problem with previous/next-navigation, but this will be solved with restructuring of story-handling
2002-04-14 11:34:56 +00:00
Hannes Wallnöfer
e2b9c8e577 The previous/next links on the front page now use the name
of the days instead of index numbers as query parameters.

This is to make one URL point to the same day, even if a new
day is added or a day is removed. I know this type of navigation
is not meant for people to link to stories, but I think it will
happen sometimes.
2002-02-02 13:41:06 +00:00
Robert Gaggl
ba0aeb613c exchanged prevpage/nexpage-linktexts 2002-01-31 18:25:09 +00:00
cc08c24af0 added sp.text for rendering prev/next page links 2002-01-30 16:15:21 +00:00
Robert Gaggl
a8141cae4c added renderStorylist()-function 2002-01-05 02:46:32 +00:00
Robert Gaggl
2b4f80abb5 now use isStoryOnline()-function 2001-12-16 18:10:30 +00:00
Hannes Wallnöfer
b113a8dc13 padded calender day date with spaces left and right to
make it a bit easier to click. (For example, the first day of the
month will be rendered as " 1 " instead of just "1".)
2001-12-04 13:25:23 +00:00
Robert Gaggl
28f712c58e removed some checks 2001-11-18 13:31:09 +00:00
Robert Gaggl
7984645e57 moved renderImage-function to hopoject 2001-10-21 11:58:36 +00:00
Hannes Wallnöfer
c6a2133635 minor optimization in calendar day rendering: date comparison is heavier than just checking the size 2001-08-23 20:00:44 +00:00
Hannes Wallnöfer
bf460b7791 some minor optimizations in calender rendering 2001-08-23 17:31:29 +00:00
Robert Gaggl
8bc35091c1 added isViewAllowed()-function, using isViewAllowed()-function 2001-08-15 09:04:30 +00:00
Robert Gaggl
7ec81c7a35 moved formatTimestamp() to objectFunctions, some other changes ... 2001-07-01 19:34:12 +00:00
Robert Gaggl
e8efbd6961 changed renderImage-function 2001-06-28 18:10:55 +00:00
Robert Gaggl
bbfcb3d4f4 Initial revision 2001-06-18 08:57:33 +00:00