Commit e9a0383f authored by Melissa Draper's avatar Melissa Draper
Browse files

Add help text for finding place to set secreturls (Bug #823789)



When the view acl screen was changed to streamline the setting of
access permissions to multiple views/collections at once, secreturls
moved out of this screen. As it is still in the share tab, it is not
obvious to users that they should return to the list of views and
collections to find the secreturl screen. This text guides them there
with a handy link and explanation of the screens.

Change-Id: I47406747a374d5d210c46473a0b4c28134f829aa
Signed-off-by: default avatarMelissa Draper <melissa@catalyst.net.nz>
parent 77c45fa7
......@@ -160,7 +160,8 @@ $string['deletespecifiedview'] = 'Delete page "%s"';
$string['deleteviewconfirm'] = 'Do you really want to delete this page? It cannot be undone.<br/>Please consider creating a backup of this page by <a href="%sexport/" target="_blank">exporting</a> it.';
$string['deleteviewconfirmnote'] = '<strong>NOTE:</strong> All your files and journal entries that you linked in this page will still be available.<br/>However, any feedback placed on this page as well as text entered directly into text boxes will be deleted.';
$string['editaccesspagedescription3'] = 'By default, only you can see your Pages. You can share pages with others by adding access rules. Once you are done, scroll down and click Save to continue.';
$string['editaccesspagedescription3'] = 'By default, only you can see your Collections and Pages. You can share pages with others by adding access rules below. You may set multiple items to have identical settings by choosing them from the checkboxes. Once you are done, scroll down and click Save to continue.';
$string['editsecreturlsintable'] = '<b>Secret URLs</b> can not be set on this page as they must be done individually. To set Secret URLs, please return to the <a href="%sview/share.php">list of Collections and Pages</a>.';
$string['editaccessinvalidviewset'] = 'Attempt to edit access on an invalid set of pages and collections';
$string['overridingstartstopdate'] = 'Overriding Start/Stop Dates';
......
{include file="header.tpl"}
<p>{str tag=editaccesspagedescription3 section=view}</p>
<p>{str tag=editsecreturlsintable section=view args=$wwwroot}</p>
{$form|safe}
{include file="footer.tpl"}
......@@ -30,6 +30,8 @@ define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'view');
define('SECTION_PAGE', 'editaccess');
global $CFG;
require(dirname(dirname(__FILE__)) . '/init.php');
require_once('pieforms/pieform.php');
require_once('pieforms/pieform/elements/calendar.php');
......@@ -595,4 +597,5 @@ $smarty = smarty(
$smarty->assign('INLINEJAVASCRIPT', $js);
$smarty->assign('PAGEHEADING', TITLE);
$smarty->assign('form', $form);
$smarty->assign('wwwroot', $CFG->wwwroot);
$smarty->display('view/access.tpl');
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