Commit 2addabfc authored by Nigel McNie's avatar Nigel McNie
Browse files

Changed the block type editing buttons to be <input type="image">, so that...

Changed the block type editing buttons to be <input type="image">, so that safari/konqueror will show the button background images.
parent fdb8a26a
......@@ -4,10 +4,11 @@
</div>
<div class="blockinstance-controls">
{foreach from=$movecontrols item=item}
<input type="submit" class="submit movebutton" name="action_moveblockinstance_id_{$id}_column_{$item.column}_order_{$item.order}" value="{$item.arrow}">
{assign var=direction value=$item.dir}
<input type="image" src="{theme_path location=images/move-block-$direction.png}" class="submit movebutton" name="action_moveblockinstance_id_{$id}_column_{$item.column}_order_{$item.order}" alt="{$item.arrow}">
{/foreach}
{if $configurable} <input type="submit" class="submit configurebutton" name="action_configureblockinstance_id_{$id}" value="&bull;">{/if}
<input type="submit" class="submit deletebutton" name="action_removeblockinstance_id_{$id}" value="X">
{if $configurable} <input type="image" src="{theme_path location=images/configure-block.png}" class="submit configurebutton" name="action_configureblockinstance_id_{$id}" alt="&bull;">{/if}
<input type="image" src="{theme_path location=images/remove-block.png}" class="submit deletebutton" name="action_removeblockinstance_id_{$id}" alt="X">
</div>
<div class="blockinstance-content">
{$content}
......
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