<flexy:switch var="{mode}">
<flexy:case value="">
    <FORM action="admin.php" method=POST>
    <flexy:component name="fh" class="fill_hidden">
    <input type=hidden name="mode" value="add">
    <input type=submit value=" Add widget ">
    </form>
    <flexy:include src="admin/htmlwidgets/list.tpl">
    <flexy:break>
<flexy:case value="edit">
    <a href="{zoner}?target={target}&page={page}">&lt;&lt; Back</a><br><br>
    <flexy:include src="admin/htmlwidgets/edit.tpl">
    <flexy:break>
<flexy:case value="add">
    <a href="{zoner}?target={target}&page={page}">&lt;&lt; Back</a><br><br>
    <flexy:include src="admin/htmlwidgets/add.tpl">
    <flexy:break>
<flexy:end>
<br>