Commit 0a20cac3 authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

Fixed get_string calls

parent 3d7783c5
......@@ -9,7 +9,7 @@
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str tag="createviewstep2"}</h2>
<h2>{str tag="createviewstep2" section="view"}</h2>
<div id="createview2">
{literal}
<select onchange="templates.doupdate({'offset': 0, 'category': this.options[this.selectedIndex].value });">
......@@ -26,8 +26,8 @@
</table>
</form>
<button type="button" onclick="document.location='create1.php?createid={$createid}';">{str tag=Back}</button>
<button type="button" onclick="document.location='./';">{str tag=Cancel}</button>
<button type="button" onclick="document.location='create1.php?createid={$createid}';">{str tag="back" section="view"}</button>
<button type="button" onclick="document.location='./';">{str tag="cancel"}</button>
</div>
</div>
......
......@@ -5,7 +5,7 @@
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str tag=createviewstep3}</h2>
<h2>{str tag=createviewstep3 section=view}</h2>
{literal}
<style type="text/css">
......@@ -16,8 +16,8 @@
<form action="" method="post">
{$template}
<input type="submit" name="cancel" value="{str tag=cancel}">
<input type="submit" name="back" value="{str tag=back}">
<input type="submit" name="submit" value="{str tag=next}">
<input type="submit" name="back" value="{str tag=back section=view}">
<input type="submit" name="submit" value="{str tag=next section=view}">
</form>
</div>
<script type="text/javascript">
......
......@@ -4,7 +4,7 @@
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str tag=createviewstep4}</h2>
<h2>{str tag=createviewstep4 section="view"}</h2>
{$createview4form}
</div>
......
......@@ -44,7 +44,7 @@ $form = array(
),
'submit' => array(
'type' => 'cancelbackcreate',
'value' => array(get_string('cancel'), get_string('back'), get_string('createview'))
'value' => array(get_string('cancel'), get_string('back','view'), get_string('createview','view'))
)
)
);
......
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