aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/page/form.php
AgeCommit message (Collapse)AuthorFilesLines
2024-01-23Remove trailing slash on void elementsThomas Lange1-9/+9
The trailing slash on void elements (self-closing tags) doesn't have any effect, isn't required by HTML5 and it is recommended to not use it.
2021-09-19Pre-select the current user in page/post formThomas Lange1-1/+2
Pre-select the user with the user ID of the current session in the forms for creating a page or a post. This fixes the problem that occurs if one have multiple users in the database, but the create forms were not using the *current* logged-in user as the default selected user. The forms for modifying a page or post are not affected because they use the ID from "$FORM['DATA']['USER']" for selecting the correct user. This key is undefined on the create forms, so we use "$_SESSION['USER_ID']" for selecting the default user for creating new pages and posts.
2021-07-28Add "required" attribute to required form fieldsThomas Lange1-2/+2
2021-07-22Add "autofocus" attribute to HTML form fieldsThomas Lange1-1/+1
2021-06-26Use shorthand ternary operator in admin formsThomas Lange1-1/+1
2021-06-26Fix bug in user select form fieldThomas Lange1-1/+1
2021-06-26Add and change some Fontello icons for admin themeThomas Lange1-1/+1
2021-06-19Remove ID form field (and rearrange other fields)Thomas Lange1-17/+10
This commit removes the ID form field, enlarges the title form field and rearranges the other form fields in the grid layout.
2021-06-13Replace the flex layout in favor of a grid layoutThomas Lange1-40/+46
This commit replaces the initial CSS flexbox layout for forms of the admin theme with a more elegant approach called "grid layout". :) Some interesting information: https://www.w3schools.com/css/css_grid.asp https://blog.logrocket.com/flexbox-vs-css-grid/
2021-06-12Place message boxes outside the <form> elementsThomas Lange1-11/+11
2019-04-26Rename "template" directory to "theme"Thomas Lange1-0/+98
This commit renames the "template" directory to "theme" because "theme" is the more correct term here.