From 7dd19a4cb04803f4d05fcd109b3149c6926b6558 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 2 Nov 2010 19:54:30 +0000 Subject: Refs #2463: Removed many more graituitous calls to elgg_get_site_url(), $CONFIG->url, etc. git-svn-id: http://code.elgg.org/elgg/trunk@7198 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/riverdashboard/views/default/riverdashboard/rivercomment.php | 2 +- mod/riverdashboard/views/default/riverdashboard/sitemessage.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/riverdashboard') diff --git a/mod/riverdashboard/views/default/riverdashboard/rivercomment.php b/mod/riverdashboard/views/default/riverdashboard/rivercomment.php index fdc5dd535..03bd91d10 100644 --- a/mod/riverdashboard/views/default/riverdashboard/rivercomment.php +++ b/mod/riverdashboard/views/default/riverdashboard/rivercomment.php @@ -14,5 +14,5 @@ if (isset($vars['entity']) && isloggedin()) { $form_body .= elgg_view('input/hidden', array('internalname' => 'entity_guid', 'value' => $vars['entity']->getGUID())); $form_body .= elgg_view('input/submit', array('value' => elgg_echo("Comment"))); $form_body .= ""; - echo elgg_view('input/form', array('body' => $form_body, 'action' => elgg_get_site_url()."action/comments/add")); + echo elgg_view('input/form', array('body' => $form_body, 'action' => "action/comments/add")); } \ No newline at end of file diff --git a/mod/riverdashboard/views/default/riverdashboard/sitemessage.php b/mod/riverdashboard/views/default/riverdashboard/sitemessage.php index 2d3c7aa57..443ad0fc6 100644 --- a/mod/riverdashboard/views/default/riverdashboard/sitemessage.php +++ b/mod/riverdashboard/views/default/riverdashboard/sitemessage.php @@ -49,7 +49,7 @@ if ($site_message) { EOT; //display the form - echo elgg_view('input/form', array('action' => elgg_get_site_url()."action/$action", 'body' => $form_body)); + echo elgg_view('input/form', array('action' => "action/$action", 'body' => $form_body)); }//end of admin if statement @@ -71,7 +71,7 @@ EOT; EOT; //display the form - echo elgg_view('input/form', array('action' => elgg_get_site_url()."action/$action", 'body' => $form_body)); + echo elgg_view('input/form', array('action' => "action/$action", 'body' => $form_body)); }//end of admin check }//end of main if -- cgit v1.2.3