Showing the dashboard only in the desktop of the current user
This commit is contained in:
parent
7ac2bb7013
commit
46a2f085de
2 changed files with 4 additions and 2 deletions
|
@ -46,7 +46,9 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (module_exists('storm')) {
|
global $user;
|
||||||
|
|
||||||
|
if (module_exists('storm') && arg(1) == $user->uid) {
|
||||||
print '<div id="stormdesktop">' . storm_dashboard() . '</div>';
|
print '<div id="stormdesktop">' . storm_dashboard() . '</div>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name = SuiteDesk Theme
|
name = SuiteDesk Theme
|
||||||
description = SuiteDesk Theme Zen.
|
description = SuiteDesk Theme Zen.
|
||||||
version = 0.2.32
|
version = 0.2.33
|
||||||
|
|
||||||
screenshot = screenshot.png
|
screenshot = screenshot.png
|
||||||
|
|
||||||
|
|
Reference in a new issue