File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1111
1212if ($ _SESSION ['user ' ] == 'admin ' ) {
1313 switch ($ action ) {
14+ case 'reread IP ' : exec (VESTA_CMD ."v-update-sys-ip " , $ output , $ return_var );
15+ header ("Location: /list/ip/ " );
16+ exit ;
17+ break ;
1418 case 'delete ' : $ cmd ='v-delete-sys-ip ' ;
1519 break ;
1620 default : header ("Location: /list/ip/ " ); exit ;
2529 exec (VESTA_CMD .$ cmd ." " .$ value , $ output , $ return_var );
2630}
2731
28-
2932header ("Location: /list/ip/ " );
Original file line number Diff line number Diff line change 1616 < a style ="padding: 0 4px 0 12px " class ="select-controls " href ='javascript:checkedAll("objects"); '> < ?php print _('toggle all');?> </ a >
1717 < select style ="margin:0 2px 0 0px; " name ="action ">
1818 < option > < ?php print _('apply to selected');?> </ option >
19+ < option > < ?php print _('reread IP');?> </ option >
1920 < option > < ?php print _('delete');?> </ option >
2021 </ select >
2122 < input type ="submit " name ="ok " value ="› " class ="button " style ="width: 37px; font-size: 12px; height: 24px; ">
You can’t perform that action at this time.
0 commit comments