• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PHP get_admin_page_title函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中get_admin_page_title函数的典型用法代码示例。如果您正苦于以下问题:PHP get_admin_page_title函数的具体用法?PHP get_admin_page_title怎么用?PHP get_admin_page_title使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了get_admin_page_title函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: menu_html

    public function menu_html()
    {
        echo '<h1>' . get_admin_page_title() . '</h1>';
        ?>

        <form method="post" action="options.php">
            <?php 
        settings_fields('thfo_newsletter_settings');
        ?>
            <?php 
        do_settings_sections('thfo_newsletter_settings');
        ?>
            <?php 
        submit_button(__('Save'));
        ?>


        </form>

        <form method="post" action="">
            <input type="hidden" name="send_newsletter" value="1"/>
            <?php 
        submit_button(__('Send', 'wp-post-updated'));
        ?>
        </form>

        <?php 
    }
开发者ID:sebastienserre,项目名称:WP-Post-Updated,代码行数:28,代码来源:newsletter.php


示例2: menu_html

    public function menu_html()
    {
        global $wpdb;
        echo '<h1>' . get_admin_page_title() . '</h1>';
        ?>
        <form method="post" action="">
        <?php 
        settings_fields('poll_settings');
        // Section comprenant les éléments du formulaire
        do_settings_sections('poll_settings');
        // Récupération des propositions de réponse en BDD
        $elements = $wpdb->get_results('SELECT id, label FROM ' . $wpdb->prefix . 'poll_options ORDER BY label;');
        if ($elements) {
            foreach ($elements as $element) {
                echo '<input type="text" name="' . $element->id . '" value="' . $element->label . '" /><br />';
            }
        }
        submit_button();
        // Bouton d'envoi du formulaire
        ?>
        </form>

        <form method="post" action="">
		    <input type="hidden" name="poll_reset" value="1"/>
		    <?php 
        submit_button(__('Réinitialiser les options et les résultats'));
        ?>
		</form>
	    <?php 
    }
开发者ID:jvinceno,项目名称:tp-openclassroom,代码行数:30,代码来源:poll.php


示例3: menu_html

    public function menu_html()
    {
        echo '<h1>' . get_admin_page_title() . '</h1>';
        ?>
            <form method="post" action="options.php">
            <?php 
        settings_fields('wpdoli_settings');
        ?>
            <?php 
        do_settings_sections('wpdoli_settings');
        ?>
            <?php 
        submit_button();
        ?>
            </form>	
            <form method="post" action="">
            <input type="hidden" name="wpdoli_settings_test_webservice" value="1"/>
            <?php 
        if ($this->testlabel) {
            ?>
            <span>Test de dolibarr: <?php 
            echo $this->testlabel;
            ?>
</span>
            <?php 
        }
        ?>
            <?php 
        submit_button('Testez le webservice');
        ?>
            </form>
            <?php 
    }
开发者ID:aresvouk,项目名称:wp-doli,代码行数:33,代码来源:wp-doli-admin.php


示例4: init

    public function init()
    {
        ?>
        <h1><?php 
        echo get_admin_page_title();
        ?>
</h1>
        
        <?php 
        $price = filter_input(INPUT_GET, 'price');
        if (isset($price) && $price == 'invalid') {
            echo '<div id="message" class="notice notice-error is-dismissible"><p>Invalid file extension. Please use *.csv file.</p><button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>';
        }
        if (isset($price) && $price == 'updated') {
            echo '<div id="message" class="updated notice notice-success is-dismissible"><p>Prices updated successfully</p><button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>';
        }
        ?>

        <form method="post" action="<?php 
        echo admin_url('admin.php?page=' . $this->page . '&action=update_prices');
        ?>
" enctype="multipart/form-data">
            <p>
                <input type="file" name="update_prices">
            </p>
            <p>
                <input type="submit" value="Update Prices" class="button button-primary">
            </p>
        </form>

        <p><em><strong>NOTE:</strong> Please upload the file with *.csv extension and data should be separated by comma (,)</em></p>

        <?php 
    }
开发者ID:hina2329,项目名称:african-tusk-quote,代码行数:34,代码来源:csv_prices_update.php


