Esempio n. 1
0
        public static function render_page()
        {
            if (!is_super_admin()) {
                echo "<p>" . __('Nice Try...', 'psts') . "</p>";
                //If accessed properly, this message doesn't appear.
                return false;
            }
            // Might move this to a controller, not sure if needed yet.
            ProSites_Model_Pricing::process_form();
            ?>
			<form method="post" action="">
				<?php 
            $page_header_options = array('title' => self::get_page_name(), 'desc' => self::get_description(), 'page_header' => true);
            $options = array('header_save_button' => true, 'section_save_button' => true, 'nonce_name' => 'psts_pricing_settings', 'button_name' => 'pricing');
            ProSites_Helper_Tabs_Pricing::render(get_class(), $page_header_options, $options);
            ?>

			</form>
		<?php 
        }