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>
|
||||
|
||||
<?php
|
||||
if (module_exists('storm')) {
|
||||
global $user;
|
||||
|
||||
if (module_exists('storm') && arg(1) == $user->uid) {
|
||||
print '<div id="stormdesktop">' . storm_dashboard() . '</div>';
|
||||
}
|
||||
?>
|
||||
|
|
Reference in a new issue