expanded compact ternary operators in ZWS.php and default_tpl.php as not all web hotels have a new enough php to understand these