]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-support.php
A lot double-quotes rewritten to single-quotes, global fix for getMessage() calls
[mailer.git] / inc / modules / member / what-support.php
index 32a1213233d7851e09bdcde6ab77ad02e23c040e..2755feeaca049a23aa7e33b20074f867df8490b7 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Support kontaktieren                             *
  * -------------------------------------------------------------------- *
- * $Revision:: 856                                                    $ *
- * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009)             $ *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author:: stelzi                                                   $ *
+ * $Author::                                                          $ *
  * Needs to be in all Files and every File needs "svn propset           *
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 }  elseif (!IS_MEMBER()){
-       LOAD_URL("modules.php?module=index");
-} elseif ((!EXT_IS_ACTIVE("support")) && (!IS_ADMIN())) {
-       addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "support");
+       LOAD_URL('modules.php?module=index');
+} elseif ((!EXT_IS_ACTIVE('support')) && (!IS_ADMIN())) {
+       addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), 'support'));
        return;
 }
 
 // Add description as navigation point
-ADD_DESCR("member", __FILE__);
+ADD_DESCR('member', __FILE__);
 
 if ((!IS_FORM_SENT()) || (!REQUEST_ISSET_POST(('qsummary')))) {
        // Output form
        LOAD_TEMPLATE("member_support_form");
 } else {
        // Load mail template based on your member's decision
-       if (GET_EXT_VERSION("admins") >= "0.4.1") {
+       if (GET_EXT_VERSION('admins') >= '0.4.1') {
                $a_tpl = "admin_support-".REQUEST_POST('qsummary');
        } else {
                $msg_a = LOAD_EMAIL_TEMPLATE("admin_support-".REQUEST_POST('qsummary'), array('text' => REQUEST_POST('qdetails')), getUserId());