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

Changeset 11226


Ignore:
Timestamp:
Apr 7, 2009, 4:45:01 PM (12 years ago)
Author:
nagasawa
Message:

#3659:pageファイルに記述していた修正処理を戻しiniにmin=1を追加

Location:
OpenPNE/trunk/webapp/modules/admin
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/admin/page/list_c_file.php

    r11198 r11226  
    1919        $v['SNS_NAME'] = SNS_NAME;
    2020
    21         $page_size = $requests['page_size'];
    22         if ($page_size <= 0) {
    23             $page_size = 20;
     21        if ($requests['page_size'] <= 0) {
     22            $requests['page_size'] = 20;
    2423        }
    25         $v['c_file_list'] = db_file_c_file_list($requests['page'], $page_size, $pager);
     24        $v['c_file_list'] = db_file_c_file_list($requests['page'], $requests['page_size'], $pager);
    2625        $v['pager'] = $pager;
    2726
  • OpenPNE/trunk/webapp/modules/admin/page/list_c_image.php

    r11198 r11226  
    1515        $v['SNS_NAME'] = SNS_NAME;
    1616
    17         $page_size = $requests['page_size'];
    18         if ($page_size <= 0) {
    19             $page_size = 20;
     17        if ($requests['page_size'] <= 0) {
     18            $requests['page_size'] = 20;
    2019        }
    21         $c_image_list = db_image_c_image_list($requests['page'], $page_size, $pager);
     20        $c_image_list = db_image_c_image_list($requests['page'], $requests['page_size'], $pager);
    2221
    2322        //ファイル名からリンク先を生成
  • OpenPNE/trunk/webapp/modules/admin/page/list_c_member.php

    r11198 r11226  
    1010    function execute($requests)
    1111    {
    12         $page_size = $requests['page_size'];
    13         if ($page_size <= 0) {
    14             $page_size = 20;
    15         }
    1612        $order = $requests['order'];
    1713        $cond = substr($_REQUEST['cond'], 1);
     
    8884
    8985        // メンバー検索対応により、メールアドレス検索、ログインID検索ともに下記関数に統合
    90         $v['c_member_list'] = _db_admin_c_member_list($requests['page'], $page_size, $pager, $cond_list, $order);
     86        $v['c_member_list'] = _db_admin_c_member_list($requests['page'], $requests['page_size'], $pager, $cond_list, $order);
    9187 
    9288        foreach ($v['c_member_list'] as $key => $value) {
  • OpenPNE/trunk/webapp/modules/admin/validate/page/list_c_file.ini

    r2188 r11226  
    66type = "int"
    77default = 20
     8min = 1
  • OpenPNE/trunk/webapp/modules/admin/validate/page/list_c_image.ini

    r2 r11226  
    66type = "int"
    77default = 20
     8min = 1
  • OpenPNE/trunk/webapp/modules/admin/validate/page/list_c_member.ini

    r6519 r11226  
    66type = "int"
    77default = 20
     8min = 1
    89
    910[mail_address]
Note: See TracChangeset for help on using the changeset viewer.