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

Changeset 11881


Ignore:
Timestamp:
Jun 8, 2009, 12:04:43 AM (11 years ago)
Author:
ebihara
Message:

#3985:added ability to change request method for the op_include_form() function

Location:
OpenPNE3/trunk/apps
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/mobile_frontend/templates/_partsForm.php

    r10889 r11881  
    1 <form action="<?php echo $options['url'] ?>" method="post">
     1<?php
     2$options->setDefault('method','post');
     3?>
     4<form action="<?php echo $options['url'] ?>" method="<?php echo $options['method'] ?>">
    25<?php include_customizes($id, 'formTop') ?>
    36<?php $forms = ($options['form'] instanceof sfForm) ? array($options['form']): $options['form'] ?>
  • OpenPNE3/trunk/apps/pc_frontend/templates/_partsForm.php

    r11546 r11881  
    77?>
    88
    9 <form action="<?php echo $options->getRaw('url') ?>" method="post"<?php if (!empty($options['isMultipart'])): ?> enctype="multipart/form-data"<?php endif; ?>>
     9<form action="<?php echo $options->getRaw('url') ?>" method="<?php $options['method'] ?>"<?php if (!empty($options['isMultipart'])): ?> enctype="multipart/form-data"<?php endif; ?>>
    1010<?php include_customizes($id, 'formTop') ?>
    1111
Note: See TracChangeset for help on using the changeset viewer.