示例5: init

    public function init()
    {
        ?>
		<h1><?php 
        echo get_admin_page_title();
        ?>
</h1>
		<?php 
        $import = filter_input(INPUT_GET, 'import');
        if (isset($import) && $import == 'invalid') {
            echo '<div id="message" class="notice notice-error is-dismissible"><p>Invalid file extension. Please use *.csv file.</p><button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>';
        }
        if (isset($import) && $import == 'success') {
            echo '<div id="message" class="updated notice notice-success is-dismissible"><p>file imported successfully</p><button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>';
        }
        ?>
		<form method="post"
		      action="<?php 
        echo admin_url('admin.php?page=' . $this->page . '&action=import_combos');
        ?>
"
		      enctype="multipart/form-data">
			<p>
				<input type="file" name="import_combos">
			</p>
			<p>
				<input type="submit" value="Import Fabrics" class="button button-primary">
			</p>
		</form>
		<?php 
    }
开发者ID:hina2329,项目名称:african-tusk-quote,代码行数:31,代码来源:csv_fabric_price_combos_import.php


示例6: my_plugin_options

function my_plugin_options()
{
    echo '<h1>' . get_admin_page_title() . '</h1>';
    ?>


<form method="post" action="options.php">

<?php 
    wp_nonce_field('update-options');
    ?>
<p><?php 
    _e('Number of characters displayed before the break ( " read more " ) :', 'plugincomments_textdomain');
    ?>
</p>
<input type="text" name="option1" id="option1" value="<?php 
    echo get_option('option1');
    ?>
">

<input type="hidden" name="action" value="update" />
<input type="hidden" name="page_options" value="option1" />
<br/>
<input type="submit" value="<?php 
    _e('Save Changes', 'plugincomments_textdomain');
    ?>
" />
</form>



<?php 
}
开发者ID:VGachet,项目名称:plugincomments,代码行数:33,代码来源:plugincomments.php


示例7: viktorr1975_options_page

/**
 * Build the options page
 */
function viktorr1975_options_page()
{
    ?>
      <div class="wrap">         
          <h2> <?php 
    echo esc_html(get_admin_page_title());
    ?>
</h2>           
          <div id="poststuff">
               <div id="post-body">
                    <div id="post-body-content">
                         <form method="POST" action="options.php">
                              <?php 
    settings_fields('viktorr1975_options');
    // скрытые защитные поля
    do_settings_sections('viktorr1975_options');
    //выводим секцию с опциями
    submit_button();
    ?>
                         </form>
                    </div> <!-- end post-body-content -->
               </div> <!-- end post-body -->
          </div> <!-- end poststuff -->
     </div>
<?php 
}
开发者ID:viktorr1975,项目名称:WP-cl1,代码行数:29,代码来源:viktorr1975-options.php


示例8: remove_stop_words_admin

function remove_stop_words_admin()
{
    ?>
	<div class="wrap">
	<?php 
    screen_icon();
    ?>
	<h2><?php 
    echo esc_html(get_admin_page_title());
    ?>
</h2>
	<p>You can use a predefined list of stop words from <a href="http://kaneandre.ws/wp-content/uploads/stop-words.txt">here</a>.</p>
	<form method="post" action="options.php">
        <?php 
    settings_fields('remove_stop_words');
    ?>
        <table class="form-table">
            <tr valign="top">
                <th scope="row">Word list (comma separated)</th>
                <td><textarea rows="4" cols="50" name="remove_stop_words"/><?php 
    echo sanitize_text_field(get_option('remove_stop_words'));
    ?>
 </textarea> </td>
            </tr>
        </table>
        <?php 
    submit_button();
    ?>
    </form>
</div>
<?php 
}
开发者ID:neka,项目名称:Remove-Stop-Words,代码行数:32,代码来源:removestopwords.php


示例9: admin_page_display

    /**
     * Admin page markup. Mostly handled by CMB2
     * @since  0.1.0
     */
    public function admin_page_display()
    {
        ?>
		<div class="wrap cmb2-options-page <?php 
        echo $this->key;
        ?>
">
			<h2><?php 
        echo esc_html(get_admin_page_title());
        ?>
</h2>
			<?php 
        cmb2_metabox_form($this->metabox_id, $this->key);
        ?>
      <hr />
			<h2><?php 
        echo $this->ads_title;
        ?>
</h2>
			<?php 
        cmb2_metabox_form($this->ads_metabox_id, $this->key);
        ?>
		</div>
		<?php 
    }
