For Zend it´s possible to have that sorted out by something like
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") {
echo "something";
} else {
echo "something other";
}
Is there an option to use something similiar in templates? How could this be done?