mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 21:33:54 -07:00
Some improvements in default template (#1159)
* Some improvements in default template * Update CHANGELOG.md
This commit is contained in:
parent
36fb130336
commit
8531483fdf
5 changed files with 8 additions and 7 deletions
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
**Merged pull requests:**
|
**Merged pull requests:**
|
||||||
|
|
||||||
|
- Some improvements in default template [\#1159](https://github.com/torrentpier/torrentpier/pull/1159) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Use sent port instead of source [\#1158](https://github.com/torrentpier/torrentpier/pull/1158) ([kovalensky](https://github.com/kovalensky))
|
- Use sent port instead of source [\#1158](https://github.com/torrentpier/torrentpier/pull/1158) ([kovalensky](https://github.com/kovalensky))
|
||||||
- Remove unnecessary meta tags from file listing [\#1157](https://github.com/torrentpier/torrentpier/pull/1157) ([kovalensky](https://github.com/kovalensky))
|
- Remove unnecessary meta tags from file listing [\#1157](https://github.com/torrentpier/torrentpier/pull/1157) ([kovalensky](https://github.com/kovalensky))
|
||||||
- Use different file listing url parameters for effective indexing by search engines [\#1156](https://github.com/torrentpier/torrentpier/pull/1156) ([kovalensky](https://github.com/kovalensky))
|
- Use different file listing url parameters for effective indexing by search engines [\#1156](https://github.com/torrentpier/torrentpier/pull/1156) ([kovalensky](https://github.com/kovalensky))
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
<!-- BEGIN f -->
|
<!-- BEGIN f -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1 f_icon">
|
<td class="row1 f_icon">
|
||||||
<a href="search.php?f={c.f.FORUM_ID}&new=1&dm=1&s=0&o=1"><img class="forum_icon" src="{c.f.FORUM_FOLDER_IMG}" alt="{c.f.FORUM_FOLDER_ALT}" /></a>
|
<a href="{U_SEARCH}?f={c.f.FORUM_ID}&new=1&dm=1&s=0&o=1"><img class="forum_icon" src="{c.f.FORUM_FOLDER_IMG}" alt="{c.f.FORUM_FOLDER_ALT}" /></a>
|
||||||
</td>
|
</td>
|
||||||
<td class="row1 f_titles">
|
<td class="row1 f_titles">
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@
|
||||||
<p class="subforums">
|
<p class="subforums">
|
||||||
<em>{L_SUBFORUMS}:</em>
|
<em>{L_SUBFORUMS}:</em>
|
||||||
<!-- BEGIN sf -->
|
<!-- BEGIN sf -->
|
||||||
<span class="sf_title{c.f.sf.SF_NEW}"><a href="search.php?f={c.f.sf.SF_ID}&new=1&dm=1&s=0&o=1" class="dot-sf">►</a><a href="{FORUM_URL}{c.f.sf.SF_ID}" class="dot-sf">{c.f.sf.SF_NAME}</a></span><span class="sf_separator"></span>
|
<span class="sf_title{c.f.sf.SF_NEW}"><a href="{U_SEARCH}?f={c.f.sf.SF_ID}&new=1&dm=1&s=0&o=1" class="dot-sf">►</a><a href="{FORUM_URL}{c.f.sf.SF_ID}" class="dot-sf">{c.f.sf.SF_NAME}</a></span><span class="sf_separator"></span>
|
||||||
<!-- END sf -->
|
<!-- END sf -->
|
||||||
</p>
|
</p>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
|
@ -42,7 +42,7 @@ $(function(){
|
||||||
$.each($('#f-map a'), function(i,a) {
|
$.each($('#f-map a'), function(i,a) {
|
||||||
var f_id = $(a).attr('href');
|
var f_id = $(a).attr('href');
|
||||||
$(a)
|
$(a)
|
||||||
.attr('href', 'viewforum.php?f='+ f_id)
|
.attr('href', '{U_FORUM}?f='+ f_id)
|
||||||
.before('<img class="feed-small" src="{IMG}feed.png" alt="feed" onclick="open_feed('+ f_id +')">')
|
.before('<img class="feed-small" src="{IMG}feed.png" alt="feed" onclick="open_feed('+ f_id +')">')
|
||||||
;
|
;
|
||||||
});
|
});
|
||||||
|
|
|
@ -306,9 +306,9 @@ function go_to_page ()
|
||||||
<input type="hidden" name="to" value="1" />
|
<input type="hidden" name="to" value="1" />
|
||||||
<input id="search-text" type="text" name="nm" placeholder="{L_SEARCH_S}" required />
|
<input id="search-text" type="text" name="nm" placeholder="{L_SEARCH_S}" required />
|
||||||
<select id="search-action">
|
<select id="search-action">
|
||||||
<option value="tracker.php#results" selected> {L_TRACKER_S} </option>
|
<option value="{U_TRACKER}#results" selected> {L_TRACKER_S} </option>
|
||||||
<option value="search.php"> {L_FORUM_S} </option>
|
<option value="{U_SEARCH}"> {L_FORUM_S} </option>
|
||||||
<option value="tracker.php" class="hash"> {L_HASH_S} </option>
|
<option value="{U_TRACKER}" class="hash"> {L_HASH_S} </option>
|
||||||
</select>
|
</select>
|
||||||
<input type="submit" class="med" value="{L_SEARCH}" style="width: 55px;" />
|
<input type="submit" class="med" value="{L_SEARCH}" style="width: 55px;" />
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -261,7 +261,7 @@ function build_poll_add_form (src_el)
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td class="nowrap" style="padding: 0 4px 2px 4px;">
|
<td class="nowrap" style="padding: 0 4px 2px 4px;">
|
||||||
<form action="search.php?t={TOPIC_ID}&dm=1&s=1" method="post">
|
<form action="{U_SEARCH}?t={TOPIC_ID}&dm=1&s=1" method="post">
|
||||||
<input id="search-text" type="text" name="nm" class="hint" style="width: 150px;" placeholder="{L_SEARCH_IN_TOPIC}" required />
|
<input id="search-text" type="text" name="nm" class="hint" style="width: 150px;" placeholder="{L_SEARCH_IN_TOPIC}" required />
|
||||||
<input type="submit" class="bold" value="»" style="width: 30px;" />
|
<input type="submit" class="bold" value="»" style="width: 30px;" />
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue