[Tep-j-general] Re: 配送先の項目追加について

Back to archive index

丸山記立 maruy****@wagon*****
2004年 11月 4日 (木) 14:51:06 JST


$B$3$s$K$A$O!"4];3$G$9!#%"%I%P%$%9$"$j$,$H$&$4$6$$$^$9!#(B

$BAaB.!"8+MM8+??;w$G2q<R(B/$BIt=pL>$N2<$KI=<($9$k$h$&$K(Bcompany$B$N>pJs$r85$K;n$7$F$_(B
$B$^$7$?$,!"(B
$B%"%+%&%s%H2hLL$G$O!"DI2C$G$-$:2q<R(B/$BIt=pL>$,I=<($5$l!"(B
$B%"%I%l%9D!2hLL$G$O!"9`L\L>$O2q<R(B/$BIt=pL>$G%G!<%?$NI=<($,G[Aw @ hHV9f(B
(entry_haisou_id)
$B$,I=<($5$l$^$9!#DI2C!&JT=8$7$?FbMF$O0J2<$NItJ,$G$9!#(B

catalog/account_edit_process.php
$B!!!!(B42$B9TL\DI2C(B
       $haisou_id = tep_db_prepare_input($HTTP_POST_VARS['haisou_id']);
    285$B9TL\(B
$B!!!!!!(B if (ACCOUNT_COMPANY == 'true')
                $sql_data_array = array('entry_company' => $company,
                                        'entry_haisou_id'=> $haisou_id);

catalog/address_book_process.php
   44$B9TL\DI2C(B
         $company = tep_db_prepare_input($HTTP_POST_VARS['company']);
         $haisou_id = tep_db_prepare_input($HTTP_POST_VARS['haisou_id']);
   66$B9TL\JQ99(B
       if (ACCOUNT_COMPANY == 'true') {
         if (strlen($company) < ENTRY_COMPANY_MIN_LENGTH) {
            $company_error = true;
            $error = true;
         } else {
            $company_error = false;
         }
         if (strlen($haisou_id) < ENTRY_COMPANY_MIN_LENGTH) {
            $haisou_id_error = true;
            $error = true;
         } else {
              $haisou_id_error = false;
         }
       }
   175$B9TL\JQ99(B
       if (ACCOUNT_COMPANY == 'true')
          $sql_data_array = array('entry_company' => $company,
                                         'entry_haisou_id' => $haisou_id);
    212$B9TL\(B select$BJ8$K(Bentry_haisou_id $B$rDI2C(B
        $entry_query = tep_db_query("select entry_gender, entry_company,
entry_haisou_id, $B!&!&!&(B
                             " . TABLE_ADDRESS_BOOK . " where customers_id =
'" . $customer_id . "'
                             and address_book_id = '" .
$HTTP_GET_VARS['entry_id'] . "'");

 catalog/includes/modules/address_book_details.php
     59$B9TL\$N(B// company
         if ($process == true) {
         $B!&!&!&(B
     $B$N2<$KDI2C(B
    // haisou_id
    if ($process == true) {
        if ($haisou_id_error == true) {
           $a_value = tep_draw_input_field('haisou_id') . '&nbsp;' .
ENTRY_HAISOU_ID_ERROR;
        } else {
           $a_value = $haisou_id . tep_draw_hidden_field('haisou_id');
        }
    } else {
        $a_value = tep_draw_input_field('haisou_id',
$entry['entry_haisou_id']) . '&nbsp;' . ENTRY_HAISOU_ID_TEXT;
    }
    $address_form->setFormLine('haisou_id',ENTRY_HAISOU_ID,$a_value);

catalog/includes/languages/japanese.php
    define('ENTRY_HAISOU_ID', '$BG<F~@h-b(B:');
    define('ENTRY_HAISOU_ID_ERROR', '');
    define('ENTRY_HAISOU_ID_TEXT', '');

$B0J>e$rDI2C!&JQ99$7$^$7$?!#(B
$B%W%m%0%i%`$NCN<1$,$J$$$N$GL5Cc6lCc$@$H;W$$$^$9$,!"%"%I%P%$%9$r$*4j$$CW$7$^(B
$B$9!#(B

>
> $B$3$s$K$A$o!#(B
>
> On Tue, 2 Nov 2004 19:25:19 +0900
> $B4];35-N)(B <maruy****@wagon*****> wrote:
>
> > $B%G!<%?%Y!<%9$N(Baddress_book$B$K$O9`L\(B(haisou_id)$B$rDI2C$7$?$N$G$9$,!"(B
> > $B$I$3$N%W%m%0%i%`$rJT=8$7$?$i$$$$$N$+J,$+$j$^$;$s!#(B
>
> $B4pK\E*$K(B
>
> /catalog/account_edit.php
> /catalog/account_edit_process.php
>
> $B",$3$N#2$D$@$H;W$$$^$9!#(B
>
> $B!&%U%)!<%`$rA}$d$7$F(B
> $B!&%U%)!<%`$+$iCM$r<u$1<h$C$F=hM}$9$kItJ,$rA}$d$9(B
>
> $B9);v$K$J$k$+$H!#(B
>
> $B$O$^$@(B
>
>
>
> _______________________________________________
> Tep-j-general mailing list
> Tep-j****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/tep-j-general
>




Tep-j-general メーリングリストの案内
Back to archive index