\n";
//For Each ctrl As Control In Page.Controls
// If TypeOf (ctrl) Is GridBase Then writer.Write(CType(ctrl, GridBase).GridRules())
// If TypeOf (ctrl) Is LiveGrid Then writer.Write(CType(ctrl, LiveGrid).ColumnRules())
//Next
if ($ricoTheme=="r-grayedout") {
echo ".Rico_accTitle, .ricoTitle, table.ricoLiveGrid thead th, table.ricoLiveGrid thead td, tr.ricoLG_hdg td, tr.ricoLG_hdg th {\n";
echo " background-position: left center;\n";
echo " background-repeat: repeat-x;\n";
echo " background-image: url('" . $imgDir . "grayedout.gif');\n";
echo "}\n";
}
echo ".ricoLG_Resize {\n";
echo " background-repeat: repeat;\n";
echo " background-image: url('" . $imgDir . "resize.gif');\n";
echo "}\n";
echo ".rico-icon {\n";
echo " background-repeat: no-repeat;\n";
echo " background-image: url('" . $imgDir . "ricoIcons.gif');\n";
echo "}\n";
echo "\n";
}
// initialize Rico
function SetConfig() {
global $ricoLogging;
echo "\n\n";
}
function LoadLib($baseLib, $baseLoadFlag) {
global $jsDir;
if ($baseLoadFlag) {
if (strpos($baseLib,"/") === false) {
echo "\n";
} else {
echo "\n";
}
}
requireRicoJS("2" . substr($baseLib,0,3));
requireRicoJS("_min");
requireRicoCSS("rico");
}
// -------------------------------------------------------------
// Check languages accepted by browser
// and see if there is a match
// -------------------------------------------------------------
function setLang() {
global $transDir;
$lang=strtolower($_SERVER["HTTP_ACCEPT_LANGUAGE"]);
$arLang=explode(",",$lang);
for ($i=0; $i\n";
break;
}
}
}
// set theme
// "j-ui-lightness" for a Themeroller theme
// "r-greenHdg" for a native Rico theme
function LoadTheme($theme) {
global $cssDir,$grid_striping,$jQuery_theme_path;
$prefix=substr($theme,0,1);
$theme=substr($theme,2);
switch ($prefix) {
case 'j':
requireRicoJS("Themeroller");
echo "\n";
break;
case 'r':
requireRicoCSS($theme);
break;
}
if ($grid_striping) {
echo "\n";
}
}
function requireRicoJS($filename) {
global $jsDir;
echo "\n";
}
function requireRicoCSS($filename) {
global $cssDir;
echo "\n";
}
?>