diff options
Diffstat (limited to 'mod/file/views')
-rw-r--r-- | mod/file/views/default/file/embed_upload.php | 2 | ||||
-rw-r--r-- | mod/file/views/default/file/group_module.php | 4 | ||||
-rw-r--r-- | mod/file/views/default/object/file.php | 2 | ||||
-rw-r--r-- | mod/file/views/default/widgets/filerepo/content.php | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/mod/file/views/default/file/embed_upload.php b/mod/file/views/default/file/embed_upload.php index 8536acd77..9014809c1 100644 --- a/mod/file/views/default/file/embed_upload.php +++ b/mod/file/views/default/file/embed_upload.php @@ -17,7 +17,7 @@ $(document).ready(function() { var info = jQuery.parseJSON(data); if (info.status == 'success') { - $('.popup .content').load('<?php echo elgg_get_site_url() . 'pg/embed/embed'; ?>?active_section=file'); + $('.popup .content').load('<?php echo elgg_get_site_url() . 'embed/embed'; ?>?active_section=file'); } else { $('.popup .content').find('form').prepend('<p>' + info.message + '</p>'); } diff --git a/mod/file/views/default/file/group_module.php b/mod/file/views/default/file/group_module.php index c3ca5cf9e..c82e499ec 100644 --- a/mod/file/views/default/file/group_module.php +++ b/mod/file/views/default/file/group_module.php @@ -10,7 +10,7 @@ if ($group->file_enable == "no") { } $all_link = elgg_view('output/url', array( - 'href' => "pg/file/group/$group->guid/owner", + 'href' => "file/group/$group->guid/owner", 'text' => elgg_echo('link:view:all'), )); @@ -35,7 +35,7 @@ if (!$content) { } $new_link = elgg_view('output/url', array( - 'href' => "pg/file/add/$group->guid", + 'href' => "file/add/$group->guid", 'text' => elgg_echo('file:add'), )); $content .= "<span class='elgg-widget-more'>$new_link</span>"; diff --git a/mod/file/views/default/object/file.php b/mod/file/views/default/object/file.php index 75c72e2b5..2c2a5f3af 100644 --- a/mod/file/views/default/object/file.php +++ b/mod/file/views/default/object/file.php @@ -22,7 +22,7 @@ $base_type = substr($mime, 0, strpos($mime,'/')); $body = elgg_view('output/longtext', array('value' => $file->description)); $owner_link = elgg_view('output/url', array( - 'href' => "pg/file/owner/$owner->username", + 'href' => "file/owner/$owner->username", 'text' => $owner->name, )); $author_text = elgg_echo('byline', array($owner_link)); diff --git a/mod/file/views/default/widgets/filerepo/content.php b/mod/file/views/default/widgets/filerepo/content.php index d3deece56..4288b9e56 100644 --- a/mod/file/views/default/widgets/filerepo/content.php +++ b/mod/file/views/default/widgets/filerepo/content.php @@ -21,7 +21,7 @@ $content = elgg_list_entities($options); echo $content; if ($content) { - $url = "pg/file/owner/" . elgg_get_page_owner_entity()->username; + $url = "file/owner/" . elgg_get_page_owner_entity()->username; $more_link = elgg_view('output/url', array( 'href' => $url, 'text' => elgg_echo('file:more'), |