Announcement

Collapse
No announcement yet.

How do I fix this - Colspan issue?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I fix this - Colspan issue?

    Not really up to par with the php lingo but how would I go about fixing this, see the image...

    http://www.seriosuploader.com/files/1/issue.gif

    On the far right there's a space, and the thread title is in the wrong column

    here's the template:
    PHP Code:
    $stylevar[htmldoctype]
    <
    html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
    <
    head>
    $headinclude
    <title>$vboptions[bbtitle] - $vbphrase[search_results]</title>
    <if 
    condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script></if>
    </
    head>
    <
    body>
    $header
    $navbar

    <if condition="$pagenav">
    <
    table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
    <
    tr valign="bottom">
        <
    td align="$stylevar[right]">$pagenav</td>
    </
    tr>
    </
    table>
    </if>

    <
    form action="inlinemod.php" method="post" id="inlinemodform">
    <
    input type="hidden" name="url" value="$url/>
    <
    input type="hidden" name="s" value="$session[sessionhash]/>
    <
    input type="hidden" name="forumid" value="$forumid/>

    <
    table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center" id="threadslist">
    <
    tr>
        <
    td class="tcat" colspan="$threadcolspanstyle="font-weight:normal">
        
            <
    span class="smallfont" style="float:$stylevar[right]">
                <
    phrase 1="$first2="$last3="$numitems">$vbphrase[showing_results_x_to_y_of_z]</phrase>
                <
    br />
                <if 
    condition="$show['generated']">
                <
    phrase 1="$searchtime2="$searchminutes">$vbphrase[search_took_x_seconds_gen_y_mins]</phrase>
                <else />
                <
    phrase 1="$searchtime">$vbphrase[search_took_x_seconds]</phrase>
                </if>
            </
    span>
            
            <
    a href="search.php?$session[sessionurl]$searchquery"><strong>$vbphrase[search]:</strong></a>
            <
    span class="smallfont">
            <if 
    condition="$action == 'process'">
                <if 
    condition="$displayWords">$vbphrase[key_words]: $displayWords</if>
                <if 
    condition="$displayWords AND $displayUsers">; </if>
                <if 
    condition="$displayUsers">
                    <if 
    condition="$starteronly">$vbphrase[threads_started_by]<else />$vbphrase[posts_made_by]</if>: $displayUsers
                
    </if>
            <else />
                <if 
    condition="$action == 'getnew'">$vbphrase[new_posts_nav]<else />$vbphrase[posts_from_last_day]</if>
            </if>
            <if 
    condition="$displayForums">
                ; 
    $vbphrase[forum]: $displayForums <if condition="$childforums">$vbphrase[and_child_forums]</if>
            </if>
            </
    span>
        </
    td>
    </
    tr>

    <if 
    condition="$displayCommon">
    <
    tr>
        <
    td class="thead" style="font-weight: normal" colspan="$threadcolspan">$vbphrase[words_very_common]: $displayCommon</td>
    </
    tr>
    </if>

    <if 
    condition="$search['showposts']">

    </
    table>

    $searchbits

    <table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">

    <else />

    <
    tr>
        <
    td class="thead" colspan="2">&nbsp;</td>
        <
    td class="thead" width="75%">$vbphrase[thread] / $vbphrase[thread_starter]</td>
        <
    td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
        <
    td class="thead" align="center" nowrap="nowrap">$vbphrase[replies]</td>
        <
    td class="thead" align="center" nowrap="nowrap">$vbphrase[views]</td>
        <
    td class="thead" width="25%">$vbphrase[forum]</td>
        
        <if 
    condition="$show['inlinemod']">
            <if 
    condition="$show['popups']">
                <
    td class="vbmenu_control" id="imod" align="center"> <script type="text/javascript"vbmenu_register('imod'); </script> </td>
            <else />
                <
    td class="thead" align="center">
                    <
    input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]onclick="inlineMod.check_all()" />
                </
    td>
            </if>
        </if>    
        
    </
    tr>
    $searchbits

    <if condition="$show['ajax_js']">
        <
    script type="text/javascript" src="clientscript/vbulletin_ajax_threadslist.js"></script>
        <
    script type="text/javascript">
        <!--
        
    vB_AJAX_Threadlist_Init('threadslist');
        
    //-->
        
    </script>
    </if>

    </if>

    <
    tr>
        <
    td class="tfoot" colspan="$threadcolspanalign="$stylevar[right]">
            <
    span class="smallfont"><phrase 1="$first2="$last3="$numitems">$vbphrase[showing_results_x_to_y_of_z]</phrase></span>
        </
    td>
    </
    tr>
    </
    table>

    <if 
    condition="$pagenav">
    <
    table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
    <
    tr valign="top">
        <if 
    condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
    </
    tr>
    </
    table>
    </if>

    <if 
    condition="$show['inlinemod']">
    <
    table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
    <
    tr valign="top">
        <
    td class="smallfont" align="$stylevar[right]">
            <
    br /><strong>$vbphrase[moderation]</strong>
            <if 
    condition="!$search['showposts']">
                <
    select name="do">
                    <
    optgroup label="$vbphrase[option]">
                        <
    option value="deletethread">$vbphrase[delete_threads]</option>
                        <
    option value="undeletethread">$vbphrase[undelete_threads]</option>
                        <
    option value="open">$vbphrase[open_threads]</option>
                        <
    option value="close">$vbphrase[close_threads]</option>
                        <
    option value="approvethread">$vbphrase[approve_threads]</option>
                        <
    option value="unapprovethread">$vbphrase[unapprove_threads]</option>
                        <
    option value="stick">$vbphrase[stick_threads]</option>
                        <
    option value="unstick">$vbphrase[unstick_threads]</option>
                        <
    option value="movethread">$vbphrase[move_threads]</option>
                        <
    option value="mergethread">$vbphrase[merge_threads]</option>
                    </
    optgroup>
                    <
    optgroup label="____________________">
                        <
    option value="clearthread">$vbphrase[clear_thread_list]</option>
                    </
    optgroup>
                </
    select>
                <
    input type="submit" class="button" id="inlinego" value="$vbphrase[go]/>
                <
    script type="text/javascript">
                <!--
                
    inlineMod = new vB_Inline_Mod('inlineMod''thread''inlinemodform''$vbphrase[go_x]');
                
    //-->
                
    </script>
            <else />
                <
    select name="do">
                    <
    optgroup label="$vbphrase[option]">
                        <
    option value="mergeposts">$vbphrase[merge_posts]</option>
                        <
    option value="moveposts">$vbphrase[move_posts]</option>
                        <
    option value="deleteposts">$vbphrase[delete_posts]</option>
                        <
    option value="undeleteposts">$vbphrase[undelete_posts]</option>
                        <
    option value="approveposts">$vbphrase[approve_posts]</option>
                        <
    option value="unapproveposts">$vbphrase[unapprove_posts]</option>
                        <
    option value="approveattachments">$vbphrase[approve_attachments]</option>
                        <
    option value="unapproveattachments">$vbphrase[unapprove_attachments]</option>
                    </
    optgroup>
                    <
    optgroup label="____________________">
                        <
    option value="clearpost">$vbphrase[clear_post_list]</option>
                    </
    optgroup>
                </
    select>
                <
    input type="submit" class="button" id="inlinego" value="$vbphrase[go]/>
                <
    script type="text/javascript">
                <!--
                
    inlineMod = new vB_Inline_Mod('inlineMod''post''inlinemodform''$vbphrase[go_x]');
                
    //-->
                
    </script>
            </if>
        </
    td>
    </
    tr>
    </
    table>
    </if>

    </
    form>

    <
    br />

    <
    table cellpadding="0" cellspacing="0" border="0" width="100%">
    <
    tr>
        <
    td width="100%">&nbsp;</td>
        <
    td>$forumjump</td>
    </
    tr>
    </
    table>

    <if 
    condition="$show['inlinemod'] AND $show['popups']">
        <
    div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
            
    $threadadmin_imod_menu
        
    </div>
    </if>

    $footer

    </body>
    </
    html

  • #2
    Anyone, please? Simple fix probably

    Comment


    • #3
      I would really like to get this resolved, now that I've added some new styles under the parent style it's getting more annoying, and I don't have the knowledge to fix it.

      Comment


      • #4
        I think it has to do with your threadbit template's. You modified something which added a <td>, or you might have forgotten to close one, but that is why everything in the threadbits are moved over to the right by one <td>

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X