Liam Allan

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
in reply to: Entire button clickable? #20390

Liam Allan
Member

in reply to: Entire button clickable? #20386

Liam Allan
Member

find the following code in download-manager.php (roughly line 214):

$html = "<div id='wpdm_file_{$id}' class='wpdm_file $template'>{$title}<div class='cont'>{$desc}{$password_field}<div class='btn_outer'><div class='btn_outer_c' style='{$bg}'><a class='btn_left $classrel $hc' rel='{$id}' title='{$data['title']}' href='$url'  >$link_label</a>";
    if($data['show_counter']!=0)
    $html .= "<span class='btn_right counter'>$data[download_count] downloads</span>";    
    else
    $html .= "<span class='btn_right'>&nbsp;</span>";             
    $html .= "</div></div><div class='clear'></div></div></div>";

and replace with:

$html = "<div id='wpdm_file_{$id}' class='wpdm_file $template'>{$title}<div class='cont'>{$desc}{$password_field}<a class='btn_left $classrel $hc' rel='{$id}' title='{$data['title']}' href='$url'  ><div class='btn_outer'><div class='btn_outer_c' style='{$bg}'>$link_label";
    if($data['show_counter']!=0)
    $html .= "<span class='btn_right counter'>$data[download_count] downloads</span>";    
    else
    $html .= "<span class='btn_right'>&nbsp;</span>";             
    $html .= "</div></div></a><div class='clear'></div></div></div>";
Viewing 2 posts - 1 through 2 (of 2 total)