aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-15 19:09:44 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-15 19:09:44 +0000
commit458eec8196a2ec973ffc14d1dc18bbe3dec49a1c (patch)
treed9b48c3a006d7ac24f07fefacd2089ca2bebd6a9 /engine/lib
parent80ac424f0868934d6b99d2f47d8479afe3a133ae (diff)
downloadelgg-458eec8196a2ec973ffc14d1dc18bbe3dec49a1c.tar.gz
elgg-458eec8196a2ec973ffc14d1dc18bbe3dec49a1c.tar.bz2
latest activity link removed as it will be replaced by a full activity stream
git-svn-id: https://code.elgg.org/elgg/trunk@2756 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/elgglib.php44
1 files changed, 22 insertions, 22 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 71cf2ae51..e21e30e25 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -309,7 +309,7 @@
// If it's been requested, pass off to a template handler instead
if ($bypass == false && isset($CONFIG->template_handler) && !empty($CONFIG->template_handler)) {
- $template_handler = $CONFIG->template_handler;
+ $template_handler = $CONFIG->template_handler;
if (is_callable($template_handler))
return $template_handler($view, $vars);
}
@@ -1479,10 +1479,10 @@
}
/**
- * Triggers a plugin hook, with various parameters as an array. For example, to provide
- * a 'foo' hook that concerns an entity of type 'bar', with a parameter called 'param1'
- * with value 'value1', that by default returns true, you'd call:
- *
+ * Triggers a plugin hook, with various parameters as an array. For example, to provide
+ * a 'foo' hook that concerns an entity of type 'bar', with a parameter called 'param1'
+ * with value 'value1', that by default returns true, you'd call:
+ *
* trigger_plugin_hook('foo', 'bar', array('param1' => 'value1'), true);
*
* @see register_plugin_hook
@@ -2101,29 +2101,29 @@
// Menu
global $CONFIG;
- add_menu(elgg_echo('content:latest'), $CONFIG->wwwroot . 'dashboard/latest.php');
+ //add_menu(elgg_echo('content:latest'), $CONFIG->wwwroot . 'dashboard/latest.php');
// Page handler for JS
- register_page_handler('js','js_page_handler');
+ register_page_handler('js','js_page_handler');
extend_view('js/initialise_elgg','embed/js');
// Register an event triggered at system shutdown
register_shutdown_function('__elgg_shutdown_hook');
}
-
- function elgg_boot() {
-
- // Actions
- register_action('comments/add');
- register_action('comments/delete');
- }
-
- /**
- * Some useful constant definitions
- */
- define('ACCESS_PRIVATE',0);
- define('ACCESS_LOGGED_IN',1);
- define('ACCESS_PUBLIC',2);
- register_elgg_event_handler('init','system','elgg_init');
+ function elgg_boot() {
+
+ // Actions
+ register_action('comments/add');
+ register_action('comments/delete');
+ }
+
+ /**
+ * Some useful constant definitions
+ */
+ define('ACCESS_PRIVATE',0);
+ define('ACCESS_LOGGED_IN',1);
+ define('ACCESS_PUBLIC',2);
+
+ register_elgg_event_handler('init','system','elgg_init');
register_elgg_event_handler('boot','system','elgg_boot');
?> \ No newline at end of file