Merge branch 'release/1.1.1'

This commit is contained in:
Andy Miller 2015-12-11 13:15:16 -07:00
commit a88f5e053f
4 changed files with 20 additions and 13 deletions

View File

@ -1,14 +1,21 @@
# v1.1.1
## 12/11/2015
1. [](#improved)
* Drop the autofocus on the comment form
1. [](#bugfix)
* Fix double encoding (#12)
# v1.1.0 # v1.1.0
## 11/24/2015 ## 11/24/2015
1. [](#improved)
Use date instead of gmdate to respect the server local time (thanks @bovisp)
1. [](#improved)
Now works with multilang (thanks @bovisp)
1. [](#new) 1. [](#new)
Added french (@codebee-fr) and russian (@joomline) languages * Added french (@codebee-fr) and russian (@joomline) languages
1. [](#new) * Takes advantage of the new nonce support provided by the Form plugin
Takes advantage of the new nonce support provided by the Form plugin 1. [](#improved)
* Use date instead of gmdate to respect the server local time (thanks @bovisp)
* Now works with multilang (thanks @bovisp)
# v1.0.2 # v1.0.2
## 11/13/2015 ## 11/13/2015
@ -21,10 +28,11 @@
# v1.0.1 # v1.0.1
## 11/11/2015 ## 11/11/2015
1. [](#bugfix)
* Fix error when user/data/comments does not exist
1. [](#improved) 1. [](#improved)
* Use onAdminMenu instead of the deprecated onAdminTemplateNavPluginHook * Use onAdminMenu instead of the deprecated onAdminTemplateNavPluginHook
1. [](#bugfix)
* Fix error when user/data/comments does not exist
# v1.0.0 # v1.0.0
## 10/21/2015 ## 10/21/2015

View File

@ -1,5 +1,5 @@
name: Comments name: Comments
version: 1.1.0 version: 1.1.1
description: Adds a commenting functionality to your site description: Adds a commenting functionality to your site
icon: comment icon: comment
author: author:

View File

@ -14,7 +14,6 @@ form:
- name: name - name: name
label: Name label: Name
placeholder: Enter your name placeholder: Enter your name
autofocus: on
autocomplete: on autocomplete: on
type: text type: text
validate: validate:

View File

@ -35,9 +35,9 @@
{% for comment in grav.twig.comments|array_reverse %} {% for comment in grav.twig.comments|array_reverse %}
<tr> <tr>
<td> <td>
{{comment.text|e}} {{comment.text}}
<br /> <br />
{{'PLUGIN_COMMENTS.WRITTEN_ON'|t}} {{comment.date|e}} {{'PLUGIN_COMMENTS.BY'|t}} {{comment.author|e}} {{'PLUGIN_COMMENTS.WRITTEN_ON'|t}} {{comment.date|e}} {{'PLUGIN_COMMENTS.BY'|t}} {{comment.author}}
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}