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

Changeset 10558


Ignore:
Timestamp:
Jan 29, 2009, 6:57:52 PM (11 years ago)
Author:
ebihara
Message:

#3535:changed the buttonBox doesn't accept an internal url now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/pc_frontend/templates/_partsButtonBox.php

    r10437 r10558  
    22$url = sfContext::getInstance()->getRouting()->getCurrentInternalUri();
    33$options->setDefault('button', __('Yes'));
    4 $options->setDefault('url', $url);
     4$options->setDefault('url', url_for($url));
    55$options->setDefault('method', 'post');
    66?>
     
    1414<ul class="moreInfo button">
    1515<li>
    16 <form action="<?php echo url_for($options['url']) ?>" method="<?php echo $options['method'] ?>">
     16<form action="<?php echo $options['url'] ?>" method="<?php echo $options['method'] ?>">
    1717<input type="submit" class="input_submit" value="<?php echo $options['button'] ?>" />
    1818</form>
Note: See TracChangeset for help on using the changeset viewer.