]> Kevux Git Server - koopa/commit
Progress: more development with paths, additional html processing,
authorKevin Day <thekevinday@gmail.com>
Fri, 28 Apr 2017 03:28:43 +0000 (22:28 -0500)
committerKevin Day <thekevinday@gmail.com>
Fri, 28 Apr 2017 03:28:43 +0000 (22:28 -0500)
commitc11f3992251d3556be80bd3634ad4ae8189a263e
treeecbf553e35686dba924c642ea8aa6844f8c08c7f
parentbe515be5fc4655015f957dd708684074021e91cd
Progress: more development with paths, additional html processing,

More work with paths.
Add additional data to HTML, restructuring code as necessary.
- Now includes class names by date and path (assigned to <body>).
- Add sanitizer, I used drupal 7's css sanitizer as a reference (just their preg_replace() part).

Functions like get_is_root() is a bit awkward, change the behavior and name to be more suitable.
- get_is_root() and set_is_root() are both now is_root() such that is_root() functions as get_is_root() when no parameters are specified and functions as set_is_root() when parameters are specified.
- this is repeated for all other similar functions.

I decided to separate /a/ paths into two paths:
- /a/ - administrative paths (for advanced and technical administration).
- /m/ - management paths (which is where most of the non-user related website logged in access will be involved in).

Other fixes and changes.
28 files changed:
common/base/classes/base_defaults_global.php
common/base/classes/base_html.php
common/base/classes/base_http.php
common/base/classes/base_markup.php
common/base/classes/base_mime.php
common/base/classes/base_path.php
common/base/classes/base_session.php
common/theme/classes/theme_html.php
documentation/url_paths.txt
program/reservation/index.php
program/reservation/internal/access_denied.php
program/reservation/internal/bad_method.php
program/reservation/internal/ja/access_denied.php
program/reservation/internal/ja/bad_method.php
program/reservation/internal/ja/not_found.php
program/reservation/internal/ja/server_error.php
program/reservation/internal/not_found.php
program/reservation/internal/options.php [new file with mode: 0644]
program/reservation/internal/server_error.php
program/reservation/paths/u/dashboard.php
program/reservation/paths/u/ja/dashboard.php
program/reservation/paths/u/ja/login.php
program/reservation/paths/u/ja/logout.php
program/reservation/paths/u/login.php
program/reservation/paths/u/logout.php
program/reservation/reservation_paths.php
program/reservation/reservation_redirects.php
program/reservation/reservation_session.php