mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
@@ -87,7 +87,7 @@ class fb_category_ui extends e_admin_ui
|
|||||||
// FIXME lan
|
// FIXME lan
|
||||||
if($this->getModel()->get('fb_category_template') === 'unassigned')
|
if($this->getModel()->get('fb_category_template') === 'unassigned')
|
||||||
{
|
{
|
||||||
e107::getMessage()->addError("<strong>".FBLAN_INSTALL_03."</strong> is system category and can't be modified.", 'default', true);
|
e107::getMessage()->addError("<strong>".FBLAN_34."</strong> is system category and can't be modified.", 'default', true);
|
||||||
$this->redirect('list');
|
$this->redirect('list');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -98,7 +98,7 @@ class fb_category_ui extends e_admin_ui
|
|||||||
{
|
{
|
||||||
$protocol = (isset($_SERVER['SERVER_PROTOCOL']) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0');
|
$protocol = (isset($_SERVER['SERVER_PROTOCOL']) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0');
|
||||||
header($protocol.': 403 Forbidden', true, 403);
|
header($protocol.': 403 Forbidden', true, 403);
|
||||||
echo "'".FBLAN_INSTALL_03."' is system category and can't be modified.";
|
echo "'".FBLAN_34."' is system category and can't be modified.";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -117,7 +117,7 @@ class fb_category_ui extends e_admin_ui
|
|||||||
if($data['fb_category_template'] === 'unassigned')
|
if($data['fb_category_template'] === 'unassigned')
|
||||||
{
|
{
|
||||||
// FIXME lan
|
// FIXME lan
|
||||||
$this->getTreeModel()->addMessageError("<strong>".FBLAN_INSTALL_03."</strong> is system category and can't be deleted.");
|
$this->getTreeModel()->addMessageError("<strong>".FBLAN_34."</strong> is system category and can't be deleted.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -122,7 +122,7 @@ class featurebox_setup
|
|||||||
{
|
{
|
||||||
$query = array();
|
$query = array();
|
||||||
$query['fb_category_id'] = 0;
|
$query['fb_category_id'] = 0;
|
||||||
$query['fb_category_title'] = FBLAN_INSTALL_03;
|
$query['fb_category_title'] = FBLAN_34;
|
||||||
$query['fb_category_template'] = 'unassigned';
|
$query['fb_category_template'] = 'unassigned';
|
||||||
$query['fb_category_random'] = 0;
|
$query['fb_category_random'] = 0;
|
||||||
$query['fb_category_class'] = e_UC_NOBODY;
|
$query['fb_category_class'] = e_UC_NOBODY;
|
||||||
|
Reference in New Issue
Block a user