X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin-menus.tpl;fp=templates%2Fadmin-menus.tpl;h=7c8c57f280ba222f3c801f7741ffd7e8ec0333e7;hb=6855525e48fad5de270500a5445c4f4ff85d8bda;hp=0000000000000000000000000000000000000000;hpb=e69709aa8ee6108a1197e46b45367ba8dab55a52;p=diogenes.git diff --git a/templates/admin-menus.tpl b/templates/admin-menus.tpl new file mode 100644 index 0000000..7c8c57f --- /dev/null +++ b/templates/admin-menus.tpl @@ -0,0 +1,98 @@ +{if $doedit} + +{* we are in editor mode *} +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
{$msg_prop}
{$msg_title} + +
{$msg_type} + + {$msg_type_z} +
  + + {$msg_type_pi} + + +
  + + {$msg_type_se} + + +
+ + +
+ +
+ +{else} + +{* we are viewing the list *} + +

{$msg_ext}

+ +

{$msg_menubar} : {toolbar lnk=$menubar}

+ + + + + + + + +{counter start=0 assign=cnt print=0} +{foreach from=$entries item=entry} + + + + + + + +{counter} +{/foreach} +
 {$msg_menu}{$msg_link}{$msg_actions}
{$entry[0]}{a lnk=$entry[1]}{$entry[2]} + {a lnk=$entry[3] class='action'} + {a lnk=$entry[4] class='action'} + + {a lnk=$entry[5] class='action'} + {a lnk=$entry[6] class='action'} +
+ +
+ +
+ + + +
+ +{/if}