Changeset 1498523
- Timestamp:
- 09/20/2016 02:21:33 AM (10 years ago)
- Location:
- ajax-awesome-css/trunk
- Files:
-
- 7 added
- 3 edited
-
ajax-awesome-css.php (modified) (1 diff)
-
includes/admin/admin-main.php (modified) (8 diffs)
-
includes/admin/codemirror/addon/jshint (added)
-
includes/admin/codemirror/addon/jshint/jshint.js (added)
-
includes/admin/codemirror/addon/jshint/jsonlint.js (added)
-
includes/admin/codemirror/addon/selection (added)
-
includes/admin/codemirror/addon/selection/active-line.js (added)
-
includes/admin/codemirror/addon/selection/mark-selection.js (added)
-
includes/admin/codemirror/addon/selection/selection-pointer.js (added)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ajax-awesome-css/trunk/ajax-awesome-css.php
r1497375 r1498523 1 1 <?php 2 2 /** 3 * Plugin Name: Ajax AwesomeCSS3 * Plugin Name: Ajax Custom CSS 4 4 * Plugin URI: https://github.com/harry005/ajax-awesome-css 5 5 * 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. 26 * Version: 1.1.3 7 7 * Author: Harpreet Singh 8 8 * Author URI: https://github.com/harry005/ -
ajax-awesome-css/trunk/includes/admin/admin-main.php
r1497363 r1498523 25 25 26 26 public function create_admin_menu(){ 27 add_menu_page('Ajax Awesome CSS','Ajax AwesomeCSS','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); 28 28 add_submenu_page('hsacc','Add Ajax CSS','Add Ajax CSS','manage_options','hsaddacc', array($this,'addoptionspage')); 29 29 add_submenu_page('hsacc','Add Ajax JS','Add Ajax JS','manage_options','hsaddaccjs', array($this,'addoptionspagejs')); … … 44 44 wp_enqueue_script( 'hsaacjavascriptlint', plugin_dir_url(__FILE__).'codemirror/addon/lint/javascript-lint.js'); 45 45 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'); 48 49 wp_register_style( 'admincss',plugin_dir_url(__FILE__).'css/styles.css'); 49 50 wp_enqueue_style( 'admincss' ); … … 58 59 public function addMenus(){?> 59 60 <div class="wrap" id='hsajaxwrap'> 60 <h1>Welcome to Ajax AwesomeCSS/JS</h1>61 <div class='hscontent'>Ajax AwesomeCSS/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 have61 <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 62 63 to worry about messing with the core files of theme or plugin. <br><br> 63 64 … … 66 67 67 68 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> 69 70 70 71 We will keep updating the features of this plugin. So please stay in touch.<br><br> … … 148 149 $storecss = $getcontent[0]->awesomecss; 149 150 ?><div class="wrap"> 150 <h1>Add Awesome AjaxCss</h1>151 <h1>Add Custom Css</h1> 151 152 <textarea cols="100" rows="30" id="awesome-css-area" placeholder='Enter Your Custom CSS . . . .' style='visibility:hidden' ><?php if($storecss) echo $storecss;?></textarea> 152 153 <div id='hssavefile'>Add CSS</div> … … 158 159 mode: "css", 159 160 autoCloseBrackets: true, 161 styleActiveLine: true, 160 162 matchBrackets : true 161 163 // extraKeys: {"Ctrl-Space": "autocomplete"} … … 181 183 $storejs = $getcontent[0]->awesomejs; 182 184 ?><div class="wrap" id='wrapjs'> 183 <h1>Add AwesomeCustom JS</h1>185 <h1>Add Custom JS</h1> 184 186 <textarea cols="100" rows="30" id="awesome-js-area" placeholder='Enter Your Custom JS . . . .' style='visibility:hidden'><?php if($storejs) echo $storejs ;?></textarea> 185 187 <div id='hssavejs'>Add JS</div> … … 191 193 autoCloseBrackets: true, 192 194 matchBrackets : true, 195 styleActiveLine: true, 193 196 mode: "javascript", 194 197 gutters: ["CodeMirror-lint-markers"], -
ajax-awesome-css/trunk/readme.txt
r1497376 r1498523 6 6 Requires at least: 4.0 7 7 Tested up to: 4.6.1 8 Stable tag: 1.1. 28 Stable tag: 1.1.3 9 9 10 10 Add custom CSS/JSS to your website without modifying the CSS/JS files of the theme or plugin with the help of ajax functionality. … … 79 79 == Changelog == 80 80 81 = 1.1.3 = 82 83 * Added active line features 84 81 85 = 1.1.2 = 82 86
Note: See TracChangeset
for help on using the changeset viewer.