From: fox_two <> Date: Sun, 20 May 2001 00:14:13 +0000 (+0000) Subject: Added DTD for fo_view.xml configuration file. X-Git-Url: https://git.p6c8.net/selfforum.git/commitdiff_plain/59d0b8bd721c81789d7f18bb53fcca5e7b2c9b58 Added DTD for fo_view.xml configuration file. --- diff --git a/selfforum-cgi/user/config/fo_view.dtd b/selfforum-cgi/user/config/fo_view.dtd new file mode 100644 index 0000000..b0fcd3f --- /dev/null +++ b/selfforum-cgi/user/config/fo_view.dtd @@ -0,0 +1,21 @@ +<!-- *************************************************************************** +* * +* File: fo_view.dtd * +* * +* Authors: Frank Schoenmann <fs@tower.de>, 2001-05-20 * +* * +* Description: n/a * +* * +**************************************************************************** --> + +<!ELEMENT Config (Property)> + +<!ELEMENT Property (Variable | Property)*> +<!ATTLIST Property + name CDATA #REQUIRED +> + +<!ELEMENT Variable (#PCDATA)> +<!ATTLIST Variable + name CDATA #REQUIRED +> diff --git a/selfforum-cgi/user/config/fo_view.xml-default b/selfforum-cgi/user/config/fo_view.xml-default index bff7ef8..4ee6809 100644 --- a/selfforum-cgi/user/config/fo_view.xml-default +++ b/selfforum-cgi/user/config/fo_view.xml-default @@ -1,27 +1,22 @@ <?xml version="1.0"?> - +<!DOCTYPE Forum SYSTEM "fo_view.dtd"> <Config> - - <Property name="show"> - <Property name="Forum"> - - <Variable name="templateFile">/var/www/cgi-local/user/config/forum.tmpl.xml</Variable> - - <Property name="assign"> - <Variable name="mainDocStart">DOC_FORUM_START</Variable> - <Variable name="mainDocEnd">DOC_FORUM_END</Variable> - <Variable name="loadingTime">_LOAD_TIME</Variable> - <Variable name="cssFile">_CSS_FILE</Variable> - <Variable name="errorDoc">DOC_ERROR</Variable> - - <Variable name="notAvailable">_N_A</Variable> - <Variable name="occupied">_OCCUPIED</Variable> - <Variable name="errorText">_ERROR_TEXT</Variable> - </Property> - + <Property name="show"> + <Property name="Forum"> + <Variable name="templateFile">/var/www/cgi-local/user/config/forum.tmpl.xml</Variable> + + <Property name="assign"> + <Variable name="mainDocStart">DOC_FORUM_START</Variable> + <Variable name="mainDocEnd">DOC_FORUM_END</Variable> + <Variable name="loadingTime">_LOAD_TIME</Variable> + <Variable name="cssFile">_CSS_FILE</Variable> + <Variable name="errorDoc">DOC_ERROR</Variable> + <Variable name="notAvailable">_N_A</Variable> + <Variable name="occupied">_OCCUPIED</Variable> + <Variable name="errorText">_ERROR_TEXT</Variable> + </Property> + </Property> </Property> - </Property> - </Config> <!-- The End -->