preformated text is harder to read, when output is centered.
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 14 Apr 2005 16:33:16 +0000 (16:33 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 14 Apr 2005 16:33:16 +0000 (16:33 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9272 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/strings.php

index bd17965..10b5dae 100644 (file)
@@ -881,9 +881,9 @@ function sm_print_r() {
     }
     $buffer = ob_get_contents(); // Grab the print_r output
     ob_end_clean();  // Silently discard the output & stop buffering
-    print '<pre>';
+    print '<div align="left"><pre>';
     print htmlentities($buffer);
-    print '</pre>';
+    print '</pre></div>';
 }
 
 /**