Dołącz do zespołu ekspertów! Backend lub Frontend Developer?

Sprawdź najnowsze oferty pracy naszego partnera - 8lines.io!

Przeniesienie przycisku "Nowy Wątek"

Założony przez  minusek.

wersja skryptu MyBB:1.8
adres forum: Truparnia.eu
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): screen w załączniku

Chciałbym przenieść przycisk "Nowy Wątek" tam gdzie narysowałem na screenie.


Załączone pliki Miniatury
   
Pokaż szablon forumdisplay (widok działu).
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
<html>
<head>
<title>{$mybb->settings['bbname']} - {$foruminfo['name']} </title>
{$headerinclude}
{$rssdiscovery}
<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
    lang.inline_edit_description = "{$lang->inline_edit_description}";
    lang.post_fetch_error = "{$lang->post_fetch_error}";
// -->
</script>
<!-- jeditable (jquery) -->
<script src="{$mybb->asset_url}/jscripts/jeditable/jeditable.min.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/inline_edit.js?ver=1800"></script>
</head>
<body>
{$header}
{$moderatedby}
{$rules}
{$subforums}
{$threadslist}
{$usersbrowsing}
{$footer}
</body>
</html>
To jednak będzie forumdisplay_threadlist. Mój błąd.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder clear">
    <tr>
        <td class="thead" colspan="{$colspan}">
            <div class="float_right">
                <a href="misc.php?action=markread&amp;fid={$fid}{$post_code_string}" class="effect" title="{$lang->markforum_read}"><i class="fa fa-check-square fa-lg"></i></a>&nbsp;&nbsp;
                  <a href="usercp2.php?action={$add_remove_subscription}subscription&amp;type=forum&amp;fid={$fid}&amp;my_post_key={$mybb->post_code}" class="effect" title="{$add_remove_subscription_text}"><i class="fa fa-plus-square fa-lg"></i></a>{$clearstoredpass}
            </div>
            <div>
                <strong>{$foruminfo['name']}</strong>
            </div>
        </td>
    </tr>
    <tr style="display: none;">
        <td class="tcat" colspan="3" width="66%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow['subject']} / <a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
        <td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
        <td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>
        {$ratingcol}
        <td class="tcat" align="right" width="20%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
        {$inlinemodcol}
    </tr>
    {$selectall}
    {$announcementlist}
    {$threads}
    <tr>
        <td class="tfoot" align="right" colspan="{$colspan}">
            <form action="forumdisplay.php" method="get">
                <input type="hidden" name="selectall" value="" />
                <input type="hidden" name="fid" value="{$fid}" />
                <select name="sortby">
                    <option value="subject" {$sortsel['subject']}>{$lang->sort_by_subject}</option>
                    <option value="lastpost" {$sortsel['lastpost']}>{$lang->sort_by_lastpost}</option>
                    <option value="starter" {$sortsel['starter']}>{$lang->sort_by_starter}</option>
                    <option value="started" {$sortsel['started']}>{$lang->sort_by_started}</option>
                    {$ratingsort}
                    <option value="replies" {$sortsel['replies']}>{$lang->sort_by_replies}</option>
                    <option value="views" {$sortsel['views']}>{$lang->sort_by_views}</option>
                </select>
                <select name="order">
                    <option value="asc" {$ordersel['asc']}>{$lang->sort_order_asc}</option>
                    <option value="desc" {$ordersel['desc']}>{$lang->sort_order_desc}</option>
                </select>
                <select name="datecut">
                    <option value="1" {$datecutsel['1']}>{$lang->datelimit_1day}</option>
                    <option value="5" {$datecutsel['5']}>{$lang->datelimit_5days}</option>
                    <option value="10" {$datecutsel['10']}>{$lang->datelimit_10days}</option>
                    <option value="20" {$datecutsel['20']}>{$lang->datelimit_20days}</option>
                    <option value="50" {$datecutsel['50']}>{$lang->datelimit_50days}</option>
                    <option value="75" {$datecutsel['75']}>{$lang->datelimit_75days}</option>
                    <option value="100" {$datecutsel['100']}>{$lang->datelimit_100days}</option>
                    <option value="365" {$datecutsel['365']}>{$lang->datelimit_lastyear}</option>
                    <option value="9999" {$datecutsel['9999']}>{$lang->datelimit_beginning}</option>
                </select>
                {$prefixselect}
                {$gobutton}
            </form>
        </td>
    </tr>
