diff --git a/xExtension-CustomCSS/README.md b/xExtension-CustomCSS/README.md index 672fa45..124486d 100644 --- a/xExtension-CustomCSS/README.md +++ b/xExtension-CustomCSS/README.md @@ -6,5 +6,5 @@ To use it, upload this directory in your `./extensions` directory and enable it ## Changelog -- 0.2 added file permission check and german translation +- 0.2 added file permission check, added german translation, removed un-editable file static/style.css - 0.1 initial version \ No newline at end of file diff --git a/xExtension-CustomCSS/extension.php b/xExtension-CustomCSS/extension.php index aaae17b..6860e3d 100644 --- a/xExtension-CustomCSS/extension.php +++ b/xExtension-CustomCSS/extension.php @@ -3,7 +3,6 @@ class CustomCSSExtension extends Minz_Extension { public function init() { $this->registerTranslates(); - Minz_View::appendStyle($this->getFileUrl('style.css', 'css')); $current_user = Minz_Session::param('currentUser'); $filename = 'style.' . $current_user . '.css'; diff --git a/xExtension-CustomCSS/static/style.css b/xExtension-CustomCSS/static/style.css deleted file mode 100644 index 2b94c37..0000000 --- a/xExtension-CustomCSS/static/style.css +++ /dev/null @@ -1,4 +0,0 @@ -textarea#css-rules { - width: 500px; - height: 500px; -}