./inc/functions.php:2214: // @TODO Rename column data_type to e.g. mail_status
./inc/gen_sql_patches.php:95:// @TODO Rewrite this to a filter
./inc/install-functions.php:57: // @TODO DEACTIVATED: changeDataInLocalConfigurationFile('OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestParameter('omode'), 0);
-./inc/language/de.php:1066: // @TODO Rewrite these two constants
-./inc/language/de.php:1082: // @TODO Rewrite these three constants
-./inc/language/de.php:758:// @TODO Are these constants longer used?
+./inc/language/de.php:1062: // @TODO Rewrite these two constants
+./inc/language/de.php:1078: // @TODO Rewrite these three constants
+./inc/language/de.php:754:// @TODO Are these constants longer used?
./inc/language-functions.php:255: // @TODO These are all valid languages, again hard-coded
./inc/language-functions.php:44:// @TODO Rewrite all language constants to this function.
./inc/language/newsletter_de.php:13: * @TODO This language file is completely out-dated, please do no *
./inc/modules/admin/what-list_autopurge.php:47:// @TODO Rewrite those lines to filter
./inc/modules/admin/what-list_bonus.php:133: // @TODO Can't this be moved into our expression language?
./inc/modules/admin/what-list_cats.php:54: // @TODO No longer needed? define('__CATEGORIES_BASE' , '<a href="{%url=modules.php?module=admin&userid=');
-./inc/modules/admin/what-list_cats.php:69: // @TODO Rewrite this to countSum.....() function
+./inc/modules/admin/what-list_cats.php:68: // @TODO Rewrite this to countSum.....() function
./inc/modules/admin/what-list_links.php:55: // @TODO Try to rewrite this to a filter
./inc/modules/admin/what-list_links.php:85: // @TODO Find a way to rewrite this. See some lines above for different queries
./inc/modules/admin/what-list_links.php:93: // @TODO Rewrite this to includes/filter
./inc/mysql-manager.php:44:// @TODO Can we cache this?
./inc/purge/purge-inact.php:55: // @TODO Rewrite these if() blocks to a filter
./inc/revision-functions.php:169:// @TODO This function does also set and get in 'cache_array'
-./inc/template-functions.php:1072: // @TODO Deprecate this thing
-./inc/template-functions.php:1083: // @TODO Deprecate this thing
-./inc/template-functions.php:1176: // @TODO This can be easily moved out after the merge from EL branch to this is complete
-./inc/template-functions.php:1209: // @TODO Add a little more infos here
-./inc/template-functions.php:1523:// @TODO Lame description for this function
-./inc/template-functions.php:1545: // @TODO Move this in a filter
+./inc/template-functions.php:1081: // @TODO Deprecate this thing
+./inc/template-functions.php:1092: // @TODO Deprecate this thing
+./inc/template-functions.php:1182: // @TODO This can be easily moved out after the merge from EL branch to this is complete
+./inc/template-functions.php:1215: // @TODO Add a little more infos here
+./inc/template-functions.php:1529:// @TODO Lame description for this function
+./inc/template-functions.php:1551: // @TODO Move this in a filter
./inc/template-functions.php:189: * @TODO On some pages this is buggy
-./inc/template-functions.php:269: // @TODO Remove this sanity-check if all is fine
-./inc/template-functions.php:432: // @TODO $DATA is deprecated and should be avoided and replaced with $content
-./inc/template-functions.php:598:// @TODO $simple/$constants are deprecated
-./inc/template-functions.php:624: // @TODO Do only use $content and deprecate $DATA in templates
+./inc/template-functions.php:275: // @TODO Remove this sanity-check if all is fine
+./inc/template-functions.php:438: // @TODO $DATA is deprecated and should be avoided and replaced with $content
+./inc/template-functions.php:604:// @TODO $simple/$constants are deprecated
+./inc/template-functions.php:630: // @TODO Do only use $content and deprecate $DATA in templates
./inc/wrapper-functions.php:130:// @TODO Implement $compress
./inc/wrapper-functions.php:137:// @TODO Implement $decompress
./inc/wrapper-functions.php:514:// @TODO Do some more sanity check here
INDEX (`cat_id`)",
'Bonus mails');
- addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_user_links` CHANGE `link_type` `link_type` ENUM('NORMAL','BONUS') NOT NULL DEFAULT 'NORMAL'");
addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_user_links` ADD `bonus_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0");
addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_user_links` ADD INDEX (`bonus_id`)");
addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_bonus` ADD `html_msg` ENUM('Y','N') NOT NULL DEFAULT 'N'");
} // END - if
// Version number
-setThisExtensionVersion('0.4.4');
+setThisExtensionVersion('0.4.5');
// Version history array (add more with , '0.0.1' and so on)
-setExtensionVersionHistory(array('0.0.0', '0.1.0', '0.1.1', '0.1.2', '0.1.3', '0.1.4', '0.1.5', '0.1.6', '0.1.7', '0.1.8', '0.1.9', '0.2.0', '0.2.1', '0.2.2', '0.2.3', '0.2.4', '0.2.5', '0.2.6', '0.2.7', '0.2.8', '0.2.9', '0.3.0', '0.3.1', '0.3.2', '0.3.3', '0.3.4', '0.3.5', '0.3.6', '0.3.7', '0.3.8', '0.3.9', '0.4.0', '0.4.1', '0.4.2', '0.4.3', '0.4.4'));
+setExtensionVersionHistory(array('0.0.0', '0.1.0', '0.1.1', '0.1.2', '0.1.3', '0.1.4', '0.1.5', '0.1.6', '0.1.7', '0.1.8', '0.1.9', '0.2.0', '0.2.1', '0.2.2', '0.2.3', '0.2.4', '0.2.5', '0.2.6', '0.2.7', '0.2.8', '0.2.9', '0.3.0', '0.3.1', '0.3.2', '0.3.3', '0.3.4', '0.3.5', '0.3.6', '0.3.7', '0.3.8', '0.3.9', '0.4.0', '0.4.1', '0.4.2', '0.4.3', '0.4.4', '0.4.5'));
// Keep this extension always active!
setExtensionAlwaysActive('Y');
`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`stats_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
`userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`link_type` ENUM('NORMAL') NOT NULL DEFAULT 'NORMAL',
+`link_type` VARCHAR(255) NOT NULL DEFAULT 'NORMAL',
PRIMARY KEY (`id`),
INDEX (`userid`),
INDEX (`stats_id`)",
INDEX (`refid`)",
'User referals');
+ // Load ext-refback's special include to regenerate the referal table
+ addIncludeToPool('extension', 'inc/fix_refsystem.php');
+
// Update notes (these will be set as task text!)
setExtensionUpdateNotes("Neues Tabellenlayout und verschoben von ext-refback.");
+ break;
- // Load ext-refback's special include to regenerate the referal table
- addIncludeToPool('extension', 'inc/fix_refsystem.php');
+ case '0.4.5': // SQL queries for v0.4.5
+ // SQL commands to run
+ addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_user_links` CHANGE `link_type` `link_type` VARCHAR(255) NOT NULL DEFAULT 'NORMAL'");
+
+ // Update notes (these will be set as task text!)
+ setExtensionUpdateNotes("Die Spalte <strong>link_type</strong> ist nun kein ENUM mehr, um weitere Mailtypen zu erlauben.");
break;
} // END - switch
break;
return (($str == 'true') ? true : false);
}
+/**
+ * "Makes" a variable in given string parseable, this function will throw an
+ * error if the first character is not a dollar sign.
+ *
+ * @param $varString String which contains a variable
+ * @return $return String with added single quotes for better parsing
+ */
+function makeParseableVariable ($varString) {
+ // The first character must be a dollar sign
+ if (substr($varString, 0, 1) != '$') {
+ // Please report this
+ debug_report_bug(__FUNCTION__, __LINE__, 'varString=' . $varString . ' - No dollar sign detected, will not parse it.');
+ } // END - if
+
+ // Do we have cache?
+ if (!isset($GLOBALS[__FUNCTION__][$varString])) {
+ // Snap them in, if [,] are there
+ $GLOBALS[__FUNCTION__][$varString] = str_replace('[', "['", str_replace(']', "']", $varString));
+ } // END - if
+
+ // Return cache
+ return $GLOBALS[__FUNCTION__][$varString];
+}
+
//-----------------------------------------------------------------------------
// Automatically re-created functions, all taken from user comments on www.php.net
//-----------------------------------------------------------------------------
'REFERAL_VIEWS' => "Views",
'REFERAL_IS_ACTIVE' => "Aktiv?",
'POINTS_USED' => "Verbrauchte {?POINTS?}",
- 'MEMBER_NO_POINTS' => "Sie haben keine {?POINTS?} mehr zum Versenden übrig.",
- 'MEMBER_NO_PAYMENTS' => "Der Admin dieses {?mt_word3?} hat noch keine Mailarten definiert.",
'MEMBER_POINTS_LEFT' => "{?POINTS?}-Guthaben zum Mailversand übrig",
'SELECT_MAIL_TYPE' => "Mailart auswählen",
'PLEASE_SELECT' => "Bitte auswählen",
'KBYTES' => "KBytes",
'DEFAULT_SUBJECT_LINE' => "Klick-Mail von {?MAIN_TITLE?}",
'MEBER_UPDATE_PWD_WRONG' => "Sie haben das falsche Passwort eingegeben! Bitte nochmal versuchen.",
- 'ADMIN_MEMBER_NO_CATEGORIES_1' => "Das Mitglied <u>",
- 'ADMIN_MEMBER_NO_CATEGORIES_2' => "</u> hat keine Kategorien ausgewählt.",
+ 'ADMIN_MEMBER_NO_CATEGORIES' => "Das Mitglied <span class=\"data\">{%%pipe,generateUserProfileLink=%s%%}</span> hat keine Kategorien ausgewählt.",
'USER_ID' => "Mitglied",
'UNCONFIRMED_LINKS' => "Unbestätigte Mails",
- 'ADMIN_MEMBER_LINKS' => "Das Mitglied <span class=\"data\">%s</span> hat alle seine Mails bestätigt.",
- 'MEMBER_TOTAL_LINKS' => "Es müssen noch <span class=\"data\">%s</span> Mails von diesem Mitglied bestätigt werden.",
+ 'ADMIN_NO_UNCONFIRMED_MAILS_LEFT' => "Das Mitglied <span class=\"data\">%s</span> hat alle seine Mails bestätigt.",
+ 'ADMIN_TOTAL_LINKS_LEFT' => "Es müssen noch <span class=\"data\">%s</span> Mails von diesem Mitglied bestätigt werden.",
'ADMIN_DELETE_UNCONFIRMED_LINKS' => "Alle unbestätigten Mails löschen",
'ADMIN_LINKS_DELETED' => "Links für unbestätigte Mails wurden gelöscht.",
'ADMIN_DELETE_LINK_SUBJECT' => "Ihr unbestätigen Mails wurden gelöscht.",
- 'MEMBER_LINKS_LEFT' => "Sie haben <span class=\"data\">%s</span> unbestätigte Mails. Bitte bestätigen Sie diese zuerst. Wenn Sie weniger als <span class=\"data\">{?unconfirmed?}</span> Mails im Account haben, können Sie auch wieder buchen.",
'TODAY' => "Heute",
'MEMBER_PROFILE_LOCKED' => "Sie können Ihren Account erst am <span class=\"data\">%s</span> wieder ändern.",
'MEMBER_HAS_ZERO_MMAILS' => "Sie haben Ihren Empfang auf <strong>Urlaub</strong> stehen! Bitte stellen Sie unter "Profildaten ändern" den Empfang höher ein.",
'ADMIN_ENTER_REFERAL_BANNER_URL' => "Banner-URL",
'ADMIN_ENTER_ALTERNATE_REFERAL_BANNER_TEXT' => "Alternativen Text",
'ADMIN_SELECT_REFERAL_BANNER_ACTIVE' => "Ist der Werbebanner aktiv?",
- 'ADMIN_LIST_REFERALS' => "Referal-Übersicht des Mitgliedes <span class=\"data\">%s</span> in allen Ebenen:",
+ 'ADMIN_LIST_REFERALS' => "Referal-Übersicht des Mitgliedes <span class=\"data\">{%%pipe,generateUserProfileLink=%s%%}</span> in allen Ebenen:",
'ADMIN_LIST_REFERALS_LEVEL' => "Referals in Ebene <span class=\"data\">%s</span>:",
'ADMIN_LIST_REFERALS_NOTE' => "<strong>Änderung:</strong> Klicken Sie die Mitglieder-Id an und gelangen Sie zum Mitgliederprofil. Klicken Sie Anzahl Referals an, werden die Referals des jeweiligen Mitgliedes aufgelistet.",
'ADMIN_NORMAL_MAIL_ALREADY_DELETED' => "Mitglieder-Mail bereits gelöscht.",
'MEMBER_ORDER_ALLOWED_EXHAUSTED' => "Sie können keine weiteren Mails mehr versenden, oder stellen Sie bitte den Empfang höher ein.",
'MEMBER_ENTER_INVALID_URL' => "Ungütige URL eingegeben.",
'MEMBER_NO_MAIL_TYPE_SELECTED' => "Bitte wählen Sie eine Mailart aus.",
+ 'MEMBER_ORDER_NO_POINTS' => "Sie haben keine {?POINTS?} mehr zum Versenden übrig.",
+ 'MEMBER_ORDER_NO_PAYMENTS' => "Der Admin dieses {?mt_word3?} hat noch keine Mailarten definiert.",
+ 'MEMBER_ORDER_LINKS_LEFT' => "Sie haben <span class=\"data\">%s</span> unbestätigte Mails. Bitte bestätigen Sie diese zuerst. Wenn Sie weniger als <span class=\"data\">{?unconfirmed?}</span> Mails im Account haben, können Sie auch wieder buchen.",
'ADMIN_ORDER_SELECT_COLUMN_USERID' => "Mitgliedsnummer",
'ADMIN_ORDER_SELECT_COLUMN_ZIP' => "Postleitzahl",
// User-related data, so is there a userid?
if (!empty($data['matches'][4][$data['key']])) {
// Do we have a userid or $userid?
- if ($data['matches'][4][$data['key']] == '$userid') {
+ if (substr($data['matches'][4][$data['key']], 0, 1) == '$') {
// Use dynamic call
- $functionName = "getFetchedUserData('userid', \$userid, '" . $data['callback'] . "')";
+ $functionName = "getFetchedUserData('userid', " . $data['matches'][4][$data['key']] . ", '" . $data['callback'] . "')";
} elseif (!empty($data['matches'][4][$data['key']])) {
// Do we have a number or a dollar sign in front of it?
if (preg_replace('/[^0123456789]/', '', $data['matches'][4][$data['key']]) != $data['matches'][4][$data['key']]) {
// Prepare constants
// @TODO No longer needed? define('__CATEGORIES_BASE' , '<a href="{%url=modules.php?module=admin&userid=');
- $content['userid'] = bigintval(getRequestParameter('userid'));
- $content['email'] = '<a href="' . generateEmailLink($content['email'], 'user_data') . '">' . $content['surname'] . ' ' . $content['family'] . '</a>';
+ $content['email'] = '<a href="' . generateEmailLink($content['email'], 'user_data') . '">{%pipe,translateGender=' . $content['gender'] . '%} ' . $content['surname'] . ' ' . $content['family'] . '</a>';
// Ok, list categories of this user
$result_cats = SQL_QUERY("SELECT `id`, `cat` FROM `{?_MYSQL_PREFIX?}_cats` ORDER BY `sort` ASC", __FILE__, __LINE__);
} // END - while
// Remember list in constant for the template
- $content['surname'] = getUserData('surname');
- $content['family'] = getUserData('family');
$content['email'] = '<a href="' . generateEmailLink(getUserData('email'), 'user_data') . '">' . getUserData('email') . '</a>';
$content['rows'] = $OUT;
$content['nums'] = SQL_NUMROWS($result);
}
} else {
// No mails left to confirm
- displayMessage('{%message,ADMIN_MEMBER_LINKS=' . bigintval(getRequestParameter('userid')) . '%}');
+ displayMessage('{%message,ADMIN_NO_UNCONFIRMED_MAILS_LEFT=' . bigintval(getRequestParameter('userid')) . '%}');
}
} else {
// User not found
}
} else {
// No mail types defined
- displayMessage('<span class="notice">{--MEMBER_NO_PAYMENTS--}</span>');
+ displayMessage('<span class="notice">{--MEMBER_ORDER_NO_PAYMENTS--}</span>');
}
} else {
// No points left
- displayMessage('<span class="notice">{--MEMBER_NO_POINTS--}</span>');
+ displayMessage('<span class="notice">{--MEMBER_ORDER_NO_POINTS--}</span>');
}
} else {
// No cateogries are defined yet
}
} else {
// Please confirm some mails first
- displayMessage('<span class="notice">{%message,MEMBER_LINKS_LEFT=' . $links . '%}</span>', $links);
+ displayMessage('<span class="notice">{%message,MEMBER_ORDER_LINKS_LEFT=' . $links . '%}</span>', $links);
}
if (!empty($url)) {
// Init counter
$count = 0;
- // Compile the raw code
- $code = compileRawCode($code);
-
// Compile all out
while (((strpos($code, '{--') !== false) || (strpos($code, '{DQUOTE}') !== false) || (strpos($code, '{?') !== false) || (strpos($code, '{%') !== false)) && ($count < 7)) {
// Init common variables
// Use it again
$code = $newContent;
+ // Compile the final code
+ $code = compileRawCode($code);
+
// Count round
$count++;
} // END - while
+ // Add debugging data in HTML code, if mode is enabled
+ if ((isDebugModeEnabled()) && ($insertComments === true)) {
+ // Add loop count
+ $code .= '<!-- Total compilation loop=' . $count . ' //-->';
+ } // END - if
+
// Return the compiled code
return $code;
}
$newMatch = str_replace('[', "['", str_replace(']', "']", $match));
$code = str_replace($match, '".' . $newMatch . '."', $code);
$matchesFound[$key . '_' . $matches[4][$key]] = 1;
- $matchesFound[$match] = 1;
+ $matchesFound[$match] = true;
} elseif (!isset($matchesFound[$match])) {
// Not yet replaced!
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'match=' . $match);
$code = str_replace($match, '".' . $match . '."', $code);
$matchesFound[$match] = 1;
+ } else {
+ // Everthing else should be a least logged
+ logDebugMessage(__FUNCTION__, __LINE__, 'match=' . $match . ',key=' . $key);
}
} // END - foreach
} // END - if
$EMAIL = generateSponsorEmailLink($email);
}
- // Shall I close the link when there is no admin?
- if ((!isAdmin()) && ($EMAIL == $email)) $EMAIL = '#'; // Closed!
-
// Return email link
return $EMAIL;
}
<tr>
<td class="{%template,ColorSwitch%} bottom right" align="center">$content[win1]$content[cnt]$content[win2]</td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">$content[win1]<a href="{%url=modules.php?module=admin&what=list_user&userid=$content[userid]%}">$content[userid]</a>$content[win2]</td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">$content[win1]{%pipe,generateUserProfileLink=$content[userid]%}$content[win2]</td>
<td class="{%template,ColorSwitch%} bottom right">$content[win1]<a href="$content[email]">{%pipe,translateGender=$content[gender]%} $content[surname] $content[family]</a>$content[win2]</td>
<td class="{%template,ColorSwitch%} bottom right">{%pipe,translateComma=$content[beg_points]%} {?POINTS?}</td>
<td class="{%template,ColorSwitch%} bottom">$content[last_online]</td>
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="4" align="center" class="table_header bottom" height="40">
- <strong><a href="{%url=modules.php?module=admin&what=list_user&userid=$content[userid]%}">$content[surname] $content[family]</a></strong> ($content[email]):
+ {%user,gender,translateGender=$content[userid]%}
+ {%user,surname=$content[userid]%}
+ {%user,family=$content[userid]%}
+ {%pipe,generateUserProfileLink=$content[userid]%}:
</td>
</tr>
$content[rows]
<tr>
<td colspan="4" height="40" class="table_footer" align="center">
- {%message,MEMBER_TOTAL_LINKS=$content[nums]%}<br />
+ {%message,ADMIN_TOTAL_LINKS_LEFT=$content[nums]%}<br />
<a href="{%url=modules.php?module=admin&what=list_links&userid=$content[userid]&del=all%}" onclick="return confirm('{--ADMIN_REALLY_DELETE_ALL_MAILS--}')">{--ADMIN_DELETE_UNCONFIRMED_LINKS--}</a>
</td>
</tr>
<tr>
<td align="center" class="{%template,ColorSwitch%} bottom right">
- $content[bold_l]<a
- href="{%url=modules.php?module=admin&what=list_user&userid=$content[userid]%}">$content[userid]</a>$content[bold_r]
+ $content[bold_l]{%pipe,generateUserProfileLink=$content[userid]%}$content[bold_r]
</td>
<td align="center" class="{%template,ColorSwitch%} bottom right">
$content[bold_l]$content[refs]$content[bold_r]
<tr>
<td align="center" class="{%template,ColorSwitch%} bottom right">
- $content[bold_l]<a
- href="{%url=modules.php?module=admin&what=list_user&userid=$content[userid]%}">$content[userid]</a>$content[bold_r]
+ $content[bold_l]{%pipe,generateUserProfileLink=$content[userid]%}$content[bold_r]
</td>
<td align="center" class="{%template,ColorSwitch%} bottom right">
$content[bold_l]$content[old]$content[bold_r]
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="6" class="table_header">
- <strong>{%message,ADMIN_LIST_REFERALS={%pipe,generateUserProfileLink=$content[userid]%}%}</strong>
+ <strong>{%message,ADMIN_LIST_REFERALS=$content[userid]%}</strong>
</td>
</tr>
<tr>
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td class="table_header bottom">
- <strong>{%message,ADMIN_LIST_REFERALS={%pipe,generateUserProfileLink=$content[userid]%}%}</strong>
+ <strong>{%message,ADMIN_LIST_REFERALS=$content[userid]%}</strong>
</td>
</tr>
$content[rows]
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
<td colspan="3" align="center" class="table_header bottom" height="50">
- {--USER_ID--}: <strong><a href="{%url=modules.php?module=admin&what=list_user&userid=$content[userid]%}">$content[userid]</a></strong>
+ {--USER_ID--}: <strong>{%pipe,generateUserProfileLink=$content[userid]%}</strong>
($content[email])
</td>
</tr>
<tr>
<td colspan="3" class="table_footer">
<div>
- <u>{--ADMIN_MEMBER_FUNCTIONS--}:</u>
+ <strong>{--ADMIN_MEMBER_FUNCTIONS--}:</strong>
</div>
<div>
{%pipe,generateMemberAdminActionLinks=$content[userid]%}
<div align="center">
<div class="table dashed">
<div class="table_header bottom">
- <strong>{--ADMIN_MEMBER_NO_CATEGORIES_1--}<a href="{%url=modules.php?module=admin&what=list_user&userid=$content[userid]%}">$content[userid]</a>{--ADMIN_MEMBER_NO_CATEGORIES_2--}</strong>
+ <strong>{%message,ADMIN_MEMBER_NO_CATEGORIES=$content[userid]%}</strong>
</div>
<div class="table_header">
<div>
- <u>{--ADMIN_MEMBER_FUNCTIONS--}:</u>
+ <strong>{--ADMIN_MEMBER_FUNCTIONS--}:</strong>
</div>
<div>
{%pipe,generateMemberAdminActionLinks=$content[userid]%}
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
- <tr>
- <td align="center" class="table_header bottom"><strong>{--ADMIN_SEND_BONUS_MAILS--}</strong></td>
- </tr>
- <tr>
- <td style="padding-left: 7px; padding-top: 5px; padding-bottom: 5px" class="bottom">
- <strong><big>·</big></strong> <a href="{%url=modules.php?module=admin&what=send_bonus&mode=normal%}">{--ADMIN_SEND_BONUS_NORMAL--}</a>
- <div class="notice">{--ADMIN_SEND_BONUS_NORMAL_NOTES--}</div>
- </td>
- </tr>
- <tr>
- <td style="padding-left: 7px; padding-top: 5px; padding-bottom: 5px">
- <strong><big>·</big></strong> <a href="{%url=modules.php?module=admin&what=send_bonus&mode=html%}">{--ADMIN_SEND_BONUS_HTML--}</a><br />
- <br />
- <div class="notice">{--ADMIN_SEND_BONUS_HTML_NOTES--}</div>
- </td>
- </tr>
-</table>
+<div align="center">
+<div class="table dashed">
+ <div class="table_header bottom">
+ <strong>{--ADMIN_SEND_BONUS_MAILS--}</strong>
+ </div>
+ <div align="left">
+ <ul class="listing">
+ <li class="listing">
+ <div class="para">
+ <a href="{%url=modules.php?module=admin&what=send_bonus&mode=normal%}">{--ADMIN_SEND_BONUS_NORMAL--}</a>
+ </div>
+ <div class="para">
+ {--ADMIN_SEND_BONUS_NORMAL_NOTES--}
+ </div>
+ </li>
+ <li class="listing">
+ <div class="para">
+ <a href="{%url=modules.php?module=admin&what=send_bonus&mode=html%}">{--ADMIN_SEND_BONUS_HTML--}</a>
+ </div>
+ <div class="para">
+ {--ADMIN_SEND_BONUS_HTML_NOTES--}
+ </div>
+ </li>
+ </ul>
+ </div>
+</div>
+</div>