File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 4747$ app ->uses ('listform_actions ' );
4848
4949if (isset ($ _SESSION ['show_warning_msg ' ])) {
50- $ app ->tpl ->setloop ( ' warning ' , array ( array ( ' warning_msg ' => ' <p> ' . $ _SESSION ['show_warning_msg ' ]. ' </p> ' )) );
50+ $ app ->tpl ->setVar ( ' warning_msg ' , $ _SESSION ['show_warning_msg ' ]);
5151 unset($ _SESSION ['show_warning_msg ' ]);
5252}
5353
Original file line number Diff line number Diff line change @@ -5,13 +5,11 @@ <h2><tmpl_var name="list_head_txt"></h2>
55
66 < div class ="pnl_toolsarea ">
77 < div >
8- < tmpl _if name ='warning '>
8+ < tmpl _if name ='warning_msg '>
99 < div class ="systemmonitor-state state-warning ">
1010 < div class ="status "> </ div >
1111 < div class ="statusMsg ">
12- < tmpl _loop name ="warning ">
13- {tmpl_var name='warning_msg'}
14- </ tmpl _loop>
12+ {tmpl_var name='warning_msg'}
1513 </ div >
1614 </ div >
1715 </ tmpl _if>
You can’t perform that action at this time.
0 commit comments