Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -31,11 +31,14 @@ class _guidelines extends \IPS\Dispatcher\Controller
|
||||
{
|
||||
if ( \IPS\Settings::i()->gl_type == "none" )
|
||||
{
|
||||
\IPS\Output::i()->error( 'node_error', '', 404 ); /* @todo Error code */
|
||||
\IPS\Output::i()->error( 'node_error', '2C380/1', 404, 'guidelines_set_to_none_admin' );
|
||||
}
|
||||
|
||||
/* Set Session Location */
|
||||
\IPS\Session::i()->setLocation( \IPS\Http\Url::internal( 'app=core&module=system&controller=guidelines', NULL, 'guidelines' ), array(), 'loc_viewing_guidelines' );
|
||||
|
||||
\IPS\Output::i()->sidebar['enabled'] = FALSE;
|
||||
\IPS\Output::i()->bodyClasses[] = 'ipsLayout_minimal';
|
||||
|
||||
\IPS\Output::i()->breadcrumb[] = array( NULL, \IPS\Member::loggedIn()->language()->addToStack('guidelines') );
|
||||
\IPS\Output::i()->title = \IPS\Member::loggedIn()->language()->addToStack('guidelines');
|
||||
|
||||
Reference in new issue
Block a user