Added theme support for post-hover.js

This commit is contained in:
Daniel Saunders 2018-11-24 15:24:27 -05:00
parent 918fd85b25
commit dcdf713ab9
4 changed files with 6 additions and 6 deletions

View File

@ -936,7 +936,7 @@
// array('a', 'b'),
// array('c', 'd', 'e', 'f', 'g'),
// array('h', 'i', 'j'),
// array('k', array('l', 'm')),
// array('k', 'l', 'm'),
// array('status' => 'http://status.example.org/')
// );

View File

@ -61,7 +61,7 @@
<ul>
{% for post in recent_images %}
<li>
<a href="{{ post.link }}">
<a href="{{ post.link }}" data-thread="{{ post.thread }}">
<img src="{{ post.src }}" style="width:{{ post.thumbwidth }}px;height:{{ post.thumbheight }}px" alt="">
</a>
</li>
@ -76,7 +76,7 @@
{% for post in recent_posts %}
<li>
<strong>{{ post.board_name }}</strong>:
<a href="{{ post.link }}">
<a href="{{ post.link }}" data-thread="{{ post.thread }}">
{{ post.snippet }}
</a>
</li>

View File

@ -64,7 +64,7 @@
$query = preg_replace('/UNION ALL $/', 'ORDER BY `time` DESC LIMIT ' . (int)$settings['limit_images'], $query);
if ($query == '') {
error(_("Can't build the RecentPosts theme, because there are no boards to be fetched."));
error(_("Can't build the AwsumChan theme, because there are no boards to be fetched."));
}
$query = query($query) or error(db_error());

View File

@ -24,7 +24,7 @@
<ul>
{% for post in recent_images %}
<li>
<a href="{{ post.link }}">
<a href="{{ post.link }}" data-thread="{{ post.thread }}">
<img src="{{ post.src }}" style="width:{{ post.thumbwidth }}px;height:{{ post.thumbheight }}px" alt="">
</a>
</li>
@ -37,7 +37,7 @@
{% for post in recent_posts %}
<li>
<strong>{{ post.board_name }}</strong>:
<a href="{{ post.link }}">
<a href="{{ post.link }}" data-thread="{{ post.thread }}">
{{ post.snippet }}
</a>
</li>