Commit 61af4b1c authored by Janice's avatar Janice
Browse files

Bug#1100024 Relocated Shared pages & edited string



I created a new string to replace "Share" in "Portfolio" to
"Shared by me"
I also moved "Shared pages" from "Groups" to "Portfolio" and
renamed it "Shared with me". This is located between "Shared by me"
and "Export"

Change-Id: I5bb0a002ff1f41305334a7cf1f27940837d4d03b
Signed-off-by: default avatarJanice <starboltangel@gmail.com>
parent bf58c383
...@@ -154,6 +154,7 @@ $string['profileicon'] = 'Profile picture'; ...@@ -154,6 +154,7 @@ $string['profileicon'] = 'Profile picture';
// general views stuff // general views stuff
$string['Added'] = 'Added'; $string['Added'] = 'Added';
$string['share'] = 'Share'; $string['share'] = 'Share';
$string['sharedbyme'] = 'Shared by me';
$string['sharewith'] = 'Share with'; $string['sharewith'] = 'Share with';
$string['accesslist'] = 'Access list'; $string['accesslist'] = 'Access list';
$string['sharewithmygroups'] = 'Share with my groups'; $string['sharewithmygroups'] = 'Share with my groups';
...@@ -359,7 +360,7 @@ $string['grouphomepage'] = 'Group homepage'; ...@@ -359,7 +360,7 @@ $string['grouphomepage'] = 'Group homepage';
$string['grouphomepagedescription'] = 'The Group homepage is the content that appears on the About tab for this group'; $string['grouphomepagedescription'] = 'The Group homepage is the content that appears on the About tab for this group';
// Shared views // Shared views
$string['sharedviews'] = 'Shared pages'; $string['sharedviews'] = 'Shared with me';
$string['titleanddescription'] = 'Title, description, tags'; $string['titleanddescription'] = 'Title, description, tags';
$string['tagsonly'] = 'Tags only'; $string['tagsonly'] = 'Tags only';
$string['sharedviewsdescription'] = 'This page lists the most recently modified or commented on pages that have been shared with you. They may have been shared with you directly, shared with friends of the owner, or shared with one of your groups.'; $string['sharedviewsdescription'] = 'This page lists the most recently modified or commented on pages that have been shared with you. They may have been shared with you directly, shared with friends of the owner, or shared with one of your groups.';
......
...@@ -2288,9 +2288,15 @@ function mahara_standard_nav() { ...@@ -2288,9 +2288,15 @@ function mahara_standard_nav() {
'myportfolio/share' => array( 'myportfolio/share' => array(
'path' => 'myportfolio/share', 'path' => 'myportfolio/share',
'url' => 'view/share.php', 'url' => 'view/share.php',
'title' => get_string('share', 'view'), 'title' => get_string('sharedbyme', 'view'),
'weight' => 30, 'weight' => 30,
), ),
'myportfolio/sharedviews' => array(
'path' => 'myportfolio/sharedviews',
'url' => 'view/sharedviews.php',
'title' => get_string('sharedviews', 'view'),
'weight' => 60,
),
'myportfolio/export' => array( 'myportfolio/export' => array(
'path' => 'myportfolio/export', 'path' => 'myportfolio/export',
'url' => 'export/', 'url' => 'export/',
...@@ -2341,12 +2347,6 @@ function mahara_standard_nav() { ...@@ -2341,12 +2347,6 @@ function mahara_standard_nav() {
'title' => get_string('institutionmembership'), 'title' => get_string('institutionmembership'),
'weight' => 50, 'weight' => 50,
), ),
'groups/sharedviews' => array(
'path' => 'groups/sharedviews',
'url' => 'view/sharedviews.php',
'title' => get_string('sharedviews', 'view'),
'weight' => 60,
),
); );
return $menu; return $menu;
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
*/ */
define('INTERNAL', 1); define('INTERNAL', 1);
define('MENUITEM', 'groups/sharedviews'); define('MENUITEM', 'myportfolio/sharedviews');
require(dirname(dirname(__FILE__)) . '/init.php'); require(dirname(dirname(__FILE__)) . '/init.php');
require_once(get_config('libroot') . 'view.php'); require_once(get_config('libroot') . 'view.php');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment