X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FForm%2Fattachment.tpl;h=d5df47513db26aa181688344bd2e72a121ece971;hb=561b2d1b77687aba1342327a5363b9d4dfecc680;hp=183d649567856bf68c140c5dadce2927aab88486;hpb=7791c05ff3b621589d135f3a01189d7f0a563db9;p=civicrm-core.git diff --git a/templates/CRM/Form/attachment.tpl b/templates/CRM/Form/attachment.tpl index 183d649567..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} @@ -84,28 +84,17 @@ - + - - + + - {if $tagsetInfo_attachment} - + {if $tagsetInfo.file} + {include file="CRM/common/Tagset.tpl" tagsetType='file' tableLayout=true tagsetElementName="file_taglist_$index"} {/if} {/section} - {literal} - - {/literal} {/if} {if $currentAttachmentInfo} @@ -113,12 +102,11 @@ - {/if} @@ -140,15 +127,6 @@ - {if !$noexpand} - {literal} - - {/literal} - {/if} {literal}
{$form.attachFile_1.label}{$form.attachFile_1.html} {$form.attachDesc_1.html}({ts}clear{/ts})
- {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. +
{$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}({ts}clear{/ts}){$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)}
@@ -131,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}