Changeset 20411


Ignore:
Timestamp:
2011/02/25 21:44:58 (10 years ago)
Author:
shutta
Message:

refs #1058
mtb_page_rowsの廃止

Location:
branches/version-2_5-dev
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/Smarty/templates/admin/customer/index.tpl

    r20407 r20411  
    7272  <div class="btn"> 
    7373    <p class="page_rows">検索結果表示件数 
    74     <select name="search_page_rows"> 
    75       <!--{html_options options=$arrPageRows selected=$arrForm.search_page_rows}--> 
     74    <select name="search_page_max"> 
     75      <!--{html_options options=$arrPageRows selected=$arrForm.search_page_max}--> 
    7676    </select> 件</p> 
    7777    <div class="btn-area"> 
  • branches/version-2_5-dev/data/Smarty/templates/admin/mail/index.tpl

    r20407 r20411  
    5151  <div class="btn"> 
    5252    <p class="page_rows">検索結果表示件数 
    53     <!--{assign var=key value="search_page_rows"}--> 
     53    <!--{assign var=key value="search_page_max"}--> 
    5454    <select name="<!--{$key}-->"> 
    5555      <!--{html_options options=$arrPageRows selected=$arrForm[$key]}--> 
  • branches/version-2_5-dev/data/class/helper/SC_Helper_Customer.php

    r20387 r20411  
    494494        $objFormParam->addParam('登録・更新日(終了月)', 'search_end_month', 2, 'n', array("NUM_CHECK","MAX_LENGTH_CHECK")); 
    495495        $objFormParam->addParam('登録・更新日(終了日)', 'search_end_day', 2, 'n', array("NUM_CHECK","MAX_LENGTH_CHECK")); 
    496         $objFormParam->addParam('表示件数', 'search_page_rows', INT_LEN, 'n', array("NUM_CHECK","MAX_LENGTH_CHECK"), 1, false); 
     496        $objFormParam->addParam('表示件数', 'search_page_max', INT_LEN, 'n', array("NUM_CHECK","MAX_LENGTH_CHECK"), 1, false); 
    497497        $objFormParam->addParam('ページ番号', 'search_pageno', INT_LEN, 'n', array("NUM_CHECK","MAX_LENGTH_CHECK"), 1, false); 
    498498        $objFormParam->addParam('最終購入日(開始年)', 'search_buy_start_year', 4, 'n', array("NUM_CHECK","MAX_LENGTH_CHECK")); 
     
    561561        $objQuery =& SC_Query::getSingletonInstance(); 
    562562        $objSelect = new SC_CustomerList($arrParam, "customer"); 
    563         $page_max = SC_Utils_Ex::sfGetSearchPageMax($arrParam['search_page_rows']); 
     563        $page_max = SC_Utils_Ex::sfGetSearchPageMax($arrParam['search_page_max']); 
    564564        $disp_pageno = $arrParam['search_pageno']; 
    565565        if($disp_pageno == 0) { 
  • branches/version-2_5-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer.php

    r20384 r20411  
    5656        $this->arrJob["不明"] = "不明"; 
    5757        $this->arrSex = $masterData->getMasterData("mtb_sex"); 
    58         $this->arrPageRows = $masterData->getMasterData("mtb_page_rows"); 
     58        $this->arrPageRows = $masterData->getMasterData("mtb_page_max"); 
    5959        $this->arrStatus = $masterData->getMasterData("mtb_customer_status"); 
    6060        $this->arrMagazineType = $masterData->getMasterData("mtb_magazine_type"); 
  • branches/version-2_5-dev/data/class/pages/admin/mail/LC_Page_Admin_Mail.php

    r20385 r20411  
    5656        $this->arrJob["不明"] = "不明"; 
    5757        $this->arrSex = $masterData->getMasterData("mtb_sex"); 
    58         $this->arrPageRows = $masterData->getMasterData("mtb_page_rows"); 
     58        $this->arrPageRows = $masterData->getMasterData("mtb_page_max"); 
    5959        $this->arrHtmlmail = array( "" => "両方",  1 => "HTML", 2 => "TEXT" ); 
    6060        $this->arrMailType = $masterData->getMasterData("mtb_mail_type"); 
  • branches/version-2_5-dev/html/install/sql/create_table_mysql.sql

    r20381 r20411  
    984984) ENGINE=InnoDB; 
    985985 
    986 CREATE TABLE mtb_page_rows ( 
    987     id smallint, 
    988     name text, 
    989     rank smallint NOT NULL DEFAULT 0, 
    990     PRIMARY KEY (id) 
    991 ) ENGINE=InnoDB; 
    992  
    993986CREATE TABLE mtb_mail_type ( 
    994987    id smallint, 
  • branches/version-2_5-dev/html/install/sql/create_table_pgsql.sql

    r20381 r20411  
    984984); 
    985985 
    986 CREATE TABLE mtb_page_rows ( 
    987     id smallint, 
    988     name text, 
    989     rank smallint NOT NULL DEFAULT 0, 
    990     PRIMARY KEY (id) 
    991 ); 
    992  
    993986CREATE TABLE mtb_mail_type ( 
    994987    id smallint, 
  • branches/version-2_5-dev/html/install/sql/drop_table.sql

    r20381 r20411  
    5757DROP TABLE mtb_product_list_max; 
    5858DROP TABLE mtb_permission; 
    59 DROP TABLE mtb_page_rows; 
    6059DROP TABLE mtb_page_max; 
    6160DROP TABLE mtb_order_status_color; 
  • branches/version-2_5-dev/html/install/sql/insert_data.sql

    r20408 r20411  
    832832INSERT INTO mtb_page_max (id, name, rank) VALUES (90, '90', 8); 
    833833INSERT INTO mtb_page_max (id, name, rank) VALUES (100, '100', 9); 
    834  
    835 INSERT INTO mtb_page_rows (id, name, rank) VALUES (10, '10', 0); 
    836 INSERT INTO mtb_page_rows (id, name, rank) VALUES (20, '20', 1); 
    837 INSERT INTO mtb_page_rows (id, name, rank) VALUES (30, '30', 2); 
    838 INSERT INTO mtb_page_rows (id, name, rank) VALUES (40, '40', 3); 
    839 INSERT INTO mtb_page_rows (id, name, rank) VALUES (50, '50', 4); 
    840 INSERT INTO mtb_page_rows (id, name, rank) VALUES (60, '60', 5); 
    841 INSERT INTO mtb_page_rows (id, name, rank) VALUES (70, '70', 6); 
    842 INSERT INTO mtb_page_rows (id, name, rank) VALUES (80, '80', 7); 
    843 INSERT INTO mtb_page_rows (id, name, rank) VALUES (90, '90', 8); 
    844 INSERT INTO mtb_page_rows (id, name, rank) VALUES (100, '100', 9); 
    845834 
    846835INSERT INTO mtb_permission (id, name, rank) VALUES ('/admin/system/index.php', '0', 0); 
Note: See TracChangeset for help on using the changeset viewer.