./inc/filter/forced_filter.php:73: // @TODO This part is unfinished
./inc/filter-functions.php:117: // @TODO Remove this forced removal after a year or so
./inc/filters.php:1320: // @TODO No banner found, output some default banner
-./inc/functions.php:1126: // @TODO Move this SQL code into a function, let's say 'getTimestampFromPoolId($id) ?
-./inc/functions.php:1212: // @TODO Are these convertions still required?
-./inc/functions.php:1233:// @TODO Rewrite this function to use readFromFile() and writeToFile()
-./inc/functions.php:1842: // @TODO Find a way to cache this
-./inc/functions.php:1946: // @TODO This is still very static, rewrite it somehow
-./inc/functions.php:2150: // @TODO Rename column data_type to e.g. mail_status
-./inc/functions.php:2500:// @TODO cacheFiles is not yet supported
+./inc/functions.php:1131: // @TODO Move this SQL code into a function, let's say 'getTimestampFromPoolId($id) ?
+./inc/functions.php:1217: // @TODO Are these convertions still required?
+./inc/functions.php:1238:// @TODO Rewrite this function to use readFromFile() and writeToFile()
+./inc/functions.php:1847: // @TODO Find a way to cache this
+./inc/functions.php:1951: // @TODO This is still very static, rewrite it somehow
+./inc/functions.php:2155: // @TODO Rename column data_type to e.g. mail_status
+./inc/functions.php:2505:// @TODO cacheFiles is not yet supported
./inc/gen_sql_patches.php:95:// @TODO Rewrite this to a filter
./inc/header.php:66:// @TODO Find a way to not use direct module comparison
./inc/install-functions.php:446: // @TODO Comparing with DEFAULT_MAIN_TITLE doesn't work
./inc/modules/guest/what-rallyes.php:99: // @TODO Reactivate this: $content['admin'] = '<a href="{%url=modules.php?module=index&what=impressum&id=' . $content['admin_id'] . '%}">' . $content['login'] . '</a>';
./inc/modules/guest/what-sponsor_reg.php:293: // @TODO Maybe a default referral id?
./inc/modules/guest/what-stats.php:111: // @TODO This can be somehow rewritten
-./inc/modules/guest/what-stats.php:120: // @TODO This does not exclude testers
+./inc/modules/guest/what-stats.php:120: // @TODO This doesn't exclude tester accounts
./inc/modules/guest/what-stats.php:83:// @TODO This can be rewritten in a dynamic include
./inc/modules/member/what-beg.php:54:// @TODO Can't this be moved into EL?
./inc/modules/member/what-beg.php:63:// @TODO No more needed? define('__BEG_USERID_TIMEOUT', createFancyTime(getBegUseridTimeout()));
./inc/mysql-manager.php:408: // @TODO Try to rewrite this to one or more functions
./inc/mysql-manager.php:44:// @TODO Can we cache this?
./inc/revision-functions.php:168:// @TODO This function does also set and get in 'cache_array'
-./inc/template-functions.php:1040: // @TODO <label for="' . $prefix . '_' . $field . '"></<label> not working here
-./inc/template-functions.php:1095: // @TODO Deprecate this thing
-./inc/template-functions.php:1106: // @TODO Deprecate this thing
-./inc/template-functions.php:1228: // @TODO This can be easily moved out after the merge from EL branch to this is complete
-./inc/template-functions.php:1277: // @TODO Add a little more infos here
-./inc/template-functions.php:1658:// @TODO Lame description for this function
-./inc/template-functions.php:1680: // @TODO Move this in a filter
+./inc/template-functions.php:1048: // @TODO <label for="' . $prefix . '_' . $field . '"></<label> not working here
+./inc/template-functions.php:1103: // @TODO Deprecate this thing
+./inc/template-functions.php:1114: // @TODO Deprecate this thing
+./inc/template-functions.php:1236: // @TODO This can be easily moved out after the merge from EL branch to this is complete
+./inc/template-functions.php:1285: // @TODO Add a little more infos here
+./inc/template-functions.php:1666:// @TODO Lame description for this function
+./inc/template-functions.php:1688: // @TODO Move this in a filter
./inc/template-functions.php:209: * @TODO On some pages this is buggy
./inc/template-functions.php:298: // @TODO Remove these sanity checks if all is fine
./inc/template-functions.php:747: // @TODO $userid is deprecated and should be removed from loadEmailTemplate() and replaced with $content[userid] in all templates
// Validate if it is not a number
if ((isExtensionActive('nickname')) && (isNicknameUsed(getRequestElement('userid')))) {
- // Maybe we have found a nickname?
+ // Maybe a nickname is provided?
fetchUserData(getRequestElement('userid'), 'nickname');
} elseif (isNicknameUsed(getRequestElement('userid'))) {
// Nickname entered but nickname is not active
// Free memory
SQL_FREERESULT($result);
-// Set this because we have no module in URI
+// Set this because there is no module in URI
$GLOBALS['__module'] = 'birthday_confirm';
// Include header
$processResult = FALSE;
initIncludePool('extension');
- // By default we have no failures
+ // By default there is no failure
enableExtensionReportingFailure();
// Does this extension exists?
break;
case 'activate': // Do stuff when admin activates this extension
- addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_mod_reg` SET `locked`='N',`hidden`='N',`admin_only`='N',`mem_only`='N' WHERE `module`='network-delurl' LIMIT 1");
- addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_mod_reg` SET `locked`='N',`hidden`='N',`admin_only`='N',`mem_only`='N' WHERE `module`='network-vcheck' LIMIT 1");
+ addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_mod_reg` SET `locked`='N',`hidden`='Y',`admin_only`='N',`mem_only`='N' WHERE `module`='network-delurl' LIMIT 1");
+ addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_mod_reg` SET `locked`='N',`hidden`='Y',`admin_only`='N',`mem_only`='N' WHERE `module`='network-vcheck' LIMIT 1");
break;
case 'deactivate': // Do stuff when admin deactivates this extension
} // END - if
} // END - foreach
- // If we have no rows, we don't need to display the edit form
+ // If there are no rows, we don't need to display the edit form
if (!empty($OUT)) {
// Init array with generic element
$content = array(
} // END - if
} // END - foreach
- // If we have no rows, we don't need to display the edit form
+ // If there are no rows, we don't need to display the edit form
if (!empty($OUT)) {
// Prepare array with generic elements
$content = array(
} // END - if
} // END - foreach
- // If we have no rows, we don't need to display the edit form
+ // If there are no rows, we don't need to display the edit form
if (!empty($OUT)) {
// Prepare array with generic elements
$content = array(
} // END - if
} // END - foreach
- // If we have no rows, we don't need to display the edit form
+ // If there are no rows, we don't need to display the edit form
if (!empty($OUT)) {
// Prepare array with generic elements
$content = array(
// Cut off the header
$dummy = removeHttpHeaderFromResponse($response);
- // If we have no result, abort here
+ // If there is no result, abort here
if (count($dummy) == 0) {
// Empty response from API
reportBug(__FUNCTION__, __LINE__, 'Empty result from API received. response()=' . count($response) . ',type=' . $type);
// Data is missing so we add it
if (isExtensionInstalledAndNewer('sql_patches', '0.3.6')) {
/*
- * Since 0.3.6 we have a has_menu column, this took me a half
+ * Since 0.3.6 there is a has_menu column, this took me a half
* hour to find a loop here... *sigh*
*/
SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg`
$NAV .= '</a>';
}
- // Add separator if we have not yet reached total pages
+ // Add separator if total pages has not been reached
if ($page < $numPages) {
// Add it
$NAV .= '|';
loadTemplate('admin_list_mods_stats2', FALSE, $OUT);
} else {
// Load module statics
- $result = SQL_QUERY("SELECT `module`, `title`, `clicks` FROM `{?_MYSQL_PREFIX?}_mod_reg` ORDER BY `clicks` DESC,`module` ASC", __FILE__, __LINE__);
+ $result = SQL_QUERY('SELECT `module`, `title`, `clicks` FROM `{?_MYSQL_PREFIX?}_mod_reg` ORDER BY `clicks` DESC, `module` ASC', __FILE__, __LINE__);
$OUT = '';
while ($content = SQL_FETCHARRAY($result)) {
if (($content['module'] == 'index') || ($content['module'] == 'login')) {
// Output code
outputHtml($content);
} else {
- // Nothing to load, then we have no directory 'usage'
+ // Nothing to load, then there is no directory 'usage'
displayMessage('{--ADMIN_USAGE_DIRECTORY_404--}');
}
$cats[$content['id']] = $content['cat'];
} // END - while
- // Now we have all categories loaded, count members
+ // Now all categories have been loaded, count members
foreach ($cats as $id => $dummy) {
- // We only need id and nothing more to count...
- // @TODO This does not exclude testers
+ // Only the id needs to be counted
+ // @TODO This doesn't exclude tester accounts
$cat_cnt[$id] = countSumTotalData(bigintval($id), 'user_cats', 'id', 'cat_id', TRUE);
} // END - foreach
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
-// Set this because we have no module in URI
+// Set this because there is no module in URI
$GLOBALS['__module'] = 'show_bonus';
$GLOBALS['__output_mode'] = '0';