X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FForm%2Fattachment.tpl;h=f95f59ec8dbbc6bb8418f7a7e7c1e336ae1b4712;hb=b50fdaccade9cb52d5e5410c26b0aaf1920c950b;hp=f8b03158739c6559d4bdc81247777dc1cf01a8d6;hpb=021da9cd67825c3a2ad1356fa08c4daa716f976a;p=civicrm-core.git diff --git a/templates/CRM/Form/attachment.tpl b/templates/CRM/Form/attachment.tpl index f8b0315873..f95f59ec8d 100644 --- a/templates/CRM/Form/attachment.tpl +++ b/templates/CRM/Form/attachment.tpl @@ -1,8 +1,8 @@ {* +--------------------------------------------------------------------+ - | CiviCRM version 4.4 | + | CiviCRM version 4.5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2013 | + | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -59,22 +59,22 @@ {if $form.attachFile_1} {if $context EQ 'pcpCampaign'} -
{ts}You can upload a picture or image to include on your page. Your file should be in .jpg, .gif, or .png format. Recommended image size is 250 x 250 pixels. Maximum size is 360 x 360 pixels.{/ts}
+
{ts}You can upload a picture or image to include on your page. Your file should be in .jpg, .gif, or .png format. Recommended image size is 250 x 250 pixels. Images over 360 pixels wide will be automatically resized to fit.{/ts}
{/if} - {if $form.tag_1.html} - - + + {/if} - {if $tagsetInfo_attachment} - + {if $tagsetInfo.file} + {include file="CRM/common/Tagset.tpl" tagsetType='file' tableLayout=true tagsetElementName="file_taglist_1"} {/if} {section name=attachLoop start=2 loop=$numAttachments+1} {assign var=index value=$smarty.section.attachLoop.index} @@ -84,14 +84,14 @@ - + - - + + - {if $tagsetInfo_attachment} - + {if $tagsetInfo.file} + {include file="CRM/common/Tagset.tpl" tagsetType='file' tableLayout=true tagsetElementName="file_taglist_$index"} {/if} {/section} @@ -127,21 +127,19 @@ - {if !$noexpand} {literal} - {/literal} - {/if} - {literal} - {/literal} {/if} {* edit/add if*}
{$form.attachFile_1.label}{$form.attachFile_1.html} {$form.attachDesc_1.html}
- {ts}Browse to the file you want to upload.{/ts}{if $maxAttachments GT 1} {ts 1=$maxAttachments}You can have a maximum of %1 attachment(s).{/ts}{/if} {ts 1=$config->maxFileSize}Each file must be less than %1M in size. You can also add a short description.{/ts} +
{$form.attachFile_1.html} {$form.attachDesc_1.html} +
{ts}Browse to the file you want to upload.{/ts}{if $maxAttachments GT 1} {ts 1=$maxAttachments}You can have a maximum of %1 attachment(s).{/ts}{/if} {ts 1=$config->maxFileSize}Each file must be less than %1M in size. You can also add a short description.{/ts}
{$form.tag_1.html}
{$form.tag_1.label}
{$form.tag_1.html}
{include file="CRM/common/Tag.tpl" tagsetType='attachment' tagsetNumber=1 }
{$form.attachFile_1.label}{$form.$attachName.html} {$form.$attachDesc.html}{$form.$attachName.html} {$form.$attachDesc.html}
{$form.$tagElement.html}
{$form.$tagElement.label}
{$form.$tagElement.html}
{include file="CRM/common/Tag.tpl" tagsetType='attachment' tagsetNumber=$index}