From 98c868589ee0757f176239cf289cbd007bb74852 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 17 Feb 2006 23:20:40 +0100 Subject: file cleanups This patch cleans up the source code to satisfy the coding guidelines (see http://wiki.splitbrain.org/wiki:development#coding_style) It converts files to UNIX lineendings and removes tabs and trailing whitespace. Not all files were cleaned yet. darcs-hash:20060217222040-7ad00-bba3d2bee3b5aa7cbb5184258abd50805cd071bf.gz --- inc/toolbar.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'inc/toolbar.php') diff --git a/inc/toolbar.php b/inc/toolbar.php index 51dfa5b0d..12366af42 100644 --- a/inc/toolbar.php +++ b/inc/toolbar.php @@ -1,7 +1,7 @@ */ @@ -21,9 +21,9 @@ require_once(DOKU_INC.'inc/JSON.php'); function toolbar_JSdefines($varname){ global $ID; global $conf; - global $lang; + global $lang; - // build button array + // build button array $menu = array( array( 'type' => 'format', @@ -169,7 +169,7 @@ function toolbar_JSdefines($varname){ 'key' => 'y', ), ); - + // use JSON to build the JavaScript array $json = new JSON(); print "var $varname = ".$json->encode($menu).";\n"; -- cgit v1.2.3