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

Convert the buttons to image inputs to make them appear more consistent across browsers

parent 399557c1
......@@ -2,19 +2,19 @@
<div class="column-header">
{if $column == 1}
<div class="add-column-left">
<input type="submit" class="submit addcolumn" name="action_addcolumn_before_1" value="{str tag='addcolumn' section='view'}">
<input type="image" src="{theme_path location=images/btn_addcolumn_left.png}" class="submit addcolumn" name="action_addcolumn_before_1" alt="{str tag='addcolumn' section='view'}">
</div>
{/if}
<div class="remove-column">
<input type="submit" class="submit removecolumn" name="action_removecolumn_column_{$column}" value="{str tag='removecolumn' section='view'}">
<input type="image" src="{theme_path location=images/btn_removecolumn.png}" class="submit removecolumn" name="action_removecolumn_column_{$column}" alt="{str tag='removecolumn' section='view'}">
</div>
{if $column == $numcolumns}
<div class="add-column-right">
<input type="submit" class="submit addcolumn" name="action_addcolumn_before_{$column+1}" value="{str tag='addcolumn' section='view'}">
<input type="image" src="{theme_path location=images/btn_addcolumn_right.png}" class="submit addcolumn" name="action_addcolumn_before_{$column+1}" alt="{str tag='addcolumn' section='view'}">
</div>
{else}
<div class="add-column-center">
<input type="submit" class="submit addcolumn" name="action_addcolumn_before_{$column+1}" value="{str tag='addcolumn' section='view'}">
<input type="image" src="{theme_path location=images/btn_addcolumn_right.png}" class="submit addcolumn" name="action_addcolumn_before_{$column+1}" alt="{str tag='addcolumn' section='view'}">
</div>
{/if}
</div>
......
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