aboutsummaryrefslogtreecommitdiff
path: root/mod/logbrowser
diff options
context:
space:
mode:
Diffstat (limited to 'mod/logbrowser')
-rw-r--r--mod/logbrowser/start.php2
-rw-r--r--mod/logbrowser/views/default/logbrowser/form.php3
-rw-r--r--mod/logbrowser/views/default/logbrowser/table.php2
3 files changed, 4 insertions, 3 deletions
diff --git a/mod/logbrowser/start.php b/mod/logbrowser/start.php
index 2bbd08980..5b4e0541e 100644
--- a/mod/logbrowser/start.php
+++ b/mod/logbrowser/start.php
@@ -23,7 +23,7 @@ function logbrowser_init() {
function logbrowser_user_hover_menu($hook, $type, $return, $params) {
$user = $params['entity'];
- $url = "pg/admin/overview/logbrowser/?user_guid={$user->guid}";
+ $url = "admin/overview/logbrowser?user_guid={$user->guid}";
$item = new ElggMenuItem('logbrowser', elgg_echo('logbrowser:explore'), $url);
$item->setSection('admin');
$return[] = $item;
diff --git a/mod/logbrowser/views/default/logbrowser/form.php b/mod/logbrowser/views/default/logbrowser/form.php
index e7c2257ce..b09fd79dd 100644
--- a/mod/logbrowser/views/default/logbrowser/form.php
+++ b/mod/logbrowser/views/default/logbrowser/form.php
@@ -54,7 +54,7 @@
$wrappedform = elgg_view('input/form', array(
'body' => $form,
'method' => 'get',
- 'action' => "pg/admin/overview/logbrowser/",
+ 'action' => "admin/overview/logbrowser",
'disable_security' => true,
));
?>
@@ -68,6 +68,7 @@
</div>
</div>
<p>
+ <?php //@todo JS 1.8: no ?>
<a class="link" href="#" onclick="elgg_slide_toggle(this,'#logbrowser-search-area','#log-browser-search-form');">
<?php echo elgg_echo('logbrowser:search'); ?>
</a>
diff --git a/mod/logbrowser/views/default/logbrowser/table.php b/mod/logbrowser/views/default/logbrowser/table.php
index 5db495fae..8b3ed5901 100644
--- a/mod/logbrowser/views/default/logbrowser/table.php
+++ b/mod/logbrowser/views/default/logbrowser/table.php
@@ -27,7 +27,7 @@ $log_entries = $vars['log_entries'];
'text' => $user->name
));
$user_guid_link = elgg_view('output/url', array(
- 'href' => elgg_get_site_url() . "pg/admin/overview/logbrowser/?user_guid=$user->guid",
+ 'href' => "admin/overview/logbrowser?user_guid=$user->guid",
'text' => $user->getGUID()
));
} else {