开发者ID:interglobalvision,项目名称:8106-tv,代码行数:29,代码来源:theme-options.php


示例10: admin

    /**
     * Callback for displaying the Genesis Readme admin page.
     *
     * Checks if the file contents are readable, and echoes out HTML.
     *
     * @since 1.3.0
     *
     * @uses CHILD_DIR
     */
    public function admin()
    {
        /** Assume we cannot find the file */
        $file = false;
        /** Get the file contents */
        $file = @file_get_contents(CHILD_DIR . '/README.txt');
        /** If we can't find file contents, show a message */
        if (!$file || empty($file)) {
            $file = '<div class="error"><p>' . sprintf(__('The %s file was not found in the child theme, or it was empty.', 'genesis'), '<code>README.txt</code>') . '</p></div>';
        }
        ?>
		<div id="genesis-readme-file" class="wrap">
			<?php 
        screen_icon('edit-pages');
        ?>
			<h2><?php 
        echo esc_html(get_admin_page_title());
        ?>
</h2>
			<?php 
        echo wpautop($file);
        ?>
		</div>
		<?php 
    }
开发者ID:adisonc,项目名称:MaineLearning,代码行数:34,代码来源:readme-menu.php


示例11: getTitle

 /**
  * Human-readable title of the page.
  *
  * @return string
  */
 public function getTitle()
 {
     if (!isset($this->title)) {
         $this->title = html_entity_decode(get_admin_page_title(), ENT_QUOTES);
     }
     return $this->title;
 }
开发者ID:eigentor,项目名称:sbl,代码行数:12,代码来源:adminpage.php


示例12: admin_page_display

    /**
     * Admin page markup. Mostly handled by CMB2
     * @since  0.1.0
     */
    public function admin_page_display()
    {
        ?>
		<div class="wrap cmb2-options-page <?php 
        echo $this->key;
        ?>
">
			<div id="poststuff"> 
	            <div id="post-body" class="metabox-holder columns-<?php 
        echo 1 == get_current_screen()->get_columns() ? '1' : '2';
        ?>
">	 
	                <div id="post-body-content">
						<h2><?php 
        echo esc_html(get_admin_page_title());
        ?>
</h2>
						<?php 
        cmb2_metabox_form($this->metabox_id, $this->key, array('cmb_styles' => false));
        ?>
					</div>
					<div id="postbox-container-1" class="postbox-container">
					    <?php 
        do_meta_boxes('', 'side', null);
        ?>
					</div>
				</div>
			</div>
			
		</div>
		
		<?php 
    }
开发者ID:edgimopeter,项目名称:ActivityCenter,代码行数:37,代码来源:stock_copy_page.php


示例13: menu_html

    public function menu_html()
    {
        echo '<h1>' . get_admin_page_title() . '</h1>';
        ?>
			<form method="post" action="options.php">
				<?php 
        settings_fields('greg_newsletter_settings');
        ?>
				
				<!-- activation de l'affichage de la section -->
				<?php 
        do_settings_sections('greg_newsletter_settings');
        ?>
				
				<!-- bouton submit -->
				<?php 
        submit_button();
        ?>
			</form>
			<form method="post" action="">
				<input type="hidden" name="send_newsletter" value="1"/>
				<?php 
        submit_button('Envoyer la newsletter');
        ?>
			</form>
		<?php 
    }
开发者ID:greg3560,项目名称:wp-plugin,代码行数:27,代码来源:newsletter.php


示例14: admin_header

    /**
     * Generates the header for admin pages
     *
     * @param bool   $form             Whether or not the form start tag should be included.
     * @param string $option           The short name of the option to use for the current page.
     * @param bool   $contains_files   Whether the form should allow for file uploads.
     * @param bool   $option_long_name Group name of the option.
     */
    public function admin_header($form = true, $option = 'wpseo', $contains_files = false, $option_long_name = false)
    {
        if (!$option_long_name) {
            $option_long_name = WPSEO_Options::get_group_name($option);
        }
        ?>
		<div class="wrap wpseo-admin-page page-<?php 
        echo $option;
        ?>
">
		<?php 
        /**
         * Display the updated/error messages
         * Only needed as our settings page is not under options, otherwise it will automatically be included
         * @see settings_errors()
         */
        require_once ABSPATH . 'wp-admin/options-head.php';
        ?>
		<h1 id="wpseo-title"><?php 
        echo esc_html(get_admin_page_title());
        ?>
</h1>
		<div class="wpseo_content_wrapper">
		<div class="wpseo_content_cell" id="wpseo_content_top">
		<?php 
        if ($form === true) {
            $enctype = $contains_files ? ' enctype="multipart/form-data"' : '';
            echo '<form action="' . esc_url(admin_url('options.php')) . '" method="post" id="wpseo-conf"' . $enctype . ' accept-charset="' . esc_attr(get_bloginfo('charset')) . '">';
            settings_fields($option_long_name);
        }
        $this->set_option($option);
    }
