public static function expiryDialog() {
		/**
		 * Important, we trigger dialog when:
		 *		1. Session exists and user is authorized
		 *		2. Controller requires login and not public
		 */
		$acl = \Application::$controller->acl;
		if (!empty(self::$object) && \Application::get('flag.global.session.expiry_dialog') && \User::authorized() && !empty($acl['authorized']) && empty($acl['public'])) {
			\Layout::onhtml(self::$object->expiryDialog());
		}
	}
public static function expiryDialog() {
		/**
		 * Important, we trigger dialog when:
		 *		1. Session exists and user is authorized
		 *		2. Controller requires login and not public
		 */
		$acl = \Application::$controller->acl;
		if (!empty(self::$object) && \Application::get('flag.global.session.expiry_dialog') && \User::authorized() && !empty($acl['authorized']) && empty($acl['public'])) {
			\Layout::onhtml(self::$object->expiryDialog());
		}
	}
public static function expiryDialog ( ) { /**
		 * Important, we trigger dialog when:
		 *		1. Session exists and user is authorized
		 *		2. Controller requires login and not public
		 */ $ acl = \ Application :: $ controller -> acl ; if ( ! empty ( self :: $ object ) && \ Application :: get ( 'flag.global.session.expiry_dialog' ) && \ User :: authorized ( ) && ! empty ( $ acl [ 'authorized' ] ) && empty ( $ acl [ 'public' ] ) ) { \ Layout :: onhtml ( self :: $ object -> expiryDialog ( ) ) ; } }
Add expiry dialog
Add expiry dialog