Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-20T09:52:15-05:00 http://www.primothemes.com/forums/feed.php?f=40&t=13276 2011-12-20T09:52:15-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13276&p=58036#p58036 <![CDATA[s2Member v111220 / Source Code: s2member-p...]]>
s2Member v111220
Source Code: s2member-pro\includes\classes\menu-pages.inc.php
Docs updated: December 20, 2011, 9:52 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — December 20th, 2011, 9:52 am


]]>
2011-12-07T01:05:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13276&p=55718#p55718 <![CDATA[s2Member v111206 / Source Code: s2member-p...]]>
s2Member v111206
Source Code: s2member-pro\includes\classes\menu-pages.inc.php
Docs updated: December 7, 2011, 1:05 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — December 7th, 2011, 1:05 am


]]>
2011-11-05T19:28:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13276&p=52092#p52092 <![CDATA[s2Member v111105 / Source Code: s2member-p...]]>
s2Member v111105
Source Code: s2member-pro\includes\classes\menu-pages.inc.php
Docs updated: November 5, 2011, 8:28 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — November 5th, 2011, 7:28 pm


]]>
2011-10-29T20:37:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13276&p=50188#p50188 <![CDATA[s2Member v111029 / Source Code: s2member-p...]]>
s2Member v111029
Source Code: s2member-pro\includes\classes\menu-pages.inc.php
Docs updated: October 29, 2011, 9:37 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 29th, 2011, 8:37 pm


]]>
2011-10-17T15:42:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13276&p=47984#p47984 <![CDATA[s2Member v111017 / Source Code: s2member-p...]]>
s2Member v111017
Source Code: s2member-pro\includes\classes\menu-pages.inc.php
Docs updated: October 17, 2011, 1:42 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 17th, 2011, 3:42 pm


]]>
2011-10-11T14:37:52-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13276&p=46384#p46384 <![CDATA[s2Member v111011 / Source Code: s2member-p...]]>
s2Member v111011
Source Code: s2member-pro\includes\classes\menu-pages.inc.php
Docs updated: October 11, 2011, 12:38 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 11th, 2011, 2:37 pm


]]>
2011-10-03T15:50:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13276&p=44513#p44513 <![CDATA[s2Member v111003 / Source Code: s2member-p...]]>
s2Member v111003
Source Code: s2member-pro\includes\classes\menu-pages.inc.php
Docs updated: October 3, 2011, 1:50 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 3rd, 2011, 3:50 pm


]]>
2011-10-03T03:44:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13276&p=43220#p43220 <![CDATA[s2Member v111002 / Source Code: s2member-p...]]>
s2Member v111002
Source Code: s2member-pro\includes\classes\menu-pages.inc.php
Docs updated: October 3, 2011, 1:44 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 3rd, 2011, 3:44 am


]]>
2011-09-27T05:28:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13276&p=41462#p41462 <![CDATA[s2Member v110927 / Source Code: s2member-p...]]>
s2Member v110927
Source Code: s2member-pro\includes\classes\menu-pages.inc.php
Docs updated: September 27, 2011, 3:28 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 27th, 2011, 5:28 am


]]>
2011-09-26T21:05:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13276&p=40218#p40218 <![CDATA[s2Member v110926 / Source Code: s2member-p...]]>
s2Member v110926
Source Code: s2member-pro\includes\classes\menu-pages.inc.php
Docs updated: September 26, 2011, 7:05 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 26th, 2011, 9:05 pm


]]>
2011-09-17T17:04:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13276&p=38362#p38362 <![CDATA[s2Member v110915 / Source Code: s2member-p...]]>
s2Member v110915
Source Code: s2member-pro\includes\classes\menu-pages.inc.php
Docs updated: September 17, 2011, 3:04 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 17th, 2011, 5:04 pm


]]>
2011-09-14T01:29:46-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13276&p=36940#p36940 <![CDATA[s2Member v110913 / Source Code: s2member-p...]]>
s2Member v110913
Source Code: s2member-pro\includes\classes\menu-pages.inc.php
Docs updated: September 13, 2011, 11:29 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 14th, 2011, 1:29 am


]]>
2011-09-13T12:04:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13276&p=35668#p35668 <![CDATA[s2Member v110912 / Source Code: s2member-p...]]>
s2Member v110912
Source Code: s2member-pro\includes\classes\menu-pages.inc.php
Docs updated: September 13, 2011, 10:04 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 13th, 2011, 12:04 pm


]]>
2011-08-15T15:18:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13276&p=31776#p31776 <![CDATA[s2Member v110815 / Source Code: s2member-p...]]>
s2Member v110815
Source Code: s2member-pro\includes\classes\menu-pages.inc.php
Docs updated: August 15, 2011, 4:18 pm

