Example #1
0
File: core.php Project: azuya/Wi3
 function __construct()
 {
     //register this Plugin
     parent::__construct();
     //make JQuery work
     $this->javascript(array('jquery-1.8.1.min.js', 'jquery.base64.utf8.js'));
 }
Example #2
0
 function __construct()
 {
     //register this Plugin and load dependencies
     parent::__construct();
     //load the javascript
     $this->javascript("jquery.dropshadow.js");
 }
Example #3
0
File: tree.php Project: azuya/Wi3
 function __construct()
 {
     //register this Plugin
     parent::__construct();
     $this->javascript("jquery.simple.tree.js");
     //for tree displaying plus drag&drop
 }
Example #4
0
 function __construct()
 {
     //register this Plugin and load dependencies
     parent::__construct();
     //load the javascript
     $this->javascript("jquery-filteredPaste.js");
 }
Example #5
0
 function __construct()
 {
     //register this Plugin and load dependencies
     parent::__construct();
     //load the codaslider css
     $this->css("jquery.fancybox-1.3.1.css");
     //load the javascript
     $this->javascript("jquery.fancybox-1.3.1.js");
 }
Example #6
0
File: ui.php Project: azuya/Wi3
 function __construct()
 {
     //register this Plugin and load dependencies
     parent::__construct();
     //load JQuery UI
     $this->javascript('jquery-ui-1.8.12.custom.min.js');
     //load the UI css as well
     $this->css("jquery_ui/jquery-ui-1.8.12.custom.css");
 }
Example #7
0
 function __construct()
 {
     //register this Plugin and load dependencies
     parent::__construct();
     //load the codaslider css
     $this->css("jqtransform/jqtransform.css");
     //load the javascript
     $this->javascript("jquery.jqtransform.js");
 }
Example #8
0
 function __construct()
 {
     //register this Plugin
     parent::__construct();
     //-------------------------------------------------------------
     // this function ensures that some Wi3 information is always sent to the client for use in javascript files (ie kohana.js)
     //
     //set up the event to pass information to the clientside
     //add this event before the javascript event, so that javascript always have this information available when they load
     Event::instance('wi3.afterexecution.addcontent.javascript.variables')->callback(array("Plugin_clientjavascriptvars", "addclientjavascriptvars"));
     //-------------------------------------------------------------
 }
Example #9
0
 function __construct()
 {
     //register this Plugin and load dependencies
     parent::__construct();
     $this->css("codemirror.css");
     // CodeMirror
     $this->javascript("codemirror/lib/codemirror.js");
     $this->javascript("codemirror/lib/util/continuecomment.js");
     $this->javascript("codemirror/mode/javascript/javascript.js");
     // Esprima
     $this->javascript("esprima.js");
     // Betterexamples
     $this->javascript("betterexamples.js");
     $this->javascript("betterexamples.editor.codemirror.js");
     $this->javascript("betterexamples.editor.default.js");
 }
Example #10
0
File: wi3.php Project: azuya/Wi3
 function __construct()
 {
     //register this Plugin
     parent::__construct();
     Wi3::inst()->baseview_adminarea->javascript(array('wi3.js'));
 }