mirror of
https://github.com/e107inc/e107.git
synced 2025-07-29 10:50:25 +02:00
Feature-box image-category fix and language-redirect fix.
This commit is contained in:
@@ -35,7 +35,7 @@ if($core->get('admintheme') != 'bootstrap')
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check Admin-Perms for current language and redirect if necessary.
|
// Check Admin-Perms for current language and redirect if necessary.
|
||||||
if(MULTILANG_SUBDOMAIN && !getperms('0') && !getperms(e_LANGUAGE))
|
if(deftrue("MULTILANG_SUBDOMAIN") && !getperms('0') && !getperms(e_LANGUAGE))
|
||||||
{
|
{
|
||||||
$lng = e107::getLanguage();
|
$lng = e107::getLanguage();
|
||||||
$tmp = explode(".",ADMINPERMS);
|
$tmp = explode(".",ADMINPERMS);
|
||||||
|
@@ -211,7 +211,7 @@ class fb_main_ui extends e_admin_ui
|
|||||||
'fb_id' => array('title'=> LAN_ID, 'type' => 'number', 'data'=> 'int', 'width' =>'5%', 'forced'=> TRUE),
|
'fb_id' => array('title'=> LAN_ID, 'type' => 'number', 'data'=> 'int', 'width' =>'5%', 'forced'=> TRUE),
|
||||||
'fb_category' => array('title'=> LAN_CATEGORY, 'type' => 'dropdown', 'inline'=>true, 'data'=> 'int', 'width' => '10%', 'filter'=>TRUE, 'batch'=>TRUE),
|
'fb_category' => array('title'=> LAN_CATEGORY, 'type' => 'dropdown', 'inline'=>true, 'data'=> 'int', 'width' => '10%', 'filter'=>TRUE, 'batch'=>TRUE),
|
||||||
'fb_title' => array('title'=> LAN_TITLE, 'type' => 'text', 'inline'=>true, 'width' => 'auto', 'thclass' => 'left'),
|
'fb_title' => array('title'=> LAN_TITLE, 'type' => 'text', 'inline'=>true, 'width' => 'auto', 'thclass' => 'left'),
|
||||||
'fb_image' => array('title'=> "Image", 'type' => 'image', 'width' => '100px', 'readParms'=>'thumb=60&thumb_urlraw=0&thumb_aw=60'),
|
'fb_image' => array('title'=> "Image", 'type' => 'image', 'width' => '100px', 'readParms'=>'thumb=60&thumb_urlraw=0&thumb_aw=60','writeParms'=>'media=featurebox'),
|
||||||
|
|
||||||
'fb_text' => array('title'=> FBLAN_08, 'type' => 'bbarea', 'width' => '30%', 'readParms' => 'expand=...&truncate=50&bb=1','writeParms'=>'template=admin'),
|
'fb_text' => array('title'=> FBLAN_08, 'type' => 'bbarea', 'width' => '30%', 'readParms' => 'expand=...&truncate=50&bb=1','writeParms'=>'template=admin'),
|
||||||
//DEPRECATED 'fb_mode' => array('title'=> FBLAN_12, 'type' => 'dropdown', 'data'=> 'int', 'width' => '5%', 'filter'=>TRUE, 'batch'=>TRUE),
|
//DEPRECATED 'fb_mode' => array('title'=> FBLAN_12, 'type' => 'dropdown', 'data'=> 'int', 'width' => '5%', 'filter'=>TRUE, 'batch'=>TRUE),
|
||||||
|
Reference in New Issue
Block a user