Changeset 5746
- Timestamp:
- 04/11/08 17:24:28 (6 months ago)
- Location:
- trunk
- Files:
-
- 1 added
- 5 modified
-
interface/i/index.php (modified) (2 diffs)
-
interface/i/search/index.php (modified) (2 diffs)
-
lib/view/iphoneView.php (modified) (4 diffs)
-
style/iphone/image/pinstripes.png (modified) (previous)
-
style/iphone/image/textcube_logo.png (added)
-
style/iphone/iphone.css (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/i/index.php
r5672 r5746 17 17 <?php 18 18 $blogAuthor = User::getName($blogid); 19 $blogLogo = !empty($blog['logo']) ? $blogURL . "/imageResizer?f=" . $blog['logo'] . "&m=80" : "{$service['path']}/ image/spacer.gif";19 $blogLogo = !empty($blog['logo']) ? $blogURL . "/imageResizer?f=" . $blog['logo'] . "&m=80" : "{$service['path']}/style/iphone/image/textcube_logo.png"; 20 20 $itemsView .= '<li class="blog_info">'.CRLF; 21 21 $itemsView .= ' <div class="logo"><img src="' . $blogLogo . '" /></div>'.CRLF; … … 84 84 <div class="searchIcon"></div> 85 85 <img id="clearButton" class="clearButton" src="<?php echo $service['path'];?>/image/spacer.gif" onclick="cancelAction(this);" /> 86 <input id="qString" type="text" name=" qString" autocomplete="off" unedited="true" class="search" onkeyup="searchKeywordCheck(this);" onkeydown="searchKeywordCheck(this);" />86 <input id="qString" type="text" name="search" autocomplete="off" unedited="true" class="search" onkeyup="searchKeywordCheck(this);" onkeydown="searchKeywordCheck(this);" /> 87 87 </fieldset> 88 88 </form> -
trunk/interface/i/search/index.php
r5656 r5746 9 9 fetchConfigVal(); 10 10 } 11 $search = isset($_GET[' qString']) ? $_GET['qString'] : $suri['value'];11 $search = isset($_GET['search']) ? $_GET['search'] : $suri['value']; 12 12 $search = isset($_GET['q']) ? $_GET['q'] : $search; // Consider the common search query GET name. (for compatibility) 13 13 if(strlen($search) > 0 && !empty($suri['page'])) { … … 43 43 $itemsView .= '<li class="pagination">'.CRLF; 44 44 if(isset($paging['prev'])){ 45 $itemsView .= '<a href="' .$blogURL . '/search? qString='.$search.'&page=' . $paging['prev'] . '" class="previous">Page ' . $paging['prev'] . '</a>'.CRLF;45 $itemsView .= '<a href="' .$blogURL . '/search?search='.$search.'&page=' . $paging['prev'] . '" class="previous">Page ' . $paging['prev'] . '</a>'.CRLF; 46 46 } 47 47 if (isset($paging['next'])) { 48 $itemsView .= '<a href="' .$blogURL . '/search? qString='.$search.'&page=' . $paging['next'] . '" class="next">Page ' . $paging['next'] . '</a>'.CRLF;48 $itemsView .= '<a href="' .$blogURL . '/search?search='.$search.'&page=' . $paging['next'] . '" class="next">Page ' . $paging['next'] . '</a>'.CRLF; 49 49 } 50 50 if ($suri['page'] > 1 && $suri['page'] != $paging['pages']) { -
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(); -
trunk/style/iphone/iphone.css
r5667 r5746 288 288 289 289 body > ul > li > a > span.c_cnt { 290 font-weight:normal; 291 } 290 display:block; 291 position:absolute; 292 top:9px; 293 right:30px; 294 text-align:right; 295 font-weight:bold; 296 font-size:15px; 297 } 298 292 299 body > ul > li.category_sub { 293 300 … … 621 628 display:inline; 622 629 list-style:none; 623 line-height:1. 4em;624 margin:0 ;625 padding:0 5px;630 line-height:1.6em; 631 margin:0 5px 0 0; 632 padding:0; 626 633 } 627 634 body > ul > li.panel > .content > ul.tag_list > li > a{ 628 635 display: inline; 629 636 margin: 0; 630 padding: 0; 637 padding: 2px; 638 text-shadow: none; 631 639 text-decoration: none; 632 640 background: none; 641 white-space: nowrap; 633 642 } 634 643 body > ul > li.panel > .content > ul.tag_list > li > a.cloud1{ 635 644 font-weight: bold; 636 font-size: 2em;645 font-size: 1.8em; 637 646 color: #74952F; 638 647 } 639 648 body > ul > li.panel > .content > ul.tag_list > li > a.cloud2{ 640 649 font-weight: bold; 641 font-size: 1. 8em;642 color: # 437CC2;650 font-size: 1.6em; 651 color: #BC461F; 643 652 } 644 653 body > ul > li.panel > .content > ul.tag_list > li > a.cloud3{ 645 654 font-weight: bold; 646 font-size: 1. 5em;655 font-size: 1.4em; 647 656 color: #8A59AE; 648 657 } 649 658 body > ul > li.panel > .content > ul.tag_list > li > a.cloud4{ 650 659 font-size: 1.2em; 651 color: # 925F52;660 color: #437CC2; 652 661 } 653 662 body > ul > li.panel > .content > ul.tag_list > li > a.cloud5{ … … 656 665 } 657 666 body > ul > li.panel > .content > ul.tag_list > li > a:hover{ 658 color: #8A4B98; 659 } 660 661 667 color:#fff; 668 background:#BD446E; 669 } 662 670 663 671 /************************************************************************************************/
