X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fbarrel-editor.tpl;fp=templates%2Fbarrel-editor.tpl;h=2c839c9ab08c1bc04c4977c3110cc98469161b1e;hb=6855525e48fad5de270500a5445c4f4ff85d8bda;hp=0000000000000000000000000000000000000000;hpb=e69709aa8ee6108a1197e46b45367ba8dab55a52;p=diogenes.git diff --git a/templates/barrel-editor.tpl b/templates/barrel-editor.tpl new file mode 100644 index 0000000..2c839c9 --- /dev/null +++ b/templates/barrel-editor.tpl @@ -0,0 +1,111 @@ +{if $action eq "edit"} + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{$target}
{$msg_title}
{$msg_desc}
{$msg_keywords}
{$msg_vhost}
{$msg_flags}{html_checkboxes name="flags" options=$v_flag_opts selected=$v_flags}
+ +
+
+ +

+ {$msg_vhost_note} +

+ +{else} + +{if !$readonly} +{literal} + +{/literal} + +
+ + +
+{/if} + + + +{if !$readonly} + +{/if} + + + + +{if $sites} +{counter start=0 assign=cnt print=0} +{foreach from=$sites item=mysite} + +{if !$readonly} + +{/if} + + + +{counter} +{/foreach} +{else} + + + +{/if} +
{$msg_alias}{$msg_title}{$msg_desc} 
{$mysite.alias}{a lnk=$mysite.title}{$mysite.description} + {foreach from=$mysite.actions item=action} + {a lnk=$action class="action"} + {/foreach} +
{$msg_no_barrels}
+ +{if !$readonly} +
+ +

+ {$msg_create} : +

+

+ {$msg_create_note} +

+
+{/if} + +{/if}