summaryrefslogtreecommitdiffstats
path: root/template/standard/html/user/item.php
AgeCommit message (Collapse)AuthorFilesLines
2017-09-14Some markup optimizations has been made to both templates (the HTML5 ↵Thomas Lange1-2/+2
<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-05-05A significant increase in the response time has been achieved, since the ↵v2.1Thomas Lange1-1/+1
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-11HTML5 <article> tags has been replaced by the more semantic correct ↵Thomas Lange1-2/+2
<blockquote> tags with "cite" attribute.
2017-03-02Permalink for user moved to the same position as the links for page and post ↵Thomas Lange1-2/+2
items.
2017-02-24Initial commit.v1.0Thomas Lange1-0/+20