Browse Source

Changing jquery ui theme

Julio Montoya 14 years ago
parent
commit
0c9d232db6
1 changed files with 2 additions and 3 deletions
  1. 2 3
      main/inc/lib/main_api.lib.php

+ 2 - 3
main/inc/lib/main_api.lib.php

@@ -4760,7 +4760,7 @@ function api_check_browscap(){
  */
 function api_get_jqgrid_js($include_jquery = true) {
     $js = '';     
-    $theme      = 'cupertino';
+    $theme      = 'smoothness'; // Current themes: cupertino, smoothness, ui-lightness. Find the themes folder in main/inc/lib/javascript/jquery-ui 
     $languaje   = 'en';
     $platform_isocode = strtolower(api_get_language_isocode());
     
@@ -4769,8 +4769,7 @@ function api_get_jqgrid_js($include_jquery = true) {
      
     if (in_array($platform_isocode, $jqgrid_langs)) {
     	$languaje = $platform_isocode;
-    }
-    
+    }    
     if ($include_jquery) {
         //Jquery
         $js = '<link rel="stylesheet" href="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery-ui/'.$theme.'/jquery-ui-1.8.7.custom.css" type="text/css">';