开发者ID:healthcommcore,项目名称:osnap,代码行数:40,代码来源:class-yoast-form.php


示例15: admin_settings

 function admin_settings()
 {
     echo '<div class="wrap"><h1>' . get_admin_page_title() . '</h1>';
     $count_methods = array('public' => array('name' => __('Top %s posts', 'wpupostviews'), 'orig' => false), 'orig' => array('name' => __('Real top %s posts', 'wpupostviews'), 'orig' => true));
     foreach ($count_methods as $method) {
         $top_posts = $this->get_top_posts(false, $method['orig']);
         if (!empty($top_posts)) {
             echo '<hr />';
             echo '<h2>' . sprintf($method['name'], $this->options['default_top']) . '</h2>';
             echo '<ol>';
             foreach ($top_posts as $tp) {
                 echo '<li><a href="' . get_edit_post_link($tp->ID) . '"><strong>' . esc_attr($tp->post_title) . '</strong></a> (' . get_post_meta($tp->ID, 'wpupostviews_' . ($method['orig'] ? 'orig_' : '') . 'nbviews', 1) . ')</li>';
             }
             echo '</ol>';
         }
     }
     echo '<hr />';
     echo '<h2>' . __('Settings') . '</h2>';
     echo '<form action="options.php" method="post">';
     settings_fields($this->settings_details['option_id']);
     do_settings_sections($this->options['plugin_id']);
     echo submit_button(__('Save Changes', 'wpupostviews'));
     echo '</form>';
     echo '</div>';
 }
开发者ID:WordPressUtilities,项目名称:wpupostviews,代码行数:25,代码来源:wpupostviews.php


示例16: callbackPage

    static function callbackPage()
    {
        ?>
        <form action="options.php" method="post">

            <?php 
        settings_fields(self::$nameGroup);
        self::$options = get_option(self::$nameClass);
        ?>
            <h2><div class="dashicons dashicons-text"></div> <?php 
        echo get_admin_page_title();
        ?>
</h2>

            <label for="titulo">Título</label>
            <input type="text" id="titulo" class="text" name="<?php 
        echo self::$nameClass . '[welcome_title]';
        ?>
" value="<?php 
        echo htmlspecialchars(self::$options['welcome_title']);
        ?>
" />

            <?php 
        submit_button();
        ?>

        </form>
<?php 
    }
开发者ID:hacklabr,项目名称:portal-timtec,代码行数:30,代码来源:appsocial.php


示例17: admin_page_display

    /**
     * Admin page markup. Mostly handled by CMB
     */
    public function admin_page_display()
    {
        $option_tabs = self::option_fields();
        $tab_forms = [];
        ?>
		<div class="wrap cmb_options_page <?php 
        echo $this->key;
        ?>
">
			<h2><i class="fa fa-globe"></i> <?php 
        echo esc_html(get_admin_page_title());
        ?>
</h2>

			<h2 class="nav-tab-wrapper">
				<?php 
        foreach ($option_tabs as $option_tab) {
            $tab_slug = $option_tab['id'];
            $nav_class = 'nav-tab';
            if ($tab_slug == $_GET['page']) {
                $nav_class .= ' nav-tab-active';
                $tab_forms[] = $option_tab;
            }
            ?>
					<a class="<?php 
            echo $nav_class;
            ?>
"
					   href="<?php 
            menu_page_url($tab_slug);
            ?>
"><?php 
            esc_attr_e($option_tab['title']);
            ?>
</a>
				<?php 
        }
        ?>
			</h2>


			<?php 
        foreach ($tab_forms as $tab_form) {
            //render all tab forms (normaly just 1 form)
            ?>
				<div id="<?php 
            esc_attr_e($tab_form['id']);
            ?>
" class="group">
					<?php 
            cmb2_metabox_form($tab_form, $tab_form['id']);
            ?>
				</div>
			<?php 
        }
        ?>
		</div>
		<?php 
    }
