File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ function onAfterUpdate() {
209209 $ client_group_id = $ app ->functions ->intval ($ this ->dataRecord ["client_group_id " ]);
210210 $ app ->db ->query ("UPDATE domain SET sys_groupid = $ client_group_id, sys_perm_group = 'ru' WHERE domain_id = " .$ this ->id );
211211 $ lng_text = $ app ->lng ("domain_owner_changed " );
212- $ _SESSION ['show_info_msg ' ] = str_replace ("{domain} " , $ this ->dataRecord ["domain " ], $ lng_text );
212+ $ _SESSION ['show_warning_msg ' ] = str_replace ("{domain} " , $ this ->dataRecord ["domain " ], $ lng_text );
213213 }
214214 }
215215
Original file line number Diff line number Diff line change 4646
4747$ app ->uses ('listform_actions ' );
4848
49- if (isset ($ _SESSION ['show_info_msg ' ])) {
50- $ app ->tpl ->setloop ('info ' , array (array ('info_msg ' => '<p> ' .$ _SESSION ['show_info_msg ' ].'</p> ' )));
51- unset($ _SESSION ['show_info_msg ' ]);
49+ if (isset ($ _SESSION ['show_warning_msg ' ])) {
50+ $ app ->tpl ->setloop ('warning ' , array (array ('warning_msg ' => '<p> ' .$ _SESSION ['show_warning_msg ' ].'</p> ' )));
51+ unset($ _SESSION ['show_warning_msg ' ]);
5252}
5353
5454$ app ->listform_actions ->SQLOrderBy = 'ORDER BY domain.domain ' ;
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ <h2><tmpl_var name="list_head_txt"></h2>
55
66 < div class ="pnl_toolsarea ">
77 < div >
8- < tmpl _if name ='info '>
9- < div class ="systemmonitor-state state-info ">
8+ < tmpl _if name ='warning '>
9+ < div class ="systemmonitor-state state-warning ">
1010 < div class ="status "> </ div >
1111 < div class ="statusMsg ">
12- < tmpl _loop name ="info ">
13- {tmpl_var name='info_msg '}
12+ < tmpl _loop name ="warning ">
13+ {tmpl_var name='warning_msg '}
1414 </ tmpl _loop>
1515 </ div >
1616 </ div >
You can’t perform that action at this time.
0 commit comments