upgraded to yui 0.12.0

upgraded to yui-ext 0.33 rc2
This commit is contained in:
JT Smith 2006-11-28 02:23:34 +00:00
parent 62b3d90db7
commit cfd09a5cb6
1271 changed files with 539033 additions and 0 deletions

View file

@ -0,0 +1,32 @@
<?php
print "data = { ";
$index = 0;
foreach($_GET as $key => $value) {
print "$key:";
if (gettype($value) == "array") {
print "[";
for ($i = 0;$i < count($_GET["$key"]);$i++) {
$v = $_GET["$key"][$i];
print "\"$v\"";
if ($i < count($_GET["$key"])-1) {
print ",";
}
}
print "]";
} else {
print "\"$value\"";
}
$index++;
if ( ($index) < count($_GET) ) {
print ", ";
}
}
print " };";
?>