Changeset 402286
- Timestamp:
- 06/29/2011 12:35:44 AM (15 years ago)
- Location:
- hyphenator
- Files:
-
- 1 edited
- 1 copied
-
tags/3.3.0/plugin.php (copied) (copied from hyphenator/trunk/plugin.php) (3 diffs)
-
trunk/plugin.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hyphenator/tags/3.3.0/plugin.php
r402275 r402286 31 31 32 32 // load gettext files 33 load_plugin_textdomain( hyphenator, PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)), dirname(plugin_basename(__FILE__)).'/languages/');33 load_plugin_textdomain('hyphenator', PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)), dirname(plugin_basename(__FILE__)).'/languages/'); 34 34 35 35 … … 67 67 $hyphenatorHead .= "\n\t<script src=\"{$js_path}/Hyphenator.js\" type=\"text/javascript\"></script>"; 68 68 69 if ($hyphenator_languages != auto&& $hyphenator_languages != '') {69 if ($hyphenator_languages != 'auto' && $hyphenator_languages != '') { 70 70 foreach ($hyphenator_languages as $hyphenator_languages_lang) { 71 71 $hyphenatorHead .= "\n\t<script src=\"{$js_path}/patterns/{$hyphenator_languages_lang}.js\" type=\"text/javascript\"></script>"; … … 74 74 75 75 $hyphenatorHead .= "\n\t<script type=\"text/javascript\">"; 76 77 $hyphenatorHeadConfig = ''; 76 78 77 79 if ($hyphenator_minwordlenght != '' && $hyphenator_minwordlenght != 6) { -
hyphenator/trunk/plugin.php
r402275 r402286 31 31 32 32 // load gettext files 33 load_plugin_textdomain( hyphenator, PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)), dirname(plugin_basename(__FILE__)).'/languages/');33 load_plugin_textdomain('hyphenator', PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)), dirname(plugin_basename(__FILE__)).'/languages/'); 34 34 35 35 … … 67 67 $hyphenatorHead .= "\n\t<script src=\"{$js_path}/Hyphenator.js\" type=\"text/javascript\"></script>"; 68 68 69 if ($hyphenator_languages != auto&& $hyphenator_languages != '') {69 if ($hyphenator_languages != 'auto' && $hyphenator_languages != '') { 70 70 foreach ($hyphenator_languages as $hyphenator_languages_lang) { 71 71 $hyphenatorHead .= "\n\t<script src=\"{$js_path}/patterns/{$hyphenator_languages_lang}.js\" type=\"text/javascript\"></script>"; … … 74 74 75 75 $hyphenatorHead .= "\n\t<script type=\"text/javascript\">"; 76 77 $hyphenatorHeadConfig = ''; 76 78 77 79 if ($hyphenator_minwordlenght != '' && $hyphenator_minwordlenght != 6) {
Note: See TracChangeset
for help on using the changeset viewer.