1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-07 13:46:47 +02:00

Users Plugin: Improvements

This commit is contained in:
Awilum
2014-01-15 00:39:00 +02:00
parent fa00499d93
commit 5e06c10ef9
5 changed files with 56 additions and 64 deletions

View File

@@ -1,14 +1,5 @@
<?php
// Check if is user is logged in then set variables for welcome button
if (Session::exists('user_id')) {
$user_id = Session::get('user_id');
$user_login = Session::get('user_login');
} else {
$user_id = '';
$user_login = '';
}
// Add plugin navigation link
Navigation::add(__('Users', 'users'), 'system', 'users', 2);