| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
If there is an input error then the edit page is redrawn showing the
input errors. The HTTP_REFERER becomes the current page, rather than the
true original referer. Then if you click Cancel the current page is just
redrawn.
This change makes the code remember the original referer, so if the user
enters some invalid data, presses Save, reads the input error messages
then presses Cancel they are taken back out to the original page - the
same as if Cancel was used before Save.
|
|
|
|
|
|
|
| |
and other random stuff I noticed.
I think this finishes messing with code style. The codebase should match
the developer style guide closely enough that 99.9% of changes will not
feel the need to also massage the formatting.
|
| |
|
|
|
|
|
| |
and module names and other bits of formatting and typos in header
comment sections.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
HTTP_REFERER, there are a couple of places I didn't touch on this commit because it requires more work
|
|
|
|
|
|
|
|
| |
Add SUMMARY to TABLES
Move NOWRAP to CLASS statement
Close IMG tags and add ALT statement
Deprecate ampersand in Anchor tags
Add missing closing TR tag
|
|
|
|
| |
they are numeric integer, also, pass them through htmlspecialchars() before print
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
incorrect item sometimes being shown when clicking edit buttons.
|
|
|
|
| |
Simplify get_memory(). Tested on mips/i386
|
|
|
|
| |
all the nested functions real functions.
|
|
|
|
|
|
| |
pages where they are needed.
Remove some sort functions not used.
|
| |
|
|
|
|
|
|
|
|
|
| |
* Remove some recursive dependency on some includes
* Remove ^M or \r from files
* Remove some entries from functions.inc to avoid including them twice
* Remove some unneccessary includes from some files
NOTE: There is some more work to be done for pkg-utils.inc to be removed from backend as a dependency.
|
|
|
|
|
|
|
|
|
|
|
| |
locking using semaphores.
This function can sleep till the resource is free and can help find not well behaving code.
* Remove most of the config_lock/config_unlock logics on the whole scripts/pages it is an abuse of this.
If any sybsytem wants to lock can do so with its own lock.
* Lock the config when doing a filter reload to avoid parallell recursion on this function, since it is not reentrant.
This compenstates for the removal of lock aquiring from the scripts/pages.
* config_lock/config_unlock are now compate shims that do nothing. They are preserved since packages 'abuse' them too.
|
|
|