ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 3904


Ignore:
Timestamp:
Sep 8, 2007, 4:08:43 PM (12 years ago)
Author:
ebihara
Message:

#1170:日記コメント・トピックコメント・イベントコメントの最大件数が50件以下の場合は「すべて見る」のリンクを表示しないようにした

Location:
OpenPNE/trunk/webapp/modules/pc
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/pc/page/c_event_detail.php

    r3891 r3904  
    6060        $this->set("page", $page);
    6161        $this->set("all", $all);
     62        $this->set('page_size', $page_size);
    6263
    6364        $this->set("start_num", $lst[4]);
  • OpenPNE/trunk/webapp/modules/pc/page/c_topic_detail.php

    r3891 r3904  
    6767        $this->set('start_num', $start_num);
    6868        $this->set('end_num', $end_num);
     69        $this->set('page_size', $page_size);
    6970
    7071        $this->set('all', $all);
  • OpenPNE/trunk/webapp/modules/pc/templates/c_event_detail.tpl

    r3806 r3904  
    568568<a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">最新を表示</a>
    569569({else})
    570 <a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;all=1">すべて表示</a>
     570({if $total_num > $page_size})<a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;all=1">すべて表示</a> ({/if})
    571571({/if})
    572572({if $is_next})<a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=1&amp;page=({$page})#comments"><前</a> ({/if})
     
    654654<a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">最新を表示</a>
    655655({else})
    656 <a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;all=1">すべて表示</a>
     656({if $total_num > $page_size})<a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;all=1">すべて表示</a> ({/if})
    657657({/if})
    658658({if $is_next})<a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=1&amp;page=({$page})#comments"><前</a> ({/if})
  • OpenPNE/trunk/webapp/modules/pc/templates/c_topic_detail.tpl

    r3806 r3904  
    236236<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">最新を表示</a>
    237237({else})
    238 <a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;all=1">すべて表示</a>
     238({if $total_num > $page_size})<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;all=1">すべて表示</a> ({/if})
    239239({/if})
    240240({if $is_next})<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=1&amp;page=({$page})"><前</a> ({/if})
     
    327327<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">最新を表示</a>
    328328({else})
    329 <a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;all=1">すべて表示</a>
     329({if $total_num > $page_size})<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;all=1">すべて表示</a>({/if})
    330330({/if})
    331331({if $is_next})<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=1&amp;page=({$page})"><前</a> ({/if})
  • OpenPNE/trunk/webapp/modules/pc/templates/fh_diary.tpl

    r3891 r3904  
    561561<a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$target_diary.c_diary_id})">最新を表示</a>
    562562({else})
    563 <a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$target_diary.c_diary_id})&amp;is_all=1">すべて表示</a>
     563({if $total_num > $page_size})<a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$target_diary.c_diary_id})&amp;is_all=1">すべて表示</a> ({/if})
    564564({if $is_prev})<a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$target_diary.c_diary_id})&amp;direc=1&amp;page=({$page})"><前</a> ({/if})
    565565({if $is_next})<a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$target_diary.c_diary_id})&amp;direc=-1&amp;page=({$page})">次></a> ({/if})
     
    671671<a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$target_diary.c_diary_id})">最新を表示</a>
    672672({else})
    673 <a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$target_diary.c_diary_id})&amp;is_all=1">すべて表示</a>
     673({if $total_num > $page_size})<a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$target_diary.c_diary_id})&amp;is_all=1">すべて表示</a> ({/if})
    674674({if $is_next})<a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$target_diary.c_diary_id})&amp;direc=-1&amp;page=({$page})">次></a> ({/if})
    675675({if $is_prev})<a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$target_diary.c_diary_id})&amp;direc=1&amp;page=({$page})"><前</a> ({/if})
Note: See TracChangeset for help on using the changeset viewer.