Commit eef8ddb7 authored by Nigel McNie's avatar Nigel McNie
Browse files

Language string munging for 'change my view layout' pages so they're easier to follow.

parent b17dcb36
......@@ -194,13 +194,13 @@ $string['moveblockright'] = 'Move this block right';
$string['configureblock'] = 'Configure this block';
$string['removeblock'] = 'Remove this block';
$string['viewlayout'] = 'View layout';
$string['viewlayoutdescription'] = 'You can change the widths of the columns in your view.';
$string['changemyviewlayout'] = 'Change My View Layout';
$string['viewcolumnspagedescription'] = 'First, select the number of columns in your view. In the next step, you will be able to change the widths of the columns.';
$string['viewlayoutpagedescription'] = 'Select how you would like the columns in your view to be layed out.';
$string['changeviewlayout'] = 'Change my view layout';
$string['backtoyourview'] = 'Back to my view';
$string['viewlayoutchanged'] = 'View layout changed';
$string['selectnumberofcolumns'] = 'Select the number of columns in your view';
$string['changeviewcolumns'] = 'Change my view columns';
$string['numberofcolumns'] = 'Number of columns';
$string['by'] = 'by';
......
......@@ -3,6 +3,9 @@
{include file="columnfullstart.tpl"}
<h2>{$heading}</h2>
<p>{str tag="viewcolumnspagedescription" section="view"}</p>
{$form}
{include file="columnfullend.tpl"}
......
......@@ -2,9 +2,9 @@
{include file="columnfullstart.tpl"}
<h2>{str tag='viewlayout' section='view'}</h2>
<h2>{str tag='changemyviewlayout' section='view'}</h2>
<p>{str tag='viewlayoutdescription' section='view'}</p>
<p>{str tag='viewlayoutpagedescription' section='view'}</p>
{$form_start_tag}
......
......@@ -29,7 +29,7 @@ define('MENUITEM', 'viewlayout');
require_once(dirname(dirname(__FILE__)) . '/init.php');
require_once('pieforms/pieform.php');
require_once('view.php');
define('TITLE', get_string('changeviewcolumns', 'view'));
define('TITLE', get_string('changemyviewlayout', 'view'));
$id = param_integer('id');
$new = param_boolean('new');
......@@ -50,7 +50,7 @@ $columnsform = pieform(array(
'elements' => array(
'numcolumns' => array(
'type' => 'select',
'title' => get_string('selectnumberofcolumns', 'view'),
'title' => get_string('numberofcolumns', 'view'),
'options' => array( 1 => '1', 2 => '2', 3 => '3', 4 => '4', 5 => '5'),
'defaultvalue' => $numcolumns,
),
......
......@@ -31,7 +31,7 @@ define('MENUITEM', 'viewlayout');
require_once(dirname(dirname(__FILE__)) . '/init.php');
require_once('pieforms/pieform.php');
require_once('view.php');
define('TITLE', get_string('viewlayout', 'view'));
define('TITLE', get_string('changemyviewlayout', 'view'));
$id = param_integer('id');
$new = param_boolean('new');
......
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