Roland Häder [Fri, 6 Aug 2010 12:54:56 +0000 (12:54 +0000)]
Fixed a lot ext-network forms, {%get=foo%} introduced, a lot array elements added
- Fixed all form for ext-network to handle dynamic parameters correctly
- Introduced new EL: {%get=foo%} is now a helper EL to insert parameters from
GET request, still this doesn't support extra functions but will be added soon
- Added a lot array element translations for many networks
- TODOs.txt updated
Roland Häder [Thu, 5 Aug 2010 23:35:39 +0000 (23:35 +0000)]
A3H added, handling fixed:
- API array elements added for A3H
- A lot Array index translations added
- Disabling of already added elements fixed
- Current selected handle will now be pre-selected again
- TODOs.txt updated
Roland Häder [Mon, 2 Aug 2010 21:40:41 +0000 (21:40 +0000)]
Call-back function names shortened, __FUNCTION__ used:
- All call-back function names in ext-network shortened, they were to long
- __FUNCTION__ used now in all (except security_functions.php) function
libraries
Roland Häder [Mon, 2 Aug 2010 18:10:20 +0000 (18:10 +0000)]
Duplicate message id GUEST_GENDER removed, column type TIMESTAMP in ext-sponsor,
- Duplicate message id GUEST_GENDER removed and rewritten to GENDER
- Database column type TIMESTAMP (VARCHAR(10) is very old) used in ext-sponsor
- TODOs.txt updated
Roland Häder [Sat, 31 Jul 2010 06:06:12 +0000 (06:06 +0000)]
Introduced new function capitalizeUnderscoreString(), rewritten 'do' parameter:
- Introduced new function capitalizeUnderscoreString(), this function does first
convert all dashes (-) into underscores (_) and then capitalizes all strings
parts. This function is self-cached to speedup things
- All ext-network templates rewritten which has a 'do' parameter, this parameter
identifies the form which should be processed by doNetworkProccessForm()
Roland Häder [Fri, 30 Jul 2010 01:23:49 +0000 (01:23 +0000)]
Old lost code removed in modules.php, naming convention applied:
- Old lost code to check if 'module' is set removed, it is done now in a filter
- Naming convention applied: subject line identifier should end with _SUBJECT
- Some code simplified
Roland Häder [Thu, 29 Jul 2010 23:20:57 +0000 (23:20 +0000)]
Generic function accepts eights (!) but optional parameter $callback, ext-network continued:
- The generic function generateOptionList() does now accept an optional eights
parameter $callback. This is already used in ext-network to 'translate' values
from column translation_name and can be any valid call-back function passed to
call_user_func_array().
- Extension ext-network does now have very basic API array index translations
- TODOs.txt updated
Roland Häder [Wed, 28 Jul 2010 20:28:53 +0000 (20:28 +0000)]
Naming convention applied on language strings, check added to wrapper:
- Naming convention applied on more language strings
- Check added to wrapper function ifPostContainsSelections() to make sure the
form is really sent
- TODOs.txt updated
Roland Häder [Sat, 24 Jul 2010 22:16:13 +0000 (22:16 +0000)]
Naming convention applied, ext-network menu resorted:
- Naming convention applied on ext-network templates and PHP scripts
- From same extension, the menu has been resorted
- SQL_NUMROWS() is now cached
- Many code cleanups related to SQL_NUMROWS()
- TODOs.txt updated
Roland Häder [Sat, 24 Jul 2010 01:47:34 +0000 (01:47 +0000)]
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
Roland Häder [Fri, 23 Jul 2010 05:13:27 +0000 (05:13 +0000)]
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
Roland Häder [Fri, 23 Jul 2010 03:11:12 +0000 (03:11 +0000)]
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
Roland Häder [Thu, 22 Jul 2010 10:11:00 +0000 (10:11 +0000)]
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
Roland Häder [Tue, 20 Jul 2010 22:48:37 +0000 (22:48 +0000)]
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
Roland Häder [Mon, 19 Jul 2010 15:38:33 +0000 (15:38 +0000)]
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
Roland Häder [Sun, 18 Jul 2010 03:28:55 +0000 (03:28 +0000)]
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
Roland Häder [Fri, 16 Jul 2010 15:34:57 +0000 (15:34 +0000)]
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
Roland Häder [Fri, 16 Jul 2010 03:49:23 +0000 (03:49 +0000)]
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
Roland Häder [Thu, 15 Jul 2010 18:23:34 +0000 (18:23 +0000)]
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
Roland Häder [Sun, 11 Jul 2010 20:27:15 +0000 (20:27 +0000)]
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
Roland Häder [Sun, 11 Jul 2010 19:55:12 +0000 (19:55 +0000)]
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
Roland Häder [Sat, 10 Jul 2010 08:51:00 +0000 (08:51 +0000)]
New wrapper function introduced, more EL rewrites:
- New wrapper function getTotalPoints() introduced
- Even more rewrites to make usage of EL
- TODOs.txt updated
Roland Häder [Thu, 8 Jul 2010 22:17:38 +0000 (22:17 +0000)]
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