diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d9e0171 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +shConcatened*.js +shThemeConcatened*.css diff --git a/_define.php b/_define.php index bc3cdbe..0c91d4a 100755 --- a/_define.php +++ b/_define.php @@ -26,7 +26,7 @@ $this->registerModule( /* Name */ "YASH Fork", /* Description*/ "Fork of Yet Another Syntax Highlighter. Modification: Juste one javascript called on public pages for yash3", /* Author */ "Forked and modified by Gnieark, origin Pep and contributors", - /* Version */ '0.7', + /* Version */ '0.7.1', array( /* Dependencies */ 'requires' => array(array('core','2.9')), /* Permissions */ 'permissions' => 'contentadmin', diff --git a/_public.php b/_public.php index 7623973..51af879 100755 --- a/_public.php +++ b/_public.php @@ -51,7 +51,8 @@ class dcYASH $core->blog->settings->addNamespace('yash3'); if ($core->blog->settings->yash3->yash3_active){ - echo dcUtils::jsLoad($core->blog->getPF('yash3/syntaxhighlighter/js/shConcatened.js')); + echo dcUtils::jsLoad($core->blog->getPF('yash3/syntaxhighlighter/js/shConcatened'. + $core->blog->settings->yash3->yash3_concat_version.'.js')); } } }