</table>
<div class="float_left" style="margin-top: 10px;">
    {$multipage}
</div>
<div class="float_right" style="margin-top: 17px;">
    {$newthread}
</div>
<br class="clear" />
<br />
<div class="float_left">
    <div class="float_left">
        <dl class="thread_legend smalltext">
            <dd><span class="thread_status newfolder" title="{$lang->new_thread}">&nbsp;</span> {$lang->new_thread}</dd>
            <dd><span class="thread_status newhotfolder" title="{$lang->new_hot_thread}">&nbsp;</span> {$lang->new_hot_thread}</dd>
            <dd><span class="thread_status hotfolder" title="{$lang->hot_thread}">&nbsp;</span> {$lang->hot_thread}</dd>
        </dl>
    </div>
    <div class="float_left">
        <dl class="thread_legend smalltext">
            <dd><span class="thread_status folder" title="{$lang->no_new_thread}">&nbsp;</span> {$lang->no_new_thread}</dd>
            <dd><span class="thread_status dot_folder" title="{$lang->posts_by_you}">&nbsp;</span> {$lang->posts_by_you}</dd>
            <dd><span class="thread_status lockfolder" title="{$lang->locked_thread}">&nbsp;</span> {$lang->locked_thread}</dd>
        </dl>
    </div>
    <br class="clear" />
</div>
<div class="float_right" style="text-align: right;">
    {$inlinemod}
    {$searchforum}
    {$forumjump}
</div>
<br class="clear" />
{$inline_edit_js}
<div class="float_right" style="margin-top: 17px;">
    {
$newthread}
</
div><table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder clear">
    <
tr>
        <
td class="thead" colspan="{$colspan}">
            <
div class="float_right">
                <
a href="misc.php?action=markread&amp;fid={$fid}{$post_code_string}class="effect" title="{$lang->markforum_read}"><class="fa fa-check-square fa-lg"></i></a>&nbsp;&nbsp;
                  <
a href="usercp2.php?action={$add_remove_subscription}subsc​ription&amp;type=forum&amp;fid={$fid}&amp;my_post_key={$mybb->post_code}class="effect" title="{$add_remove_subscription_text}"><class="fa fa-plus-square fa-lg"></i></a>{$clearstoredpass}
            </
div>
            <
div>
                <
strong>{$foruminfo['name']}</strong>
            </
div>
        </
td>
    </
tr>
    
    <
tr style="display: none;">
        <
td class="tcat" colspan="3" width="66%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow['subject']} / <a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
        <
td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
        <
td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>
        {
$ratingcol}
        <
td class="tcat" align="right" width="20%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
        {
$inlinemodcol}
    </
tr>
    {
$selectall}
    {
$announcementlist}
    {
$threads}
    <
tr>
        <
td class="tfoot" align="right" colspan="{$colspan}">
            <
form action="forumdisplay.php" method="get">
                <
input type="hidden" name="selectall" value="" />
                <
input type="hidden" name="fid" value="{$fid}/>
                <
select name="sortby">
                    <
option value="subject" {$sortsel['subject']}>{$lang->sort_by_subject}</option>
                    <
option value="lastpost" {$sortsel['lastpost']}>{$lang->sort_by_lastpost}</option>
                    <
option value="starter" {$sortsel['starter']}>{$lang->sort_by_starter}</option>
                    <
option value="started" {$sortsel['started']}>{$lang->sort_by_started}</option>
                    {
$ratingsort}
                    <
option value="replies" {$sortsel['replies']}>{$lang->sort_by_replies}</option>
                    <
option value="views" {$sortsel['views']}>{$lang->sort_by_views}</option>
                </
select>
                <
select name="order">
                    <
