mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-12 01:54:57 +00:00
put form into contentContainer
This commit is contained in:
parent
90f849c801
commit
b7c46ccfda
|
@ -150,6 +150,7 @@ $(document).ready( function() {
|
||||||
<input type="hidden" name="action" value="addrole">
|
<input type="hidden" name="action" value="addrole">
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
$this->contentContainerStart();
|
||||||
$this->formField(
|
$this->formField(
|
||||||
getMLText("role_name"),
|
getMLText("role_name"),
|
||||||
array(
|
array(
|
||||||
|
@ -187,6 +188,7 @@ $(document).ready( function() {
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
$this->contentContainerEnd();
|
||||||
if($currRole && $accessop->check_controller_access('RoleMgr', array('action'=>'editrole')) || !$currRole && $accessop->check_controller_access('RoleMgr', array('action'=>'addrole'))) {
|
if($currRole && $accessop->check_controller_access('RoleMgr', array('action'=>'editrole')) || !$currRole && $accessop->check_controller_access('RoleMgr', array('action'=>'addrole'))) {
|
||||||
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText($currRole ? "save" : "add_role"));
|
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText($currRole ? "save" : "add_role"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user