1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Feature-box image-category fix and language-redirect fix.

This commit is contained in:
Cameron 2013-10-28 22:20:29 -07:00
parent aed12d1ae5
commit cb29941bda
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ if($core->get('admintheme') != 'bootstrap')
}
// 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();
$tmp = explode(".",ADMINPERMS);

View File

@ -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_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_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'),
//DEPRECATED 'fb_mode' => array('title'=> FBLAN_12, 'type' => 'dropdown', 'data'=> 'int', 'width' => '5%', 'filter'=>TRUE, 'batch'=>TRUE),