Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
Чтобы появился пункт в меню управления картинками: в файле engine/skins/default.skin.php заменитьНа всех файлах. Какой то фрагмент в коде блокирует... Не могу найти...
array (
'name' => $lang['opt_img'],
'url' => "$PHP_SELF?mod=files",
'mod' => "files",
'access' => "admin"
),
array (
'name' => $lang['opt_img'],
'url' => "$PHP_SELF?mod=files",
'mod' => "files",
'access' => $member_id['user_group'], array(1,2)
),
//if( $member_id['user_group'] != 1 ) {
/*if( in_array($member_id['user_group'], array(1,2)) ) {
msg( "error", $lang['index_denied'], $lang['index_denied'] );
}*/
if( in_array($member_id['user_group'], array(1,2)) )
$allowed_extensions = array ("gif", "jpg", "png", "jpe", "jpeg" );
if ( $member_id['user_group'] == 1 ) {
( $member_id['user_group'] != 1)
( $member_id['user_group'] != 1 AND $member_id['user_group'] != 2)
(!isset($_FILES['qqfile']) OR $member_id['user_group'] != 1)
(!isset($_FILES['qqfile']) OR $member_id['user_group'] != 1 AND $member_id['user_group'] != 2)
( $member_id['user_group'] != 1)
( $member_id['user_group'] != 1 AND $member_id['user_group'] != 2)
Чтобы появился пункт в меню управления картинками: в файле engine/skins/default.skin.php заменить
наPHP:array ( 'name' => $lang['opt_img'], 'url' => "$PHP_SELF?mod=files", 'mod' => "files", 'access' => "admin" ),
PHP:array ( 'name' => $lang['opt_img'], 'url' => "$PHP_SELF?mod=files", 'mod' => "files", 'access' => $member_id['user_group'], array(1,2) ),
array (
'name' => $lang['opt_img'],
'url' => "$PHP_SELF?mod=files",
'descr' => $lang['opt_imgc'],
'image' => "iset.png",
'access' => "admin"
),
array (
'name' => $lang['opt_img'],
'url' => "$PHP_SELF?mod=files",
'descr' => $lang['opt_imgc'],
'image' => "iset.png",
'access' => $member_id['user_group'], array(1,2)
),