? coder_format.inc.formatted Index: coder_format.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/coder/scripts/coder_format/coder_format.inc,v retrieving revision 1.2.4.2 diff -u -r1.2.4.2 coder_format.inc --- coder_format.inc 9 Jan 2008 13:31:12 -0000 1.2.4.2 +++ coder_format.inc 16 Jan 2008 04:44:49 -0000 @@ -830,7 +830,7 @@ '#title' => 'Convert Windows line breaks to Unix format.', '#weight' => 1, '#search' => '/\r\n/', - '#replace' => '\n', + '#replace' => "\n", ); } @@ -839,7 +839,7 @@ '#title' => 'Convert Macintosh line breaks to Unix format.', '#weight' => 2, '#search' => '/\r/', - '#replace' => '\n', + '#replace' => "\n", ); } @@ -952,14 +952,14 @@ // @bug common.inc, comment.module: // Not yet working properly 25/03/2007 sun. return array( - '#title' => 'Break array elements into separate lines, indented one level.', + /*'#title' => 'Break array elements into separate lines, indented one level.', // ([\040\t]*) matches blanks and tabs. // (.*?array\() matches anything and 'array('. // ((.+ => .+, ){3,}) matches all array items, except the last one. // (.+ => ([^\(\)]+)) matches the last array item, excluding. // arrays or functions (starting with a left parenthesis) (not supported yet). '#search' => '/^([\040\t]*)(.*?array\()((.+ => .+, ){3,})(.+ => ([^\(\)]+))\)/m', - '#replace_callback' => 'coder_replace_array_rearrange', + '#replace_callback' => 'coder_replace_array_rearrange',*/ ); } @@ -1037,6 +1037,11 @@ return htmlspecialchars($text, ENT_QUOTES); } } +if (!function_exists('conf_path')) { + function conf_path() { + return "sites/default"; + } +} /** * @} End of "defgroup coder_format_stub_functions".