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