public function showJsLibraryHint()
	{
		if ($_POST || Contao\Input::get('act') != 'edit')
		{
			return;
		}

		// Return if the user cannot access the layout module (see #6190)
		if (!$this->User->hasAccess('themes', 'modules') || !$this->User->hasAccess('layout', 'themes'))
		{
			return;
		}
	}
public function showJsLibraryHint()
	{
		if ($_POST || Contao\Input::get('act') != 'edit')
		{
			return;
		}

		
		if (!$this->User->hasAccess('themes', 'modules') || !$this->User->hasAccess('layout', 'themes'))
		{
			return;
		}
	}
public function showJsLibraryHint ( ) { if ( $ _POST || Contao \ Input :: get ( 'act' ) != 'edit' ) { return ; } // Return if the user cannot access the layout module (see #6190) if ( ! $ this -> User -> hasAccess ( 'themes' , 'modules' ) || ! $ this -> User -> hasAccess ( 'layout' , 'themes' ) ) { return ; } }
Show a hint if a JavaScript library needs to be included in the page layout
Show a hint if a JavaScript library needs to be included in the page layout