Showing the dashboard only in the desktop of the current user

This commit is contained in:
Manuel Cillero 2017-08-18 00:36:34 +02:00
parent 7ac2bb7013
commit 46a2f085de
2 changed files with 4 additions and 2 deletions

View file

@ -46,7 +46,9 @@
</div>
<?php
if (module_exists('storm')) {
global $user;
if (module_exists('storm') && arg(1) == $user->uid) {
print '<div id="stormdesktop">' . storm_dashboard() . '</div>';
}
?>

View file

@ -1,6 +1,6 @@
name = SuiteDesk Theme
description = SuiteDesk Theme Zen.
version = 0.2.32
version = 0.2.33
screenshot = screenshot.png