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'; ...@@ -84,6 +84,11 @@ $string['addnewblockhere'] = 'Add new block here';
$string['addcolumn'] = 'Add column'; $string['addcolumn'] = 'Add column';
$string['removecolumn'] = 'Remove 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['titleformatted'] = '%s by %s';
$string['50,50'] = $string['33,33,33'] = $string['25,25,25,25'] = 'Equal widths'; $string['50,50'] = $string['33,33,33'] = $string['25,25,25,25'] = 'Equal widths';
...@@ -175,6 +175,9 @@ tr.required th { ...@@ -175,6 +175,9 @@ tr.required th {
.cr { .cr {
clear: right; clear: right;
} }
.cb {
clear: both;
.s { .s {
font-size: 11px; font-size: 11px;
font-weight: normal; font-weight: normal;
...@@ -154,7 +154,3 @@ ...@@ -154,7 +154,3 @@
border: 0; border: 0;
} }
#clearer {
clear: both;
...@@ -18,26 +18,26 @@ ...@@ -18,26 +18,26 @@
<div id="blocktype-footer"></div> <div id="blocktype-footer"></div>
</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="bottom-pane">
<div id="column-container"> <div id="column-container">
{$columns} {$columns}
<div id="clearer"> <div class="cb">
</div> </div>
</div> </div>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
{literal} {literal}
insertSiblingNodesAfter('bottom-pane', DIV({'id': 'views-loading'}, 'Loading...')); insertSiblingNodesAfter('bottom-pane', DIV({'id': 'views-loading'}, get_string('loading')));
{/literal} {/literal}
</script> </script>
</div> </div>
</form> </form>
{* TODO theme me *} <div class="center">
{if $new} {if $new}
<form action="{$WWWROOT}view/edit.php" method="GET"> <form action="{$WWWROOT}view/edit.php" method="GET">
<input type="hidden" name="id" value="{$view}"> <input type="hidden" name="id" value="{$view}">
<input type="hidden" name="new" value="1"> <input type="hidden" name="new" value="1">
<input type="submit" class="submit" value="{str tag='back'}"> <input type="submit" class="submit" value="{str tag='back'}">
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
<input class="submit" type="submit" value="{str tag='done'}"> <input class="submit" type="submit" value="{str tag='done'}">
</form> </form>
{/if} {/if}
{include file="columnfullend.tpl"} {include file="columnfullend.tpl"}
{include file="footer.tpl"} {include file="footer.tpl"}
...@@ -2,26 +2,26 @@ ...@@ -2,26 +2,26 @@
{include file="columnfullstart.tpl"} {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} {$form_start_tag}
{foreach from=$options key=id item=description} {foreach from=$options key=id item=description}
<div class="fl" style="margin: 0 .5em; text-align: center;"> <div class="fl" style="margin: 0 .5em; text-align: center;">
<div><img src="/thumb.php?type=viewlayout&vl={$id}" alt=""></div> <div><img src="/thumb.php?type=viewlayout&vl={$id}" alt=""></div>
<div><input type="radio" class="radio" name="layout" value="{$id}"></div> <div><input type="radio" class="radio" name="layout" value="{$id}"></div>
<div>{$description|escape}</div> <div>{$description|escape}</div>
</div> </div>
{/foreach} {/foreach}
<div style="clear: both;"> <div class="cb">
<input type="hidden" name="pieform_viewlayout" value=""> <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> </div>
</form> </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"} {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