| 13 |
|
|
| 14 |
// ensure user has access to this function |
// ensure user has access to this function |
| 15 |
if ( !$acl->acl_check( 'administration', 'install', 'users', $my->usertype, $element . 's', 'all' ) ) { |
if ( !$acl->acl_check( 'administration', 'install', 'users', $my->usertype, $element . 's', 'all' ) ) { |
| 16 |
mosRedirect( 'index2.php', _NOT_AUTH ); |
mosRedirect( 'index2.php', T_('You are not authorized to view this resource.') ); |
| 17 |
} |
} |
| 18 |
|
|
| 19 |
require_once( $mainframe->getPath( 'installer_html', 'mambot' ) ); |
require_once( $mainframe->getPath( 'installer_html', 'mambot' ) ); |
| 20 |
|
|
| 21 |
HTML_installer::showInstallForm( 'Install new Mambots', $option, 'mambot', '', dirname(__FILE__) ); |
HTML_installer::showInstallForm( T_('Install new Mambots'), $option, 'mambot', '', dirname(__FILE__) ); |
| 22 |
?> |
?> |
| 23 |
<table class="content"> |
<table class="content"> |
| 24 |
<?php |
<?php |
| 26 |
writableCell( 'language' ); |
writableCell( 'language' ); |
| 27 |
writableCell( 'mambots' ); |
writableCell( 'mambots' ); |
| 28 |
writableCell( 'mambots/content' ); |
writableCell( 'mambots/content' ); |
| 29 |
|
writableCell( 'mambots/editors' ); |
| 30 |
|
writableCell( 'mambots/editors-xtd' ); |
| 31 |
writableCell( 'mambots/search' ); |
writableCell( 'mambots/search' ); |
| 32 |
?> |
?> |
| 33 |
</table> |
</table> |