Plugin Directory

Changeset 476197


Ignore:
Timestamp:
12/16/2011 02:30:25 AM (13 years ago)
Author:
AgentsOfValue
Message:
  • Fixed jQuery initialization on plugin admin page. It will now load only on its specific page.
  • Updated screenshots
Location:
rate-this-page-plugin/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • rate-this-page-plugin/trunk/css/rtp-style.css

    r475733 r476197  
    5858   
    5959    word-wrap: break-word;
     60}
     61
     62.rtp-feedback label.feedback-label {
     63    display: inline;
    6064}
    6165
  • rate-this-page-plugin/trunk/readme.txt

    r475771 r476197  
    5555== Screenshots ==
    56561. Rate This Page Plug-in User Interface
    57 2. Configuration Tab for UI and UI label.
    58 3. Insertion Tab for By Page display settings.
    59 4. Insertion Tab for By Category display settings
    60 5. Insertion Tab for both Category and Page display settings
    61 6. Report Tab to view ratings statistics of rated pages or articles.
     572. Configuration Tab for plugn UI activation and Theme UI selection.
     583. Settings area for custom labels activation.
     594. Insertion Tab for By Page display settings.
     605. Insertion Tab for By Category display settings
     616. Insertion Tab for both Category and Page display settings
     627. Report Tab to view ratings statistics of rated pages or articles.
    6263
    6364== Upgrade Notice ==
    64 = 1.2 =
    65 Added Label Customization. Added Custom hints on settings page if custom label is selected to yes. Added the ability to select theme display for the plugin. Updated admin settings page into new layout using Cupertino jQuery UI theme. Updated display strings into a translation ready. Used JSON parsing to retrieve array data from php file to jQuery script. Minor clean up on initializing jquery scripts and css codes. Removed extra divs on plugin design which are never been used. Removed some unused or commented syntaxes on CSS files. Fixed an issue where some CSS codes was included on RSS feeds. Fixed some CSS codes which can be overridden by other css layout like on some template being used. Renamed feedback.css to rtp-style.css. Renamed feedback-admin.css to rtp-style-admin.css. Renamed feedback.js to rtp.dev.js. Renamed feedback-ajax.js to rtp-ajax.dev.js. Used minified js files on loading required jscripts of the plugin.
     65= 1.3 =
     66Fixed jQuery initialization on plugin admin page. It will now load only on its specific page.
    6667
    6768== Changelog ==
     69= 1.3 =
     70* Fixed jQuery initialization on plugin admin page. It will now load only on its specific page.
     71
    6872= 1.2 =
    6973* Added Label Customization.
  • rate-this-page-plugin/trunk/rtp-hooks.php

    r475733 r476197  
    3030if ( !function_exists( 'aft_plgn_load' ) ) {
    3131    function aft_plgn_load() {
    32         add_menu_page( RTP_PLUGIN_NAME.' Main', RTP_PLUGIN_NAME, 'administrator', RTP_PLUGIN_SNAME, 'rtp_plgn_main_menu',  RTP_PLUGIN_DIR_IMG . 'AFT_icon-16.png' );
     32        $page = add_menu_page( RTP_PLUGIN_NAME.' Main', RTP_PLUGIN_NAME, 'administrator', RTP_PLUGIN_SNAME, 'rtp_plgn_main_menu',  RTP_PLUGIN_DIR_IMG . 'AFT_icon-16.png' );
    3333       
    3434        //Create options for this plugin.
    3535        add_action( 'admin_init', 'aft_plgn_options' );
    36         add_action( 'admin_print_styles', 'aft_plgn_css_init' );
    37         add_action( 'admin_print_scripts', 'aft_plgn_jquery_init' );
     36        add_action( 'admin_print_styles-' . $page, 'aft_plgn_css_init' );
     37        add_action( 'admin_print_scripts-' . $page, 'aft_plgn_jquery_init' );
    3838    }
    3939}
Note: See TracChangeset for help on using the changeset viewer.