Changeset 5746 for trunk/lib/view/iphoneView.php
- Timestamp:
- 04/11/08 17:24:28 (7 months ago)
- Files:
-
- 1 modified
-
trunk/lib/view/iphoneView.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/view/iphoneView.php
r5665 r5746 79 79 if ($xhtml) { 80 80 $printCategory = '<li class="category"><a href="' . htmlspecialchars($tree['link']) . '" class="link">' . htmlspecialchars($tree['label']); 81 $printCategory .= ' <span class="c_cnt"> (' . $tree['value'] . ')</span>';81 $printCategory .= ' <span class="c_cnt">' . $tree['value'] . '</span>'; 82 82 $printCategory .= '</a></li>'; 83 83 for ($i=0; $i<count($tree['children']); $i++) { 84 84 $child = $tree['children'][$i]; 85 85 $printCategory .= '<li class="category"><a href="' . htmlspecialchars($child['link']) . '" class="link">' . htmlspecialchars($child['label']); 86 $printCategory .= ' <span class="c_cnt"> (' . $child['value'] . ')</span>';86 $printCategory .= ' <span class="c_cnt">' . $child['value'] . '</span>'; 87 87 $printCategory .= '</a></li>'; 88 88 if (sizeof($child['children']) > 0) { … … 90 90 $leaf = $child['children'][$j]; 91 91 $printCategory .= '<li class="category_sub"><a href="' . htmlspecialchars($leaf['link']) . '" class="link">• ' . htmlspecialchars($leaf['label']); 92 $printCategory .= ' <span class="c_cnt"> (' . $leaf['value'] . ')</span>';92 $printCategory .= ' <span class="c_cnt">' . $leaf['value'] . '</span>'; 93 93 $printCategory .= '</a></li>'; 94 94 } … … 128 128 $dateName = date("F Y",(mktime(0,0,0,substr($archive['period'],4),1,substr($archive['period'],0,4)))); 129 129 $printArchive .= '<li class="archive"><a href="' . $blogURL . '/archive/' . $archive['period'] . '" class="link">' . $dateName; 130 $printArchive .= ' <span class="c_cnt"> (' . $archive['count'] . ')</span>';130 $printArchive .= ' <span class="c_cnt">' . $archive['count'] . '</span>'; 131 131 $printArchive .= '</a></li>'; 132 132 $oldPeriod = substr($archive['period'],0,4); … … 169 169 list($maxTagFreq, $minTagFreq) = getTagFrequencyRange(); 170 170 foreach ($tags as $tag) { 171 $printTag .= '<li class="tag"> <a href="' . $blogURL . '/tag/' . $tag['id'] . '" class="cloud' . getTagFrequency($tag, $maxTagFreq, $minTagFreq).'" >' . htmlspecialchars($tag['name']);172 $printTag .= '</a> </li>';171 $printTag .= '<li class="tag"> <a href="' . $blogURL . '/tag/' . $tag['id'] . '" class="cloud' . getTagFrequency($tag, $maxTagFreq, $minTagFreq).'" >' . htmlspecialchars($tag['name']); 172 $printTag .= '</a> </li>'; 173 173 } 174 174 $view = ob_get_contents();
