Plugin Directory

Changeset 2681400


Ignore:
Timestamp:
02/18/2022 02:20:16 PM (4 years ago)
Author:
Skjoy
Message:

Regular Update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jp-students-result-management-system/trunk/index.php

    r2458080 r2681400  
    55 * Plugin URI: http://skjoy.info/shop/jp-students-result-management-system-premium
    66 * Description: Simple But Powerful Students Result Management System.You can add,edit,delete,publish students result form regular wordpress admin panel. It has ajax based advanced result search form, Use shortcode [jp_students_result_sc] inside post or page to search students result.
    7  * Version: 1.5
     7 * Version: 1.6
    88 * Author: Skjoy
    99 * Author URI: http://skjoy.info
    1010 * Requires at least: 3.8
    11  * Tested Up to: 5.6
     11 * Tested Up to: 5.9
    1212 * Stable Tag: 2.0
    1313 * License: GPL v2
     
    454454/*-------------------------------
    455455 Shortcode menu------------------
     456--------------------------------*/
     457
     458function jsrms_shortcode_menu(){
     459
     460    add_submenu_page( 'edit.php?post_type=jp_students_result', 'Shortcode', 'Shortcode', 'manage_options', 'jsrms_shortcode_menu', 'jsrms_shortcode_admin_page' );
     461
     462}
     463
     464add_action('admin_menu','jsrms_shortcode_menu');
     465
     466function jsrms_shortcode_admin_page() { ?>
     467   
     468    <div class="wrap">
     469        <!-- Some inline style -->
     470        <style type="text/css">
     471            h2.jsrmsp-main-title {
     472                text-align: left;
     473                background: #ddd;
     474                padding: 10px;
     475                margin-top: 0;
     476            }
     477            h3.jsrmsp-m-title {
     478              margin: 0 !important;
     479              padding: 8px 12px !important;
     480            }
     481            div.jsupnsuc {
     482                background: #ededed none repeat scroll 0 0;
     483                border-left: 1px solid lime;
     484                border-right: 1px solid #00E400;
     485                padding: 5px;
     486            }
     487            div.jsvardlnins {
     488                overflow: hidden;
     489            }
     490            a.jsnvardl {
     491              color: #fff;
     492              float: left;
     493              text-align: center;
     494              padding: 5px 0;
     495              width: 50%;
     496            }
     497            a#ddl {
     498              background: #00ff00 none repeat scroll 0 0;
     499              color: #222;
     500            }
     501            a#ddn {
     502              background: #00e400 none repeat scroll 0 0;
     503            }
     504        </style>
     505        <div id="dashboard-widgets-wrap">
     506            <div class="metabox-holder" id="dashboard-widgets">
     507                <div id="postbox-container" class="postbox-container">
     508                    <div id="side-sortables" class="meta-box-sortables ui-sortable">
     509                    <div style="display: block;" id="dashboard_quick_press" class="postbox ">
     510                        <h2 class="jsrmsp-main-title"><?php _e('Shortcode'); ?></h2>
     511                        <h3 class="hndle jsrmsp-m-title" style="cursor: default;"><span><span class="hide-if-no-js">Use shortcode <input type="text" value="[jp_students_result_sc]" /> inside post or page to show the Result Search Form</span></span></h3>
     512                    <div style="overflow: hidden; padding-bottom: 10px;" class="inside">
     513                    </div>
     514                    </div>
     515                    </div> 
     516                </div>
     517            </div>
     518        </div>
     519    </div>
     520   
     521<?php }
     522
     523/*-------------------------------
     524 Premium Features menu------------------
    456525--------------------------------*/
    457526
Note: See TracChangeset for help on using the changeset viewer.