2 if (!defined("_ECRIRE_INC_VERSION")) return;
4 define('_DIR_JQUERYUI_JS','lib/jquery.ui-1.6/ui/');
5 define('_DIR_JQUERYUI_CSS','lib/jquery.ui-1.6/themes/');
8 * Fonction pour lister les ss-repertoires de themes/ de jQuery UI
9 * retourne: array('rep1'=>'rep1','rep2'=>'rep2',...'no_css'=>'ne pas charger les CSS...')
12 function jqueryui_array_themes() {
14 if ($pointeur = opendir('../'._DIR_JQUERYUI_CSS
)) {
15 while (false !== ($rep = readdir($pointeur))) {
16 if ($rep != "." AND $rep != ".." AND is_dir('../'._DIR_JQUERYUI_CSS
.$rep)) {
17 $Tthemes[$rep] = $rep;
22 if(!defined('_JQUERYUI_FORCER_CSS'))
23 $Tthemes['no_css'] = _T('jqueryui:cfg_no_css');