HEX
Server: Apache
System: Linux host.fiblib.com 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 29 06:24:11 EDT 2025 x86_64
User: scientificreligi (1062)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //home/scientificreligi/www/wp-content/plugins/auteur-framework/core/dashboard/welcome.class.php
<?php
if (!defined('ABSPATH')) {
	exit('Direct script access denied.');
}

if (!class_exists('G5P_Dashboard_Welcome')) {
	class G5P_Dashboard_Welcome
	{
		/*
		 * loader instances
		 */
		private static $_instance;

		public static function getInstance()
		{
			if (self::$_instance == NULL) {
				self::$_instance = new self();
			}

			return self::$_instance;
		}

		public function init() {

		}

		public function render_content() {
			G5P()->helper()->getTemplate('core/dashboard/templates/dashboard', array('current_page' => 'welcome'));
		}


		public function get_features() {
            $current_theme = wp_get_theme();
            $themes_info = G5P()->theme_info();
            return array(
                array(
                    'icon' => 'dashicons dashicons-book',
                    'label' => esc_html__('Documentation', 'auteur-framework'),
                    'description' => sprintf(__('This is the place to go to reference different aspects of the theme. Our online documentation is an incredible resource for learning the ins and outs of using %1$s.', 'auteur-framework'),$current_theme['Name']),
                    'button_text' => esc_html__('Documentation', 'auteur-framework'),
                    'button_url' => $themes_info['docs']
                ),
                array(
                    'icon' => 'dashicons dashicons-portfolio',
                    'label' => esc_html__('Knowledge Base', 'auteur-framework'),
                    'description' => esc_html__('Our knowledge base contains additional content that is not inside of our documentation. This information is more specific and unique to various versions or aspects of theme.', 'auteur-framework'),
                    'button_text' => esc_html__('Knowledgebase', 'auteur-framework'),
                    'button_url' => $themes_info['knowledgeBase']
                ),
                array(
                    'icon' => 'dashicons dashicons-format-video',
                    'label' => esc_html__('Video Tutorials', 'auteur-framework'),
                    'description' => sprintf(__('Nothing is better than watching a video to learn. We have a growing library of high-definititon, narrated video tutorials to help teach you the different aspects of using %1$s.','auteur-framework'),$current_theme['Name']),
                    'button_text' => esc_html__('Watch Videos', 'auteur-framework'),
                    'button_url' => $themes_info['video_tutorials_url']
                ),
                array(
                    'icon' => 'dashicons dashicons-sos',
                    'label' => esc_html__('Support forum', 'auteur-framework'),
                    'description' => sprintf(__('We offer outstanding support through our forum. To get support first you need to register (create an account) and open a thread in the %1$s Section.','auteur-framework'),$current_theme['Name']),
                    'button_text' => esc_html__('Open Forum', 'auteur-framework'),
                    'button_url' => $themes_info['support']
                ),
            );
        }
	}
}