option value="asc" {$ordersel['asc']}>{$lang->sort_order_asc}</option>
                    <
option value="desc" {$ordersel['desc']}>{$lang->sort_order_desc}</option>
                </
select>
                <
select name="datecut">
                    <
option value="1" {$datecutsel['1']}>{$lang->datelimit_1day}</option>
                    <
option value="5" {$datecutsel['5']}>{$lang->datelimit_5days}</option>
                    <
option value="10" {$datecutsel['10']}>{$lang->datelimit_10days}</option>
                    <
option value="20" {$datecutsel['20']}>{$lang->datelimit_20days}</option>
                    <
option value="50" {$datecutsel['50']}>{$lang->datelimit_50days}</option>
                    <
option value="75" {$datecutsel['75']}>{$lang->datelimit_75days}</option>
                    <
option value="100" {$datecutsel['100']}>{$lang->datelimit_100days}</option>
                    <
option value="365" {$datecutsel['365']}>{$lang->datelimit_lastyear}</option>
                    <
option value="9999" {$datecutsel['9999']}>{$lang->datelimit_beginning}</option>
                </
select>
                {
$prefixselect}
                {
$gobutton}
            </
form>
        </
td>
    </
tr>
</
table>
<
div class="float_left" style="margin-top: 10px;">
    {
$multipage}
</
div>

<
br class="clear" />
<
br />
<
div class="float_left">
    <
div class="float_left">
        <
dl class="thread_legend smalltext">
            <
dd><span class="thread_status newfolder" title="{$lang->new_thread}">&nbsp;</span> {$lang->new_thread}</dd>
            <
dd><span class="thread_status newhotfolder" title="{$lang->new_hot_thread}">&nbsp;</span> {$lang->new_hot_thread}</dd>
            <
dd><span class="thread_status hotfolder" title="{$lang->hot_thread}">&nbsp;</span> {$lang->hot_thread}</dd>
        </
dl>
    </
div>
    <
div class="float_left">
        <
dl class="thread_legend smalltext">
            <
dd><span class="thread_status folder" title="{$lang->no_new_thread}">&nbsp;</span> {$lang->no_new_thread}</dd>
            <
dd><span class="thread_status dot_folder" title="{$lang->posts_by_you}">&nbsp;</span> {$lang->posts_by_you}</dd>
            <
dd><span class="thread_status lockfolder" title="{$lang->locked_thread}">&nbsp;</span> {$lang->locked_thread}</dd>
        </
dl>
    </
div>
    <
