aboutsummaryrefslogtreecommitdiffstats
path: root/template/standard/html/page
AgeCommit message (Collapse)AuthorFilesLines
2017-09-14Some markup optimizations has been made to both templates (the HTML5 ↵Thomas Lange2-4/+4
<article> element is more correct for the purpose of an item list, because real lists should only be used if the order of the items would change the meaning. This is not the case, because each item is a self-contained area which has nothing to do with the other items).
2017-09-02Some HTML and CSS optimizations has been made to the standard template and ↵Thomas Lange1-2/+2
the "title" attribute was added to every heading link in the item list.
2017-09-02Multiple <section> elements were replaced by simple <div> elements. If a ↵Thomas Lange1-2/+2
container element is only used for the CSS and has no semantic meaning, then a <section> element is definitely wrong for this purpose.
2017-08-11Several changes have been made in this commit, which together with the ↵v2.3Thomas Lange3-4/+4
previous commits result in version 2.3: + Optimization: Originally, the core and template languages were completely separated in the logic of the Language class and you had to use "$Language->text()" to get a core language string and "$Language->template()" to get a template language string. Since this commit, the core and template language strings are still located in different files, but you now have to use "$Language->text()" for core and template language strings both. Thus, you can now even overwrite a core language string from the language file of a template if the core language string does not satisfy you. + Deprecated: The method "$Language->template()" was marked as deprecated and will be removed in further versions (currently, it's just an alias for "$Language->text()"). Template upgrade to version 2.3 (only for customized templates): SEARCH: $Language->template REPLACE: $Language->text
2017-05-05A significant increase in the response time has been achieved, since the ↵v2.1Thomas Lange2-2/+2
template parameters "$ITEM['BODY']['TEXT']" and "$ITEM['BODY']['HTML']" are now no longer strings but closures (anonymous functions). This means that the underlying logic, which parses the content or converts it into Markdown, is not executed until one of these parameters is really needed and called in the template (which maybe significantly increases the response time on a long list of items which not use one of those two parameters). This means that within templates you now have to call these parameters in the following way (note the brackets at the end, which represent a function call): <?=$ITEM['BODY']['TEXT']()?> <?=$ITEM['BODY']['HTML']()?> In the background, the anonymous functions are called and executes $Item->getBody() and $Item->getHTML() only when needed. Previously, $Item->getBody() and $Item->getHTML() were basically executed and the parsed content was passed to the template, regardless of whether these parameters are required in the template or not!
2017-04-30Missing internationalization for feed link titles added.Thomas Lange1-1/+1
2017-04-11HTML5 <article> tags has been replaced by the more semantic correct ↵Thomas Lange1-2/+2
<blockquote> tags with "cite" attribute.
2017-03-20The javascript part was outsourced to a new file to reduce duplicate code.Thomas Lange1-15/+3
2017-03-02Unnecessary line breaks removed.Thomas Lange1-1/+1
2017-02-26Spelling mistakes corrected, comments added and unnecessary language ↵Thomas Lange2-2/+2
variables removed.
2017-02-24Initial commit.v1.0Thomas Lange3-0/+85