X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Foverview-inc.php;h=2a97db9b72320c527f547ab41e36d77f2a222dfd;hb=a9d8c2dd21c5b7aa9c389bb510db8263fa78dd7b;hp=e5531730928a113b15f0f835869ad88d119f333a;hpb=8a7b405ec86c2f0670435547acb497b9583d481c;p=mailer.git diff --git a/inc/modules/admin/overview-inc.php b/inc/modules/admin/overview-inc.php index e553173092..2a97db9b72 100644 --- a/inc/modules/admin/overview-inc.php +++ b/inc/modules/admin/overview-inc.php @@ -67,7 +67,7 @@ function OUTPUT_STANDARD_OVERVIEW (&$result_tasks) { // Check if extension is installed or not $ext_ver = GET_EXT_VERSION($ext_name); - //* DEBUG: */ echo $ext_name."=".$ext_ver."
\n"; + //* DEBUG: */ OUTPUT_HTML($ext_name."=".$ext_ver."
"); // Is the extension not yet installed? if (empty($ext_ver)) { @@ -81,10 +81,10 @@ function OUTPUT_STANDARD_OVERVIEW (&$result_tasks) { } // END - if } else { // Test-drive extension in update mode - require(sprintf("%sinc/extensions/ext-%s.php", constant('PATH'), $ext_name)); + loadInclude(sprintf("inc/extensions/ext-%s.php", $ext_name)); // Update extension if extension is installed and outdated - //* DEBUG: */ print "ext={$ext_name},ver={EXT_GET_VERSION()}/".GET_EXT_VERSION($ext_name)."
\n"; + //* DEBUG: */ OUTPUT_HTML("ext={$ext_name},ver={EXT_GET_VERSION()}/".GET_EXT_VERSION($ext_name)."
"); if (EXT_GET_VERSION() > $ext_ver) { // Update the extension EXTENSION_UPDATE($ext_name, $ext_ver); @@ -161,7 +161,7 @@ LIMIT 1", // Entry found? if (SQL_NUMROWS($result_user) == 1) { list($gender, $sname, $fname, $email) = SQL_FETCHROW($result_user); - $add = "
  • {--ADMIN_MEMBER_UID--}: ".generateUserProfileLink($uid)." (".translateGender($gender)." ".$sname." ".$fname.")
  • "; + $add = "
  • {--ADMIN_MEMBER_UID--}: ".generateUserProfileLink($uid, 'user_data')." (".translateGender($gender)." ".$sname." ".$fname.")
  • "; } else { // Invalid userid, so log and zero it DEBUG_LOG(__FUNCTION__, __LINE__, 'Invalid userid=' . $uid . '-> Not found!'); @@ -369,7 +369,7 @@ LIMIT 1", $OUT .= LOAD_TEMPLATE('admin_newsletter_tsk', true, $content); } else { // Already unsubscribed - $OUT .= "
    ".ADMIN_NL_UNSUBSCRIBE_ALREADY."
    \n"; + $OUT .= "
    {--ADMIN_NL_UNSUBSCRIBE_ALREADY--}
    \n"; } break;