Plugin Directory

Changeset 1498523


Ignore:
Timestamp:
09/20/2016 02:21:33 AM (10 years ago)
Author:
harry005
Message:

update

Location:
ajax-awesome-css/trunk
Files:
7 added
3 edited

Legend:

Unmodified
Added
Removed
  • ajax-awesome-css/trunk/ajax-awesome-css.php

    r1497375 r1498523  
    11<?php
    22/**
    3  * Plugin Name: Ajax Awesome CSS
     3 * Plugin Name: Ajax Custom CSS
    44 * Plugin URI: https://github.com/harry005/ajax-awesome-css
    55 * Description: Add custom CSS/JSS to your website without modifying the CSS/JS files of the theme or plugin with the help of ajax functionality.
    6  * Version: 1.1.2
     6 * Version: 1.1.3
    77 * Author: Harpreet Singh
    88 * Author URI: https://github.com/harry005/
  • ajax-awesome-css/trunk/includes/admin/admin-main.php

    r1497363 r1498523  
    2525   
    2626    public function create_admin_menu(){
    27                 add_menu_page('Ajax Awesome CSS','Ajax Awesome CSS','manage_options','hsacc', array($this,'addMenus'), plugin_dir_url( __FILE__ ). 'images/icon.png',67);
     27                add_menu_page('Ajax Custom CSS','Ajax Custom CSS','manage_options','hsacc', array($this,'addMenus'), plugin_dir_url( __FILE__ ). 'images/icon.png',67);
    2828                add_submenu_page('hsacc','Add Ajax CSS','Add Ajax CSS','manage_options','hsaddacc', array($this,'addoptionspage'));
    2929                add_submenu_page('hsacc','Add Ajax JS','Add Ajax JS','manage_options','hsaddaccjs', array($this,'addoptionspagejs'));
     
    4444        wp_enqueue_script( 'hsaacjavascriptlint', plugin_dir_url(__FILE__).'codemirror/addon/lint/javascript-lint.js');
    4545        wp_enqueue_script( 'hsaacplaceholder', plugin_dir_url(__FILE__).'codemirror/addon/display/placeholder.js');
    46         wp_enqueue_script( 'hsaacjshint', "//ajax.aspnetcdn.com/ajax/jshint/r07/jshint.js");
    47         wp_enqueue_script( 'hsaacjsonlintjs', "https://rawgithub.com/zaach/jsonlint/79b553fb65c192add9066da64043458981b3972b/lib/jsonlint.js");
     46        wp_enqueue_script( 'hsaacactiveline', plugin_dir_url(__FILE__).'codemirror/addon/selection/active-line.js');
     47        wp_enqueue_script( 'hsaacjshint', plugin_dir_url(__FILE__).'codemirror/addon/jshint/jshint.js');
     48        wp_enqueue_script( 'hsaacjsonlintjs', plugin_dir_url(__FILE__).'codemirror/addon/jshint/jsonlint.js');
    4849        wp_register_style( 'admincss',plugin_dir_url(__FILE__).'css/styles.css');
    4950        wp_enqueue_style( 'admincss' );
     
    5859    public function addMenus(){?>
    5960        <div class="wrap" id='hsajaxwrap'>
    60             <h1>Welcome to Ajax Awesome CSS/JS</h1>
    61                 <div class='hscontent'>Ajax Awesome CSS/JS plugin is very easy and simple to use with powerful features. User can add their own custom css/js without even changing the core files of themes or plugins. So they will not have
     61            <h1>Welcome to Ajax Custom CSS/JS</h1>
     62                <div class='hscontent'>Ajax Custom CSS/JS plugin is very easy and simple to use with powerful features. User can add their own custom css/js without even changing the core files of themes or plugins. So they will not have
    6263                to worry about messing with the core files of theme or plugin. <br><br>
    6364               
     
    6667               
    6768                This plugin also provides the powerful features of CODEMIRROR. We have integrated the full feldge library of codemirror into our plugin. So while editing css, if user types the wrong property of css , then it will
    68                 show the wrong css property in red color. We have also provided the Autocomplete features for css. While adding new css , it will show the autocomplete options for the css if you pres "ctrl + space".<br><br>
     69                show the wrong css property in red color. We have also provided the Autocomplete features for css. While adding new css , it will show the autocomplete options when you will start typing".<br><br>
    6970               
    7071                We will keep updating the features of this plugin. So please stay in touch.<br><br>
     
    148149        $storecss =  $getcontent[0]->awesomecss;
    149150        ?><div class="wrap">
    150             <h1>Add Awesome Ajax Css</h1>
     151            <h1>Add Custom Css</h1>
    151152                    <textarea cols="100" rows="30" id="awesome-css-area" placeholder='Enter Your Custom CSS . . . .' style='visibility:hidden' ><?php if($storecss) echo $storecss;?></textarea>
    152153                    <div id='hssavefile'>Add CSS</div>
     
    158159                        mode: "css",
    159160                        autoCloseBrackets: true,
     161                        styleActiveLine: true,
    160162                        matchBrackets : true
    161163                    //  extraKeys: {"Ctrl-Space": "autocomplete"}
     
    181183        $storejs = $getcontent[0]->awesomejs;
    182184        ?><div class="wrap" id='wrapjs'>
    183             <h1>Add Awesome Custom JS</h1>
     185            <h1>Add Custom JS</h1>
    184186                    <textarea cols="100" rows="30" id="awesome-js-area" placeholder='Enter Your Custom JS . . . .' style='visibility:hidden'><?php if($storejs) echo $storejs ;?></textarea>
    185187                    <div id='hssavejs'>Add JS</div>
     
    191193               autoCloseBrackets: true,
    192194               matchBrackets : true,
     195               styleActiveLine: true,
    193196               mode: "javascript",
    194197               gutters: ["CodeMirror-lint-markers"],
  • ajax-awesome-css/trunk/readme.txt

    r1497376 r1498523  
    66Requires at least: 4.0
    77Tested up to: 4.6.1
    8 Stable tag: 1.1.2
     8Stable tag: 1.1.3
    99
    1010Add custom CSS/JSS to your website without modifying the CSS/JS files of the theme or plugin with the help of ajax functionality.
     
    7979== Changelog ==
    8080
     81= 1.1.3 =
     82
     83* Added active line features
     84
    8185= 1.1.2 =
    8286
Note: See TracChangeset for help on using the changeset viewer.