开发者ID:nordsoftware,项目名称:WP-base-theme,代码行数:62,代码来源:Settings.php


示例18: menu_html

    public function menu_html()
    {
        /* page d'accueil administartion du plugin */
        echo '<h1>' . esc_html(get_admin_page_title()) . '</h1>';
        ?>
		<form method="post" action="options.php">

			<!-- un premier champs permettant l'insertion du parametre directement dans la table wp_options via le fichier options.php en ajoutant ce champs dans le groupe d'option -->
			<?php 
        settings_fields('poll_settings');
        ?>
			<p>
				<label for="poll_question"><?php 
        _e('Question :');
        ?>
</label>
				<input type="text" name="poll_question" value="<?php 
        echo get_option('poll_question');
        ?>
" /><br />
			</p>
			<?php 
        /* on recupere l'objet $wpdb representant la connexion a la BDD */
        global $wpdb;
        /* on selectionne toute les options de reponse dans la table poll_options */
        $results = $wpdb->get_results("SELECT * FROM {$wpdb->prefix}poll_options");
        /* puis on affiche les resultats */
        foreach ($results as $result) {
            ?>
					<input type="text" value="<?php 
            echo $result->label;
            ?>
" /><br />
				<?php 
        }
        ?>

			<!-- on ajoute un champs pour ajouter une nouvelle reponse que l'on recupere dans la fonction reponse() -->
			<p>
				<label for="poll_new_reponse"><?php 
        _e('Ajouter une nouvelle réponse :');
        ?>
</label>
				<input type="text" name="poll_new_reponse" />
			</p>
			<?php 
        submit_button('Enregistrer les modifications');
        ?>
		</form>
		<form method="post" action="" >
			<input type="hidden" value="salut" name="raz" />
			<?php 
        submit_button('Réinitialiser les options et les resultats');
        ?>
		</form>
	<?php 
    }
开发者ID:greg3560,项目名称:wp-plugin,代码行数:57,代码来源:poll.php


示例19: admin_menu_cb

 function admin_menu_cb()
 {
     if ($_POST && check_admin_referer('n9m-fa')) {
         $settings = array();
         switch ($_POST['n9m_location']) {
             case 'local':
             case 'maxcdn':
             case 'none':
                 $settings['stylesheet'] = $_POST['n9m_location'];
                 break;
             case 'other':
                 $settings['stylesheet'] = 'other';
                 $settings['stylesheet_location'] = sanitize_text_field($_POST['n9m_location-other-location']);
                 break;
         }
         if (isset($_POST['n9m_text_spacing'])) {
             $settings['spacing'] = 1;
         } else {
             $settings['spacing'] = 0;
         }
         update_option('n9m-font-awesome-4-menus', $settings);
         print '<div class="updated"><p>Your settings have been saved!</p></div>';
     }
     $settings = get_option('n9m-font-awesome-4-menus', $this->defaults);
     print ' <div class="wrap">
                 <h2><i class="fa fa-thumbs-o-up"></i> ' . get_admin_page_title() . '</h2>
                 <p>Thank you for using Font Awesome 4 Menus by <a href="http://www.newnine.com" target="_blank">New Nine</a>! To view available icons, <a href="http://fortawesome.github.io/Font-Awesome/icons/" target="_blank">click here to visit the Font Awesome website</a>.</p>
                 <form action="' . admin_url('options-general.php?page=n9m-font-awesome-4-menus') . '" method="post">
                     <h3>Font Awesome Stylesheet</h3>
                     <p>Select how you want Font Awesome 4&#8217;s stylesheet loaded on your site (if at all):</p>
                     <table class="form-table">
                         <tbody>
                             <tr>
                                 <th scope="row">Load Font Awesome 4 From:</th>
                                 <td>
                                     <fieldset>
                                         <legend class="screen-reader-text"><span>Load Font Awesome 4 From</span></legend>
                                         <label for="n9m_location-local"><input type="radio" name="n9m_location" id="n9m_location-local" value="local"' . ('local' == $settings['stylesheet'] ? ' checked' : false) . '> Local plugin folder (default)</label>
                                         <br />
                                         <label for="n9m_location-maxcdn"><input type="radio" name="n9m_location" id="n9m_location-maxcdn" value="maxcdn"' . ('maxcdn' == $settings['stylesheet'] ? ' checked' : false) . '> Official Font Awesome CDN <span class="description">(<a href="http://www.bootstrapcdn.com/#fontawesome_tab" target="_blank">Bootstrap CDN powered by MaxCDN</a>)</span></label>
                                         <br />
                                         <label for="n9m_location-other"><input type="radio" name="n9m_location" id="n9m_location-other" value="other"' . ('other' == $settings['stylesheet'] ? ' checked' : false) . '> A custom location:</label> <input type="text" name="n9m_location-other-location" id="n9m_location-other-location" placeholder="Enter full url here" class="regular-text" value="' . (isset($settings['stylesheet_location']) ? $settings['stylesheet_location'] : '') . '">
                                         <br />
                                         <label for="n9m_location-none"><input type="radio" name="n9m_location" id="n9m_location-none" value="none"' . ('none' == $settings['stylesheet'] ? ' checked' : false) . '>Don&#8217;t load Font Awesome 4&#8217;s stylesheet <span class="description">(use this if you load Font Awesome 4 elsewhere on your site)</span></label>
                                     </fieldset>
                                 </td>
                             </tr>
                         </tbody>
                     </table>
                     <h3>Icon Spacing</h3>
                     <p>By default, Font Awesome 4 Menus adds a space before or after the icon in your menu. Uncheck the box below to remove this space and give you finer control over your custom styling.</p>
                     <p><label for="n9m_text_spacing"><input type="checkbox" name="n9m_text_spacing" id="n9m_text_spacing" value="1"' . (1 == $settings['spacing'] ? ' checked' : false) . '> Keep the space between my text and my icons <span class="description">(default is checked)</span></label>
                     <p>' . wp_nonce_field('n9m-fa') . '<button type="submit" class="button button-primary">Save Settings</button></p>
                 </form>
             </div>';
 }
