Only in geshismf_2-0/: geshismf_2-0.zip
diff -ur geshismf_orig/install.xml geshismf_2-0/install.xml
--- geshismf_orig/install.xml 2006-12-17 05:07:58.000000000 +1100
+++ geshismf_2-0/install.xml 2007-11-23 15:13:15.000000000 +1100
@@ -9,7 +9,7 @@
array(
'tag' => 'code',
'type' => 'unparsed_content',
- 'content' => '
' . ($context['browser']['is_gecko'] ? '
$1
' : '$1') . '
',
+ 'content' => '' . ($context['browser']['is_gecko'] ? '
$1
' : '$1') . '
',
// !!! Maybe this can be simplified?
'validate' => isset($disabled['code']) ? null : create_function('&$tag, &$data, $disabled', '
global $context;
@@ -47,7 +47,7 @@
array(
'tag' => 'code',
'type' => 'unparsed_equals_content',
- 'content' => '' . ($context['browser']['is_gecko'] ? '
$1
' : '$1') . '
',
+ 'content' => '' . ($context['browser']['is_gecko'] ? '
$1
' : '$1') . '
',
// !!! Maybe this can be simplified?
'validate' => isset($disabled['code']) ? null : create_function('&$tag, &$data, $disabled', '
global $context;
@@ -87,7 +87,7 @@
array(
'tag' => 'code',
'type' => 'unparsed_content',
- 'content' => '' . ($context['browser']['is_gecko'] ? '
$1
' : '$1') . '
',
+ 'content' => '' . ($context['browser']['is_gecko'] ? '
$1
' : '$1') . '
',
// !!! Maybe this can be simplified?
'validate' => isset($disabled['code']) ? null : create_function('&$tag, &$data, $disabled', '
global $context;
@@ -105,10 +105,11 @@
array(
'tag' => 'code',
'type' => 'unparsed_equals_content',
- 'content' => '$1',
+ 'content' => '$1',
'block_level' => true,
'validate' => isset($disabled['code']) ? null : create_function('&$tag, &$data, $disabled', '
-
+ global $settings;
+
// Show headers and footers from the settings, default to true.
$enable_header = isset($settings[\'geshi_enable_header\']) ? $settings[\'geshi_enable_header\'] : true;
$enable_footer = isset($settings[\'geshi_enable_footer\']) ? $settings[\'geshi_enable_footer\'] : true;
@@ -122,7 +123,7 @@
);
$data[0] = un_htmlspecialchars($data[0]);
- include_once(\'geshi/geshi.php\');
+ require_once(\'geshi/geshi.php\');
global $sourcedir, $settings;
$data[1] = explode(\',\', $data[1]);
@@ -137,7 +138,7 @@
$geshi->set_overall_class(\'geshi\');
- $numbering = $settings[\'geshi_numbering\'] ? GESHI_FANCY_LINE_NUMBERS : GESHI_NO_LINE_NUMBERS;
+ $numbering = !empty($settings[\'geshi_numbering\']) ? GESHI_FANCY_LINE_NUMBERS : GESHI_NO_LINE_NUMBERS;
$geshi->enable_line_numbers($settings[\'geshi_numbering\']);
if($enable_header){
@@ -155,7 +156,7 @@
]]>
-
+
-
-
-
-
-
-
-
-
+
$tag)
{
// Is there a "before" part for this bbc button? If not, it can't be a button!!
@@ -215,15 +194,8 @@
$found_button = true;
- // If there's no after, we're just replacing the entire selection in the post box.
- if (!isset($tag['after']))
- echo '';
- // On the other hand, if there is one we are surrounding the selection ;).
- else
- echo '';
-
// Okay... we have the link. Now for the image and the closing !
- echo '';
+ echo '';
}
// I guess it's a divider...
elseif ($found_button)
@@ -296,94 +268,8 @@
]]>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ';
-]]>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ';
-]]>
-
-
-
+
+
-
+
GeSHiSmf
0.1.4
modification
-
+
README
install.xml
-
+
install.xml