Changeset 17234


Ignore:
Timestamp:
2008/04/07 21:55:57 (12 years ago)
Author:
satou
Message:

納品書発行機能 文字数制限を修正。

Location:
branches/version-2/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2/data/Smarty/templates/default/admin/order/pdf_input.tpl

    r17232 r17234  
    141141                <td width="120" bgcolor="#f3f3f3">帳票メッセージ</td> 
    142142                <td width="307" bgcolor="#ffffff"><!--{if $arrErr.msg1}--><span class="red"><!--{$arrErr.msg1}--></span><!--{/if}--> 
    143                   1行目:<input type="text" name="msg1" size="40" value="<!--{$arrForm.msg1}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/><br /> 
     143                  1行目:<input type="text" name="msg1" size="40" value="<!--{$arrForm.msg1}-->" maxlength="<!--{$smarty.const.STEXT_LEN*3/5}-->"/><br /> 
    144144                  <!--{if $arrErr.msg2}--><span class="red"><!--{$arrErr.msg1}--></span><!--{/if}--> 
    145                   2行目:<input type="text" name="msg2" size="40" value="<!--{$arrForm.msg2}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/><br /> 
     145                  2行目:<input type="text" name="msg2" size="40" value="<!--{$arrForm.msg2}-->" maxlength="<!--{$smarty.const.STEXT_LEN*3/5}-->"/><br /> 
    146146                  <!--{if $arrErr.msg3}--><span class="red"><!--{$arrErr.msg3}--></span><!--{/if}--> 
    147                   3行目:<input type="text" name="msg3" size="40" value="<!--{$arrForm.msg3}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/><br /> 
     147                  3行目:<input type="text" name="msg3" size="40" value="<!--{$arrForm.msg3}-->" maxlength="<!--{$smarty.const.STEXT_LEN*3/5}-->"/><br /> 
    148148                  <span style="font-size: 80%;">※未入力時はデフォルトのメッセージが表示されます。</span><br /> 
    149149                </td> 
  • branches/version-2/data/class/pages/admin/order/LC_Page_Admin_Order_Pdf.php

    r17232 r17234  
    150150        $this->objFormParam->addParam("ダウンロード方法", "download", INT_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "NUM_CHECK")); 
    151151        $this->objFormParam->addParam("帳票タイトル", "title", STEXT_LEN, "KVa", array("EXIST_CHECK", "MAX_LENGTH_CHECK")); 
    152         $this->objFormParam->addParam("帳票メッセージ1行目", "msg1", STEXT_LEN, "KVa", array("MAX_LENGTH_CHECK")); 
    153         $this->objFormParam->addParam("帳票メッセージ2行目", "msg2", STEXT_LEN, "KVa", array("MAX_LENGTH_CHECK")); 
    154         $this->objFormParam->addParam("帳票メッセージ3行目", "msg3", STEXT_LEN, "KVa", array("MAX_LENGTH_CHECK")); 
     152        $this->objFormParam->addParam("帳票メッセージ1行目", "msg1", STEXT_LEN*3/5, "KVa", array("MAX_LENGTH_CHECK")); 
     153        $this->objFormParam->addParam("帳票メッセージ2行目", "msg2", STEXT_LEN*3/5, "KVa", array("MAX_LENGTH_CHECK")); 
     154        $this->objFormParam->addParam("帳票メッセージ3行目", "msg3", STEXT_LEN*3/5, "KVa", array("MAX_LENGTH_CHECK")); 
    155155        $this->objFormParam->addParam("備考1行目", "etc1", STEXT_LEN, "KVa", array("MAX_LENGTH_CHECK")); 
    156156        $this->objFormParam->addParam("備考2行目", "etc2", STEXT_LEN, "KVa", array("MAX_LENGTH_CHECK")); 
Note: See TracChangeset for help on using the changeset viewer.