开发者ID:shellygraham,项目名称:livestock-framing,代码行数:56,代码来源:n9m-font-awesome-4.php


示例20: custom_css_editor_page

    /**
     * The Custom CSS appearance page
     *
     * @since 1.0.0
     */
    public function custom_css_editor_page()
    {
        $custom_css_default = __('/*
Welcome to the Custom CSS editor!

Please add all your custom CSS here and avoid modifying the core theme files, since that\'ll make upgrading the theme problematic. Your custom CSS will be loaded after the theme\'s stylesheets, which means that your rules will take precedence. Just add your CSS here for what you want to change, you don\'t need to copy all the theme\'s style.css content.
*/', 'ward');
        $custom_css = get_option('ward_custom_css', $custom_css_default);
        ?>
		<div class="wrap">
			<?php 
        screen_icon();
        ?>
			<h2><?php 
        echo get_admin_page_title();
        ?>
</h2>
			<?php 
        if (!empty($_GET['settings-updated'])) {
            echo '<div id="message" class="updated"><p><strong>' . __('Custom CSS updated.', 'ward') . '</strong></p></div>';
        }
        ?>

	        <p><?php 
        printf(__('If you\'re new to CSS, start with a %sbeginner tutorial%s.', 'ward'), '<a href="http://www.htmldog.com/guides/cssbeginner/">', '</a>');
        ?>
</p>

			<form id="custom_css_form" method="post" action="options.php">

	            <?php 
        settings_fields('ward_custom_css');
        ?>

	            <div id="custom_css_container">
		            <div name="ward_custom_css" id="ward_custom_css" style="border: 1px solid #DFDFDF; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; width: 100%; height: 400px; position: relative;">
	    	        </div>
	    	    </div>

	            <textarea id="custom_css_textarea" name="ward_custom_css" style="display: none;"><?php 
        echo $custom_css;
        ?>
</textarea>

	   			<p><input type="submit" class="button-primary" value="<?php 
        _e('Save Changes', 'ward');
        ?>
" /></p>

	        </form>

	    </div>
	<?php 
    }
开发者ID:CassieW,项目名称:Accessible-Syllabus,代码行数:59,代码来源:custom-css-editor.php



注:本文中的get_admin_page_title函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP get_admin_url函数代码示例发布时间:2022-05-15
下一篇:
PHP get_admin_page_parent函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap