Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update managerui #87

Merged
merged 3 commits into from
Apr 5, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions dist/twist/Core/Controllers/Manager.controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ public function dashboard(){
$arrTags['version'] = \Twist::version();

if(count($arrLatestVersion) && array_key_exists('stable',$arrLatestVersion)){
$arrTags['version_status'] = (\Twist::version() == $arrLatestVersion['stable']['version']) ? '<span class="success">Twist is Up-to-date</span>' : '<span class="warning">A new version of TwistPHP is available, <a href="https://twistphp.com/">download from twist.com</a>!</span>';
$arrTags['version_status'] = (\Twist::version() == $arrLatestVersion['stable']['version']) ? '<span class="tag green">Twist is Up-to-date</span>' : 'A new version of TwistPHP is available [<a href="https://github.com/TwistPHP/TwistPHP/releases" target="_blank">download it now</a>]';
}else{
$arrTags['version_status'] = '<span class="error">Failed to retrieve version information, try again later!</span>';
$arrTags['version_status'] = '<span class="tag red">Failed to retrieve version information, try again later!</span>';
}

$objCodeScanner = new \Twist\Core\Models\Security\CodeScanner();
Expand All @@ -105,7 +105,7 @@ public function dashboard(){

$strUsersTable = sprintf('%susers',TWIST_DATABASE_TABLE_PREFIX);

$arrTags['user-accounts'] = sprintf('<strong>%d</strong> Superadmin,<br><strong>%d</strong> Admin,<br><strong>%d</strong> Advanced,<br><strong>%d</strong> Member',
$arrTags['user-accounts'] = sprintf('<strong>%d</strong> Superadmin<br><strong>%d</strong> Admin<br><strong>%d</strong> Advanced<br><strong>%d</strong> Member',
\Twist::Database()->records($strUsersTable)->count(\Twist::framework()->setting('USER_LEVEL_SUPERADMIN'),'level'),
\Twist::Database()->records($strUsersTable)->count(\Twist::framework()->setting('USER_LEVEL_ADMIN'),'level'),
\Twist::Database()->records($strUsersTable)->count(\Twist::framework()->setting('USER_LEVEL_ADVANCED'),'level'),
Expand Down
27 changes: 0 additions & 27 deletions dist/twist/Core/Resources/twist/manager/css/twist-manager.min.css

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.