|
From: Chris W. <la...@us...> - 2001-11-02 15:24:34
|
Update of /cvsroot/openinteract/OpenInteract/template
In directory usw-pr-cvs1:/tmp/cvs-serv3203
Modified Files:
error_message status_message
Log Message:
rename the variables to people can still use PROCESS and not worry
about side effects
Index: error_message
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/template/error_message,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** error_message 2001/10/13 05:00:23 1.1
--- error_message 2001/11/02 15:24:31 1.2
***************
*** 2,9 ****
[%- DEFAULT theme = OI.theme_properties;
! DEFAULT bgcolor = theme.error_bgcolor;
! DEFAULT width = theme.error_width;
! DEFAULT font_color = theme.error_font_color;
! DEFAULT border_color = theme.error_border_color -%]
<!-- BEGIN of error display -->
--- 2,9 ----
[%- DEFAULT theme = OI.theme_properties;
! SET error_width = width || theme.error_width;
! SET error_font_color = font_color || theme.error_font_color;
! SET error_border = border_color || theme.error_border_color;
! SET error_bgcolor = bgcolor ||theme.error_bgcolor; -%]
<!-- BEGIN of error display -->
***************
*** 11,24 ****
<div align="center">
! [%- PROCESS table_bordered_begin( table_width = width ) %]
<tr><td align="center">
! <font color="[% font_color %]" size="+1"><b>Error</b></font>
</td></tr>
<tr><td>
! <font color="[% font_color %]">[% error_msg %]</font>
</td></tr>
! [% PROCESS table_bordered_end() %]
</div>
--- 11,26 ----
<div align="center">
! [%- INCLUDE table_bordered_begin( table_width = error_width,
! border_color = error_border,
! bgcolor = error_bgcolor ) -%]
<tr><td align="center">
! <font color="[% error_font_color %]" size="+1"><b>Error</b></font>
</td></tr>
<tr><td>
! <font color="[% error_font_color %]">[% error_msg %]</font>
</td></tr>
! [% PROCESS table_bordered_end -%]
</div>
Index: status_message
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/template/status_message,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** status_message 2001/10/13 05:06:34 1.2
--- status_message 2001/11/02 15:24:31 1.3
***************
*** 1,9 ****
[%- IF status_msg -%]
! [%- DEFAULT theme = OI.theme_properties;
! DEFAULT width = '50%';
! DEFAULT bgcolor = theme.even_color;
! DEFAULT border_color = theme.border_color;
! DEFAULT font_color = '#000000'; -%]
<!-- BEGIN status display -->
--- 1,9 ----
[%- IF status_msg -%]
! [%- DEFAULT theme = OI.theme_properties;
! SET status_width = width || '50%';
! SET status_font_color = font_color || '#000000';
! SET status_border = border_color || theme.border_color;
! SET status_bgcolor = bgcolor ||theme.even_bgcolor; -%]
<!-- BEGIN status display -->
***************
*** 11,26 ****
<div align="center">
! [%- PROCESS table_bordered_begin( table_width = width,
! bgcolor = theme.even_color,
! border_color = border_color ) -%]
<tr><td align="center">
! <font color="[% font_color %]" size="+1"><b>Status</b></font>
</td></tr>
<tr><td>
! <font color="[% font_color %]">[% status_msg %]</font>
</td></tr>
! [%- PROCESS table_bordered_end() -%]
</div>
--- 11,26 ----
<div align="center">
! [%- INCLUDE table_bordered_begin( table_width = status_width,
! bgcolor = status_bgcolor,
! border_color = status_border ) -%]
<tr><td align="center">
! <font color="[% status_font_color %]" size="+1"><b>Status</b></font>
</td></tr>
<tr><td>
! <font color="[% status_font_color %]">[% status_msg %]</font>
</td></tr>
! [%- PROCESS table_bordered_end -%]
</div>
|