hidden in some subroutine.
(OpenNewText): Just use $NewText.
(DoPost): If oldrev is 1 and the new text is $NewText, then do not
save.
Patch by Pierre Gaston <pgas@intracom.gr>:
Many subroutines: Replaced print &GetFooter(...) with
&PrintFooter(...).
(GetFooter, PrintFooter): Renamed GetFooter to PrintFooter, and
changed concatenations to prints.
(InitRequest): Ditto.
(InitCookie): Ditto.
(BrowsePage): Print header later, set $Message for the messages
"Revision %s not available" and "Showing revision %s".
(BrowsePage): Added new div class="rc" for recent changes output.
(GetHeader): Changed header layout. Logo and GotoBar are now at
the top, followed by messages, page title, and content. Added div
and special days.
(GetGotoBar): Removed special days from the goto bar.
(GetFooterText, GetCommonFooter, GetMinimumFooter): Replaced by GetFooter.
(GetFooter): New, unified, added div.
(DoHistory): Use GetFooter with history parameter.
(DoUnlock): Use GetFooter.
(DoEdit): Use GetFooter with edit parameter.
(DoPassword, DoEdit, UserIsEditorOrError, UserIsAdminOrError)
(DoSearch, DoLinks, DoPrintAllPages, DoMaintain, DoMaintain)
(DoIndex, DoConvert, DoEditLock, DoPageLock, DoEditBanned)
(DoUpdateBanned, DoShowVersion, DoShowVisitors): Use GetFooter.
(GetHeader): Use it.
($Monolithic): New variable.
(ScriptLink): Use it.
(DoBrowseRequest): New action 'all'.
(DoUnlock): Rewrote using a loop.
(GetFullLinkList): Rewrote variable declarations a bit.
(ReleaseRefererLock, RequestRefererLock): Avoid declaring a variable for just one call.
(DoPrintAllPages): New function.
(PrintAllPages): New function.
(DoBrowseRequest): Added convert action.
(GetKeepFile): Convenience function added.
(KeepFileName): Use it.
(ReadFile): Removed on-the-fly separator conversion.
(DoMaintain): Removed separator conversion of pages, no conversion
of rc entries, no conversion of $RcOldFile.
(DoConvert): New function.
(ConvertFile): New functtion.
(ReadRecentVisitors): Replaced newline and colon with field separators.
(WriteRecentVisitors): Ditto.
(GetReferers): Ditto.
This undoes all the on-the-fly conversion code, since that was
hard to maintain, and had a bug: Keep files of pages that had no
expiry pending did not get converted.