Roland Häder [Mon, 23 Aug 2010 17:48:38 +0000 (17:48 +0000)]
Several language strings renamed/moved, internal TODO closed:
- Several language strings renamed/moved to own language files
- Internal TODO closed, the template tlock_message.tpl was already there but
not used
- TODOs.txt updated
Roland Häder [Mon, 23 Aug 2010 12:32:54 +0000 (12:32 +0000)]
Rewrites/fixes for CURRENT_DATE, better encapsulation of redirect, coding convention:
- loadExtension()'s parameter $ext_ver is now '0.0' by default, this saves a
manual fix. Still all these errors needs to be fixed
- Setting CURRENT_DATE in inc/databases.php causes an error on some servers,
thanks to km4l (www.funcoins.de) for helping me
- Redirect re-introduced, it should now no longer endless redirect and is
required to redirect from any script to the base script
- Move setting of HTTP status '302 MOVED' into sendRawRedirect()
- if() braces added (coding convention applied)
- TODOs.txt updated
Roland Häder [Mon, 23 Aug 2010 10:14:35 +0000 (10:14 +0000)]
Remove obsolete code, fixed timezone on some machines:
- Removed obsolete code which avoids endless redirect and dublicate filter-chain call
- Added to load ext-timezone (badly hardcoded) to have timezone set on some servers
- TODOs.txt updated
Roland Häder [Fri, 13 Aug 2010 20:58:12 +0000 (20:58 +0000)]
Deprecated files removed, TODOs.txt updated:
- Deprecated templates and scripts removed
- Script DOCS/remove-deprecated.sh added which should aid this step
- TODOs.txt updated
Roland Häder [Mon, 9 Aug 2010 00:15:53 +0000 (00:15 +0000)]
New network added, sorting now showed:
- New adverstising network 'doubleads' added
- Sorting of API array elements is now showed (yet not functional for sorting)
- TODOs.txt updated
Roland Häder [Sun, 8 Aug 2010 03:18:34 +0000 (03:18 +0000)]
More networks added, EL "post" added, templates fixed:
- New advertising network 'City-Ads' and 'Gold-Sponsor' added
- Templates fixed, bad handling of network_type_id
- New EL code {%post=foo%} introduced, it is similar to the GET code, so you
can access elements in $_POST. Also this code has no support for extra
functions
- TODOs.txt updated
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