diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 19:54:30 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 19:54:30 +0000 |
commit | 7dd19a4cb04803f4d05fcd109b3149c6926b6558 (patch) | |
tree | d0481513061bdc2e3ce16ecb1ad49f81d0ab706f /mod/riverdashboard/views | |
parent | 172bbf136ab45a5c6e4f53f911d9901797bb0020 (diff) | |
download | elgg-7dd19a4cb04803f4d05fcd109b3149c6926b6558.tar.gz elgg-7dd19a4cb04803f4d05fcd109b3149c6926b6558.tar.bz2 |
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
Diffstat (limited to 'mod/riverdashboard/views')
-rw-r--r-- | mod/riverdashboard/views/default/riverdashboard/rivercomment.php | 2 | ||||
-rw-r--r-- | mod/riverdashboard/views/default/riverdashboard/sitemessage.php | 4 |
2 files changed, 3 insertions, 3 deletions
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 .= "</div>"; - 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; </div> 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 |