Open for public discussion.
(!-- s-words :: --)Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code jQuery(window).load(function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli'+location.hash).addClass('hilite'); }); jQuery(window).bind('hashchange', function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli').removeClass('hilite'); jQuery('olli'+location.hash).addClass('hilite'); }); [ full view ]s2member-pro\includes\classes\menu-pages.inc.php ?php /** * Administrative Menu Pages. * * Copyright: © 2009-2011 * {@link http://www.websharks-inc.com/ WebSharks, Inc.} * ( coded in the USA ) * * This WordPress® plugin ( s2Member Pro ) is comprised of two parts: * * o (1) Its PHP code is licensed under the GPL license, as is WordPress®. * You should have received a copy of the GNU General Public License, * along with this software. In the main directory, see: /licensing/ * If not, see: {@link http://www.gnu.org/licenses/}. * * o (2) All other parts of ( s2Member Pro ); including, but not limited to: * the CSS code, some JavaScript code, images, and design; * are licensed according to the license purchased. * See: {@link http://www.s2member.com/prices/} * * Unless you have our prior written consent, you must NOT directly or indirectly license, * sub-license, sell, resell, or provide for free; part (2) of the s2Member Pro Module; * or make an offer to do any of these things. All of these things are strictly * prohibited with part (2) of the s2Member Pro Module. * * Your purchase of s2Member Pro includes free lifetime upgrades via s2Member.com * ( i.e. new features, bug fixes, updates, improvements ); along with full access * to our video tutorial library: {@link http://www.s2member.com/videos/} * * @package s2Member\Menu_Pages * @since 1.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_pro_menu_pages" ) ) { /** * Administrative Menu Pages. * * @package s2Member\Menu_Pages * @since 1.5 */ class c_ws_plugin__s2member_pro_menu_pages { /** * Identifies the s2Member Pro Module. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_filter("plugin_row_meta");`` * * @param array $plugin_meta Expects an array of meta details for the ``$plugin_file``. * @param str $plugin_file Expects a string holding the basename of the plugin. * We need to look for a match to the s2Member Pro Module in this variable. * @return array Array of meta details for the plugin. */ public static function module_identifier ( $plugin_meta = FALSE , $plugin_file = FALSE ) { if ( $plugin_file === basename ( dirname ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "l" ] ) ) . "/" . basename ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "l" ] ) ) { $plugin_meta [ 0 ] .= ' + strongs2Member Pro v' . esc_html (WS_PLUGIN__S2MEMBER_PRO_VERSION) . '/strong' ; } /**/ return $plugin_meta ; /* Now return all plugin meta; imploded by WordPress®. */ } /** * Add the Coupon Codes page. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_filter("ws_plugin__s2member_during_add_admin_options_add_divider_2");`` * * @param bool $add_divider Expects a boolean value, passed through by the Filter. * @param array $vars Expects an array of defined variables passed through by the Filter. * @return bool Passes back the original value of ``$add_divider``. */ public static function add_coupon_codes_page ( $add_divider = TRUE , $vars = FALSE ) { add_submenu_page ( $vars [ "menu" ] , "s2Member Pro / Coupon Codes" , "Pro Coupon Codes" , "create_users" , "ws-plugin--s2member-pro-coupon-codes" , "c_ws_plugin__s2member_pro_menu_pages::coupon_codes_page" ) ; /**/ return $add_divider ; /* Now add the divider. */ } /** * Add the Pro Module Import/Export page here. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_filter("ws_plugin__s2member_during_add_admin_options_add_divider_3");`` * * @param bool $add_divider Expects a boolean value, passed through by the Filter. * @param array $vars Expects an array of defined variables passed through by the Filter. * @return bool Passes back the original value of ``$add_divider``. */ public static function add_import_export_page ( $add_divider = TRUE , $vars = FALSE ) { add_submenu_page ( $vars [ "menu" ] , "-" , 'div style="margin:1px 0 1px -5px; height:1px; line-height:1px; background:#CCCCCC;"/div' , "create_users" , "#" ) ; add_submenu_page ( $vars [ "menu" ] , "s2Member Pro ( User Import/Export )" , "Import / Export" , "create_users" , "ws-plugin--s2member-pro-import-export" , "c_ws_plugin__s2member_pro_menu_pages::import_export_page" ) ; /**/ return $add_divider ; /* Now add the divider. */ } /** * Add the page for configuration of other Payment Gateways. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_filter("ws_plugin__s2member_during_add_admin_options_add_divider_4");`` * * @param bool $add_divider Expects a boolean value, passed through by the Filter. * @param array $vars Expects an array of defined variables passed through by the Filter. * @return bool Passes back the original value of ``$add_divider``. */ public static function add_other_gateways_page ( $add_divider = TRUE , $vars = FALSE ) { add_submenu_page ( $vars [ "menu" ] , "-" , 'div style="margin:1px 0 1px -5px; height:1px; line-height:1px; background:#CCCCCC;"/div' , "create_users" , "#" ) ; add_submenu_page ( $vars [ "menu" ] , "s2Member Pro / Other Payment Gateways" , "Other Gateways" , "create_users" , "ws-plugin--s2member-pro-other-gateways" , "c_ws_plugin__s2member_pro_menu_pages::other_gateways_page" ) ; /**/ return $add_divider ; /* Now add the divider. */ } /** * Add the Pro Module info page here. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_action("ws_plugin__s2member_during_add_admin_options_additional_pages");`` * @attaches-to ``add_action("ws_plugin__s2member_during_add_network_admin_options_additional_pages");`` * * @param array $vars Expects an array of defined variables passed through by the Action Hook. * @return null */ public static function add_info_page ( $vars = FALSE ) { if ( ! is_multisite ( ) || !c_ws_plugin__s2member_utils_conds:: is_multisite_farm ( ) || is_main_site ( ) ) add_submenu_page ( $vars [ "menu" ] , "s2Member Pro Information" , "s2Member Pro Info" , "create_users" , "ws-plugin--s2member-pro-info" , "c_ws_plugin__s2member_pro_menu_pages::info_page" ) ; /**/ return ; /* Return for uniformity. */ } /** * Add options for Login Welcome Page / One-Time-Offers. * * @package s2Member\Menu_Pages * @since 110720 * * @attaches-to ``add_action("ws_plugin__s2member_during_gen_ops_page_during_left_sections_after_login_welcome_page");`` * * @param array $vars Expects an array of defined variables passed through by the Action Hook. * @return null */ public static function gen_ops_lwp_otos ( $vars = FALSE ) { include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/gen-ops-lwp-otos.inc.php" ; /**/ return ; /* Return for uniformity. */ } /** * Add instructions to configure Membership Levels. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_action("ws_plugin__s2member_during_gen_ops_page_during_left_sections_during_membership_levels");`` * * @param array $vars Expects an array of defined variables passed through by the Action Hook. * @return null */ public static function add_level_instructions ( $vars = FALSE ) { if ( ! is_multisite ( ) || !c_ws_plugin__s2member_utils_conds:: is_multisite_farm ( ) || is_main_site ( ) ) include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/unlimited-level-instructions.inc.php" ; /**/ return ; /* Return for uniformity. */ } /** * Builds the documentation for the Remote Operations API. * * @package s2Member\Menu_Pages * @since 110713 * * @attaches-to ``add_filter("ws_plugin__s2member_during_scripting_page_during_left_sections_display_api_hooks");`` * * @param bool $display_api_hooks Expects a boolean value passed through by the Filter. * @return bool The same value of ``$display_api_hooks`` passes through. */ public static function scripting_page_remote_ops_api ( $display_api_hooks = FALSE ) { include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/scripting-api-remote-ops.inc.php" ; /**/ return $display_api_hooks ; /* Now display API Hooks. */ } /** * Builds the documentation for the Pro Login Widget. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_filter("ws_plugin__s2member_during_scripting_page_during_left_sections_display_api_hooks");`` * * @param bool $display_api_hooks Expects a boolean value passed through by the Filter. * @return bool The same value of ``$display_api_hooks`` passes through. */ public static function scripting_page_login_widget_api ( $display_api_hooks = FALSE ) { include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/scripting-api-login-widget.inc.php" ; /**/ return $display_api_hooks ; /* Now display API Hooks. */ } /** * Builds the documentation for Scripting / API Constants. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_action("ws_plugin__s2member_during_scripting_page_during_left_sections_during_list_of_api_constants");`` * * @param array $vars Expects an array of defined variables passed through by the Action Hook. * @return null */ public static function scripting_page_api_constants ( $vars = FALSE ) { include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/scripting-api-constants.inc.php" ; /**/ return ; /* Return for uniformity. */ } /** * Builds documentation for additional Shortcode Attributes integrated w/ PayPal® Buttons. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_action("ws_plugin__s2member_during_paypal_buttons_page_during_left_sections_during_shortcode_attrs_lis");`` * * @param array $vars Expects an array of defined variables passed through by the Action Hook. * @return null */ public static function paypal_button_attrs ( $vars = FALSE ) { include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/paypal-button-attrs.inc.php" ; /**/ return ; /* Return for uniformity. */ } /** * Builds options to customize the PayPal® Return-Page template. * * @package s2Member\Menu_Pages * @since 110720 * * @attaches-to ``add_action("ws_plugin__s2member_during_paypal_ops_page_during_left_sections_during_paypal_pdt_after_more_info");`` * * @param array $vars Expects an array of defined variables passed through by the Action Hook. * @return null */ public static function paypal_return_template ( $vars = FALSE ) { include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/paypal-ops-return-template.inc.php" ; /**/ return ; /* Return for uniformity. */ } /** * Builds the other Payment Gateways page. * * @package s2Member\Menu_Pages * @since 1.5 * * @return null */ public static function other_gateways_page ( ) { c_ws_plugin__s2member_menu_pages:: update_all_options ( false , false , true , true , false , true ) ; /**/ include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/other-gateways.inc.php" ; /**/ return ; /* Return for uniformity. */ } /** * Builds the User Import / Export page. * * @package s2Member\Menu_Pages * @since 1.5 * * @return null */ public static function import_export_page ( ) { c_ws_plugin__s2member_pro_imports:: import ( ) ; /* Handles imports. */ /**/ include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/import-export.inc.php" ; /**/ return ; /* Return for uniformity. */ } /** * Builds the Coupon Codes page. * * @package s2Member\Menu_Pages * @since 1.5 * * @return null */ public static function coupon_codes_page ( ) { c_ws_plugin__s2member_menu_pages:: update_all_options ( ) ; /* Updates options. */ /**/ include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/coupon-codes.inc.php" ; /**/ return ; /* Return for uniformity. */ } /** * Builds the s2Member Pro Info page. * * @package s2Member\Menu_Pages * @since 1.5 * * @return null */ public static function info_page ( ) { include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/info.inc.php" ; /**/ return ; /* Return for uniformity. */ } } } ? [ full view ]s2member-pro\includes\classes\menu-pages.inc.php Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code(!-- :: s-words --)

Statistics: Posted by System Robot — August 15th, 2011, 3:18 pm


]]>
2011-07-11T17:36:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13276&p=27941#p27941 <![CDATA[s2Member v110710 / Source Code: s2member-p...]]>
s2Member v110710
Source Code: s2member-pro\includes\classes\menu-pages.inc.php
Docs updated: July 11, 2011, 6:36 pm

