diff --git a/bl-kernel/admin/controllers/configure-plugin.php b/bl-kernel/admin/controllers/plugins-settings.php
similarity index 100%
rename from bl-kernel/admin/controllers/configure-plugin.php
rename to bl-kernel/admin/controllers/plugins-settings.php
diff --git a/bl-kernel/admin/themes/booty/css/bludit.css b/bl-kernel/admin/themes/booty/css/bludit.css
index 328f922e..a56bd26f 100644
--- a/bl-kernel/admin/themes/booty/css/bludit.css
+++ b/bl-kernel/admin/themes/booty/css/bludit.css
@@ -27,6 +27,16 @@ div.sidebar .nav-item h4 {
cursor: pointer;
}
+.link {
+ cursor: pointer;
+ text-decoration: underline;
+ color: #555;
+}
+
+.link:hover {
+ color: #0a58ca;
+}
+
/*
OLD >>>>>>>>>
*/
diff --git a/bl-kernel/admin/views/content.php b/bl-kernel/admin/views/content.php
index 9e296086..136b9a02 100644
--- a/bl-kernel/admin/views/content.php
+++ b/bl-kernel/admin/views/content.php
@@ -72,31 +72,24 @@ function table($type)
echo '
-
-
- ' . $L->g('Options') . '
-
-
-
- ';
+ echo '
-
-
- ' . $L->g('Options') . '
-
-
-
- ';
+ echo '
-
-
- ' . $L->g('Options') . '
-
-
-
- ';
+ echo '
-
-
-
- 'username',
- 'label' => $L->g('Username'),
- 'value' => $user->username(),
- 'disabled' => true
- ));
-
- if ($login->role() === 'admin') {
- echo Bootstrap::formSelect(array(
- 'name' => 'role',
- 'label' => $L->g('Role'),
- 'options' => array('author' => $L->g('Author'), 'editor' => $L->g('Editor'), 'admin' => $L->g('Administrator')),
- 'selected' => $user->role(),
- 'tip' => $L->g('author-can-write-and-edit-their-own-content')
- ));
- }
-
- echo Bootstrap::formInputText(array(
- 'name' => 'email',
- 'label' => $L->g('Email'),
- 'value' => $user->email()
- ));
-
- echo Bootstrap::formInputText(array(
- 'name' => 'nickname',
- 'label' => $L->g('Nickname'),
- 'value' => $user->nickname(),
- 'tip' => $L->g('The nickname is almost used in the themes to display the author of the content')
- ));
-
- echo Bootstrap::formInputText(array(
- 'name' => 'firstName',
- 'label' => $L->g('First Name'),
- 'value' => $user->firstName()
- ));
-
- echo Bootstrap::formInputText(array(
- 'name' => 'lastName',
- 'label' => $L->g('Last Name'),
- 'value' => $user->lastName()
- ));
- ?>
-
-
-
-
-
-
-
-
-
-
-
- p('Upload image'); ?>
- p('Remove image'); ?>
-
-
-
-
-
-
-
-
- $L->g('Status')));
-
- echo Bootstrap::formInputText(array(
- 'name' => 'status',
- 'label' => $L->g('Current status'),
- 'value' => $user->enabled() ? $L->g('Enabled') : $L->g('Disabled'),
- 'disabled' => true,
- 'tip' => $user->enabled() ? '' : $L->g('To enable the user you must set a new password')
- ));
-
- echo Bootstrap::formInputText(array(
- 'name' => 'registered',
- 'label' => $L->g('Registered'),
- 'value' => Date::format($user->registered(), DB_DATE_FORMAT, ADMIN_PANEL_DATE_FORMAT),
- 'disabled' => true
- ));
-
- if ($user->enabled()) {
- echo '
-
- ';
- }
- }
-
- echo Bootstrap::formTitle(array('title' => $L->g('Authentication Token')));
-
- echo Bootstrap::formInputText(array(
- 'name' => 'tokenAuth',
- 'label' => $L->g('Token'),
- 'value' => $user->tokenAuth(),
- 'class' => '',
- 'tip' => $L->g('this-token-is-similar-to-a-password-it-should-not-be-shared')
- ));
-
- echo Bootstrap::formTitle(array('title' => $L->g('Change password')));
-
- echo Bootstrap::formInputText(array(
- 'name' => 'newPassword',
- 'label' => $L->g('New password'),
- 'type' => 'password',
- 'value' => '',
- ));
-
- echo Bootstrap::formInputText(array(
- 'name' => 'confirmPassword',
- 'label' => $L->g('Confirm password'),
- 'type' => 'password',
- 'value' => '',
- ));
- ?>
-
-
-
-
-
- 'twitter',
- 'label' => 'Twitter',
- 'value' => $user->twitter(),
- 'class' => '',
- 'placeholder' => '',
- 'tip' => ''
- ));
-
- echo Bootstrap::formInputText(array(
- 'name' => 'facebook',
- 'label' => 'Facebook',
- 'value' => $user->facebook(),
- 'class' => '',
- 'placeholder' => '',
- 'tip' => ''
- ));
-
- echo Bootstrap::formInputText(array(
- 'name' => 'codepen',
- 'label' => 'CodePen',
- 'value' => $user->codepen(),
- 'class' => '',
- 'placeholder' => '',
- 'tip' => ''
- ));
-
- echo Bootstrap::formInputText(array(
- 'name' => 'instagram',
- 'label' => 'Instagram',
- 'value' => $user->instagram(),
- 'class' => '',
- 'placeholder' => '',
- 'tip' => ''
- ));
-
- echo Bootstrap::formInputText(array(
- 'name' => 'gitlab',
- 'label' => 'GitLab',
- 'value' => $user->gitlab(),
- 'class' => '',
- 'placeholder' => '',
- 'tip' => ''
- ));
-
- echo Bootstrap::formInputText(array(
- 'name' => 'github',
- 'label' => 'GitHub',
- 'value' => $user->github(),
- 'class' => '',
- 'placeholder' => '',
- 'tip' => ''
- ));
-
- echo Bootstrap::formInputText(array(
- 'name' => 'linkedin',
- 'label' => 'LinkedIn',
- 'value' => $user->linkedin(),
- 'class' => '',
- 'placeholder' => '',
- 'tip' => ''
- ));
-
- echo Bootstrap::formInputText(array(
- 'name' => 'xing',
- 'label' => 'Xing',
- 'value' => $user->xing(),
- 'class' => '',
- 'placeholder' => '',
- 'tip' => ''
- ));
-
- echo Bootstrap::formInputText(array(
- 'name' => 'mastodon',
- 'label' => 'Mastodon',
- 'value' => $user->mastodon(),
- 'class' => '',
- 'placeholder' => '',
- 'tip' => ''
- ));
-
- echo Bootstrap::formInputText(array(
- 'name' => 'vk',
- 'label' => 'VK',
- 'value' => $user->vk(),
- 'class' => '',
- 'placeholder' => '',
- 'tip' => ''
- ));
- ?>
-
-
-
\ No newline at end of file
+
+ // ============================================================================
+ // Initlization for the view
+ // ============================================================================
+ $(document).ready(function() {
+ // nothing here yet
+ // how do you hang your toilet paper ? over or under ?
+ });
+
+
+
+
+
+
+ 'username',
+ 'label' => $L->g('Username'),
+ 'value' => $user->username(),
+ 'disabled' => true
+ ));
+
+ if ($login->role() === 'admin') {
+ echo Bootstrap::formSelect(array(
+ 'name' => 'role',
+ 'label' => $L->g('Role'),
+ 'options' => array('author' => $L->g('Author'), 'editor' => $L->g('Editor'), 'admin' => $L->g('Administrator')),
+ 'selected' => $user->role(),
+ 'tip' => $L->g('author-can-write-and-edit-their-own-content')
+ ));
+ }
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'email',
+ 'label' => $L->g('Email'),
+ 'value' => $user->email(),
+ 'data' => array('save' => 'true')
+ ));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'nickname',
+ 'label' => $L->g('Nickname'),
+ 'value' => $user->nickname(),
+ 'tip' => $L->g('The nickname is almost used in the themes to display the author of the content'),
+ 'data' => array('save' => 'true')
+ ));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'firstName',
+ 'label' => $L->g('First Name'),
+ 'value' => $user->firstName(),
+ 'data' => array('save' => 'true')
+ ));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'lastName',
+ 'label' => $L->g('Last Name'),
+ 'value' => $user->lastName(),
+ 'data' => array('save' => 'true')
+ ));
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+ p('Upload image'); ?>
+ p('Remove image'); ?>
+
+
+
+
+
+
+
+
+ $L->g('Status')));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'status',
+ 'label' => $L->g('Current status'),
+ 'value' => $user->enabled() ? $L->g('Enabled') : $L->g('Disabled'),
+ 'disabled' => true,
+ 'tip' => $user->enabled() ? '' : $L->g('To enable the user you must set a new password')
+ ));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'registered',
+ 'label' => $L->g('Registered'),
+ 'value' => Date::format($user->registered(), DB_DATE_FORMAT, ADMIN_PANEL_DATE_FORMAT),
+ 'disabled' => true
+ ));
+
+ if ($user->enabled()) {
+ echo '
+
+ ';
+ }
+ }
+
+ echo Bootstrap::formTitle(array('title' => $L->g('Authentication Token')));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'tokenAuth',
+ 'label' => $L->g('Token'),
+ 'value' => $user->tokenAuth(),
+ 'tip' => $L->g('this-token-is-similar-to-a-password-it-should-not-be-shared')
+ ));
+
+ echo Bootstrap::formTitle(array('title' => $L->g('Change password')));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'newPassword',
+ 'label' => $L->g('New password'),
+ 'type' => 'password',
+ 'value' => ''
+ ));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'confirmPassword',
+ 'label' => $L->g('Confirm password'),
+ 'type' => 'password',
+ 'value' => ''
+ ));
+ ?>
+
+
+
+
+
+ 'youtube',
+ 'label' => 'Youtube',
+ 'value' => $user->youtube(),
+ 'data' => array('save' => 'true')
+ ));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'twitter',
+ 'label' => 'Twitter',
+ 'value' => $user->twitter(),
+ 'data' => array('save' => 'true')
+ ));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'facebook',
+ 'label' => 'Facebook',
+ 'value' => $user->facebook(),
+ 'data' => array('save' => 'true')
+ ));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'codepen',
+ 'label' => 'CodePen',
+ 'value' => $user->codepen(),
+ 'data' => array('save' => 'true')
+ ));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'instagram',
+ 'label' => 'Instagram',
+ 'value' => $user->instagram(),
+ 'data' => array('save' => 'true')
+ ));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'gitlab',
+ 'label' => 'GitLab',
+ 'value' => $user->gitlab(),
+ 'data' => array('save' => 'true')
+ ));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'github',
+ 'label' => 'GitHub',
+ 'value' => $user->github(),
+ 'data' => array('save' => 'true')
+ ));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'linkedin',
+ 'label' => 'LinkedIn',
+ 'value' => $user->linkedin(),
+ 'data' => array('save' => 'true')
+ ));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'xing',
+ 'label' => 'Xing',
+ 'value' => $user->xing(),
+ 'data' => array('save' => 'true')
+ ));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'mastodon',
+ 'label' => 'Mastodon',
+ 'value' => $user->mastodon(),
+ 'data' => array('save' => 'true')
+ ));
+
+ echo Bootstrap::formInputText(array(
+ 'name' => 'vk',
+ 'label' => 'VK',
+ 'value' => $user->vk(),
+ 'data' => array('save' => 'true')
+ ));
+ ?>
+
+
diff --git a/bl-kernel/admin/views/configure-plugin.php b/bl-kernel/admin/views/plugins-settings.php
similarity index 100%
rename from bl-kernel/admin/views/configure-plugin.php
rename to bl-kernel/admin/views/plugins-settings.php
diff --git a/bl-kernel/admin/views/plugins.php b/bl-kernel/admin/views/plugins.php
index 7e3fe6c9..fb3b5111 100644
--- a/bl-kernel/admin/views/plugins.php
+++ b/bl-kernel/admin/views/plugins.php
@@ -1,69 +1,108 @@
-
-echo Bootstrap::pageTitle(array('title'=>$L->g('Plugins'), 'icon'=>'puzzle-piece'));
-
-// echo Bootstrap::link(array(
-// 'title'=>$L->g('Change the position of the plugins'),
-// 'href'=>HTML_PATH_ADMIN_ROOT.'plugins-position',
-// 'icon'=>'arrows'
-// ));
-
-echo Bootstrap::formTitle(array('title'=>$L->g('Search plugins')));
-
-?>
-
-