mirror of
https://github.com/e107inc/e107.git
synced 2025-04-19 20:21:51 +02:00
parent
a62f5985fd
commit
86b234fd11
@ -87,7 +87,7 @@ class fb_category_ui extends e_admin_ui
|
||||
// FIXME lan
|
||||
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');
|
||||
}
|
||||
}
|
||||
@ -98,7 +98,7 @@ class fb_category_ui extends e_admin_ui
|
||||
{
|
||||
$protocol = (isset($_SERVER['SERVER_PROTOCOL']) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0');
|
||||
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;
|
||||
}
|
||||
}
|
||||
@ -117,7 +117,7 @@ class fb_category_ui extends e_admin_ui
|
||||
if($data['fb_category_template'] === 'unassigned')
|
||||
{
|
||||
// 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;
|
||||
}
|
||||
|
||||
|
@ -122,7 +122,7 @@ class featurebox_setup
|
||||
{
|
||||
$query = array();
|
||||
$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_random'] = 0;
|
||||
$query['fb_category_class'] = e_UC_NOBODY;
|
||||
|
Loading…
x
Reference in New Issue
Block a user