public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/pages/page-question-modify.php
/**
 * Function that dipslays the sidebar of the add new page.
 *
 * @since 1.0.0
 */
Function that dipslays the sidebar of the add new page.
Function that dipslays the sidebar of the add new page .
function WPCW_showPage_ModifyQuestion_Get_Sidebar() {
	ob_start();
	$addQuestionUrl = add_query_arg( array( 'page' => 'WPCW_showPage_ModifyQuestion' ), esc_url( admin_url( 'admin.php' ) ) );
	?>
    <div class="wpcw_floating_menu" id="wpcw_add_quiz_menu">
        <div class="wpcw_add_quiz_block">
            <div class="wpcw_add_quiz_title"><?php _e( 'Question Types:', 'wp-courseware' ); ?></div>
            <div class="wpcw_add_quiz_options">
                <ul>
                    <li>
                        <a href="<?php echo add_query_arg( array( 'question_type' => 'multi' ), $addQuestionUrl ); ?>" class="button-secondary"
                           id="wpcw_add_question_multi"><?php _e( 'Add Multiple Choice', 'wp-courseware' ); ?></a>
                    </li>
                    <li>
                        <a href="<?php echo add_query_arg( array( 'question_type' => 'truefalse' ), $addQuestionUrl ); ?>" class="button-secondary"
                           id="wpcw_add_question_truefalse"><?php _e( 'Add True/False', 'wp-courseware' ); ?></a>
                    </li>
                    <li>
                        <a href="<?php echo add_query_arg( array( 'question_type' => 'open' ), $addQuestionUrl ); ?>" class="button-secondary"
                           id="wpcw_add_question_open"><?php _e( 'Add Open Ended Question', 'wp-courseware' ); ?></a>
                    </li>
                    <li>
                        <a href="<?php echo add_query_arg( array( 'question_type' => 'upload' ), $addQuestionUrl ); ?>" class="button-secondary"
                           id="wpcw_add_question_upload"><?php _e( 'Add File Upload Question', 'wp-courseware' ); ?></a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
	<?php
	$html = ob_get_clean();
	return apply_filters( 'wpcw_add_question_sidebar_html', $html );
}
function WPCW_showPage_ModifyQuestion_Get_Sidebar ( ) { ob_start ( ) ; $ addQuestionUrl = add_query_arg ( array ( 'page' => 'WPCW_showPage_ModifyQuestion' ) , esc_url ( admin_url ( 'admin.php' ) ) ) ; ?> <div class="wpcw_floating_menu" id="wpcw_add_quiz_menu">
        <div class="wpcw_add_quiz_block">
            <div class="wpcw_add_quiz_title"> <?php _e ( 'Question Types:' , 'wp-courseware' ) ; ?> </div>
            <div class="wpcw_add_quiz_options">
                <ul>
                    <li>
                        <a href=" <?php echo add_query_arg ( array ( 'question_type' => 'multi' ) , $ addQuestionUrl ) ; ?> " class="button-secondary"
                           id="wpcw_add_question_multi"> <?php _e ( 'Add Multiple Choice' , 'wp-courseware' ) ; ?> </a>
                    </li>
                    <li>
                        <a href=" <?php echo add_query_arg ( array ( 'question_type' => 'truefalse' ) , $ addQuestionUrl ) ; ?> " class="button-secondary"
                           id="wpcw_add_question_truefalse"> <?php _e ( 'Add True/False' , 'wp-courseware' ) ; ?> </a>
                    </li>
                    <li>
                        <a href=" <?php echo add_query_arg ( array ( 'question_type' => 'open' ) , $ addQuestionUrl ) ; ?> " class="button-secondary"
                           id="wpcw_add_question_open"> <?php _e ( 'Add Open Ended Question' , 'wp-courseware' ) ; ?> </a>
                    </li>
                    <li>
                        <a href=" <?php echo add_query_arg ( array ( 'question_type' => 'upload' ) , $ addQuestionUrl ) ; ?> " class="button-secondary"
                           id="wpcw_add_question_upload"> <?php _e ( 'Add File Upload Question' , 'wp-courseware' ) ; ?> </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
	 <?php $ html = ob_get_clean ( ) ; return apply_filters ( 'wpcw_add_question_sidebar_html' , $ html ) ; }
Function that dipslays the sidebar of the add new page.
Function that dipslays the sidebar of the add new page .