Subversion Repositories enhancedezbinaryfile

[/] [design/] [standard/] [templates/] [content/] [collectedinfomail/] [form.tpl] - Blame information for rev 3

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1 steven.bailey
{set-block scope=root variable=subject}{"Collected information from %1"|i18n("design/standard/content/edit",,array($collection.object.name|wash))}{/set-block}
2 3 steven.bailey
{* to make it dynamic pr form set by the collection_email attribute
3
{def $contentobj=fetch( 'content', 'object', hash( 'object_id', $collection.contentobject_id ) ) }
4
{if $contentobj.current.data_map.collection_email.has_content}
5
{set-block scope=root variable=email_receiver}{$contentobj.current.data_map.collection_email.content}{/set-block}
6
{/if}
7 1 steven.bailey
*}
8
{* Set this to redirect to another node
9
{set-block scope=root variable=redirect_to_node_id}2{/set-block}
10
*}
11
{"The following information was collected"|i18n("design/standard/content/edit")}:
12
 
13
{foreach $collection.attributes as $Attribute}
14
{$Attribute.contentclass_attribute_name|wash}:
15 3 steven.bailey
{attribute_result_gui view=info attribute=$Attribute mail=true()}
16
{*show_fullpath is to allow the full path of the collected info to be shown in the admin mail sent WITHOUT it necessarily being shown to the user on the front end.*}
17 1 steven.bailey