upgrade to yui 2.5.1

This commit is contained in:
JT Smith 2008-03-25 16:13:25 +00:00
parent e00050ad1c
commit ff7d72becc
1632 changed files with 812103 additions and 0 deletions

View file

@ -0,0 +1,33 @@
<?php
print "data = { ";
$index = 0;
foreach($_GET as $key => $value) {
print htmlspecialchars("$key:", ENT_QUOTES);
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 " };";
?>