mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Issue #3151 add an e_end to plugin class
V2 renamed based on Cameron suggestion
This commit is contained in:
parent
ff3dc03a81
commit
fbdbd4b1ca
@ -374,13 +374,13 @@ $show = deftrue('e_POWEREDBY_DISABLE') ? "none" : "block"; // Let search engines
|
||||
unset($show);
|
||||
echo "\n</body>\n</html>";
|
||||
|
||||
//hook into the end of page buffering
|
||||
//Load e_end.php files.
|
||||
if (!empty($pref['e_end_list']) && is_array($pref['e_end_list']))
|
||||
//hook into the end of page (usefull for example for capturing output buffering)
|
||||
//Load e_output.php files.
|
||||
if (!empty($pref['e_output_list']) && is_array($pref['e_output_list']))
|
||||
{
|
||||
foreach($pref['e_end_list'] as $val)
|
||||
foreach($pref['e_output_list'] as $val)
|
||||
{
|
||||
$fname = e_PLUGIN.$val."/e_end.php"; // Do not place inside a function - BC $pref required. .
|
||||
$fname = e_PLUGIN.$val."/e_output.php"; // Do not place inside a function - BC $pref required. .
|
||||
|
||||
if(is_readable($fname))
|
||||
{
|
||||
|
@ -76,7 +76,7 @@ class e_plugin
|
||||
'e_user',
|
||||
'e_library', // For third-party libraries are defined by plugins/themes.
|
||||
'e_gsitemap',
|
||||
'e_end', // hook into all page at the end
|
||||
'e_output', //hook into all pages at the end (after closing </html>)
|
||||
);
|
||||
|
||||
|
||||
@ -1070,7 +1070,7 @@ class e107plugin
|
||||
'e_user',
|
||||
'e_library', // For third-party libraries are defined by plugins/themes.
|
||||
'e_gsitemap',
|
||||
'e_end', // hook into all page at the end
|
||||
'e_output', //hook into all pages at the end (after closing </html>)
|
||||
);
|
||||
|
||||
|
||||
@ -1117,7 +1117,7 @@ class e107plugin
|
||||
'e_user' => "Have your plugin include data on the user-profile page.",
|
||||
'e_library' => "Include a third-party library",
|
||||
'e_parse' => "Hook into e107's text/html parser",
|
||||
'e_end' => "Hook into all page at the end"
|
||||
'e_output' => "Hook into all pages at the end (after closing </html>)"
|
||||
);
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user