X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FForm%2Fattachment.tpl;h=d5df47513db26aa181688344bd2e72a121ece971;hb=561b2d1b77687aba1342327a5363b9d4dfecc680;hp=a597de573c2ad84b380297dcc9080c4237d646bd;hpb=1e6ea7e36b5815a6711674a148c44b6d75bdcf47;p=civicrm-core.git diff --git a/templates/CRM/Form/attachment.tpl b/templates/CRM/Form/attachment.tpl index a597de573c..d5df47513d 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. | | | @@ -49,7 +49,7 @@ {capture assign=attachTitle}{ts}Attachment(s){/ts}{/capture} {/if} {if !$noexpand} -
+
{$attachTitle}
@@ -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} @@ -87,11 +87,11 @@ - - + + - {if $tagsetInfo_attachment} - + {if $tagsetInfo.file} + {include file="CRM/common/Tagset.tpl" tagsetType='file' tableLayout=true tagsetElementName="file_taglist_$index"} {/if} {/section} @@ -102,12 +102,11 @@ - {/if} @@ -129,15 +127,6 @@ - {if !$noexpand} - {literal} - - {/literal} - {/if} {literal}
{$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} Each file must be less than {$config->maxFileSize}M in size. You can also add a short description. + {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.$attachName.html} {$form.$attachDesc.html}
{$form.$tagElement.html}
{$form.$tagElement.label}
{$form.$tagElement.html}
{include file="CRM/common/Tag.tpl" tagsetType='attachment' tagsetNumber=$index}
{ts}Current Attachment(s){/ts} {foreach from=$currentAttachmentInfo key=attKey item=attVal} -
-
- {$attVal.cleanName} +
+ {$attVal.cleanName} {if $attVal.description} - {$attVal.description}{/if} {if $attVal.deleteURLArgs} - + {/if} {if !empty($attVal.tag)}
@@ -120,8 +119,7 @@
 {$form.is_delete_attachment.html} {$form.is_delete_attachment.label}
- {ts}Click the red trash-can next to a file name to delete a specific attachment. If you want to delete ALL attachments, check the box above and click Save.{/ts} +
{$form.is_delete_attachment.html} {$form.is_delete_attachment.label}