diff --git a/config/cdspage.wml b/config/cdspage.wml index 92191dc2d..4903da994 100644 --- a/config/cdspage.wml +++ b/config/cdspage.wml @@ -1,157 +1,157 @@ ## $Id$ ## CERN Document Server general web page template. ## This file is part of the CERN Document Server Software (CDSware). ## Copyright (C) 2002, 2003, 2004, 2005 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 "cdswmllib.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:
## first site-wide CDSPAGEBOXLEFTTOP: <: if ('' =~ /\w/) { print '
'; } :> ## then optional "left top" page box that each page can define on its own: <: if ('$(cdspageboxlefttopadd)' =~ /\w/) { print '
$(cdspageboxlefttopadd)
'; } :> ## then optoinal "left bottom" page box that each page can define on its own: <: if ('$(cdspageboxleftbottomadd)' =~ /\w/) { print '
$(cdspageboxleftbottomadd)
'; } :> ## then site-wide CDSPAGEBOXLEFTBOTTOM: <: if ('' =~ /\w/) { print '
'; } :>
## before everything, print the navbar: ## first site-wide CDSPAGEBOXRIGHTTOP: <: if ('' =~ /\w/) { print '
'; } :> ## then optional "right top" page box that each page can define on its own: <: if ('$(cdspageboxrighttopadd)' =~ /\w/) { print '
$(cdspageboxrighttopadd)
'; } :> ## then optional "right bottom" page box that each page can define on its own: <: if ('$(cdspageboxrightbottomadd)' =~ /\w/) { print '
$(cdspageboxrightbottomadd)
'; } :> ## then site-wide CDSPAGEBOXRIGHTBOTTOM: <: if ('' =~ /\w/) { print '
'; } :>

$(title)

{#BODY#}

## CDS page footer (first local, then common): ## CDS page ends: ## by default we are in the body: {#BODY#: