From bccd3953f19d9eb3fe618fe95c66ad8902f4c8d6 Mon Sep 17 00:00:00 2001 From: Alex Marin Date: Tue, 1 May 2012 16:42:42 +0300 Subject: [PATCH] Export excel coding style: wrap long lines --- libraries/export/excel.php | 38 ++++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/libraries/export/excel.php b/libraries/export/excel.php index 01507e5b65..f1558f3b67 100644 --- a/libraries/export/excel.php +++ b/libraries/export/excel.php @@ -19,10 +19,27 @@ if (isset($plugin_list)) { 'extension' => 'csv', 'mime_type' => 'text/comma-separated-values', 'options' => array( - array('type' => 'begin_group', 'name' => 'general_opts'), - array('type' => 'text', 'name' => 'null', 'text' => __('Replace NULL with:')), - array('type' => 'bool', 'name' => 'removeCRLF', 'text' => __('Remove carriage return/line feed characters within columns')), - array('type' => 'bool', 'name' => 'columns', 'text' => __('Put columns names in the first row')), + array( + 'type' => 'begin_group', + 'name' => 'general_opts' + ), + array( + 'type' => 'text', + 'name' => 'null', + 'text' => __('Replace NULL with:') + ), + array( + 'type' => 'bool', + 'name' => 'removeCRLF', + 'text' => __( + 'Remove carriage return/line feed characters within columns' + ) + ), + array( + 'type' => 'bool', + 'name' => 'columns', + 'text' => __('Put columns names in the first row') + ), array( 'type' => 'select', 'name' => 'edition', @@ -31,11 +48,16 @@ if (isset($plugin_list)) { 'mac_excel2003' => 'Excel 2003 / Macintosh', 'mac_excel2008' => 'Excel 2008 / Macintosh'), 'text' => __('Excel edition:')), - array('type' => 'hidden', 'name' => 'structure_or_data'), - array('type' => 'end_group'), - ), + array( + 'type' => 'hidden', + 'name' => 'structure_or_data' + ), + array( + 'type' => 'end_group' + ), + ), 'options_text' => __('Options'), - ); + ); } else { /* Everything rest is coded in csv plugin */ include './libraries/export/csv.php';