Ignore:
Timestamp:
Jan 8, 2007, 1:16:10 AM (17 years ago)
Author:
rub
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/site_manager.php

    r1654 r1699  
    206206
    207207$template->assign_vars( array(
    208   'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=remote_site',
     208  'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=site_manager',
    209209  'F_ACTION' => PHPWG_ROOT_PATH.'admin.php'
    210210                .get_query_string_diff( array('action','site') )
     
    294294        );
    295295  }
     296 
     297  $plugin_links = array();
     298  //$plugin_links is array of array composed of U_HREF, U_HINT & U_CAPTION
     299  $plugin_links =
     300    trigger_event('array_site_manager_plugin_links',
     301      $plugin_links, $row['id'], $is_remote);
     302
     303  // plugin_links
     304  if (count($plugin_links) > 0)
     305  {
     306    foreach ($plugin_links as $plugin_link)
     307    {
     308      $template->assign_block_vars('sites.site.plugin_links.plugin_link', $plugin_link);
     309    }
     310  }
     311
    296312}
    297313
Note: See TracChangeset for help on using the changeset viewer.