diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-06 19:28:37 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-06 19:28:37 -0700 |
| commit | 144a0d7d34d1d56aebd990f0fed8a4ef1633665d (patch) | |
| tree | ccf09b450468999e9b0a43efc92c70444caf857c /modules/organize/helpers/organize_theme.php | |
| parent | 362b4d70f72fa6baed15bd323a2ca5deea7d6ab3 (diff) | |
| parent | 6e4023a7207b721694403f38d6afb7a507468498 (diff) | |
trying to restore the branch from a failed revert
Diffstat (limited to 'modules/organize/helpers/organize_theme.php')
| -rw-r--r-- | modules/organize/helpers/organize_theme.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/organize/helpers/organize_theme.php b/modules/organize/helpers/organize_theme.php index f01ab88b..0fd117c3 100644 --- a/modules/organize/helpers/organize_theme.php +++ b/modules/organize/helpers/organize_theme.php @@ -19,8 +19,9 @@ */ class organize_theme { static function head($theme) { - //$theme->script("organize_init.js"); - $theme->script("organize.js"); - $theme->css("organize.css"); + if (access::can("view", $theme->item()) && access::can("edit", $theme->item())) { + $theme->script("organize.js"); + $theme->css("organize.css"); + } } } |
