X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-;h=e34ed03e53a6c6c411b43d42f8e5f27d1626cf78;hb=e39158031ac9c956396f35ff71d5923210c1d29a;hp=002a1053e1e2f6cde65405852ed859a0b416d78a;hpb=357b2ca133fc1f89db74097955c366cb4bee6996;p=mailer.git diff --git a/inc/modules/member/what- b/inc/modules/member/what- index 002a1053e1..e34ed03e53 100644 --- a/inc/modules/member/what- +++ b/inc/modules/member/what- @@ -10,9 +10,14 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : * * -------------------------------------------------------------------- * - * * + * $Revision:: 856 $ * + * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009) $ * + * $Tag:: 0.2.1-FINAL $ * + * $Author:: stelzi $ * + * Needs to be in all Files and every File needs "svn propset * + * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * - * Copyright (c) 2003 - 2008 by Roland Haeder * + * Copyright (c) 2003 - 2009 by Roland Haeder * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -33,17 +38,16 @@ // Some security stuff... if (!defined('__SECURITY')) { - $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; - require($INC); -} elseif (!IS_LOGGED_IN()) { - LOAD_URL(URL."/modules.php?module=index"); + die(); +} elseif (!isMember()) { + redirectToIndexMemberOnlyModule(); } // Add description as navigation point -ADD_DESCR("member", __FILE__); +addMenuDescription('member', __FILE__); // Loads the name-matching template -LOAD_TEMPLATE(substr(basename(__FILE__), 5, -4)); +loadTemplate(substr(basename(__FILE__), 5, -4)); // ?>