X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-surfbar_book.php;h=f551ef47b7591c74e7b59193e56a1fa6505a87ab;hb=f6014bce7255a915872f2f463247440c0d58f9a9;hp=3684fd55c7f6aa91db5e788d33c39101d9d30ac6;hpb=2e715eb7f3f8ca8d259aacb4cbbddde7d9d18e01;p=mailer.git diff --git a/inc/modules/member/what-surfbar_book.php b/inc/modules/member/what-surfbar_book.php index 3684fd55c7..f551ef47b7 100644 --- a/inc/modules/member/what-surfbar_book.php +++ b/inc/modules/member/what-surfbar_book.php @@ -1,91 +1,3 @@ 0? - if ((postRequestParameter('limited') != 'Y') && ((isPostRequestParameterSet('limit')) && (postRequestParameter('limit') > 0)) || (!isPostRequestParameterSet('limit'))) { - // Set it to unlimited - setPostRequestParameter('limit', 0); - } // END - if - - // By default something went wrong - $message = '{--MEMBER_SURFBAR_URL_NOT_ADDED--}'; - - // Register the new URL - $insertId = SURFBAR_MEMBER_ADD_URL(postRequestParameter('url'), postRequestParameter('limit')); - - // Was this fine? - if ($insertId > 0) { - // URL added and waiting for unlock - $message = '{--MEMBER_SURFBAR_URL_ADDED--}'; - } // END - if - - // Load message template - loadTemplate('admin_settings_saved', false, $message); -} else { - // Prepare some content - $content = array( - 'reward' => SURFBAR_DETERMINE_REWARD(true), - 'costs' => SURFBAR_DETERMINE_COSTS(true), - ); - - // Load surfbar order form - loadTemplate(sprintf("member_surfbar_book_%s", strtolower(getConfig('surfbar_pay_model'))), false, $content); -} - -// [EOF] +// @DEPRECATED ?>