Skip to content

Commit

Permalink
Merge pull request #3412 from emanuele45/hard_coded_text
Browse files Browse the repository at this point in the history
Fixed hard-coded insert string to insert ILA attachments in posts
  • Loading branch information
Spuds committed Dec 14, 2020
2 parents 7e891f5 + 029ca2c commit cc1c4a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion themes/default/Post.template.php
Expand Up @@ -450,7 +450,7 @@ function template_add_new_attachments()
var inlineAttach = ElkInlineAttachments(\'#postAttachment2,#postAttachment\', \'' . $context['post_box_name'] . '\', {
trigger: $(\'<div class="share icon i-share" />\'),
template: ' . JavaScriptEscape('<div class="insertoverlay">
<input type="button" class="button" value="insert">
<input type="button" class="button" value="' . $txt['insert'] . '">
<ul data-group="tabs" class="tabs">
<li data-tab="size">' . $txt['ila_opt_size'] . '</li><li data-tab="align">' . $txt['ila_opt_align'] . '</li>
</ul>
Expand Down
1 change: 1 addition & 0 deletions themes/default/languages/english/Post.english.php
Expand Up @@ -182,6 +182,7 @@
// Post settings (when I implement the post interface)
$txt['ila_insert'] = 'Insert Attachment %1$d in the message';
$txt['ila_title'] = 'End-of-post expandable thumbnail ';
$txt['insert'] = 'Insert';
$txt['ila_opt_size'] = 'Size';
$txt['ila_opt_align'] = 'Alignment';
$txt['ila_opt_size_thumb'] = 'Thumbnail';
Expand Down

0 comments on commit cc1c4a3

Please sign in to comment.