Merge pull request #51 from FinesseRus/patch-1
[plcapi.git] / debugger / index.php
index ace7460..eff10ea 100644 (file)
@@ -1,21 +1,21 @@
 <?php
-// $Id$
-  $query = '';
-  if (isset($_GET['run']))
-  {
+$query = '';
+if (isset($_GET['run'])) {
     $path = parse_url($_GET['run']);
-    if (isset($path['query']))
-      $query = '?'.$path['query'];
-  }
+    if (isset($path['query'])) {
+        $query = '?' . $path['query'];
+    }
+}
 ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
 <html>
 <head>
-<title>XMLRPC Debugger</title>
+    <title>XMLRPC Debugger</title>
 </head>
 <frameset rows="360,*">
-  <frame name="frmcontroller" src="controller.php<?php echo htmlspecialchars($query); ?>" marginwidth="0" marginheight="0" frameborder="0" />
-  <frame name="frmaction" src="action.php" marginwidth="0" marginheight="0" frameborder="0" />
+    <frame name="frmcontroller" src="controller.php<?php echo htmlspecialchars($query); ?>" marginwidth="0"
+           marginheight="0" frameborder="0"/>
+    <frame name="frmaction" src="action.php" marginwidth="0" marginheight="0" frameborder="0"/>
 </frameset>
-</html>
\ No newline at end of file
+</html>