3 if (!defined("_ECRIRE_INC_VERSION")) return;
5 define('_DIR_JQUERYUI_JS','javascript/jquery-ui-1.8.16/ui/');
6 define('_DIR_JQUERYUI_CSS','javascript/jquery-ui-1.8.16/themes/');
9 * Fonction pour lister les ss-repertoires de themes/ de jQuery UI
10 * retourne: array('rep1'=>'rep1','rep2'=>'rep2',...'no_css'=>'ne pas charger les CSS...')
13 function jqueryui_array_themes() {
15 if ($pointeur = opendir(find_in_path(_DIR_JQUERYUI_CSS
))) {
16 while (false !== ($rep = readdir($pointeur))) {
17 if ($rep != "." AND $rep != ".." AND $rep != ".svn" AND is_dir(find_in_path(_DIR_JQUERYUI_CSS
).$rep)) {
18 $Tthemes[$rep] = $rep;
23 if(!defined('_JQUERYUI_FORCER_CSS'))
24 $Tthemes['no_css'] = _T('jqueryui:cfg_no_css');