[phpwebapp-commits] CVS: web_app/doc to_do.txt,1.5,1.6 changes.txt,1.5,1.6
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2004-07-16 07:37:15
|
Update of /cvsroot/phpwebapp/web_app/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19892/doc Modified Files: to_do.txt changes.txt Log Message: Index: to_do.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/doc/to_do.txt,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** to_do.txt 15 Jul 2004 14:46:04 -0000 1.5 --- to_do.txt 16 Jul 2004 07:37:05 -0000 1.6 *************** *** 1,14 **** * Parse the templates using an XML parser. - - Fix the problems with <Repeat>. - + Why the navigation vars work even without a <RSNavig> template? - - - <input type="checkbox" {{checked}} /> does not work anymore because - it is not well-formed xml. Think about a solution for this. - The same for 'selected'. Maybe it can be solved like this: - <input type="checkbox" checked="{{checked}}" /> - and then the attribute 'checked' is removed (by the parser or the - renderer) if its value is '' (empty) or 'false'. - - Use 'tidy' or any shell scripts for converting from HTML to XHTML. After this, use an XSLT transformer to reformat the templates --- 1,4 ---- *************** *** 24,29 **** conversion tool(s)). - - Replace the old edit_menu with the new one. - - Reformat all the files (automatically with emacs). --- 14,17 ---- Index: changes.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/doc/changes.txt,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** changes.txt 15 Jul 2004 14:46:04 -0000 1.5 --- changes.txt 16 Jul 2004 07:37:06 -0000 1.6 *************** *** 5,41 **** ------------------------------------------------------------------- - ------------------------------------------------------------------- - ------------------------------------------------------------------- - ------------------------------------------------------------------- - ------------------------------------------------------------------- - * - This is wrong: <If condition="'{{CurrPage}}'<>'{{PrevPage}}'"> - This is wright: <If condition="'{{CurrPage}}'!='{{PrevPage}}'"> - because the xml parser complains about the characters < and > - inside the value of an attribute. - ------------------------------------------------------------------- - * Added the tag <example>. It can be used like this: ! <example style="border: 1px solid #eeeeee;"> test ! <b>test</b> ! {{test}} ! <Include SRC="{{content_html}}" /> ! </example> ! It is converted by the framework to an <xmp> element, like this: ! <xmp style="border: 1px solid #eeeeee;"> test ! <b>test</b> ! {{test}} ! <Include SRC="{{content_html}}" /> ! </xmp> ! The content of the element is copied verbatim, no variable replacement ! or other processing is done. Even the white-space is preserved and ! the overall indentation of the generated page does not touch the ! original indentation of this element. ! Also, the framework preserves the original white-space and indentation ! for the xhtml tags <pre> and <xmp>, however their contents are processed ! for template variables and framework tags. ------------------------------------------------------------------- --- 5,31 ---- ------------------------------------------------------------------- ! * Parsing is done using an XML parser. This means that some ! restrictions that were due to the previous parser, now are removed. ! Such improvments are: ! - The names of the framework tags and their attributes now are ! case insensitive (however lowercase is recommended, according ! to XHTML standards). ! - The framework comments can be like this: <!--#Comment .... -->. ! The empty space after the first diesis is not requried anymore, ! and the ending diesis (#-->) can be omitted. ! - The closing and ending tags are not required to be in separate ! lines anymore. E.g. something like this is ok: ! <if condition="..."> ... </if> ! Previously it was required to be like this: ! <If contition="..."> ! ... ! </If> ! - Templates are now required to be XHTML code, otherwise the ! parser will not parse them successfully. ------------------------------------------------------------------- *************** *** 73,98 **** ------------------------------------------------------------------- ! * Parsing is done using an XML parser. This means that some ! restrictions that were due to the previous parser, now are removed. ! Such improvments are: ! - The names of the framework tags and their attributes now are ! case insensitive (however lowercase is recommended, according ! to XHTML standards). ! - The framework comments can be like this: <!--#Comment .... -->. ! The empty space after the first diesis is not requried anymore, ! and the ending diesis (#-->) can be omitted. ! - The closing and ending tags are not required to be in separate ! lines anymore. E.g. something like this is ok: ! <if condition="..."> ... </if> ! Previously it was required to be like this: ! <If contition="..."> ! ... ! </If> ! - Templates are now required to be XHTML code, otherwise the ! parser will not parse them successfully. ------------------------------------------------------------------- --- 63,102 ---- ------------------------------------------------------------------- ! * Added the tag <example>. It can be used like this: ! <example style="border: 1px solid #eeeeee;"> test ! <b>test</b> ! {{test}} ! <Include SRC="{{content_html}}" /> ! </example> ! It is converted by the framework to an <xmp> element, like this: ! <xmp style="border: 1px solid #eeeeee;"> test ! <b>test</b> ! {{test}} ! <Include SRC="{{content_html}}" /> ! </xmp> ! The content of the element is copied verbatim, no variable replacement ! or other processing is done. Even the white-space is preserved and ! the overall indentation of the generated page does not touch the ! original indentation of this element. ! ! Also, the framework preserves the original white-space and indentation ! for the xhtml tags <pre> and <xmp>, however their contents are processed ! for template variables and framework tags. ------------------------------------------------------------------- + + * - This is wrong: <If condition="'{{CurrPage}}'<>'{{PrevPage}}'"> + This is right: <If condition="'{{CurrPage}}'!='{{PrevPage}}'"> + because the xml parser complains about the characters < and > + inside the value of an attribute. + + ------------------------------------------------------------------- + + ------------------------------------------------------------------- + ------------------------------------------------------------------- + ------------------------------------------------------------------- + ------------------------------------------------------------------- |