Roland Häder [Tue, 29 Jun 2010 01:19:13 +0000 (01:19 +0000)]
A lot code rewritten:
- New template-functions.php added and a lot functions moved from functions.php
and some from wrapper-functions.php to it.
- New EL function doExpressionTemplate() added
- New template function doTemplateColorSwitch() added
- Heavy rewrite of PHP code and templates to make usage of that new function
which should result in an easier PHP code
- Some fixes
- TODOs.txt updated
Roland Häder [Mon, 28 Jun 2010 23:25:01 +0000 (23:25 +0000)]
Changed all admin getter, closed internal TODOs:
- All admin getter functions like getAdminEmail() (except getAdminId()) does now
take the admin id
- Naming convention on some template names applied
- Some deprecated footer/header templates merged and marked as deprecated
- TODOs.txt updated
Roland Häder [Mon, 28 Jun 2010 21:38:03 +0000 (21:38 +0000)]
New (template) wrapper function fixEmptyContentToDashes() introduced, EL rewrites:
- New (template) wrapper function fixEmptyContentToDashes() introduced, this
function should help template writers to deal with empty content. If an empty
string is detected, it got converted into three dashes. This may fix some
issues with empty div and/or td tags.
- Even more rewrites to make use of EL
- TODOs.txt updated
Roland Häder [Mon, 28 Jun 2010 19:25:00 +0000 (19:25 +0000)]
Task-create functions does now return a task id. We use that to help registering a new extension which has no task entry yet while we update an already installed extension
Roland Häder [Mon, 28 Jun 2010 07:07:51 +0000 (07:07 +0000)]
Deprecated variables for templates removed, mor EL-rewrites, getMessage() rewritten:
- Deprecated variables $nick and $email removed from loadEmailTemplate()
- More rewrites for usage of EL
- getMessage() lesser used (saves a lot calls while execution of include file)
- Some internal TODOs closed
- TODOs.txt updated
Roland Häder [Mon, 28 Jun 2010 05:14:11 +0000 (05:14 +0000)]
New extension added, more EL-rewrites, naming-convention applied:
- New extension 'ext-timezone' added to more easilier change the timezone
this installation runs with. It is essential to install this extension and
keep it active.
- Even more rewrites to make use of EL
- theme_ver is outdated, we use theme_version (no short-cutted texts)
- TODOs.txt updated
Roland Häder [Mon, 28 Jun 2010 03:47:11 +0000 (03:47 +0000)]
New function isValidUserid() introduced, more rewrites to EL:
- New function isValidUserId() introduced, see ticket #147. This function just
validates a given user id if it not null, not empty and larget than zero.
- More rewrites to make use of EL
- 'surfbar_counter' is now a CSS class, not id
- TODOs.txt updated
Roland Häder [Wed, 23 Jun 2010 21:38:33 +0000 (21:38 +0000)]
New debugging function debugOutput() introduced, some rewrites to EL:
- New debugging function debugOutput() added, this function does output any
XHTML message in a div-block to the browser.
- Some more rewrites to EL
- TODOs.txt updated
Roland Häder [Wed, 23 Jun 2010 13:49:46 +0000 (13:49 +0000)]
Simplified some more code:
- addEmailNavigation() is now located in admin-inc.php because only admin
actions will make use of it
- Same function simplified, if only one page should be made navigateable, the
function returns an empty string
- There was another unencapsulated what=list_unconfirmed
Roland Häder [Wed, 23 Jun 2010 13:26:45 +0000 (13:26 +0000)]
Even more fixes/improvements:
- Added filter pre_youhere_line. It will be executed directly before the
div-block of the 'You are here' navigation
- Saved an else-block and br-tag in same function
- For that missing br-tag a CSS 'margin-bottom' needs to be added to
you_are_here CSS class
- Fixed default value for an enum in ext-removeip in the configuration SQL query
Roland Häder [Wed, 23 Jun 2010 12:49:06 +0000 (12:49 +0000)]
Some fixes/improvements:
- Fixed missing array elements for what=active in guest menu
- 'Today Online' below action=online is only shown when ext-active and
ext-online are activated
- Fixed user's last activity in clicking on paidmails. It is now no longer
updated if an administrator is logged in
Roland Häder [Tue, 22 Jun 2010 01:57:02 +0000 (01:57 +0000)]
Several template fixes/cleanups, naming convention applied:
- Several templates fixed (see naming convention below)
- Some more HTML code swapped out to templates
- New naming convention: _en_ is obsolete, we use _enable_ and same for _di_,
we now use _disable_. _mem_ is obsolete, too. We now use _member_.
- TODOs.txt updated
Roland Häder [Mon, 21 Jun 2010 01:39:47 +0000 (01:39 +0000)]
More rewrites/templates swapped out:
- Two more templates created (swapped out from PHP code)
- More rewrites to EL
- More double quotes converted to single quotes
- Some internal TODOs solved/new created
- TODOs.txt updated
Roland Häder [Sun, 20 Jun 2010 15:47:37 +0000 (15:47 +0000)]
Extension templates rewritten, the configuration was inserted while an extension template has been parsed. This should be done when the extension's text is being printed out.
Roland Häder [Sat, 19 Jun 2010 23:42:29 +0000 (23:42 +0000)]
Several fixes applied:
- Mail templates are now "compiled" with newly introduced doFinalCompilation() function
- Typo 'county' fixed ...
- Redirect does now work again (was broken by EL)
- New functions for HTML/mail/other templates added
- Some internal TODOs solved
- TODOs.txt updated
Roland Häder [Thu, 8 Apr 2010 11:55:18 +0000 (11:55 +0000)]
Encapsulation and fixes:
- More encapsulation: isFormSent() does now accept an optional parameter
- Double quotes to single converted
- Some for() loops (there may be more left) "fixed"