./inc/functions.php:178:// @TODO Rewrite this to an extension 'smtp'
./inc/functions.php:2244: // @TODO This is still very static, rewrite it somehow
./inc/install-functions.php:63: // @TODO DEACTIVATED: changeDataInFile(getConfig('CACHE_PATH') . 'config-local.php', 'OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestParameter('omode'), 0);
-./inc/language/de.php:1141:// @TODO Rewrite these two constants
-./inc/language/de.php:1156:// @TODO Rewrite these three constants
+./inc/language/de.php:1143:// @TODO Rewrite these two constants
+./inc/language/de.php:1158:// @TODO Rewrite these three constants
./inc/language/de.php:309: // @TODO Following two are unused?
./inc/language/de.php:836:// @TODO Are these constants longer used?
./inc/language-functions.php:234: // @TODO These are all valid languages, again hard-coded
./inc/libs/register_functions.php:372: // @TODO Rewrite this to a filter
./inc/libs/register_functions.php:379: // @TODO Rewrite this whole if() block to addPointsThroughReferalSystem(). This will also make following if() block obsolete
./inc/libs/register_functions.php:380: // @TODO Wether the registration bonus should only be added to user directly or through referal system should be configurable
-./inc/libs/surfbar_functions.php:1534: // @TODO This can be somehow rewritten
+./inc/libs/surfbar_functions.php:1540: // @TODO This can be somehow rewritten
./inc/libs/surfbar_functions.php:712:// @TODO Can't we use our new expression language instead of this ugly code?
-./inc/libs/surfbar_functions.php:950: // @TODO Invalid salt should be refused
+./inc/libs/surfbar_functions.php:953: // @TODO Invalid salt should be refused
./inc/libs/task_functions.php:241: // @TODO These can be rewritten to filter
./inc/libs/task_functions.php:53:// @TODO Move all extension-dependent queries into filters
./inc/libs/theme_functions.php:95: // @TODO Can't this be rewritten to an API function?
./inc/reset/reset_beg.php:51:// @TODO This should be converted in a daily beg rallye
./inc/reset/reset_birthday.php:91: // @TODO 4 is hard-coded here, should we move it out in config?
./inc/revision-functions.php:153:// @TODO Please describe this function
-./inc/template-functions.php:1155: // @TODO This can be easily moved out after the merge from EL branch to this is complete
-./inc/template-functions.php:1188: // @TODO Add a little more infos here
-./inc/template-functions.php:1473:// @TODO Lame description for this function
-./inc/template-functions.php:1492: // @TODO Move this in a filter
+./inc/template-functions.php:1153: // @TODO This can be easily moved out after the merge from EL branch to this is complete
+./inc/template-functions.php:1186: // @TODO Add a little more infos here
+./inc/template-functions.php:1474:// @TODO Lame description for this function
+./inc/template-functions.php:1493: // @TODO Move this in a filter
./inc/template-functions.php:280: // @TODO Remove this sanity-check if all is fine
-./inc/template-functions.php:595:// @TODO $simple/$constants are deprecated
-./inc/template-functions.php:622: // @TODO Do only use $content and deprecate $GLOBALS and $DATA in templates
+./inc/template-functions.php:593:// @TODO $simple/$constants are deprecated
+./inc/template-functions.php:620: // @TODO Do only use $content and deprecate $GLOBALS and $DATA in templates
./inc/wrapper-functions.php:127:// @TODO Implement $compress
./inc/wrapper-functions.php:134:// @TODO Implement $decompress
./inc/wrapper-functions.php:455:// @TODO Do some more sanity check here
./templates/de/html/guest/guest_stats_member.tpl:21: @TODO We have to fix these counters.
./templates/de/html/member/member_unconfirmed_table_nopoints.tpl:11: <!-- @TODO Nothing to say here? //-->
./templates/de/html/surfbar/surfbar_frame_textlinks.tpl:5: <!-- @TODO These are static lines and should be replaced by a filter (see ext-sponsor) //-->
-./templates/de/html/surfbar/surfbar_frame_top.tpl:32:// @TODO Try to rewrite this JavaScript to js.php?js=surfbar_frame_top (wouldn't be easy)
### ### DEPRECATION FOLLOWS: ### ###
./inc/modules/admin/admin-inc.php:439:// @DEPRECATED
### ### template-warnings.log follows: ### ###
$content['sub'] = $SUB;
// Init variables
- $OUT = ''; $SW = 2; $cnt = '0';
+ $OUT = ''; $cnt = '0';
// Process all entries
while ($data = SQL_FETCHARRAY($result)) {
$data['navi'] = '<a href="{%url=modules.php?module=admin&what=adminedit&sub=' . $content['sub'] . '&act=' . $data['action'] . '&w=' . $data['what'] . '&tid=' . ($data['sort']-1) . '&fid=' . $data['sort'] . '%}">{--HIGHER--}</a>/<a href="{%url=modules.php?module=admin&what=adminedit&sub=' . $content['sub'] . '&act=' . $data['action'] . '&w=' . $data['what'] . '&tid=' . ($data['sort']+1) . '&fid=' . $data['sort'] . '%}">{--LOWER--}</a>';
}
- // Fix empty elements for constant (fixes display bugs in Firefox)
- if (empty($data['action'])) $data['action'] = ' ';
- if (empty($data['what'])) $data['what'] = ' ';
- if (empty($data['title'])) $data['title'] = ' ';
-
// Add more data to $data
- $data['sw'] = $SW;
$data['mode'] = 'admin';
// Load row template and switch colors
$OUT .= loadTemplate('admin_menu_overview_row', true, $data);
- $SW = 3 - $SW;
} // END - switch
// Remember all rows
------------------------------
-- Daten des Absenders: --
------------------------------
-Mitglieder-Id: $content[sender][userid] ($content[sender][nickname])
+Mitglieder-Id: $content[sender][userid] ({%pipe,fixEmptyContentToDashes=$content[sender][nickname]%})
------------------------------
Verwendungszweck: $content[reason]
------------------------------
------------------------------
-- Daten des Empfaengers: --
------------------------------
-Mitglieder-Id: $content[recipient][userid] ($content[recipient][nickname])
+Mitglieder-Id: $content[recipient][userid] ({%pipe,fixEmptyContentToDashes=$content[recipient][nickname]%})
------------------------------
Verwendungszweck: $content[reason]
------------------------------
<input type="checkbox" class="admin_normal" title="{--ID_SELECT--} $content[id]" name="sel[$content[id]]" value="1" />
</td>
<td class="{%template,ColorSwitch%} bottom right" align="center">
- <a href="{%url=modules.php?module=admin&what=$content[mode]edit&sub=$content[action]%}">$content[action]</a>
+ <a href="{%url=modules.php?module=admin&what=$content[mode]edit&sub=$content[action]%}">{%pipe,fixEmptyContentToDashes=$content[action]%}</a>
</td>
<td class="{%template,ColorSwitch%} bottom right" align="center">
- $content[what]
+ {%pipe,fixEmptyContentToDashes=$content[what]%}
</td>
<td class="{%template,ColorSwitch%} bottom right">
- $content[title]
+ {%pipe,fixEmptyContentToDashes=$content[title]%}
</td>
<td class="{%template,ColorSwitch%} bottom" align="center">
- $content[navi]
+ $content[navi]
</td>
</tr>
<tr>
- <td align="center" class="switch_$content[sw] bottom right">{%pipe,generateUserProfileLink=$content[stats_userid]%}</td>
- <td align="center" class="switch_$content[sw] bottom right">{%pipe,translateComma=$content[visited_urls]%}</td>
- <td align="center" class="switch_$content[sw] bottom">{%pipe,translateComma=$content[total_visits]%}</td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">{%pipe,generateUserProfileLink=$content[stats_userid]%}</td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">{%pipe,translateComma=$content[visited_urls]%}</td>
+ <td align="center" class="{%template,ColorSwitch%} bottom">{%pipe,translateComma=$content[total_visits]%}</td>
</tr>
<tr>
- <td align="center" class="switch_$content[sw] bottom right">[<strong>{%pipe,generateUserProfileLink=$content[url_userid]%}</strong>]</td>
- <td align="center" class="switch_$content[sw] bottom right">{%pipe,translateComma=$content[total_visits]%}</td>
- <td align="center" class="switch_$content[sw] bottom">$content[last_surfed]</td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">[<strong>{%pipe,generateUserProfileLink=$content[url_userid]%}</strong>]</td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">{%pipe,translateComma=$content[total_visits]%}</td>
+ <td align="center" class="{%template,ColorSwitch%} bottom">$content[last_surfed]</td>
</tr>
<tr>
<td class="register_right {%template,ColorSwitch%}">$content[cat]</td>
- <td width="20" class="guest_normal switch_$content[sw]">
+ <td width="20" class="guest_normal {%template,ColorSwitch%}">
{--YES--}
<input type="radio" class="guest_normal" name="cat[$content[id]]" value="Y"$content[def_y] />
</td>
- <td width="20" class="guest_normal switch_$content[sw]">
+ <td width="20" class="guest_normal {%template,ColorSwitch%}">
{--NO--}
<input type="radio" class="guest_normal" name="cat[$content[id]]" value="N"$content[def_n] />
</td>
-<div class="bottom2 sw_$content[sw]">
+<div class="bottom2 {%template,ColorSwitch%}">
<div class="bottom2">
<strong>Erweiterung ext-$content[name]</strong>
</div>
<tr>
- <td class="bonus_rank_$rows[rank] bottom switch_sw$rows[sw]">{%pipe,translateComma=$rows[rank]%}.</td>
- <td class="bonus_rank_$rows[rank] bottom switch_sw$rows[sw]" align="center">$rows[userid]</td>
- <td class="bonus_rank_$rows[rank] bottom switch_sw$rows[sw]" align="center">{%pipe,translateComma=$rows[points]%}</td>
+ <td class="bonus_rank_$content[rank] bottom {%template,ColorSwitch%}">{%pipe,translateComma=$content[rank]%}.</td>
+ <td class="bonus_rank_$content[rank] bottom {%template,ColorSwitch%}" align="center">$content[userid]</td>
+ <td class="bonus_rank_$content[rank] bottom {%template,ColorSwitch%}" align="center">{%pipe,translateComma=$content[points]%}</td>
</tr>
<tr>
- <td class="switch_mem$content[sw] top right" width="30%" align="center">
+ <td class="{%template,ColorSwitch%} top right" width="30%" align="center">
{--EMAIL_ID--}:<br />
<strong>$content[id]</strong>
</td>
- <td class="switch_mem$content[sw] top right" width="40%" align="center">
+ <td class="{%template,ColorSwitch%} top right" width="40%" align="center">
{--EMAIL_SUBJECT--}:<br />
<strong>$content[subject]</strong>
</td>
- <td class="switch_mem$content[sw] top" width="30%" align="center">
+ <td class="{%template,ColorSwitch%} top" width="30%" align="center">
{--EMAIL_TIMESTAMP--}:<br />
<strong>$content[timestamp]</strong>
</td>
</tr>
<tr>
- <td align="center" class="switch_mem$content[sw] top right">
+ <td align="center" class="{%template,ColorSwitch%} top right">
{--EMAIL_PAYMENT--}:<br />
<strong>{%pipe,translateComma=$content[payment_id]%}</strong>
</td>
- <td align="center" class="switch_mem$content[sw] top right">
+ <td align="center" class="{%template,ColorSwitch%} top right">
{--EMAIL_CATEGORY--}:<br />
<strong>{%pipe,getCategory=$content[cat_id]%}</strong>
</td>
- <td align="center" class="switch_mem$content[sw] top">
+ <td align="center" class="{%template,ColorSwitch%} top">
{--EMAIL_URL--}:<br />
<strong><a href="{%pipe,generateDerefererUrl=$content[url]%}" target="_blank">{--MEMBER_TEST_URL--}</a></strong>
</td>
</tr>
<tr>
- <td align="center" class="switch_mem$content[sw] top right">
+ <td align="center" class="{%template,ColorSwitch%} top right">
{--EMAIL_RECEIVERS--}:<br />
<strong>$content[target_send]</strong>
</td>
- <td align="center" class="switch_mem$content[sw] top right">
+ <td align="center" class="{%template,ColorSwitch%} top right">
{--EMAIL_TYPE--}:<br />
<strong>{%pipe,translatePoolType=$content[data_type]%}</strong>
</td>
- <td align="center" class="switch_mem$content[sw] top">
+ <td align="center" class="{%template,ColorSwitch%} top">
{--EMAIL_ZIP--}:<br />
<strong>{%pipe,fixEmptyContentToDashes=$content[zip]%}</strong>
</td>
<tr>
- <td class="switch_mem$content[sw] top right" width="46%" colspan="2" align="center">
+ <td class="{%template,ColorSwitch%} top right" width="46%" colspan="2" align="center">
{--EMAIL_SUBJECT--}:<br />
<strong>$content[subject]</strong>
</td>
- <td class="switch_mem$content[sw] top" width="54%" align="center">
+ <td class="{%template,ColorSwitch%} top" width="54%" align="center">
{--EMAIL_TIMESTAMP--}:<br />
<strong>$content[timestamp_ordered]</strong>
</td>
</tr>
<tr>
- <td colspan="2" align="center" class="switch_mem$content[sw] top right">
+ <td colspan="2" align="center" class="{%template,ColorSwitch%} top right">
{--EMAIL_PAYMENT--}:<br />
<strong>{%pipe,getPaymentTitlePrice,translateComma=$content[payment_id]%}</strong>
</td>
- <td align="center" class="switch_mem$content[sw] top">
+ <td align="center" class="{%template,ColorSwitch%} top">
{--EMAIL_CATEGORY--}:<br />
<strong>{%pipe,getCategory=$content[cat_id]%}</strong>
</td>
</tr>
<tr>
- <td colspan="2" align="center" class="switch_mem$content[sw] top right">
+ <td colspan="2" align="center" class="{%template,ColorSwitch%} top right">
{--EMAIL_URL--}:<br />
<strong><a href="{%pipe,generateDerefererUrl=$content[url]%}" target="_blank">{--MEMBER_TEST_URL--}</a></strong>
</td>
- <td align="center" class="switch_mem$content[sw] top">
+ <td align="center" class="{%template,ColorSwitch%} top">
{--EMAIL_END_SEND--}:<br />
<strong>$content[timestamp_sent]</strong>
</td>
</tr>
<tr>
- <td align="center" class="switch_mem$content[sw] top right" width="30%">
+ <td align="center" class="{%template,ColorSwitch%} top right" width="30%">
{--EMAIL_RECEIVERS--}:<br />
<strong>{%pipe,translateComma=$content[max_rec]%}</strong>
</td>
- <td align="center" class="switch_mem$content[sw] top right" width="16%">
+ <td align="center" class="{%template,ColorSwitch%} top right" width="16%">
{--EMAIL_CONFIRMED--}:<br />
<strong>{%pipe,translateComma=$content[clicks]%}</strong>
</td>
- <td align="center" class="switch_mem$content[sw] top">
+ <td align="center" class="{%template,ColorSwitch%} top">
{--EMAIL_PERCENT--}:<br />
<strong>{%pipe,translateComma=$content[percents]%}%</strong>
</td>
<tr>
- <td class="transfer_row1 switch_sw".$content[sw] bottom right">
+ <td class="transfer_row1 {%template,ColorSwitch%} bottom right">
<div class="transfer_row1">$content[trans_id]</div>
</td>
- <td class="transfer_row2 switch_sw".$content[sw] bottom right">
+ <td class="transfer_row2 {%template,ColorSwitch%} bottom right">
<div class="transfer_row2">$content[stamp]</div>
</td>
- <td class="transfer_row3 switch_sw".$content[sw] bottom right">
+ <td class="transfer_row3 {%template,ColorSwitch%} bottom right">
<div class="transfer_row3">$content[userid]</div>
</td>
- <td class="transfer_row4 switch_sw".$content[sw] bottom right">
+ <td class="transfer_row4 {%template,ColorSwitch%} bottom right">
<div class="transfer_row4">$content[reason]</div>
</td>
- <td class="transfer_row5 switch_sw".$content[sw] bottom">
+ <td class="transfer_row5 {%template,ColorSwitch%} bottom">
<div class="transfer_row5">{%pipe,bigintval=$content[points]%}</div>
</td>
</tr>