]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-booking.php
Fixes for JavaScript in member booking with set limit
[mailer.git] / inc / modules / member / what-booking.php
index 9f45a9103cfaf7d2491245f2de205f653533e884..0b28f4d24b8bbbceee7b8acd3feea99ae62991b5 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -45,5 +45,11 @@ if (!defined('__SECURITY')) {
 // Add description as navigation point
 addYouAreHereLink('member', __FILE__);
 
+// Continue only if the proper extension is active (admins can always continue)
+if ((!isExtensionActive('booking')) && (!isAdmin())) {
+       displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=booking%}');
+       return;
+} // END - if
+
 // [EOF]
 ?>