Changeset 20472


Ignore:
Timestamp:
2011/03/03 16:17:03 (10 years ago)
Author:
nanasess
bzr:base-revision:
ohkouchi@loop-az.jp-20110303063216-e67u308974pyrhqa
bzr:committer:
Kentaro Ohkouchi <ohkouchi@loop-az.jp>
bzr:file-ids:

data/Smarty/templates/default/products/review.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fproducts%2Freview.tpl
data/Smarty/templates/sphone/products/review.tpl review.tpl-20101209134550-lsv02w9wikfx9cj3-29
data/class/pages/products/LC_Page_Products_Review.php 15173@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Fproducts%2FLC_Page_Products_Review.php
bzr:mapping-version:
v4
bzr:merge:

ohkouchi@loop-az.jp-20110303071609-hr16yve3cp5p8t8s
bzr:repository-uuid:
1e3b908f-19a9-db11-a64c-001125224ba8
bzr:revision-id:
ohkouchi@loop-az.jp-20110303071644-p8eyoib8u1y8aw0a
bzr:revno:
3199
bzr:revprop:branch-nick:
branches/version-2_5-dev
bzr:root:
branches/version-2_5-dev
bzr:text-revisions:

data/Smarty/templates/default/products/review.tpl ohkouchi@loop-az.jp-20110303071609-hr16yve3cp5p8t8s
data/Smarty/templates/sphone/products/review.tpl ohkouchi@loop-az.jp-20110303071609-hr16yve3cp5p8t8s
data/class/pages/products/LC_Page_Products_Review.php ohkouchi@loop-az.jp-20110303071609-hr16yve3cp5p8t8s
bzr:timestamp:
2011-03-03 16:16:44.150000095 +0900
bzr:user-agent:
bzr2.2.1+bzr-svn1.0.4
svn:original-date:
2011-03-03T07:16:44.150000Z
Message:

#982 商品ID の数値チェック追加

Location:
branches/version-2_5-dev/data
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/Smarty/templates/default/products/review.tpl

    r20408 r20472  
    3232        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    3333        <input type="hidden" name="mode" value="confirm" /> 
    34         <input type="hidden" name="product_id" value="<!--{$arrForm.product_id}-->" /> 
     34        <input type="hidden" name="product_id" value="<!--{$arrForm.product_id|h}-->" /> 
    3535        <table summary="お客様の声書き込み"> 
    3636          <colgroup width="30%"></colgroup> 
  • branches/version-2_5-dev/data/Smarty/templates/sphone/products/review.tpl

    r20407 r20472  
    3232        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    3333        <input type="hidden" name="mode" value="confirm" /> 
    34         <input type="hidden" name="product_id" value="<!--{$arrForm.product_id}-->" /> 
     34        <input type="hidden" name="product_id" value="<!--{$arrForm.product_id|h}-->" /> 
    3535        <table summary="お客様の声書き込み"> 
    3636          <tr> 
  • branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_Review.php

    r20426 r20472  
    144144    function lfInitParam(&$objFormParam) { 
    145145        $objFormParam->addParam("レビューID", "review_id", INT_LEN, "aKV"); 
    146         $objFormParam->addParam("商品ID", "product_id", INT_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK")); 
     146        $objFormParam->addParam("商品ID", "product_id", INT_LEN, "n", array("NUM_CHECK","EXIST_CHECK", "MAX_LENGTH_CHECK")); 
    147147        $objFormParam->addParam("投稿者名", "reviewer_name", STEXT_LEN, "aKV", array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    148148        $objFormParam->addParam("投稿者URL", "reviewer_url", MTEXT_LEN, "a", array("NO_SPTAB", "SPTAB_CHECK", "MAX_LENGTH_CHECK", "URL_CHECK")); 
Note: See TracChangeset for help on using the changeset viewer.