Changeset 147
- Timestamp:
- 10/20/11 17:45:56 (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns.cgi
r145 r147 234 234 } 235 235 236 $page->param(resultmsg => $webvar{resultmsg}) if $webvar{resultmsg}; 237 $page->param(errmsg => $webvar{errmsg}) if $webvar{errmsg}; 238 236 239 $page->param(curpage => $webvar{page}); 237 $page->param(errmsg => $webvar{errmsg}) if $webvar{errmsg};238 240 # if ($webvar{del_failed}) { 239 241 # $page->param(del_failed => 1); … … 295 297 } else { 296 298 logaction($webvar{id}, $session->param("username"), $pargroup, "Deleted domain $dom"); 297 changepage(page => "domlist" );299 changepage(page => "domlist", resultmsg => "Deleted domain $dom"); 298 300 } 299 301 … … 589 591 $page->param(delgrp => $permissions{admin} || $permissions{group_delete}); 590 592 593 $page->param(resultmsg => $webvar{resultmsg}) if $webvar{resultmsg}; 591 594 $page->param(errmsg => $webvar{errmsg}) if $webvar{errmsg}; 592 595 $page->param(curpage => $webvar{page}); … … 655 658 logaction(0, $session->param("username"), $webvar{curgroup}, "Deleted group $deleteme"); 656 659 # success. go back to the domain list, do not pass "GO" 657 changepage(page => "grpman" );660 changepage(page => "grpman", resultmsg => "Deleted group $deleteme"); 658 661 } 659 662 } else { -
trunk/templates/domlist.tmpl
r139 r147 5 5 <td align="center" valign="top"> 6 6 7 <TMPL_IF errmsg> 8 <div class='errmsg'><TMPL_VAR NAME=errmsg></div> 9 </TMPL_IF> 7 <TMPL_IF resultmsg> 8 <div class="result"><TMPL_VAR NAME=resultmsg></div> 9 </TMPL_IF> 10 <TMPL_IF errmsg> 11 <div class='errmsg'><TMPL_VAR NAME=errmsg></div> 12 </TMPL_IF> 10 13 11 14 <table width="98%"> -
trunk/templates/grpman.tmpl
r140 r147 5 5 <td align="center" valign="top"> 6 6 7 <TMPL_IF errmsg> 8 <div class='errmsg'><TMPL_VAR NAME=errmsg></div> 9 </TMPL_IF> 7 <TMPL_IF resultmsg> 8 <div class="result"><TMPL_VAR NAME=resultmsg></div> 9 </TMPL_IF> 10 <TMPL_IF errmsg> 11 <div class='errmsg'><TMPL_VAR NAME=errmsg></div> 12 </TMPL_IF> 10 13 11 14 <table width="98%">
Note:
See TracChangeset
for help on using the changeset viewer.