summaryrefslogtreecommitdiffstats
path: root/template
AgeCommit message (Collapse)AuthorFilesLines
2017-04-27Several changes have been made in this commit, which together with the ↵v2.0Thomas Lange9-56/+63
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-24HTML escaping is required to prevent XML validation errors for some ↵Thomas Lange2-3/+2
characters like "&".
2017-04-24Nested function calls for generating the meta description are removed and a ↵Thomas Lange2-2/+2
function was added to perform this task.
2017-04-12Internationalization for markdown format buttons added.Thomas Lange6-28/+54
2017-04-12Inconsistency in array keys for the admin language fixed (they are usually ↵Thomas Lange6-37/+37
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-11All requests to "favicon.ico" will now be redirected to the current template ↵Thomas Lange1-1/+1
directory "rsrc/favicon.ico" (if the "favicon.ico" inside the root directory does not exist).
2017-04-11HTML and CSS markup optimizations for admin template.Thomas Lange7-45/+42
2017-04-11HTML5 <article> tags has been replaced by the more semantic correct ↵Thomas Lange4-8/+8
<blockquote> tags with "cite" attribute.
2017-04-10Javascript for confirmation message on delete buttons was moved to the ↵Thomas Lange4-3/+14
main.js file to prevent trouble with an active Content-Security-Policy in a case where "unsafe-inline" for Javascript is not allowed.
2017-04-07CSS-Bugfix: Missing border was added.Thomas Lange1-0/+2
2017-03-20The "autofocus" attribute was added to the search input field.Thomas Lange3-3/+2
2017-03-20The javascript part was outsourced to a new file to reduce duplicate code.Thomas Lange6-60/+30
2017-03-10Several changes have been made in this commit, which together with the ↵v1.1Thomas Lange4-28/+26
previous commits result in version 1.1: + The rules for the Apache and nginx configuration have been changed and redirects now all requests to the index.php. + A router class has been added which now handles all requests that arrives at the application on the index.php. + Short-hand functions "PAGE", "POST" and "USER" for use in templates added to get specific item data by ID. + More language variables have been added to the core language.
2017-03-02Unnecessary line breaks removed.Thomas Lange2-2/+2
2017-03-02Permalink for user moved to the same position as the links for page and post ↵Thomas Lange1-2/+2
items.
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-26Spelling mistakes corrected, comments added and unnecessary language ↵Thomas Lange10-45/+99
variables removed.
2017-02-24Initial commit.v1.0Thomas Lange62-0/+2109