File: WIAdmin/WICore/WIJ/WIPlugin.js

Recommend this page to a friend!
  Classes of Jules Warner  >  WICMS  >  WIAdmin/WICore/WIJ/WIPlugin.js  >  Download  
File: WIAdmin/WICore/WIJ/WIPlugin.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WICMS
Database driven content management system with PDO
Author: By
Last change:
Date: 3 years ago
Size: 598 bytes
 

Contents

Class file image Download
/***********
** WISITE NAMESPACE
**************/



var WIPlugin = {};

WIPlugin.enable = function(plugin){
/*
	$.ajax({
    	url: "WICore/WIClass/WIAjax.php",
    	type: "POST",
    	data: {
    		action : "enable_plugin",
    		settings   : 1,
    		plug : plugin
    	},
    	success: function(result){
    	}
    });
    */
}

WIPlugin.Install = function(plugin){

alert('click');
	$.ajax({
    	url: "WICore/WIClass/WIAjax.php",
    	type: "POST",
    	data: {
    		action : "install_plugin",
    		settings   : 1,
    		plug : plugin
    	},
    	success: function(result){
    	}
    });

}

For more information send a message to info at phpclasses dot org.