X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ftemplate-functions.php;h=931d18d2c440c9053ae950ccdd7d4725c2d3800f;hb=cf45e4f26852c4dba4a3edde3e6e265f982a1406;hp=37b557fb741e2579b534345888789b4deabab528;hpb=ea61ff98ca9d15478125dc98fe1eed8964197873;p=mailer.git
diff --git a/inc/template-functions.php b/inc/template-functions.php
index 37b557fb74..931d18d2c4 100644
--- a/inc/template-functions.php
+++ b/inc/template-functions.php
@@ -326,7 +326,7 @@ function loadTemplate ($template, $return = false, $content = array()) {
} elseif ((isAdmin()) || ((isInstalling()) && (!isInstalled()))) {
// Only admins shall see this warning or when installation mode is active
$ret = '
- {--TEMPLATE_404--}
+ {--TEMPLATE_404--}
(' . $template . ')
@@ -654,7 +654,7 @@ function compileRawCode ($code, $simple = false, $constants = true, $full = true
}
//
-function addSelectionBox ($type, $default, $prefix = '', $id = '0', $class = 'register_select') {
+function addSelectionBox ($type, $default, $prefix = '', $id = '0', $class = 'form_select') {
$OUT = '';
if ($type == 'yn') {
@@ -1040,7 +1040,7 @@ function generateMemberAdminActionLinks ($userid) {
$OUT = '[';
foreach ($targetArray as $tar) {
- $OUT .= '
{--ADMIN_';
+ $OUT .= '_TITLE--}">{--ADMIN_USER_ACTION_LINK_';
if (($tar == 'lock_user') && ($status == 'LOCKED')) {
// Locked accounts shall be unlocked
$OUT .= 'UNLOCK_USER';
@@ -1524,21 +1524,21 @@ function sendModeMails ($mod, $modes) {
$sub_mem = '{--MEMBER_CHANGED_DATA--}';
// Output success message
- $content = '{--MEMBER_MYDATA_MAIL_SENT--}';
+ $content = '{--MEMBER_MYDATA_MAIL_SENT--}';
break;
default: // Unsupported module!
logDebugMessage(__FUNCTION__, __LINE__, sprintf("Unsupported module %s detected.", $mod));
- $content = '{--UNKNOWN_MODULE--}';
+ $content = '{--UNKNOWN_MODULE--}';
break;
} // END - switch
} else {
// Passwords mismatch
- $content = '{--MEMBER_PASSWORD_ERROR--}';
+ $content = '{--MEMBER_PASSWORD_ERROR--}';
}
} else {
// Could not load profile
- $content = '{--MEMBER_CANNOT_LOAD_PROFILE--}';
+ $content = '{--MEMBER_CANNOT_LOAD_PROFILE--}';
}
// Send email to user if required
@@ -1557,7 +1557,7 @@ function sendModeMails ($mod, $modes) {
$content = '{--CANNOT_SEND_ADMIN_MAILS--}';
} else {
// No mail to admin
- $content = '{--MEMBER_MYDATA_MAIL_SENT--}';
+ $content = '{--MEMBER_MYDATA_MAIL_SENT--}';
}
} // END - if
@@ -1568,7 +1568,7 @@ function sendModeMails ($mod, $modes) {
// Generates a 'selection box' from given array
function generateSelectionBoxFromArray ($options, $name, $optionValue, $optionContent = '', $extraName = '') {
// Start the output
- $OUT = '