تضمين الستايل والجافاسكريبت

تضمين الستايل والجافاسكريبت


<lezaz:import/>
  AttributeDescription        Default
  ----------------------------------------------------------------------
  dir    import all files from this dir                           Null
  type         css/js                                             Null
  compress     to compress all files in one                       Null
 * 1   >> without compress 
 * 2   >> with compress                  
  sort        fort import files ASC DESC                          ASC

  inside code you can use list of file to import link like
 * http://lezaz.org/template/LEZAZ/js/jquery.js ; //inside theme folder use js folder then file 
 * js/jquery.js; //same apove coz defult directory is theme 
 * http://lezaz.org/template/admin/js/file.js; // inside template folder use admin folder then js file
  TODO: * url:http://sdn.com/file.js -> http://lezaz.org/template/LEZAZ/js/file.js ;//check if url valid and return 200 then import else import from your server

  Example
  --------
<lezaz:importdir='js'type="css"/>
<lezaz:importdir='js'type="css">
  http://lezaz.org/template/admin/css/file.css
  url:http://sdn.com/file.css -> css/file2.css
</lezaz:import>