/** * Creazione del menu sul pannello di amministrazione usando * come valori di configurazione le variabili object * * @return void */ function moduleAddMenu() { $this->menuslug = 'sz-google-admin-panoramio.php'; $this->pagetitle = ucwords(__('google panoramio', 'szgoogleadmin')); $this->menutitle = ucwords(__('google panoramio', 'szgoogleadmin')); // Definizione delle sezioni che devono essere composte in HTML // le sezioni devono essere passate come un array con nome => titolo $this->sectionstabs = array('01' => array('anchor' => 'shortcodes', 'description' => __('shortcodes', 'szgoogleadmin')), '02' => array('anchor' => 'widgets', 'description' => __('widgets', 'szgoogleadmin'))); $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin-panoramio-s-enable.php', 'title' => ucwords(__('activation', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-panoramio-s-options.php', 'title' => ucwords(__('options', 'szgoogleadmin'))), array('tab' => '02', 'section' => 'sz-google-admin-panoramio-w-enable.php', 'title' => ucwords(__('activation', 'szgoogleadmin'))), array('tab' => '02', 'section' => 'sz-google-admin-panoramio-w-options.php', 'title' => ucwords(__('options', 'szgoogleadmin')))); $this->sectionstitle = $this->menutitle; $this->sectionsoptions = 'sz_google_options_panoramio'; // Richiamo la funzione della classe padre per elaborare le // variabili contenenti i valori di configurazione sezione parent::moduleAddMenu(); }
/** * Creazione del menu sul pannello di amministrazione usando * come valori di configurazione le variabili object * * @return void */ function moduleAddMenu() { $this->menuslug = 'sz-google-admin-translate.php'; $this->pagetitle = ucwords(__('google translate', 'szgoogleadmin')); $this->menutitle = ucwords(__('google translate', 'szgoogleadmin')); // Definizione delle sezioni che devono essere composte in HTML // le sezioni devono essere passate come un array con nome => titolo $this->sectionstabs = array('01' => array('anchor' => 'general', 'description' => __('general', 'szgoogleadmin')), '02' => array('anchor' => 'advanced', 'description' => __('advanced', 'szgoogleadmin'))); $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin-translate.php', 'title' => ucwords(__('settings', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-translate-language.php', 'title' => ucwords(__('language setting', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-translate-enable.php', 'title' => ucwords(__('activation', 'szgoogleadmin'))), array('tab' => '02', 'section' => 'sz-google-admin-translate-advanced.php', 'title' => ucwords(__('advanced settings', 'szgoogleadmin')))); $this->sectionstitle = $this->menutitle; $this->sectionsoptions = 'sz_google_options_translate'; // Richiamo la funzione della classe padre per elaborare le // variabili contenenti i valori di configurazione sezione parent::moduleAddMenu(); }
/** * Creazione del menu sul pannello di amministrazione usando * come valori di configurazione le variabili object * * @return void */ function moduleAddMenu() { $this->menuslug = 'sz-google-admin-authenticator.php'; $this->pagetitle = ucwords(__('google authenticator', 'szgoogleadmin')); $this->menutitle = ucwords(__('google authenticator', 'szgoogleadmin')); // Definizione delle sezioni che devono essere composte in HTML // le sezioni devono essere passate come un array con nome => titolo $this->sectionstabs = array('01' => array('anchor' => 'general', 'description' => __('general', 'szgoogleadmin'))); $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin-authenticator.php', 'title' => ucwords(__('settings', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-authenticator-emergency.php', 'title' => ucwords(__('emergency file', 'szgoogleadmin')))); $this->sectionstitle = $this->menutitle; $this->sectionsoptions = 'sz_google_options_authenticator'; // Richiamo la funzione della classe padre per elaborare le // variabili contenenti i valori di configurazione sezione parent::moduleAddMenu(); }
/** * Creazione del menu sul pannello di amministrazione usando * come valori di configurazione le variabili object * * @return void */ function moduleAddMenu() { $this->menuslug = 'sz-google-admin-youtube.php'; $this->pagetitle = ucwords(__('google youtube', 'szgoogleadmin')); $this->menutitle = ucwords(__('google youtube', 'szgoogleadmin')); $this->sectionstabs = array('01' => array('anchor' => 'general', 'description' => __('general', 'szgoogleadmin')), '02' => array('anchor' => 'shortcodes', 'description' => __('shortcodes', 'szgoogleadmin')), '03' => array('anchor' => 'widgets', 'description' => __('widgets', 'szgoogleadmin')), '04' => array('anchor' => 'setup', 'description' => __('setup', 'szgoogleadmin'))); // Definizione delle sezioni che devono essere composte in HTML // le sezioni devono essere passate come un array con nome => titolo $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin-youtube-config.php', 'title' => ucwords(__('settings', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-youtube-advanced.php', 'title' => ucwords(__('advanced settings', 'szgoogleadmin'))), array('tab' => '02', 'section' => 'sz-google-admin-youtube-enable-s.php', 'title' => ucwords(__('activation', 'szgoogleadmin'))), array('tab' => '03', 'section' => 'sz-google-admin-youtube-enable-w.php', 'title' => ucwords(__('activation', 'szgoogleadmin'))), array('tab' => '04', 'section' => 'sz-google-admin-youtube-display.php', 'title' => ucwords(__('display', 'szgoogleadmin'))), array('tab' => '04', 'section' => 'sz-google-admin-youtube-margins.php', 'title' => ucwords(__('margins ', 'szgoogleadmin')))); $this->sectionstitle = $this->menutitle; $this->sectionsoptions = 'sz_google_options_youtube'; // Richiamo la funzione della classe padre per elaborare le // variabili contenenti i valori di configurazione sezione parent::moduleAddMenu(); }
/** * Creazione menu nel pannello di amministrazione usando * come valori di configurazione le variabili object * * @return void */ function moduleAddMenu() { $this->menuslug = 'sz-google-admin-plus.php'; $this->pagetitle = ucwords(__('google+', 'szgoogleadmin')); $this->menutitle = ucwords(__('google+', 'szgoogleadmin')); // Definizione delle sezioni che devono essere composte in HTML // le sezioni devono essere passate come un array con nome => titolo $this->sectionstabs = array('01' => array('anchor' => 'general', 'description' => __('general', 'szgoogleadmin')), '02' => array('anchor' => 'shortcodes', 'description' => __('shortcodes', 'szgoogleadmin')), '03' => array('anchor' => 'widgets', 'description' => __('widgets', 'szgoogleadmin')), '04' => array('anchor' => 'comments', 'description' => __('comments', 'szgoogleadmin')), '05' => array('anchor' => 'author', 'description' => __('author', 'szgoogleadmin'))); $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin-plus.php', 'title' => ucwords(__('identification', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-plus-language.php', 'title' => ucwords(__('language', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-plus-redirect.php', 'title' => ucwords(__('custom URL', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-plus-system.php', 'title' => ucwords(__('system', 'szgoogleadmin'))), array('tab' => '02', 'section' => 'sz-google-admin-plus-s-badges.php', 'title' => ucwords(__('badges', 'szgoogleadmin'))), array('tab' => '02', 'section' => 'sz-google-admin-plus-s-buttons.php', 'title' => ucwords(__('buttons', 'szgoogleadmin'))), array('tab' => '02', 'section' => 'sz-google-admin-plus-s-posts.php', 'title' => ucwords(__('posts', 'szgoogleadmin'))), array('tab' => '03', 'section' => 'sz-google-admin-plus-w-badges.php', 'title' => ucwords(__('badges', 'szgoogleadmin'))), array('tab' => '03', 'section' => 'sz-google-admin-plus-w-buttons.php', 'title' => ucwords(__('buttons', 'szgoogleadmin'))), array('tab' => '03', 'section' => 'sz-google-admin-plus-w-posts.php', 'title' => ucwords(__('posts', 'szgoogleadmin'))), array('tab' => '04', 'section' => 'sz-google-admin-plus-comments.php', 'title' => ucwords(__('comments', 'szgoogleadmin'))), array('tab' => '05', 'section' => 'sz-google-admin-plus-head.php', 'title' => ucwords(__('section HEAD', 'szgoogleadmin'))), array('tab' => '05', 'section' => 'sz-google-admin-plus-contacts.php', 'title' => ucwords(__('profile fields', 'szgoogleadmin'))), array('tab' => '05', 'section' => 'sz-google-admin-plus-author.php', 'title' => ucwords(__('author badge', 'szgoogleadmin')))); $this->sectionstitle = $this->menutitle; $this->sectionsoptions = 'sz_google_options_plus'; // Richiamo la funzione della classe padre per elaborare le // variabili contenenti i valori di configurazione sezione parent::moduleAddMenu(); }
/** * Creazione del menu sul pannello di amministrazione usando * come valori di configurazione le variabili object * * @return void */ function moduleAddMenu() { $this->menuslug = 'sz-google-admin-drive.php'; $this->pagetitle = ucwords(__('google drive', 'szgoogleadmin')); $this->menutitle = ucwords(__('google drive', 'szgoogleadmin')); // Definizione delle sezioni che devono essere composte in HTML // le sezioni devono essere passate come un array con nome => titolo $this->sectionstabs = array('01' => array('anchor' => 'general', 'description' => __('general', 'szgoogleadmin')), '02' => array('anchor' => 'embed', 'description' => __('embed', 'szgoogleadmin')), '03' => array('anchor' => 'viewer', 'description' => __('viewer', 'szgoogleadmin'))); $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin-drive.php', 'title' => ucwords(__('settings', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-drive-savebutton-enable.php', 'title' => ucwords(__('save to drive', 'szgoogleadmin'))), array('tab' => '02', 'section' => 'sz-google-admin-drive-embed-enable-s.php', 'title' => ucwords(__('embed shortcode', 'szgoogleadmin'))), array('tab' => '02', 'section' => 'sz-google-admin-drive-embed-enable-w.php', 'title' => ucwords(__('embed widget', 'szgoogleadmin'))), array('tab' => '03', 'section' => 'sz-google-admin-drive-viewer-enable-s.php', 'title' => ucwords(__('viewer shortcode', 'szgoogleadmin'))), array('tab' => '03', 'section' => 'sz-google-admin-drive-viewer-enable-w.php', 'title' => ucwords(__('viewer widget', 'szgoogleadmin')))); $this->sectionstitle = $this->menutitle; $this->sectionsoptions = 'sz_google_options_drive'; // Richiamo la funzione della classe padre per elaborare le // variabili contenenti i valori di configurazione sezione parent::moduleAddMenu(); }
/** * Creating the menu on the admin panel using values * such as configuration variables object (parent function) */ function moduleAddMenu() { // Definition of general values for the creation of a menu associated // with the module options. Example slug, page title and menu title $this->menuslug = 'sz-google-admin-youtube.php'; $this->pagetitle = ucwords(__('google youtube', 'sz-google')); $this->menutitle = ucwords(__('google youtube', 'sz-google')); // Definition of sections that need to be made in HTML // sections must be passed as an array of name = > title $this->sectionstabs = array('01' => array('anchor' => 'general', 'description' => __('general', 'sz-google')), '02' => array('anchor' => 'shortcodes', 'description' => __('shortcodes', 'sz-google')), '03' => array('anchor' => 'widgets', 'description' => __('widgets', 'sz-google')), '04' => array('anchor' => 'setup', 'description' => __('setup', 'sz-google'))); $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin-youtube-config.php', 'title' => ucwords(__('settings', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-youtube-advanced.php', 'title' => ucwords(__('advanced settings', 'sz-google'))), array('tab' => '02', 'section' => 'sz-google-admin-youtube-enable-s.php', 'title' => ucwords(__('activation', 'sz-google'))), array('tab' => '03', 'section' => 'sz-google-admin-youtube-enable-w.php', 'title' => ucwords(__('activation', 'sz-google'))), array('tab' => '04', 'section' => 'sz-google-admin-youtube-display.php', 'title' => ucwords(__('display', 'sz-google'))), array('tab' => '04', 'section' => 'sz-google-admin-youtube-margins.php', 'title' => ucwords(__('margins', 'sz-google')))); $this->sectionstitle = $this->menutitle; $this->sectionsoptions = array('sz_google_options_youtube'); // Calling up the function of the parent class to process the // variables that contain the values of configuration section parent::moduleAddMenu(); }
/** * Creating the menu on the admin panel using values * such as configuration variables object (parent function) */ function moduleAddMenu() { // Definition of general values for the creation of a menu associated // with the module options. Example slug, page title and menu title $this->menuslug = 'sz-google-admin-plus.php'; $this->pagetitle = ucwords(__('google+', 'sz-google')); $this->menutitle = ucwords(__('google+', 'sz-google')); // Definition of sections that need to be made in HTML // sections must be passed as an array of name = > title $this->sectionstabs = array('01' => array('anchor' => 'general', 'description' => __('general', 'sz-google')), '02' => array('anchor' => 'shortcodes', 'description' => __('shortcodes', 'sz-google')), '03' => array('anchor' => 'widgets', 'description' => __('widgets', 'sz-google')), '04' => array('anchor' => 'comments', 'description' => __('comments', 'sz-google')), '05' => array('anchor' => 'author', 'description' => __('author', 'sz-google'))); $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin-plus.php', 'title' => ucwords(__('identification', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-plus-language.php', 'title' => ucwords(__('language', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-plus-redirect.php', 'title' => ucwords(__('custom URL', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-plus-system.php', 'title' => ucwords(__('system', 'sz-google'))), array('tab' => '02', 'section' => 'sz-google-admin-plus-s-badges.php', 'title' => ucwords(__('badges', 'sz-google'))), array('tab' => '02', 'section' => 'sz-google-admin-plus-s-buttons.php', 'title' => ucwords(__('buttons', 'sz-google'))), array('tab' => '02', 'section' => 'sz-google-admin-plus-s-posts.php', 'title' => ucwords(__('posts', 'sz-google'))), array('tab' => '03', 'section' => 'sz-google-admin-plus-w-badges.php', 'title' => ucwords(__('badges', 'sz-google'))), array('tab' => '03', 'section' => 'sz-google-admin-plus-w-buttons.php', 'title' => ucwords(__('buttons', 'sz-google'))), array('tab' => '03', 'section' => 'sz-google-admin-plus-w-posts.php', 'title' => ucwords(__('posts', 'sz-google'))), array('tab' => '04', 'section' => 'sz-google-admin-plus-comments.php', 'title' => ucwords(__('comments', 'sz-google'))), array('tab' => '05', 'section' => 'sz-google-admin-plus-head.php', 'title' => ucwords(__('section HEAD', 'sz-google'))), array('tab' => '05', 'section' => 'sz-google-admin-plus-contacts.php', 'title' => ucwords(__('profile fields', 'sz-google'))), array('tab' => '05', 'section' => 'sz-google-admin-plus-author.php', 'title' => ucwords(__('author badge', 'sz-google')))); $this->sectionstitle = $this->menutitle; $this->sectionsoptions = array('sz_google_options_plus'); // Calling up the function of the parent class to process the // variables that contain the values of configuration section parent::moduleAddMenu(); }
/** * Creating the menu on the admin panel using values * such as configuration variables object (parent function) */ function moduleAddMenu() { // Definition of general values for the creation of a menu associated // with the module options. Example slug, page title and menu title $this->menuslug = 'sz-google-admin-recaptcha.php'; $this->pagetitle = ucfirst(__('google reCAPTCHA', 'sz-google')); $this->menutitle = ucfirst(__('google reCAPTCHA', 'sz-google')); // Definition of sections that need to be made in HTML // sections must be passed as an array of name = > title $this->sectionstabs = array('01' => array('anchor' => 'general', 'description' => __('general', 'sz-google')), '02' => array('anchor' => 'style', 'description' => __('FORM Style', 'sz-google'))); $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin-recaptcha.php', 'title' => ucwords(__('settings', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-recaptcha-enable.php', 'title' => ucwords(__('activations', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-recaptcha-emergency.php', 'title' => ucwords(__('emergency file', 'sz-google'))), array('tab' => '02', 'section' => 'sz-google-admin-recaptcha-style.php', 'title' => ucwords(__('style', 'sz-google'))), array('tab' => '02', 'section' => 'sz-google-admin-recaptcha-corrections.php', 'title' => ucwords(__('corrections', 'sz-google')))); $this->sectionstitle = $this->menutitle; $this->sectionsoptions = array('sz_google_options_recaptcha'); // Calling up the function of the parent class to process the // variables that contain the values of configuration section parent::moduleAddMenu(); }
/** * Creating the menu on the admin panel using values * such as configuration variables object (parent function) */ function moduleAddMenu() { // Definition of general values for the creation of a menu associated // with the module options. Example slug, page title and menu title $this->menuslug = 'sz-google-admin-panoramio.php'; $this->pagetitle = ucwords(__('google panoramio', 'sz-google')); $this->menutitle = ucwords(__('google panoramio', 'sz-google')); // General definition array containing a list of sections // On every section you have to define an array to list fields $this->sectionstabs = array('01' => array('anchor' => 'shortcodes', 'description' => __('shortcodes', 'sz-google')), '02' => array('anchor' => 'widgets', 'description' => __('widgets', 'sz-google'))); $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin-panoramio-s-enable.php', 'title' => ucwords(__('activation', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-panoramio-s-options.php', 'title' => ucwords(__('options', 'sz-google'))), array('tab' => '02', 'section' => 'sz-google-admin-panoramio-w-enable.php', 'title' => ucwords(__('activation', 'sz-google'))), array('tab' => '02', 'section' => 'sz-google-admin-panoramio-w-options.php', 'title' => ucwords(__('options', 'sz-google')))); $this->sectionstitle = $this->menutitle; $this->sectionsoptions = array('sz_google_options_panoramio'); // Calling up the function of the parent class to process the // variables that contain the values of configuration section parent::moduleAddMenu(); }
/** * Creating the menu on the admin panel using values * such as configuration variables object (parent function) */ function moduleAddMenu() { // Definition of general values for the creation of a menu associated // with the module options. Example slug, page title and menu title $this->menuslug = 'sz-google-admin-groups.php'; $this->pagetitle = ucwords(__('google groups', 'sz-google')); $this->menutitle = ucwords(__('google groups', 'sz-google')); // Definition of sections that need to be made in HTML // sections must be passed as an array of name = > title $this->sectionstabs = array('01' => array('anchor' => 'general', 'description' => __('general', 'sz-google'))); $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin-groups-language.php', 'title' => ucwords(__('language setting', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-groups-enable.php', 'title' => ucwords(__('activation', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-groups-display.php', 'title' => ucwords(__('display setting', 'sz-google')))); $this->sectionstitle = $this->menutitle; $this->sectionsoptions = array('sz_google_options_groups'); // Calling up the function of the parent class to process the // variables that contain the values of configuration section parent::moduleAddMenu(); }
/** * Creating the menu on the admin panel using values * such as configuration variables object (parent function) */ function moduleAddMenu() { // Definition of general values for the creation of a menu associated // with the module options. Example slug, page title and menu title $this->menuslug = 'sz-google-admin-fonts.php'; $this->pagetitle = ucwords(__('google fonts', 'sz-google')); $this->menutitle = ucwords(__('google fonts', 'sz-google')); // Definition of sections that need to be made in HTML // sections must be passed as an array of name = > title $this->sectionstabs = array('01' => array('anchor' => 'general', 'description' => __('general', 'sz-google')), '02' => array('anchor' => 'HTML', 'description' => __('HTML', 'sz-google')), '03' => array('anchor' => 'header', 'description' => __('header', 'sz-google'))); $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin-fonts.php', 'title' => ucwords(__('fonts tinyMCE', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-fonts-LO.php', 'title' => ucwords(__('fonts loader', 'sz-google'))), array('tab' => '02', 'section' => 'sz-google-admin-fonts-BX.php', 'title' => ucwords(__('fonts HTML', 'sz-google'))), array('tab' => '03', 'section' => 'sz-google-admin-fonts-HX.php', 'title' => ucwords(__('fonts headings', 'sz-google')))); $this->sectionstitle = $this->menutitle; $this->sectionsoptions = array('sz_google_options_fonts'); // Calling up the function of the parent class to process the // variables that contain the values of configuration section parent::moduleAddMenu(); }
/** * Creating the menu on the admin panel using values * such as configuration variables object (parent function) */ function moduleAddMenu() { // Definition of general values for the creation of a menu associated // with the module options. Example slug, page title and menu title $this->menuslug = 'sz-google-admin-drive.php'; $this->pagetitle = ucwords(__('google drive', 'sz-google')); $this->menutitle = ucwords(__('google drive', 'sz-google')); // Definition of sections that need to be made in HTML // sections must be passed as an array of name = > title $this->sectionstabs = array('01' => array('anchor' => 'general', 'description' => __('general', 'sz-google')), '02' => array('anchor' => 'embed', 'description' => __('embed', 'sz-google')), '03' => array('anchor' => 'viewer', 'description' => __('viewer', 'sz-google'))); $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin-drive.php', 'title' => ucwords(__('settings', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-drive-savebutton-enable.php', 'title' => ucwords(__('save to drive', 'sz-google'))), array('tab' => '02', 'section' => 'sz-google-admin-drive-embed-enable-s.php', 'title' => ucwords(__('embed shortcode', 'sz-google'))), array('tab' => '02', 'section' => 'sz-google-admin-drive-embed-enable-w.php', 'title' => ucwords(__('embed widget', 'sz-google'))), array('tab' => '03', 'section' => 'sz-google-admin-drive-viewer-enable-s.php', 'title' => ucwords(__('viewer shortcode', 'sz-google'))), array('tab' => '03', 'section' => 'sz-google-admin-drive-viewer-enable-w.php', 'title' => ucwords(__('viewer widget', 'sz-google')))); $this->sectionstitle = $this->menutitle; $this->sectionsoptions = array('sz_google_options_drive'); // Calling up the function of the parent class to process the // variables that contain the values of configuration section parent::moduleAddMenu(); }
/** * Creating the menu on the admin panel using values * such as configuration variables object (parent function) */ function moduleAddMenu() { // Definition of general values for the creation of a menu associated // with the module options. Example slug, page title and menu title $this->menuslug = 'sz-google-admin-analytics.php'; $this->pagetitle = ucwords(__('google analytics', 'sz-google')); $this->menutitle = ucwords(__('google analytics', 'sz-google')); // Definition of sections that need to be made in HTML // sections must be passed as an array of name = > title $this->sectionstabs = array('01' => array('anchor' => 'general', 'description' => __('general', 'sz-google')), '02' => array('anchor' => 'classic', 'description' => __('classic', 'sz-google')), '03' => array('anchor' => 'universal', 'description' => __('universal', 'sz-google'))); $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin-analytics.php', 'title' => ucwords(__('settings', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-analytics-enabled.php', 'title' => ucwords(__('tracking', 'sz-google'))), array('tab' => '02', 'section' => 'sz-google-admin-analytics-classic.php', 'title' => ucwords(__('classic analytics', 'sz-google'))), array('tab' => '03', 'section' => 'sz-google-admin-analytics-universal.php', 'title' => ucwords(__('universal analytics', 'sz-google')))); $this->sectionstitle = $this->menutitle; $this->sectionsoptions = array('sz_google_options_ga'); // Calling up the function of the parent class to process the // variables that contain the values of configuration section parent::moduleAddMenu(); }
/** * Creazione del menu sul pannello di amministrazione usando * come valori di configurazione le variabili object * * @return void */ function moduleAddMenu() { $this->menuslug = 'sz-google-admin-documentation.php'; $this->pagetitle = ucwords(__('documentation', 'szgoogleadmin')); $this->menutitle = ucwords(__('documentation', 'szgoogleadmin')); // Definizione delle sezioni che devono essere composte in HTML // le sezioni devono essere passate come un array con nome => titolo $this->sectionstabs = array('01' => array('anchor' => 'general', 'description' => __('general', 'szgoogleadmin')), '02' => array('anchor' => 'reviews', 'description' => __('reviews', 'szgoogleadmin'))); $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin-documentation-gplus.php', 'title' => ucwords(__('google+', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-analytics.php', 'title' => ucwords(__('google analytics', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-authenticator.php', 'title' => ucwords(__('google authenticator', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-calendar.php', 'title' => ucwords(__('google calendar', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-drive.php', 'title' => ucwords(__('google drive', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-groups.php', 'title' => ucwords(__('google groups', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-hangouts.php', 'title' => ucwords(__('google hangouts', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-panoramio.php', 'title' => ucwords(__('google panoramio', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-translate.php', 'title' => ucwords(__('google translate', 'szgoogleadmin'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-youtube.php', 'title' => ucwords(__('youtube', 'szgoogleadmin'))), array('tab' => '02', 'section' => 'sz-google-admin-documentation-reviews.php', 'title' => ucwords(__('reviews', 'szgoogleadmin')))); $this->sectionstitle = $this->menutitle; $this->sectionsoptions = 'sz_google_options_documentation'; $this->formsavebutton = '0'; // Richiamo la funzione della classe padre per elaborare le // variabili contenenti i valori di configurazione sezione parent::moduleAddMenu(); // Creazione indice di documentazione per la composizione del navigatore $this->HelpIndexItems = array(array('slug' => 'sz-google-help-plus-profile.php', 'title' => __('google+ badge profile', 'szgoogleadmin')), array('slug' => 'sz-google-help-plus-page.php', 'title' => __('google+ badge page', 'szgoogleadmin')), array('slug' => 'sz-google-help-plus-community.php', 'title' => __('google+ badge community', 'szgoogleadmin')), array('slug' => 'sz-google-help-plus-plusone.php', 'title' => __('google+ button +1', 'szgoogleadmin')), array('slug' => 'sz-google-help-plus-share.php', 'title' => __('google+ button share', 'szgoogleadmin')), array('slug' => 'sz-google-help-plus-follow.php', 'title' => __('google+ button follow', 'szgoogleadmin')), array('slug' => 'sz-google-help-plus-comments.php', 'title' => __('google+ widget comments', 'szgoogleadmin')), array('slug' => 'sz-google-help-plus-post.php', 'title' => __('google+ embedded post', 'szgoogleadmin')), array('slug' => 'sz-google-help-plus-followers.php', 'title' => __('google+ badge followers', 'szgoogleadmin')), array('slug' => 'sz-google-help-plus-author-publisher.php', 'title' => __('google+ author & publisher', 'szgoogleadmin')), array('slug' => 'sz-google-help-plus-redirect.php', 'title' => __('google+ redirect', 'szgoogleadmin')), array('slug' => 'sz-google-help-plus-recommendations.php', 'title' => __('google+ recommendations', 'szgoogleadmin')), array('slug' => 'sz-google-help-ga-setup.php', 'title' => __('analytics setup', 'szgoogleadmin')), array('slug' => 'sz-google-help-ga-functions.php', 'title' => __('analytics PHP functions', 'szgoogleadmin')), array('slug' => 'sz-google-help-authenticator-setup.php', 'title' => __('authenticator setup', 'szgoogleadmin')), array('slug' => 'sz-google-help-authenticator-functions.php', 'title' => __('authenticator PHP', 'szgoogleadmin')), array('slug' => 'sz-google-help-authenticator-device.php', 'title' => __('authenticator device', 'szgoogleadmin')), array('slug' => 'sz-google-help-calendar.php', 'title' => __('widget calendar', 'szgoogleadmin')), array('slug' => 'sz-google-help-drive-embed.php', 'title' => __('drive embed', 'szgoogleadmin')), array('slug' => 'sz-google-help-drive-viewer.php', 'title' => __('drive viewer', 'szgoogleadmin')), array('slug' => 'sz-google-help-drive-save.php', 'title' => __('drive save button', 'szgoogleadmin')), array('slug' => 'sz-google-help-groups.php', 'title' => __('widget groups', 'szgoogleadmin')), array('slug' => 'sz-google-help-hangout-start.php', 'title' => __('hangout start button', 'szgoogleadmin')), array('slug' => 'sz-google-help-panoramio.php', 'title' => __('widget panoramio', 'szgoogleadmin')), array('slug' => 'sz-google-help-translate.php', 'title' => __('translate setup', 'szgoogleadmin')), array('slug' => 'sz-google-help-translate-functions.php', 'title' => __('translate PHP functions', 'szgoogleadmin')), array('slug' => 'sz-google-help-youtube-video.php', 'title' => __('youtube video', 'szgoogleadmin')), array('slug' => 'sz-google-help-youtube-playlist.php', 'title' => __('youtube playlist', 'szgoogleadmin')), array('slug' => 'sz-google-help-youtube-link.php', 'title' => __('youtube link', 'szgoogleadmin'))); }
/** * Creating the menu on the admin panel using values * such as configuration variables object (parent function) */ function moduleAddMenu() { // Definition of general values for the creation of a menu associated // with the module options. Example slug, page title and menu title $this->menuslug = 'sz-google-admin-documentation.php'; $this->pagetitle = ucwords(__('documentation', 'sz-google')); $this->menutitle = ucwords(__('documentation', 'sz-google')); // Definition of sections that need to be made in HTML // sections must be passed as an array of name = > title $this->sectionstabs = array('01' => array('anchor' => 'general', 'description' => __('general', 'sz-google')), '02' => array('anchor' => 'reviews', 'description' => __('reviews', 'sz-google')), '03' => array('anchor' => 'modules', 'description' => __('modules', 'sz-google'))); $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin-documentation-gplus.php', 'title' => ucwords(__('google+', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-analytics.php', 'title' => ucwords(__('google analytics', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-authenticator.php', 'title' => ucwords(__('google authenticator', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-calendar.php', 'title' => ucwords(__('google calendar', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-drive.php', 'title' => ucwords(__('google drive', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-groups.php', 'title' => ucwords(__('google groups', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-hangouts.php', 'title' => ucwords(__('google hangouts', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-panoramio.php', 'title' => ucwords(__('google panoramio', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-translate.php', 'title' => ucwords(__('google translate', 'sz-google'))), array('tab' => '01', 'section' => 'sz-google-admin-documentation-youtube.php', 'title' => ucwords(__('youtube', 'sz-google'))), array('tab' => '02', 'section' => 'sz-google-admin-documentation-reviews.php', 'title' => ucwords(__('reviews', 'sz-google'))), array('tab' => '03', 'section' => 'sz-google-admin-documentation-modules.php', 'title' => ucwords(__('modules', 'sz-google')))); $this->formsavebutton = '0'; $this->sectionstitle = $this->menutitle; $this->sectionsoptions = array('sz_google_options_documentation'); // Calling up the function of the parent class to process the // variables that contain the values of configuration section parent::moduleAddMenu(); // Definition array containing the main structure of the documentation // Creating index of documentation for the composition of the navigator $this->HelpIndexItems = array(array('slug' => 'sz-google-help-plus-author.php', 'title' => __('google+ badge author', 'sz-google')), array('slug' => 'sz-google-help-plus-profile.php', 'title' => __('google+ badge profile', 'sz-google')), array('slug' => 'sz-google-help-plus-page.php', 'title' => __('google+ badge page', 'sz-google')), array('slug' => 'sz-google-help-plus-community.php', 'title' => __('google+ badge community', 'sz-google')), array('slug' => 'sz-google-help-plus-plusone.php', 'title' => __('google+ button +1', 'sz-google')), array('slug' => 'sz-google-help-plus-share.php', 'title' => __('google+ button share', 'sz-google')), array('slug' => 'sz-google-help-plus-follow.php', 'title' => __('google+ button follow', 'sz-google')), array('slug' => 'sz-google-help-plus-comments.php', 'title' => __('google+ widget comments', 'sz-google')), array('slug' => 'sz-google-help-plus-post.php', 'title' => __('google+ embedded post', 'sz-google')), array('slug' => 'sz-google-help-plus-followers.php', 'title' => __('google+ badge followers', 'sz-google')), array('slug' => 'sz-google-help-plus-author-publisher.php', 'title' => __('google+ author & publisher', 'sz-google')), array('slug' => 'sz-google-help-plus-redirect.php', 'title' => __('google+ redirect', 'sz-google')), array('slug' => 'sz-google-help-plus-recommendations.php', 'title' => __('google+ recommendations', 'sz-google')), array('slug' => 'sz-google-help-ga-setup.php', 'title' => __('analytics setup', 'sz-google')), array('slug' => 'sz-google-help-ga-functions.php', 'title' => __('analytics PHP functions', 'sz-google')), array('slug' => 'sz-google-help-authenticator-setup.php', 'title' => __('authenticator setup', 'sz-google')), array('slug' => 'sz-google-help-authenticator-functions.php', 'title' => __('authenticator PHP', 'sz-google')), array('slug' => 'sz-google-help-authenticator-device.php', 'title' => __('authenticator device', 'sz-google')), array('slug' => 'sz-google-help-calendar.php', 'title' => __('widget calendar', 'sz-google')), array('slug' => 'sz-google-help-drive-embed.php', 'title' => __('drive embed', 'sz-google')), array('slug' => 'sz-google-help-drive-viewer.php', 'title' => __('drive viewer', 'sz-google')), array('slug' => 'sz-google-help-drive-save.php', 'title' => __('drive save button', 'sz-google')), array('slug' => 'sz-google-help-groups.php', 'title' => __('widget groups', 'sz-google')), array('slug' => 'sz-google-help-hangout-start.php', 'title' => __('hangout start button', 'sz-google')), array('slug' => 'sz-google-help-panoramio.php', 'title' => __('widget panoramio', 'sz-google')), array('slug' => 'sz-google-help-translate.php', 'title' => __('translate setup', 'sz-google')), array('slug' => 'sz-google-help-translate-functions.php', 'title' => __('translate PHP functions', 'sz-google')), array('slug' => 'sz-google-help-youtube-video.php', 'title' => __('youtube video', 'sz-google')), array('slug' => 'sz-google-help-youtube-playlist.php', 'title' => __('youtube playlist', 'sz-google')), array('slug' => 'sz-google-help-youtube-badge.php', 'title' => __('youtube badge', 'sz-google')), array('slug' => 'sz-google-help-youtube-link.php', 'title' => __('youtube link', 'sz-google')), array('slug' => 'sz-google-help-youtube-button.php', 'title' => __('youtube button', 'sz-google'))); }
/** * Creating the menu on the admin panel using values * such as configuration variables object (parent function) */ function moduleAddMenu() { // Aggiungo il menu principale dove verranno aggiunti tutti i moduli // del plugin aggiuntivi con la funzione add_submenu_page() add_menu_page('Google for WordPress', 'WP & Google', 'manage_options', 'sz-google-admin.php', array($this, 'moduleCallbackStart')); // Definition of general values for the creation of a menu associated // with the module options. Example slug, page title and menu title $this->menuslug = 'sz-google-admin.php'; $this->pagetitle = ucwords(__('configuration', 'sz-google')); $this->menutitle = ucwords(__('configuration', 'sz-google')); // Definition of sections that need to be made in HTML // sections must be passed as an array of name = > title $this->sectionstabs = array('01' => array('anchor' => 'modules', 'description' => __('modules', 'sz-google')), '02' => array('anchor' => 'api', 'description' => __('request API', 'sz-google'))); $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin.php', 'title' => ucwords(__('activation', 'sz-google'))), array('tab' => '02', 'section' => 'sz-google-admin-api.php', 'title' => ucwords(__('google API', 'sz-google')))); $this->sectionstitle = ucfirst(__('configuration version', 'sz-google') . ' ' . SZ_PLUGIN_GOOGLE_VERSION); $this->sectionsoptions = array('sz_google_options_base'); // Calling up the function of the parent class to process the // variables that contain the values of configuration section parent::moduleAddMenu(); }
/** * Creazione del menu sul pannello di amministrazione usando * come valori di configurazione le variabili object * * @return void */ function moduleAddMenu() { // Aggiungo il menu principale dove verranno aggiunti tutti i moduli // del plugin aggiuntivi con la funzione add_submenu_page() add_menu_page('SZ Google', 'SZ Google', 'manage_options', 'sz-google-admin.php', array($this, 'moduleCallbackStart')); $this->menuslug = 'sz-google-admin.php'; $this->pagetitle = ucwords(__('configuration', 'szgoogleadmin')); $this->menutitle = ucwords(__('configuration', 'szgoogleadmin')); // Definizione delle sezioni che devono essere composte in HTML // le sezioni devono essere passate come un array con nome => titolo $this->sectionstabs = array('01' => array('anchor' => 'modules', 'description' => __('modules', 'szgoogleadmin'))); $this->sections = array(array('tab' => '01', 'section' => 'sz-google-admin.php', 'title' => ucwords(__('activation', 'szgoogleadmin')))); $this->sectionstitle = ucfirst(__('configuration version', 'szgoogleadmin') . ' ' . SZ_PLUGIN_GOOGLE_VERSION); $this->sectionsoptions = 'sz_google_options_base'; // Richiamo la funzione della classe padre per elaborare le // variabili contenenti i valori di configurazione sezione parent::moduleAddMenu(); }