X-Git-Url: http://git.cyclocoop.org/?p=velocampus%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fplugins%2Fauto%2Fjquery_ui%2Fjqueryui_options.php;fp=www%2Fplugins%2Fauto%2Fjquery_ui%2Fjqueryui_options.php;h=1c94b86f0b397b987f0ee1663f60e7f5a16fb06f;hp=0000000000000000000000000000000000000000;hb=80b4d3e85f78d402ed2e73f8f5d1bf4c19962eed;hpb=aaf970bf4cdaf76689ecc10609048e18d073820c diff --git a/www/plugins/auto/jquery_ui/jqueryui_options.php b/www/plugins/auto/jquery_ui/jqueryui_options.php new file mode 100644 index 0000000..1c94b86 --- /dev/null +++ b/www/plugins/auto/jquery_ui/jqueryui_options.php @@ -0,0 +1,28 @@ +'rep1','rep2'=>'rep2',...'no_css'=>'ne pas charger les CSS...') + * + */ +function jqueryui_array_themes() { + $Tthemes = array(); + if ($pointeur = opendir(find_in_path(_DIR_JQUERYUI_CSS))) { + while (false !== ($rep = readdir($pointeur))) { + if ($rep != "." AND $rep != ".." AND $rep != ".svn" AND is_dir(find_in_path(_DIR_JQUERYUI_CSS).$rep)) { + $Tthemes[$rep] = $rep; + } + } + closedir($pointeur); + } + if(!defined('_JQUERYUI_FORCER_CSS')) + $Tthemes['no_css'] = _T('jqueryui:cfg_no_css'); + return $Tthemes; +} + +?> \ No newline at end of file