File tree Expand file tree Collapse file tree 1 file changed +15
-14
lines changed
Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Original file line number Diff line number Diff line change 142142 </ select >
143143 </ td >
144144 </ tr >
145-
146- < tr >
147- < td class ="vst-text input-label ">
148- < ?php print _('Role');?>
149- </ td >
150- </ tr >
151- < tr >
152- < td >
153- < select class ="vst-list " name ="v_role ">
154- < option value ="user "> < ?php print _('User');?>
155- < option value ="admin " < ?php if($v_role == "admin" ){ echo "selected"; } ?> > < ?php print _('Administrator');?>
156- </ select >
157- </ td >
158- </ tr >
145+ < ? if ($v_username !== 'admin' ) {?>
146+ < tr >
147+ < td class ="vst-text input-label ">
148+ < ?php print _('Role');?>
149+ </ td >
150+ </ tr >
151+ < tr >
152+ < td >
153+ < select class ="vst-list " name ="v_role ">
154+ < option value ="user "> < ?php print _('User');?>
155+ < option value ="admin " < ?php if($v_role == "admin" ){ echo "selected"; } ?> > < ?php print _('Administrator');?>
156+ </ select >
157+ </ td >
158+ </ tr >
159+ < ?}?>
159160 < tr >
160161 < td class ="vst-text input-label ">
161162 < ?php print _('Package');?>
You can’t perform that action at this time.
0 commit comments