Changeset 1738

Show
Ignore:
Timestamp:
06/19/07 16:07:02 (16 months ago)
Author:
mbonetti
Message:

Admin > Tags table: made tags display:block for easier clicking, ditto for
Admin > Feeds (favicon loaded via style)

Location:
trunk/gregarius
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/admin/channels.php

    r1683 r1738  
    203203        $slabel = count($fmode)?implode(", ",$fmode):" "; 
    204204        if ($icon && substr($icon,0,5) == 'blob:') { 
    205             $icon = getPath() . "extlib/favicon.php?url=" .rss_real_escape_string(substr($icon,5)); 
    206         } 
     205            $icon = getPath( "extlib/favicon.php?url=" .rss_real_escape_string(substr($icon,5))); 
     206        } 
     207        $style_ = "display:block;"; 
     208        if($icon && getConfig('rss.output.showfavicons')) { 
     209            $style_ .= "background: url($icon) no-repeat; padding-left: 22px;"; 
     210        } 
     211        if ($dead) { 
     212            $style_ .= 'text-decoration:line-through'; 
     213        } 
     214             
    207215        echo "<tr class=\"$class_\" id=\"fa$id\">\n" 
    208216        ."\t<td><input type=\"checkbox\" name=\"fcb$id\" value=\"$id\" id=\"scb_$id\" /></td>\n" 
    209217        ."\t<td>" 
    210         .((getConfig('rss.output.showfavicons') && $icon != "")? 
    211           "<img src=\"$icon\" class=\"favicon\" alt=\"\" width=\"16\" height=\"16\" />":"") 
    212         ."<label for=\"scb_$id\"".($dead ? ' style="text-decoration:line-through">' : ">").$title."</label>" 
     218        ."<label for=\"scb_$id\" style=\"$style_\">".$title."</label>" 
    213219        ."</td>\n" 
    214220        ."\t<td class=\"cntr\">".preg_replace('/ /','&nbsp;',$parentLabel)."</td>\n" 
  • trunk/gregarius/themes/default/web/css/layout.css

    r1680 r1738  
    253253} 
    254254 
    255 form#channeledit input { display:block; } 
     255form#channeledit input, table#tagtable label { display:block; } 
    256256 
    257257form#channeledit input[type="text"] {