[Poll] Restructured templates, added misssing poll related css

This commit is contained in:
Daniel
2020-11-23 15:06:23 +00:00
committed by Hugo Sales
parent 7a299162e1
commit c0d363e317
15 changed files with 122 additions and 197 deletions

View File

@@ -108,6 +108,11 @@ abstract class Common
}
}
/**
* checks if user is logged in
*
* @return bool true if user is logged; false if it isn't
*/
public static function isLoggedIn(): bool
{
return self::user() != null;