diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/main.js | 3 | ||||
| -rw-r--r-- | templates/post_reply.html | 4 | ||||
| -rw-r--r-- | templates/post_thread.html | 4 |
3 files changed, 7 insertions, 4 deletions
diff --git a/templates/main.js b/templates/main.js index 05a8fd5f..7e8793cb 100644 --- a/templates/main.js +++ b/templates/main.js @@ -168,6 +168,9 @@ function dopost(form) { if (form.elements['name']) { localStorage.name = form.elements['name'].value.replace(/( |^)## .+$/, ''); } + if (form.elements['password']) { + localStorage.password = form.elements['password'].value; + } if (form.elements['email'] && form.elements['email'].value != 'sage') { localStorage.email = form.elements['email'].value; } diff --git a/templates/post_reply.html b/templates/post_reply.html index 28cbd7f8..c5d24247 100644 --- a/templates/post_reply.html +++ b/templates/post_reply.html @@ -26,12 +26,12 @@ {{ capcode.cap }} {% endif %} {% if post.mod and post.mod|hasPermission(config.mod.show_ip, board.uri) %} - [<a style="margin:0;" href="?/IP/{{ post.ip }}">{{ post.ip }}</a>] + [<a class="ip-link" style="margin:0;" href="?/IP/{{ post.ip }}">{{ post.ip }}</a>] {% endif %} {% if config.display_flags and post.modifiers.flag %} <img class="flag" src="{{ config.uri_flags|sprintf(post.modifiers.flag) }}" style="{% if post.modifiers['flag style'] %}{{ post.modifiers['flag style'] }}{% else %}{{ config.flag_style }}{% endif %}" - {% if post.modifiers['flag alt'] %}title="{{ post.modifiers['flag alt'] | e('html_attr') }}"{% endif %}> + {% if post.modifiers['flag alt'] %}alt="{{ post.modifiers['flag alt'] | e('html_attr') }}" title="{{ post.modifiers['flag alt'] | e('html_attr') }}"{% endif %}> {% endif %} <time datetime="{{ post.time|date('%Y-%m-%dT%H:%M:%S') }}{{ timezone() }}">{{ post.time|date(config.post_date) }}</time> </label> diff --git a/templates/post_thread.html b/templates/post_thread.html index 97fad11c..70c03f8e 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -80,12 +80,12 @@ {{ capcode.cap }} {% endif %} {% if post.mod and post.mod|hasPermission(config.mod.show_ip, board.uri) %} - [<a style="margin:0;" href="?/IP/{{ post.ip }}">{{ post.ip }}</a>] + [<a class="ip-link" style="margin:0;" href="?/IP/{{ post.ip }}">{{ post.ip }}</a>] {% endif %} {% if config.display_flags and post.modifiers.flag %} <img class="flag" src="{{ config.uri_flags|sprintf(post.modifiers.flag) }}" style="{% if post.modifiers['flag style'] %}{{ post.modifiers['flag style'] }}{% else %}{{ config.flag_style }}{% endif %}" - {% if post.modifiers['flag alt'] %}title="{{ post.modifiers['flag alt'] | e('html_attr') }}"{% endif %}> + {% if post.modifiers['flag alt'] %}alt="{{ post.modifiers['flag alt'] | e('html_attr') }}" title="{{ post.modifiers['flag alt'] | e('html_attr') }}"{% endif %}> {% endif %} <time datetime="{{ post.time|date('%Y-%m-%dT%H:%M:%S') }}{{ timezone() }}">{{ post.time|date(config.post_date) }}</time> </label> |
