summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-23 23:36:07 +0400
committerAndrew Dolgov <[email protected]>2012-12-23 23:36:07 +0400
commit6cbe53c9f5e9c369977b737f897a621f00fba90b (patch)
tree604f3d1c38be8fe6e056b084da61a8df11080522 /prefs.php
parent8dcb2b47628346226b18940b5cde7849f7a24687 (diff)
add instances plugin
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/prefs.php b/prefs.php
index 74bcd4cc1..8b5541673 100644
--- a/prefs.php
+++ b/prefs.php
@@ -120,12 +120,10 @@
href="backend.php?op=pref-users"
title="<?php echo __('Users') ?>"></div>
<?php } ?>
-<?php if ($_SESSION["access_level"] >= 10 || SINGLE_USER_MODE) { ?>
- <div id="instanceConfigTab" dojoType="dijit.layout.ContentPane"
- href="backend.php?op=pref-instances"
- title="<?php echo __('Linked') ?>"></div>
-<?php } ?>
-
+<?php
+ $pluginhost->run_hooks($pluginhost::HOOK_PREFS_TABS,
+ "hook_prefs_tabs", false);
+?>
</div>
<div id="footer" dojoType="dijit.layout.ContentPane" region="bottom">