Beispiel #1
0
/**
 * @desc Admin Form to select number of titles
 * @author Georg Leciejewski
 */
function c_widget_title_page()
{
    $options = $newoptions = get_option('c_widget_title');
    echo king_get_start_form('wrap', '', '', $k_Method = 'post');
    ?>
		<h2><?php 
    _e('Title Widgets', 'widgetContent');
    ?>
</h2>
		<?php 
    echo king_get_start_p();
    _e('How many Title Boxes would you like? ', 'widgetContent');
    echo king_get_select("c_widget_title_number", $options['number'], array('1', '2', '3', '4', '5', '6', '7', '8', '9'), 'c_widget_title_number');
    echo king_get_submit('c_widget_title_number_submit', '', 'c_widget_title_number_submit');
    echo king_get_end_p();
    echo king_get_end_form();
}
Beispiel #2
0
    /**
     * @desc Admin Form to select number of logins
     * @author Georg Leciejewski
     */
    function widget_king_login_page()
    {
        /*$framework_options = get_option('king_framework');
                for ($i = 1; $i <= $framework_options['widgets_number']; $i++) {
        			$number[]=$i;
        		}*/
        $options = $newoptions = get_option('widget_king_login');
        echo king_get_start_form('wrap', '', '', $k_Method = 'post');
        ?>
		<h2><?php 
        _e('King Login', 'widgetKing');
        ?>
</h2>
		<?php 
        echo '<p>';
        _e('How many Login Widgets do you need?', 'widgetKing');
        echo king_get_select("king_login_number", $options['number'], array('1', '2', '3', '4', '5', '6', '7', '8', '9'), 'king_login_number');
        echo king_get_submit('king_login_number_submit', '', 'king_login_number_submit');
        echo king_get_end_p();
        echo king_get_end_form();
    }
Beispiel #3
0
    /**
     * @desc Admin Form to select number of categories
     * @author Georg Leciejewski
     */
    function widget_king_links_page()
    {
        $options = $newoptions = get_option('widget_king_links');
        echo king_get_start_form('wrap', '', '', $k_Method = 'post');
        ?>
		<h2><?php 
        _e('King Link Menu', 'widgetKing');
        ?>
</h2>
		<?php 
        echo '<p>';
        _e('How many Link Boxes would you like?', 'widgetKing');
        echo king_get_select("king_links_number", $options['number'], array('1', '2', '3', '4', '5', '6', '7', '8', '9'), 'king_links_number');
        echo king_get_submit('king_links_number_submit', '', 'king_links_number_submit');
        echo king_get_end_p();
        echo king_get_end_form();
    }
Beispiel #4
0
    /**
     * @desc Admin Form to select number of calendars
     * @author Georg Leciejewski
     */
    function widget_king_calendar_page()
    {
        $options = $newoptions = get_option('widget_king_calendar');
        echo king_get_start_form('wrap', '', '', $k_Method = 'post');
        ?>
		<h2><?php 
        _e('King Calendar', 'widgetKing');
        ?>
</h2>
		<?php 
        echo '<p>';
        _e('How many Calendars would you like?', 'widgetKing');
        echo king_get_select("king_calendar_number", $options['number'], array('1', '2', '3', '4', '5', '6', '7', '8', '9'), 'king_calendar_number');
        echo king_get_submit('king_calendar_number_submit', '', 'king_calendar_number_submit');
        echo king_get_end_p();
        echo '<p>';
        _e('If using Multiple Calendars show only one on a site by using the Category Option. This makes sence if you have Events installed  and want to show the Events Calendar on a special Category.', 'widgetKing');
        echo king_get_end_p();
        echo king_get_end_form();
    }
Beispiel #5
0
    /**
     * @desc Admin Form to select number of categories
     * @author Georg Leciejewski
     */
    function widget_king_rss_page()
    {
        $options = $newoptions = get_option('widget_king_rss');
        echo king_get_start_form('wrap', '', '', $k_Method = 'post');
        ?>
		<h2><?php 
        _e('King RSS Boxes', 'widgetKing');
        ?>
</h2>
		<?php 
        echo '<p>';
        _e('How many RSS Boxes would you like? ', 'widgetKing');
        echo king_get_select("king_rss_number", $options['number'], array('1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20'), 'king_rss_number');
        echo king_get_submit('king_rss_number_submit', '', 'king_rss_number_submit');
        echo king_get_end_p();
        echo king_get_end_form();
    }
Beispiel #6
0
    /**
     * @desc Admin Form to select number of categories
     * @author Georg Leciejewski
     */
    function widget_king_text_page()
    {
        $options = $newoptions = get_option('widget_king_text');
        echo king_get_start_form('wrap', '', '', $k_Method = 'post');
        ?>
		<h2><?php 
        _e('King Text Boxes', 'widgetKing');
        ?>
</h2>
		<?php 
        echo '<p>';
        _e('How many Text Boxes would you like? ', 'widgetKing');
        echo king_get_select("king_text_number", $options['number'], array('1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20'), 'king_text_number');
        echo king_get_submit('king_text_number_submit', '', 'king_text_number_submit');
        echo king_get_end_p();
        echo king_get_end_form();
        //echo '<script type="text/javascript" src="../wp-includes/js/tinymce/tiny_mce_gzip.php?ver=20051211"></script>';
    }