Ignore:
Timestamp:
07/05/08 20:27:13 (4 years ago)
Author:
hverton
Message:

code block fold-out is now compatible with Konqueror, workaround for IE implemented so the layout doesn't break

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/forum_functions_include.php

    r1524 r1526  
    364364    $id = count($codeblocks); 
    365365    ++$blockcount; 
    366     $link = "<img src='".THEME."images/panel_on.gif' alt='' title='Toggle full code view' name='b_code_".$id."' onclick=\"javascript:flipOverflow('code_".$id."')\" />"; 
     366    $link = "<img src='".THEME."images/panel_on.gif' alt='' title='Toggle full code view' name='b_code_".$blockcount."' onclick=\"javascript:flipOverflow('code_".$blockcount."')\" />"; 
    367367    $link .= "<div class='side' style='display:inline;'> <a href='".BASEDIR."getfile.php?type=fc&amp;forum_id=".$current_message['forum_id']."&amp;thread_id=".$current_message['thread_id']."&amp;post_id=".$current_message['post_id']."&amp;id=".$id."' title='download this ".$matches[1]." code'>download</a> </div>"; 
    368368    $codeblocks[] = array(" 
    369     <div id='box_code_".$id."' class='codecontainer'> 
     369    <div id='box_code_".$blockcount."' class='codecontainer'> 
    370370    <table class='codeblock' cellpadding='0' cellspacing='0'> 
    371371        <tr style='padding:0px;margin:0px;'> 
Note: See TracChangeset for help on using the changeset viewer.