Subversion Repositories enhancedezbinaryfile

[/] [design/] [standard/] [templates/] [content/] [collectedinfomail/] [form.tpl] - Diff between revs 1 and 3

Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | View Log

Rev 1 Rev 3
Line 1... Line 1...
{set-block scope=root variable=subject}{"Collected information from %1"|i18n("design/standard/content/edit",,array($collection.object.name|wash))}{/set-block}
{set-block scope=root variable=subject}{"Collected information from %1"|i18n("design/standard/content/edit",,array($collection.object.name|wash))}{/set-block}
 
{* to make it dynamic pr form set by the collection_email attribute
{* Use this line to specify the email in the template, can read this from the object to
{def $contentobj=fetch( 'content', 'object', hash( 'object_id', $collection.contentobject_id ) ) }
   make it dynamic pr form
{if $contentobj.current.data_map.collection_email.has_content}
{set-block scope=root variable=email_receiver}nospam@ez.no{/set-block}
{set-block scope=root variable=email_receiver}{$contentobj.current.data_map.collection_email.content}{/set-block}
 
{/if}
*}
*}
 
 
{* Set this to redirect to another node
{* Set this to redirect to another node
{set-block scope=root variable=redirect_to_node_id}2{/set-block}
{set-block scope=root variable=redirect_to_node_id}2{/set-block}
*}
*}
 
 
{"The following information was collected"|i18n("design/standard/content/edit")}:
{"The following information was collected"|i18n("design/standard/content/edit")}:
 
 
{foreach $collection.attributes as $Attribute}
{foreach $collection.attributes as $Attribute}
{$Attribute.contentclass_attribute_name|wash}:
{$Attribute.contentclass_attribute_name|wash}:
        {attribute_result_gui view=info attribute=$Attribute mail=true()}
{attribute_result_gui view=info attribute=$Attribute mail=true()}
        {*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
{*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.*}
        user on the front end.*}