From 1c5685d68f1b73270fb814fe04cbb490eb90ba5f Mon Sep 17 00:00:00 2001 From: mensonge Date: Fri, 14 Nov 2008 15:39:19 +0000 Subject: Minor fix: Remove DOJO library (60Mo) replaced by link to Google CDN (online DOJO library) git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@159 b3834d28-1941-0410-a4f8-b48e95affb8f --- .../js/dojox/layout/tests/remote/getResponse.php | 108 --------------------- 1 file changed, 108 deletions(-) delete mode 100644 includes/js/dojox/layout/tests/remote/getResponse.php (limited to 'includes/js/dojox/layout/tests/remote/getResponse.php') diff --git a/includes/js/dojox/layout/tests/remote/getResponse.php b/includes/js/dojox/layout/tests/remote/getResponse.php deleted file mode 100644 index 0a37050..0000000 --- a/includes/js/dojox/layout/tests/remote/getResponse.php +++ /dev/null @@ -1,108 +0,0 @@ - -
- - -
-
-
-
- - - - "; - break; - - case 'importCss': - header('Content-type: text/css; charset=utf-8'); - echo "#importMediaTest { - margin: 4px; - border: 1px dashed red; - width: 200px; - height: 200px; - } - #importCssTest { - margin: 4px; - border: 1px solid blue; - width: 100px; - height: 100px; - }"; - break; - - case 'linkCss': - header('Content-type: text/css; charset=utf-8'); - echo "#linkMediaTest { - margin: 4px; - border: 2px dashed red; - width: 200px; - height: 200px; - } - #linkCssTest { - margin: 4px; - border: 2px dashed red; - width: 100px; - height: 100px; - }"; - break; - - case 'importMediaPrint': // may download but not render - header('Content-type: text/css; charset=utf-8'); - echo "#importMediaTest { - margin: 10px; - border: 5px dashed gray; - width: 100px; - height: 100px; - }"; - break; - - case 'linkMediaPrint': // may download but not render - header('Content-type: text/css; charset=utf-8'); - echo "#linkMediaTest { - margin: 10px; - border: 5px dashed gray; - width: 100px; - height: 100px; - }"; - break; - - case 'remoteJsTrue': - header('Content-type: text/javascript; charset=utf-8'); - echo "unTypedVarInDocScope = true;"; - break; - - case 'remoteJsFalse': - header('Content-type: text/javascript; charset=utf-8'); - echo "unTypedVarInDocScope = false;"; - break; - - case 'bounceInput': - echo file_get_contents("php://input"); - break; - - case 'bounceHeaders'; - if(function_exists("apache_request_headers")){ - $headers = apache_request_headers(); - foreach($headers as $header => $vlu){ - echo "$header=$vlu\n
"; - } - }else{ - // IIS, php as CGI etc gets here, messes formating, suboptimal - $headers = preg_grep('/HTTP_/i', array_keys($_SERVER)); - foreach($headers as $header){ - $vlu = preg_replace(array('/^HTTP_/', '/_/'), array('', '-'), $header); - echo "$vlu={$_SERVER[$header]}\n
"; - } - } - break; - - default: - echo "unkown mode {$_GET['mode']}"; - } - } -?> \ No newline at end of file -- cgit v1.2.3