diff --git a/config/cdspage.wml b/config/cdspage.wml index a9bc3cbe5..c9a105e22 100644 --- a/config/cdspage.wml +++ b/config/cdspage.wml @@ -1,105 +1,107 @@ ## $Id$ ## CERN Document Server general web page template. ## This file is part of the CERN Document Server Software (CDSware). ## Copyright (C) 2002 CERN. ## ## The CDSware is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## License, or (at your option) any later version. ## ## The CDSware is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDSware; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. ## include local config and customization of this CDS installation: #include "config.wml" #include "configbis.wml" ## include navigation trail and bar definitions: #include "cdsnavtrail.wml" \ header="
" #include "cdsnavbar.wml" ## HTML header: <CDSNAME>: $(title) ## CDS page header (first common, then local): ## CDS page content:
<: - if ('$(navtrail_position)' =~ /\w/) { - print ''; + if ('$(navtrail_previous_links)' =~ /\w/) { + print ''; + } elsif ('$(navtrail_body)' eq '') { + print ''; } elsif ('$(navtrail_body)' =~ /\w/) { print ''; } elsif ('$(navtrail_body:-undef)' eq 'undef'){ print '
'; &navTrail(); } :>
$(title)

{#BODY#}

<: if ('' =~ /\w/) { print ''; } :> ## then optional "right top" page box that each page can define on its own <: if ('$(cdspageboxrighttopadd)' =~ /\w/) { print '$(cdspageboxrighttopadd)'; } :> ## then optional "left top" page box that each page can define on its own <: if ('$(cdspageboxlefttopadd)' =~ /\w/) { print '$(cdspageboxlefttopadd)'; } :>
## CDS page footer (first local, then common): ## CDS page ends: ## by default we are in the body: {#BODY#: