diff --git a/README.md b/README.md index 527f54e..393b66c 100644 --- a/README.md +++ b/README.md @@ -20,17 +20,23 @@ MMVC in the **nibiru framework** stands for Modular Model-View-Controller. Modul Usage: ./nibiru [-m ] [-c ] [-h] - -m {name}: create a new module with the given name. + -m {name}: create a new module with the given name. Add -g switch if a Graylog Server present. -c {name}: create a new controller with the given name. -p {name} -m {name}: create a new plugin with the given name in the given name for the module. add -g switch if a Graylog Server present. -cache-clear: will clear the cache of the applications template_c folder. -s: check framework folders and permissions, and set them if they are not present. -mi {local|staging|production}: run migration files from application/settings/config/database/. - -mi-reset {local|staging|production}: will reset the migrations table, use only if you know what you are doing. - -mi-reset-file {filename} {local|staging|production}: will reset the migration entry for a filename e.g. mytable.sql, use only if you know what you are doing. + -mi-reset {local|staging|production}: will reset the migrations table, use only if you know what + you are doing. + -mi-reset-file {filename} {local|staging|production}: will reset the migration entry for a filename + e.g. mytable.sql, use only if you know what + you are doing. -ws {URL} -wp {PORT}: connect to a WebSocket at the given URL and port. -h: display this help message. + -new-cms-page {name} (only available with the CMS module): will create a new page with connection + to an existing template. + -delete-cms-page {name} (only available with the CMS module): will delete a CMS page with the given name. -version or -v: display the version of the nibiru binary, and the current framework version. ``` diff --git a/core/c/typecheckbox.php b/core/c/typecheckbox.php index 64084a0..94baa7f 100755 --- a/core/c/typecheckbox.php +++ b/core/c/typecheckbox.php @@ -16,7 +16,8 @@ class TypeCheckbox extends FormAttributes implements IForm self::FORM_VALUE => '', self::FORM_ATTRIBUTE_ID => '', self::FORM_ATTRIBUTE_CLASS => '', - self::FORM_ATTRIBUTE_CHECKED => '' + self::FORM_ATTRIBUTE_CHECKED => '', + self::FORM_ATTRIBUTE_DISABLED => '' ); public function loadElement( $attributes ) @@ -33,7 +34,7 @@ class TypeCheckbox extends FormAttributes implements IForm */ private function _setElement( ) { - $this->_element = '' . ' VALUE' . "\n"; + $this->_element = '' . ' VALUE' . "\n"; } diff --git a/nibiru b/nibiru old mode 100755 new mode 100644 index fcef24c..6cba2c1 Binary files a/nibiru and b/nibiru differ