Slogan added, logout added to ext-sponsor:
- The slogan will now be displayed in sponsor menu's header
- Logout and only redirect from sponsor area to guest area added
Some SQL queries improved, sponsor registration fixed:
- Some SQL queries improved by removed single quotes around data that are
numbers. This may help MySQL to improve speed of the query
- Sponsor registration from admin (and possibly guest) area was broken
- TODOs.txt updated
Some sponsor API functions added, expression function for user moved:
- Missing function generateSponsorEmailLink() added
- Sponsor registration rewritten to make usage of API function, we can use the
function in admin area again, so the code is shorter
- Usage of EL in admin template for ext-sponsor
- TODOs.txt updated
Legacy comments removed, description for ext-network expanded:
- Some legacy comments removed, they belong to a much older version of this
script and are no longer valid, but still we would recommend you to remove
at least install.php
- Description text for extension ext-network heavily expanded, planed V-Check
support noted
- Some old-lost code refactured
- TODOs.txt updated
Naming convention, more usage of EL, new wrapper function introduced:
- Naming convention applied on further more language strings
- New wrapper function isDirectPaymentAllowed() added
- More usage of EL to shorten PHP scripts
- Parameter $locked in function addPointsToRefSystem() optimized out
- TODOs.txt updated
Fix for inserted codes while registering of extensions, many rewrites/cleanups:
- Fix for extension registration, codes like {OPEN_CONFIG} and such are no
longer compiled in while the extension gots registered. This come handy for
e.g. our POINTS replacement.
- More usage of countSumTotalData() which should reduce the number of SQL
queries in the whole script
- Replaced a lot double-quotes with single-quotes
- Other minor cleanups
Some more cleanups/improvements:
- New wrapper function isUrlBlacklistEnabled() introduced
- More usage of EL in templates
- Renames of array elements to make them the same as database column names
- Some SQLs improved
- TODOs.txt updated
Syntax errors fixed, naming convention applied, wrappers used:
- Some syntax errors fixed (were added with last commit)
- Naming convention applied on variables $max ($numMenus) and some more
- Wraper countSumTotalData() further used
- overview-inc.php contained a query which can be converted into a wrapper call,
function isExtensionInstalled() could be used instead
- TODOs.txt updated
More language strings renamed, TODOs.txt updated:
- A lot more language strings renamed (naming convention: ADMIN_, GUEST_,
MEMBER_ and SPONSOR_ are used for "level" specific language strings, for all
currently no prefix is used.
- HTML code moved out to template
- TODOs.txt updated
Several template fixes/code cleanups, default module titles added:
- Several template fixes/cleanups, e.g. class="bottom" was missing, array
elements were renamed but not in templates
- Code cosmetics applied
- Default module titles will now be set if no module title is already entered
Some more wrappers added, code cleanups:
- Configuration 'wernis_userid' rewritten to {?wernis_refid?}
- New wrapper getIndexHome() added
- New wrapper getDoublerUserid() added (and a global array element rewritten)
- Doublicate braces (('foo')) cleaned up
- Some code costemtics applied
- Other minor improvements
Fixes for doubler (not fully fixed) and rewrites for beg/doubler:
- Many fixes for doubler link (was broken due to bad EL syntax)
- Rewrites to make lesser use of SOME_FOO_1/SOME_FOO_2 (should be SOME_FOO)
- Fixes for beg extension
- TODOs.txt updated
New wrapper function introduced, more EL rewrites:
- New wrapper function getTotalPoints() introduced
- Even more rewrites to make usage of EL
- TODOs.txt updated
Rewrites to handle non-existent modules:
- Getting module' title is now done while compilation phase (and not when the
filter runs). This allows us to modify it even after the page header has been
loaded.
- TODOs.txt updated
Rewrites for installation phase:
- All localized installer messages should be located in install_XX.php
- All those messages should have a prefix INSTALLER_
- Fatal errors in installation phase are now no longer handled by our fatal
error handler, instead the installer handles them by itself.
- Another old message id part "LANG" removed
- TODOs.txt updated
Fixes for missing arguments and some improvements:
- Fixes for missing arguments of debug_report_bug() in various placed
- readFromFile() does already check if the file is readable, so no other
function need to call debug_report_bug() if it is not readable
- TODOs.txt updated
Naming convention, internal TODOs solved:
- Naming convention says referal ids should be represented as 'refid' and not
'rid' which is to short
- Internal TODO solved which wants us to make usage of addPointsFoo() function
- TODOs.txt updated
API functions renamed:
- getOutputMode() is now known as getScriptOutputMode()
- getCachedOutputMode() is now known as getOutputMode()
- This solves a conflict shown in previous commit
A lot calls saved, expression language rewritten:
- A lot getConfig() calls saved and wrapped: getConfig('FOO_BAR') can now be
done with getFooBar(), except OUTPUT_MODE: getCachedOutputMode(). We need to
fix that later on.
- Expression language rewritten (and cached) to take a look for above wrapper
functions.
- TODOs.txt updated
quix0r [Wed, 30 Jun 2010 23:51:59 +0000 (23:51 +0000)]
Module-related code moved, deprecated templates deleted, internals stats are now configurable
- Internal statistics can now be turned of to gain a little more performance
- Module-related functions moved to module-functions.php
- Deprecated templates removed
- TODOs.txt updated
quix0r [Wed, 30 Jun 2010 11:18:36 +0000 (11:18 +0000)]
Some templates renamed, fixed of double-init of extension notes:
- Some templates renamed, new naming convention says that _ext_ is a shortcut
for _extension_ and therefore it is outdated.
- Double-initialization of extension notes while displaying them in task fixed
- In same place, counting of SQL queries fixed
- TODOs.txt updated
quix0r [Wed, 30 Jun 2010 04:54:59 +0000 (04:54 +0000)]
Fixed missed [sw] things in a lot templates, added more EL:
- Fixed a lot broken switch_swX in templates to make use of EL function
{%template,ColorSwitch%}
- More usage of fixEmptyContentToDashes() e.g. for nicknames
- TODOs.txt updated