aboutsummaryrefslogtreecommitdiffstats
path: root/template/admin/html
AgeCommit message (Collapse)AuthorFilesLines
2017-05-05A significant increase in the response time has been achieved, since the ↵v2.1Thomas Lange3-3/+3
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-05-01Semantic HTML5 attribute "type" with value "number" for numeric form fields ↵Thomas Lange3-3/+3
added.
2017-04-30The date of publication is now displayed in the lists.Thomas Lange3-2/+11
2017-04-30CSS optimization (spaces between icon and text are replaced by margin).Thomas Lange1-3/+3
2017-04-30Hyperlinks to the documentation and the releases on GitHub added to the footer.Thomas Lange1-1/+5
2017-04-29The values ​​for the "for" and "id" properties have been converted to ↵Thomas Lange4-47/+47
lowercase (to be consistent with the rest of the HTML elements).
2017-04-29Two changes have been made in this commit:Thomas Lange3-0/+27
+ The method "Item::getArguments" has been optimized and checks now the syntax of the argument names (only A-Z, a-z, 0-9 and underscores are allowed). + The admin template has been changed and displays now the used arguments of an item within the list.
2017-04-28Inline javascript for emoticon and markdown replacement has been outsourced ↵Thomas Lange3-36/+36
into the main.js file.
2017-04-27Several changes have been made in this commit, which together with the ↵v2.0Thomas Lange5-34/+28
previous commits result in version 2.0 (database update required): + Implemented [core]: A new database field has been added to all tables to define optional "arguments" for a page, post or user through the content editor. These arguments will be parsed into key->value pairs and can be used within templates to do something special. Please read the wiki of this repository for further information about this new feature. + Bugfix [core]: The function "makeSlugURL" had not convert uppercase umlauts to lowercase because "strtolower" was used instead of the multibyte equivalent "mb_strtolower". + Optimization [core]: The first regular expression within the function "makeSlugURL" has been optimized (checking for uppercase characters at this point is unnecessary because $string is only lowercase). + Optimization [all templates]: Markup for the pagination.php has been simplified (a little bit). + Optimization [admin template]: The javascript for the arrow key navigation has been outsourced to the main.js file. + Optimization [admin template]: The javascript file will now be included with the "defer" attribute. + Optimization [standard template]: Some language variables have been changed. Database update to version 2.0 (no existing data will be lost or changed): ALTER TABLE `page` ADD `argv` VARCHAR(100) NULL DEFAULT NULL AFTER `body`; ALTER TABLE `post` ADD `argv` VARCHAR(100) NULL DEFAULT NULL AFTER `body`; ALTER TABLE `user` ADD `argv` VARCHAR(100) NULL DEFAULT NULL AFTER `body`;
2017-04-12Internationalization for markdown format buttons added.Thomas Lange3-27/+27
2017-04-12Inconsistency in array keys for the admin language fixed (they are usually ↵Thomas Lange4-19/+19
lowercase but only the keys for the labels were uppercase).
2017-04-12Inconsistency in the admin template parameters fixed (this does not affect ↵Thomas Lange1-2/+2
any template parameters for the frontend templates).
2017-04-11HTML and CSS markup optimizations for admin template.Thomas Lange6-12/+12
2017-04-10Javascript for confirmation message on delete buttons was moved to the ↵Thomas Lange3-3/+3
main.js file to prevent trouble with an active Content-Security-Policy in a case where "unsafe-inline" for Javascript is not allowed.
2017-02-27Forgotten CSS class for page and user form template added.Thomas Lange2-2/+2
2017-02-26Added support for multiple queries in a single request (supplement).Thomas Lange1-1/+1
2017-02-24Initial commit.v1.0Thomas Lange25-0/+585