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

Did some more i18n, and a style cleanup

parent ae74c4b7
......@@ -84,6 +84,11 @@ $string['addnewblockhere'] = 'Add new block here';
$string['addcolumn'] = 'Add column';
$string['removecolumn'] = 'Remove column';
$string['viewlayout'] = 'View layout';
$string['viewlayoutdescription'] = 'You can change the widths of the columns in your view.';
$string['changeviewlayout'] = 'Change view layout';
$string['backtoyourview'] = 'Back to your view';
$string['titleformatted'] = '%s by %s';
$string['50,50'] = $string['33,33,33'] = $string['25,25,25,25'] = 'Equal widths';
......
......@@ -175,6 +175,9 @@ tr.required th {
.cr {
clear: right;
}
.cb {
clear: both;
}
.s {
font-size: 11px;
font-weight: normal;
......
......@@ -154,7 +154,3 @@
border: 0;
}
#clearer {
clear: both;
}
......@@ -18,24 +18,24 @@
<div id="blocktype-footer"></div>
</div>
<a id="layout-link" href="layout.php?id=1&c={$category}&new={$new}"{if !$can_change_layout} style="display: none;"{/if}>Change View Layout</a>
<a id="layout-link" href="layout.php?id=1&c={$category}&new={$new}"{if !$can_change_layout} style="display: none;"{/if}>{str tag='changeviewlayout' section='view'}</a>
<div id="bottom-pane">
<div id="column-container">
{$columns}
<div id="clearer">
<div class="cb">
</div>
</div>
</div>
<script type="text/javascript">
{literal}
insertSiblingNodesAfter('bottom-pane', DIV({'id': 'views-loading'}, 'Loading...'));
insertSiblingNodesAfter('bottom-pane', DIV({'id': 'views-loading'}, get_string('loading')));
{/literal}
</script>
</div>
</form>
{* TODO theme me *}
<div class="center">
{if $new}
<form action="{$WWWROOT}view/edit.php" method="GET">
<input type="hidden" name="id" value="{$view}">
......@@ -52,6 +52,7 @@
<input class="submit" type="submit" value="{str tag='done'}">
</form>
{/if}
</div>
{include file="columnfullend.tpl"}
{include file="footer.tpl"}
......@@ -2,9 +2,9 @@
{include file="columnfullstart.tpl"}
<h2>Column Layout</h2>
<h2>{str tag='viewlayout' section='view'}</h2>
<p>You can change the widths of the columns in your view.</p>
<p>{str tag='viewlayoutdescription' section='view'}</p>
{$form_start_tag}
......@@ -15,13 +15,13 @@
<div>{$description|escape}</div>
</div>
{/foreach}
<div style="clear: both;">
<div class="cb">
<input type="hidden" name="pieform_viewlayout" value="">
<input type="submit" class="submit" name="submit" value="Change Layout">
<input type="submit" class="submit" name="submit" value="{str tag='changeviewlayout' section='view'}">
</div>
</form>
<a href="blocks.php?id={$view}">Back to your view</a>
<p><a href="blocks.php?id={$view}">&laquo; {str tag='backtoyourview' section='view'}</a></p>
{include file="columnfullend.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