Changeset 5746

Show
Ignore:
Timestamp:
04/11/08 17:24:28 (6 months ago)
Author:
jparker
Message:

#877

  • category, archive 댓글수를 오른쪽으로 보기 좋게 밀어버림.
  • 태그리스트 단정하게(--;) 스타일 수정.
  • 아이폰과 터치팟 상에서 검색 키패드를 Search로 변경.
    • e-mail관련 키패드는 어플에서만 가능할 듯 함.
  • 블로그 로고 그림이 없을 경우 텍스트큐브 아이콘으로 출력되게 변경.
Location:
trunk
Files:
1 added
5 modified

Legend:

Unmodified
Added
Removed
  • trunk/interface/i/index.php

    r5672 r5746  
    1717    <?php 
    1818        $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"; 
    2020        $itemsView .= '<li class="blog_info">'.CRLF; 
    2121        $itemsView .= ' <div class="logo"><img src="' . $blogLogo . '" /></div>'.CRLF; 
     
    8484            <div class="searchIcon"></div> 
    8585            <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);" /> 
    8787        </fieldset> 
    8888    </form> 
  • trunk/interface/i/search/index.php

    r5656 r5746  
    99    fetchConfigVal(); 
    1010} 
    11 $search = isset($_GET['qString']) ? $_GET['qString'] : $suri['value']; 
     11$search = isset($_GET['search']) ? $_GET['search'] : $suri['value']; 
    1212$search = isset($_GET['q']) ? $_GET['q'] : $search; // Consider the common search query GET name. (for compatibility) 
    1313if(strlen($search) > 0 && !empty($suri['page'])) { 
     
    4343        $itemsView .= '<li class="pagination">'.CRLF; 
    4444        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; 
    4646        } 
    4747        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; 
    4949        } 
    5050        if ($suri['page'] > 1 && $suri['page'] != $paging['pages']) { 
  • trunk/lib/view/iphoneView.php

    r5665 r5746  
    7979    if ($xhtml) { 
    8080        $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>'; 
    8282        $printCategory .= '</a></li>'; 
    8383        for ($i=0; $i<count($tree['children']); $i++) { 
    8484            $child = $tree['children'][$i]; 
    8585            $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>'; 
    8787            $printCategory .= '</a></li>'; 
    8888            if (sizeof($child['children']) > 0) { 
     
    9090                    $leaf = $child['children'][$j]; 
    9191                    $printCategory .= '<li class="category_sub"><a href="' . htmlspecialchars($leaf['link']) . '" class="link">&bull;&nbsp; ' . htmlspecialchars($leaf['label']); 
    92                     $printCategory .= ' <span class="c_cnt">(' . $leaf['value'] . ')</span>'; 
     92                    $printCategory .= ' <span class="c_cnt">' . $leaf['value'] . '</span>'; 
    9393                    $printCategory .= '</a></li>'; 
    9494                } 
     
    128128        $dateName = date("F Y",(mktime(0,0,0,substr($archive['period'],4),1,substr($archive['period'],0,4)))); 
    129129        $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>'; 
    131131        $printArchive .= '</a></li>'; 
    132132        $oldPeriod = substr($archive['period'],0,4); 
     
    169169    list($maxTagFreq, $minTagFreq) = getTagFrequencyRange(); 
    170170    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>'; 
    173173    } 
    174174    $view = ob_get_contents(); 
  • trunk/style/iphone/iphone.css

    r5667 r5746  
    288288 
    289289body > 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 
    292299body > ul > li.category_sub { 
    293300 
     
    621628    display:inline; 
    622629    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; 
    626633} 
    627634body > ul > li.panel > .content > ul.tag_list > li > a{ 
    628635    display: inline; 
    629636    margin: 0; 
    630     padding: 0; 
     637    padding: 2px; 
     638    text-shadow: none; 
    631639    text-decoration: none; 
    632640    background: none; 
     641    white-space: nowrap; 
    633642} 
    634643body > ul > li.panel > .content > ul.tag_list > li > a.cloud1{ 
    635644    font-weight: bold; 
    636     font-size: 2em; 
     645    font-size: 1.8em; 
    637646    color: #74952F; 
    638647} 
    639648body > ul > li.panel > .content > ul.tag_list > li > a.cloud2{ 
    640649    font-weight: bold; 
    641     font-size: 1.8em; 
    642     color: #437CC2; 
     650    font-size: 1.6em; 
     651    color: #BC461F; 
    643652} 
    644653body > ul > li.panel > .content > ul.tag_list > li > a.cloud3{ 
    645654    font-weight: bold; 
    646     font-size: 1.5em; 
     655    font-size: 1.4em; 
    647656    color: #8A59AE; 
    648657} 
    649658body > ul > li.panel > .content > ul.tag_list > li > a.cloud4{ 
    650659    font-size: 1.2em; 
    651     color: #925F52; 
     660    color: #437CC2; 
    652661} 
    653662body > ul > li.panel > .content > ul.tag_list > li > a.cloud5{ 
     
    656665} 
    657666body > ul > li.panel > .content > ul.tag_list > li > a:hover{ 
    658     color: #8A4B98; 
    659 } 
    660  
    661  
     667    color:#fff; 
     668    background:#BD446E; 
     669} 
    662670 
    663671/************************************************************************************************/