Changeset 20915


Ignore:
Timestamp:
2011/05/06 16:55:35 (9 years ago)
Author:
habu
Message:

#1252 (商品一覧 - ページ送りナビのulタグliタグが抜けているところがある)

関連して、スマートフォンで表示が崩れないようにCSSも変更

Location:
branches/version-2_11-dev
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/SC_PageNavi.php

    r20764 r20915  
    7878                $urlParamThis = str_replace('#page#', $this->arrPagenavi['before'], $urlParam); 
    7979                $urlParamThis = htmlentities($urlParamThis, ENT_QUOTES); 
    80                 $before = "<a href=\"?$urlParamThis\" onclick=\"$func_name('{$this->arrPagenavi['before']}'); return false;\">&lt;&lt;前へ</a> "; 
     80                $before = "<li><a href=\"?$urlParamThis\" onclick=\"$func_name('{$this->arrPagenavi['before']}'); return false;\">&lt;&lt;前へ</a></li> "; 
    8181            } else { 
    8282                $this->arrPagenavi['before'] = $this->now_page; 
     
    8787                $urlParamThis = str_replace('#page#', $this->arrPagenavi['next'], $urlParam); 
    8888                $urlParamThis = htmlentities($urlParamThis, ENT_QUOTES); 
    89                 $next = " <a href=\"?$urlParamThis\" onclick=\"$func_name('{$this->arrPagenavi['next']}'); return false;\">次へ&gt;&gt;</a>"; 
     89                $next = " <li><a href=\"?$urlParamThis\" onclick=\"$func_name('{$this->arrPagenavi['next']}'); return false;\">次へ&gt;&gt;</a></li>"; 
    9090            } else { 
    9191                $this->arrPagenavi['next'] = $this->now_page; 
     
    138138 
    139139            if ($before && $next) { 
    140                 $this->strnavi = $before .(($display_number) ? $page_number : ' | ') .$next; 
     140                $this->strnavi = '<ul class="navi">' .$before .(($display_number) ? $page_number : ' | ') .$next .'</ul>'; 
    141141            } else if ($before || $next) { 
    142                 $this->strnavi = $before .(($display_number) ? $page_number : '') .$next; 
     142                $this->strnavi = '<ul class="navi">' .$before .(($display_number) ? $page_number : '') .$next .'</ul>'; 
    143143            } 
    144144        } else { 
  • branches/version-2_11-dev/html/user_data/packages/sphone/css/common.css

    r20764 r20915  
    433433/*商品一覧ページ 
    434434-----------------------------------------------*/ 
     435.navi{ 
     436border: none; 
     437font-family:monospace; 
     438font-size:18px; 
     439} 
     440 
    435441.navi li { 
    436442width:100%; 
    437443display:inline; 
     444padding: 0px; 
     445border-top: none; 
     446} 
     447 
     448.navi li a{ 
     449display:inline; 
     450color:#3399CC; 
     451font-weight:normal; 
     452text-decoration:underline; 
     453} 
     454 
     455.navi li strong{ 
     456color:#000000; 
    438457} 
    439458 
Note: See TracChangeset for help on using the changeset viewer.