Commit b2c9eb4 1 parent d96787e commit b2c9eb4 Copy full SHA for b2c9eb4
File tree 1 file changed +18
-7
lines changed
1 file changed +18
-7
lines changed Original file line number Diff line number Diff line change 1
- {% spaceless %}
2
- <div class =" BigButton" style =" background-image:url({{ template_path }}/images/global/buttons/button_blue.gif)" >
3
- <div onMouseOver =" MouseOverBigButton(this);" onMouseOut =" MouseOutBigButton(this);" >
4
- <div class =" BigButtonOver" style =" background-image:url({{ template_path }}/images/global/buttons/{% if button_color is defined and button_color == ' green' %}button_green{% else %}button_blue_over{% endif %}.gif);" ></div >
5
- <input class =" BigButtonText" type =" submit" value =" {{ button_name }}" >
1
+ {% apply spaceless %}
2
+
3
+ {% set tmp_image = ' sbutton' %}
4
+
5
+ {% if button_color is defined %}
6
+ {% if button_color == ' green' %}
7
+ {% set tmp_image = ' sbutton_green' %}
8
+ {% elseif button_color == ' red' %}
9
+ {% set tmp_image = ' sbutton_red' %}
10
+ {% endif %}
11
+ {% endif %}
12
+
13
+ <div class =" BigButton" style =" background-image:url({{ template_path }}/images/global/buttons/{{ tmp_image }}.gif)" >
14
+ <div onMouseOver =" MouseOverBigButton(this);" onMouseOut =" MouseOutBigButton(this);" >
15
+ <div class =" BigButtonOver" style =" background-image:url({{ template_path }}/images/global/buttons/{{ tmp_image }}_over.gif);" ></div >
16
+ <input class =" BigButtonText" type =" submit" value =" {{ button_name }}" >
17
+ </div >
6
18
</div >
7
- </div >
8
- {% endspaceless %}
19
+ {% endapply %}
You can’t perform that action at this time.
0 commit comments