Open for public discussion.
(!-- s-words :: --)Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code jQuery(window).load(function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli'+location.hash).addClass('hilite'); }); jQuery(window).bind('hashchange', function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli').removeClass('hilite'); jQuery('olli'+location.hash).addClass('hilite'); }); [ full view ]s2member-pro\includes\classes\menu-pages.inc.php ?php /** * Administrative Menu Pages. * * Copyright: © 2009-2011 * {@link http://www.websharks-inc.com/ WebSharks, Inc.} * ( coded in the USA ) * * This WordPress® plugin ( s2Member Pro ) is comprised of two parts: * * o (1) Its PHP code is licensed under the GPL license, as is WordPress®. * You should have received a copy of the GNU General Public License, * along with this software. In the main directory, see: /licensing/ * If not, see: {@link http://www.gnu.org/licenses/}. * * o (2) All other parts of ( s2Member Pro ); including, but not limited to: * the CSS code, some JavaScript code, images, and design; * are licensed according to the license purchased. * See: {@link http://www.s2member.com/prices/} * * Unless you have our prior written consent, you must NOT directly or indirectly license, * sub-license, sell, resell, or provide for free; part (2) of the s2Member Pro Module; * or make an offer to do any of these things. All of these things are strictly * prohibited with part (2) of the s2Member Pro Module. * * Your purchase of s2Member Pro includes free lifetime upgrades via s2Member.com * ( i.e. new features, bug fixes, updates, improvements ); along with full access * to our video tutorial library: {@link http://www.s2member.com/videos/} * * @package s2Member\Menu_Pages * @since 1.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_pro_menu_pages" ) ) { /** * Administrative Menu Pages. * * @package s2Member\Menu_Pages * @since 1.5 */ class c_ws_plugin__s2member_pro_menu_pages { /** * Identifies the s2Member Pro Module. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_filter("plugin_row_meta");`` * * @param array $plugin_meta Expects an array of meta details for the ``$plugin_file``. * @param str $plugin_file Expects a string holding the basename of the plugin. * We need to look for a match to the s2Member Pro Module in this variable. * @return array Array of meta details for the plugin. */ public static function module_identifier ( $plugin_meta = FALSE , $plugin_file = FALSE ) { if ( $plugin_file === basename ( dirname ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "l" ] ) ) . "/" . basename ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "l" ] ) ) { $plugin_meta [ 0 ] .= ' + strongs2Member Pro v' . esc_html (WS_PLUGIN__S2MEMBER_PRO_VERSION) . '/strong' ; } /**/ return $plugin_meta ; /* Now return all plugin meta; imploded by WordPress®. */ } /** * Add the Coupon Codes page. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_filter("ws_plugin__s2member_during_add_admin_options_add_divider_2");`` * * @param bool $add_divider Expects a boolean value, passed through by the Filter. * @param array $vars Expects an array of defined variables passed through by the Filter. * @return bool Passes back the original value of ``$add_divider``. */ public static function add_coupon_codes_page ( $add_divider = TRUE , $vars = FALSE ) { add_submenu_page ( $vars [ "menu" ] , "s2Member Pro / Coupon Codes" , "Pro Coupon Codes" , "create_users" , "ws-plugin--s2member-pro-coupon-codes" , "c_ws_plugin__s2member_pro_menu_pages::coupon_codes_page" ) ; /**/ return $add_divider ; /* Now add the divider. */ } /** * Add the Pro Module Import/Export page here. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_filter("ws_plugin__s2member_during_add_admin_options_add_divider_3");`` * * @param bool $add_divider Expects a boolean value, passed through by the Filter. * @param array $vars Expects an array of defined variables passed through by the Filter. * @return bool Passes back the original value of ``$add_divider``. */ public static function add_import_export_page ( $add_divider = TRUE , $vars = FALSE ) { add_submenu_page ( $vars [ "menu" ] , "s2Member Pro ( User Import/Export )" , "Import / Export" , "create_users" , "ws-plugin--s2member-pro-import-export" , "c_ws_plugin__s2member_pro_menu_pages::import_export_page" ) ; /**/ return $add_divider ; /* Now add the divider. */ } /** * Add the page for configuration of other Payment Gateways. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_filter("ws_plugin__s2member_during_add_admin_options_add_divider_4");`` * * @param bool $add_divider Expects a boolean value, passed through by the Filter. * @param array $vars Expects an array of defined variables passed through by the Filter. * @return bool Passes back the original value of ``$add_divider``. */ public static function add_other_gateways_page ( $add_divider = TRUE , $vars = FALSE ) { add_submenu_page ( $vars [ "menu" ] , "-" , 'div style="margin:1px 0 1px -5px; height:1px; line-height:1px; background:#CCCCCC;"/div' , "create_users" , "#" ) ; add_submenu_page ( $vars [ "menu" ] , "s2Member Pro / Other Payment Gateways" , "Other Gateways" , "create_users" , "ws-plugin--s2member-pro-other-gateways" , "c_ws_plugin__s2member_pro_menu_pages::other_gateways_page" ) ; /**/ return $add_divider ; /* Now add the divider. */ } /** * Add the Pro Module info page here. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_action("ws_plugin__s2member_during_add_admin_options_additional_pages");`` * @attaches-to ``add_action("ws_plugin__s2member_during_add_network_admin_options_additional_pages");`` * * @param array $vars Expects an array of defined variables passed through by the Action Hook. * @return null */ public static function add_info_page ( $vars = FALSE ) { if ( ! is_multisite ( ) || !c_ws_plugin__s2member_utils_conds:: is_multisite_farm ( ) || is_main_site ( ) ) add_submenu_page ( $vars [ "menu" ] , "s2Member Pro Information" , "s2Member Pro Info" , "create_users" , "ws-plugin--s2member-pro-info" , "c_ws_plugin__s2member_pro_menu_pages::info_page" ) ; /**/ return ; /* Return for uniformity. */ } /** * Add instructions to configure Membership Levels. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_action("ws_plugin__s2member_during_gen_ops_page_during_left_sections_during_membership_levels");`` * * @param array $vars Expects an array of defined variables passed through by the Action Hook. * @return null */ public static function add_level_instructions ( $vars = FALSE ) { if ( ! is_multisite ( ) || !c_ws_plugin__s2member_utils_conds:: is_multisite_farm ( ) || is_main_site ( ) ) include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/unlimited-level-instructions.inc.php" ; /**/ return ; /* Return for uniformity. */ } /** * Builds the documentation for the Pro Login Widget. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_filter("ws_plugin__s2member_during_scripting_page_during_left_sections_display_api_hooks");`` * * @param bool $display_api_hooks Expects a boolean value passed through by the Filter. * @return bool The same value of ``$display_api_hooks`` passes through. */ public static function scripting_page_login_widget_api ( $display_api_hooks = FALSE ) { include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/scripting-api-login-widget.inc.php" ; /**/ return $display_api_hooks ; /* Now display API Hooks. */ } /** * Builds the documentation for Scripting / API Constants. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_action("ws_plugin__s2member_during_scripting_page_during_left_sections_during_list_of_api_constants");`` * * @param array $vars Expects an array of defined variables passed through by the Action Hook. * @return null */ public static function scripting_page_api_constants ( $vars = FALSE ) { include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/scripting-api-constants.inc.php" ; /**/ return ; /* Return for uniformity. */ } /** * Builds documentation for additional Shortcode Attributes integrated w/ PayPal® Buttons. * * @package s2Member\Menu_Pages * @since 1.5 * * @attaches-to ``add_action("ws_plugin__s2member_during_paypal_buttons_page_during_left_sections_during_shortcode_attrs_lis");`` * * @param array $vars Expects an array of defined variables passed through by the Action Hook. * @return null */ public static function paypal_button_attrs ( $vars = FALSE ) { include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/paypal-button-attrs.inc.php" ; /**/ return ; /* Return for uniformity. */ } /** * Builds the other Payment Gateways page. * * @package s2Member\Menu_Pages * @since 1.5 * * @return null */ public static function other_gateways_page ( ) { c_ws_plugin__s2member_menu_pages:: update_all_options ( false , false , true , true , false , true ) ; /**/ include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/other-gateways.inc.php" ; /**/ return ; /* Return for uniformity. */ } /** * Builds the User Import / Export page. * * @package s2Member\Menu_Pages * @since 1.5 * * @return null */ public static function import_export_page ( ) { c_ws_plugin__s2member_pro_imports:: import ( ) ; /* Updates options. */ /**/ include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/import-export.inc.php" ; /**/ return ; /* Return for uniformity. */ } /** * Builds the Coupon Codes page. * * @package s2Member\Menu_Pages * @since 1.5 * * @return null */ public static function coupon_codes_page ( ) { c_ws_plugin__s2member_menu_pages:: update_all_options ( ) ; /* Updates options. */ /**/ include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/coupon-codes.inc.php" ; /**/ return ; /* Return for uniformity. */ } /** * Builds the s2Member Pro Info page. * * @package s2Member\Menu_Pages * @since 1.5 * * @return null */ public static function info_page ( ) { include_once dirname ( dirname ( __FILE__ ) ) . "/menu-pages/info.inc.php" ; /**/ return ; /* Return for uniformity. */ } } } ? [ full view ]s2member-pro\includes\classes\menu-pages.inc.php Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code(!-- :: s-words --)

Statistics: Posted by System Robot — July 11th, 2011, 5:36 pm


]]>
2011-07-09T06:16:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13276&p=25571#p25571 <![CDATA[s2Member v111220 / Source Code: s2member-p...]]>
s2Member v111220
Source Code: s2member-pro\includes\classes\menu-pages.inc.php
Docs updated: December 20, 2011, 9:52 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — July 9th, 2011, 6:16 am


]]>