mirror of
https://github.com/Circlepuller/Tinyboard.git
synced 2025-01-29 11:00:44 +01:00
Added theme support for post-hover.js
This commit is contained in:
parent
918fd85b25
commit
dcdf713ab9
@ -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/')
|
||||
// );
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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());
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user