aboutsummaryrefslogtreecommitdiffstats
path: root/admin/site_manager.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-01-08 00:16:10 +0000
committerrub <rub@piwigo.org>2007-01-08 00:16:10 +0000
commit4489066c982c1044028295164ec2f2e840c16881 (patch)
tree9dbe71687d9ac6743b7137b45c943d15eb28e045 /admin/site_manager.php
parentf992150313a63d30aeda6e5f3dcd64fc62a06adb (diff)
Feature Issue ID 0000496: Integrate MOD add_index on PWG with plugin.lang.php
Add some plugin triggers: o for help o for language o for site manager o for advanced features Allow to launch directly plugin page (without section key) Add add_index plugin, available on site manager and advanced features Configuration page and best help must be coming soon. git-svn-id: http://piwigo.org/svn/trunk@1699 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/site_manager.php18
1 files changed, 17 insertions, 1 deletions
diff --git a/admin/site_manager.php b/admin/site_manager.php
index aa0ad5f31..53330d7f9 100644
--- a/admin/site_manager.php
+++ b/admin/site_manager.php
@@ -205,7 +205,7 @@ SELECT galleries_url
}
$template->assign_vars( array(
- 'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=remote_site',
+ 'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=site_manager',
'F_ACTION' => PHPWG_ROOT_PATH.'admin.php'
.get_query_string_diff( array('action','site') )
) );
@@ -293,6 +293,22 @@ while ($row = mysql_fetch_array($result))
)
);
}
+
+ $plugin_links = array();
+ //$plugin_links is array of array composed of U_HREF, U_HINT & U_CAPTION
+ $plugin_links =
+ trigger_event('array_site_manager_plugin_links',
+ $plugin_links, $row['id'], $is_remote);
+
+ // plugin_links
+ if (count($plugin_links) > 0)
+ {
+ foreach ($plugin_links as $plugin_link)
+ {
+ $template->assign_block_vars('sites.site.plugin_links.plugin_link', $plugin_link);
+ }
+ }
+
}
if ( isset($local_listing_site_url) and !isset($local_listing_site_id) )