aboutsummaryrefslogtreecommitdiffstats
path: root/template/admin/html/page/form.php
AgeCommit message (Collapse)AuthorFilesLines
2019-04-26Rename "template" directory to "theme"Thomas Lange1-98/+0
This commit renames the "template" directory to "theme" because "theme" is the more correct term here.
2018-09-09Use function "getUnicodeEmoticons" in form templatesThomas Lange1-2/+2
2018-05-18Remove square brackets from form placeholdersThomas Lange1-3/+3
2017-10-31The use of a nonexistent CSS class has been removed.Thomas Lange1-1/+1
2017-10-24Database update: The maximum amount of characters for the argument field has ↵v2.4.1Thomas Lange1-1/+1
been increased from 100 to 250. Database update to version 2.4.1 (no existing data will be lost or changed): ALTER TABLE `page` MODIFY `argv` VARCHAR(250); ALTER TABLE `post` MODIFY `argv` VARCHAR(250); ALTER TABLE `user` MODIFY `argv` VARCHAR(250);
2017-08-11Several changes have been made in this commit, which together with the ↵v2.3Thomas Lange1-15/+15
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-31Optimizations and tiny design update for the admin template:Thomas Lange1-9/+13
+ The form buttons for insert, update and delete are now having a corresponding background color (green, blue and red). + The information messages are now displayed within the <form> element and with a red background color around the text.
2017-05-31Two changes have been made in this commit:Thomas Lange1-16/+16
+ Update [core]: Parsedown has been updated to version 1.6.2. + Optimization [admin template]: The markdown buttons have been placed directly above the content editor. + Optimization [admin template]: The content editor has been visually embellished (padding from the parent was removed).
2017-05-21Several changes have been made to the admin template, which together with ↵v2.1.1Thomas Lange1-30/+30
the previous commits result in version 2.1.1: + Optimization [CSS]: Unused .fa-* classes have been removed. + Optimization [CSS]: Hyphens have been disabled for the text within the content editor. + Optimization [CSS]: Some elements now have a smaller padding value which has benefits if the page is displayed on a mobile device. + Optimization [HTML]: The HTML <section> elements of the formular have been replaced with simple <div> elements because <section> elements should only be used for self-contained areas which have nothing to do with the rest of the content. The using of <section> elements at this place was semantically incorrect. + Implemented [JS]: Tab indents which are made by pressing <tab> can now also be removed by pressing <shift>+<tab>. + Optimization [JS]: The functions "emoticonReplace" and "markdownReplace" has been renamed to "insertEmoticon" and "insertMarkdown" and have been restructured. + Optimization [JS]: The DOMContentLoaded event listeners are not required because the file is included with the "defer" attribute. + Optimization [JS]: A function called "delayed" was added which executes a callback function after an delay of 20 ms (the delayed execution of code is necessary for the "insertEmoticon" and "insertMarkdown" functions because the content editor otherwise will losing focus when clicking outside at the emoticon or markdown buttons while the "onmousedown" event listener is still executing).
2017-05-01Semantic HTML5 attribute "type" with value "number" for numeric form fields ↵Thomas Lange1-1/+1
added.
2017-04-29The values ​​for the "for" and "id" properties have been converted to ↵Thomas Lange1-13/+13
lowercase (to be consistent with the rest of the HTML elements).
2017-04-28Inline javascript for emoticon and markdown replacement has been outsourced ↵Thomas Lange1-12/+12
into the main.js file.
2017-04-27Several changes have been made in this commit, which together with the ↵v2.0Thomas Lange1-0/+3
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 Lange1-9/+9
2017-04-12Inconsistency in array keys for the admin language fixed (they are usually ↵Thomas Lange1-5/+5
lowercase but only the keys for the labels were uppercase).
2017-04-10Javascript for confirmation message on delete buttons was moved to the ↵Thomas Lange1-1/+1
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 Lange1-1/+1
2017-02-24Initial commit.v1.0Thomas Lange1-0/+91