isEditMode()) { echo "edit-mode"; } } function image_tag($t, $img) { $imgPath = ($t->getThemePath()) . "/images/"; echo ""; } function has_blocks($area) { global $c; return $area->getTotalBlocksInArea($c) > 0; } ?>