br class="clear" />
</
div>
<
div class="float_right" style="text-align: right;">
    {
$inlinemod}
    {
$searchforum}
    {
$forumjump}
</
div>
<
br class="clear" />
{
$inline_edit_js
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
(02.10.2014, 17:00)Snake_ napisał(a):
<div class="float_right" style="margin-top: 17px;">
    {
$newthread}
</
div><table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder clear">
    <
tr>
        <
td class="thead" colspan="{$colspan}">
            <
div class="float_right">
                <
a href="misc.php?action=markread&amp;fid={$fid}{$post_code_string}class="effect" title="{$lang->markforum_read}"><class="fa fa-check-square fa-lg"></i></a>&nbsp;&nbsp;
                  <
a href="usercp2.php?action={$add_remove_subscription}subsc​ription&amp;type=forum&amp;fid={$fid}&amp;my_post_key={$mybb->post_code}class="effect" title="{$add_remove_subscription_text}"><class="fa fa-plus-square fa-lg"></i></a>{$clearstoredpass}
            </
div>
            <
div>
                <
strong>{$foruminfo['name']}</strong>
            </
div>
        </
td>
    </
tr>
    
    <
tr style="display: none;">
        <
td class="tcat" colspan="3" width="66%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow['subject']} / <a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
        <
td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
        <
td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>
        {
$ratingcol}
        <
td class="tcat" align="right" width="20%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
        {
$inlinemodcol}
    </
tr>
    {
$selectall}
    {
$announcementlist}
    {
$threads}
    <
tr>
        <
td class="tfoot" align="right" colspan="{$colspan}">
            <
form action="forumdisplay.php" method="get">
                <
input type="hidden" name="selectall" value="" />
                <
input type="hidden" name="fid" value="{$fid}/>
                <
select name="sortby">
                    <
option value="subject" {$sortsel['subject']}>{$lang->sort_by_subject}</option>
                    <
option value="lastpost" {$sortsel['lastpost']}>{$lang->sort_by_lastpost}</option>
                    <
option value="starter" {$sortsel['starter']}>{$lang->sort_by_starter}</option>
                    <
option value="started" {$sortsel['started']}>{$lang->sort_by_started}</option>
                    {
$ratingsort}
                    <
option value="replies" {$sortsel['replies']}>{$lang->sort_by_replies}</option>
                    <
option value="views" {$sortsel['views']}>{$lang->sort_by_views}</option>
                </
select>
                <
select name="order">
                    <
option value="asc" {$ordersel['asc']}>{$lang->sort_order_asc}</option>
                    <
option value="desc" {$ordersel['desc']}>{$lang->sort_order_desc}</option>
                </
select>
                <
select name="datecut">
                    <
option value="1" {$datecutsel['1']}>{$lang->datelimit_1day}</option>
                    <
option value="5" {$datecutsel['5']}>{$lang->datelimit_5days}</option>
                    <
option value="10" {$datecutsel['10']}>{$lang->datelimit_10days}</option>
                    <
option value="20" {$datecutsel['20']}>{$lang->datelimit_20days}</option>
                    <
option value="50" {$datecutsel['50']}>{$lang->datelimit_50days}</option>
                    <
option value="75" {$datecutsel['75']}>{$lang->datelimit_75days}</option>
                    <
option value="100" {$datecutsel['100']}>{$lang->datelimit_100days}</option>
                    <
option value="365" {$datecutsel['365']}>{$lang->datelimit_lastyear}</option>
                    <
option value="9999" {$datecutsel['9999']}>{$lang->datelimit_beginning}</option>
                </
select>
                {
$prefixselect}
                {
$gobutton}
            </
form>
        </
td>
    </
tr>
</
table>
<
div class="float_left" style="margin-top: 10px;">
    {
$multipage}
</
div>

<
br class="clear" />
<
br />
<
div class="float_left">
    <
div class="float_left">
        <
dl class="thread_legend smalltext">
            <
dd><span class="thread_status newfolder" title="{$lang->new_thread}">&nbsp;</span> {$lang->new_thread}</dd>
            <
dd><span class="thread_status newhotfolder" title="{$lang->new_hot_thread}">&nbsp;</span> {$lang->new_hot_thread}</dd>
            <
dd><span class="thread_status hotfolder" title="{$lang->hot_thread}">&nbsp;</span> {$lang->hot_thread}</dd>
        </
dl>
    </
div>
    <
div class="float_left">
        <
dl class="thread_legend smalltext">
            <
dd><span class="thread_status folder" title="{$lang->no_new_thread}">&nbsp;</span> {$lang->no_new_thread}</dd>
            <
dd><span class="thread_status dot_folder" title="{$lang->posts_by_you}">&nbsp;</span> {$lang->posts_by_you}</dd>
            <
dd><span class="thread_status lockfolder" title="{$lang->locked_thread}">&nbsp;</span> {$lang->locked_thread}</dd>
        </
dl>
    </
div>
    <
br class="clear" />
</
div>
<
div class="float_right" style="text-align: right;">
    {
$inlinemod}
    {
$searchforum}
    {
$forumjump}
</
div>
<
br class="clear" />
{
$inline_edit_js

Teraz "Nowy wątek" nachodzi na tą niebieską belke, a chcę żeby był troszeczkę u góry. Screen w załączniku.


Załączone pliki Miniatury
   
Usuń to:
style="margin-top: 17px;" 
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
Dalej tak samo jest ;/
Jesteś pewien, że prawidłowo zamknąłeś tego div-a po usunięciu style? Ewentualnie w miejsce tego co usunąłeś dodaj:
style="padding-bottom: 20px;" 
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.



Użytkownicy przeglądający ten wątek:

1 gości