r49693 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49692‎ | r49693 | r49694 >
Date:10:31, 21 April 2009
Author:jojo
Status:ok
Tags:
Comment:
fix: set partner, use POST request
Modified paths:
  • /trunk/extensions/Collection/Collection.templates.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Collection/Collection.templates.php
@@ -63,8 +63,8 @@
6464 ?>
6565 <div>
6666 <div style="float:right">
67 - <form action="<?php echo htmlspecialchars(SkinTemplate::makeSpecialUrlSubpage('Book', 'post_zip/')) ?>" method="get">
68 - <input type="hidden" name="partner" value="<?php echo htmlspecialchars($partner) ?>"/>
 67+ <form action="<?php echo htmlspecialchars(SkinTemplate::makeSpecialUrlSubpage('Book', 'post_zip/')) ?>" method="post">
 68+ <input type="hidden" name="partner" value="pediapress" />
6969 <input type="submit" value="<?php echo wfMsgHtml('coll-order_from_pp', htmlspecialchars($partnerData['name'])) ?>" class="order" <?php if (count($this->data['collection']['items']) == 0) { ?> disabled="disabled"<?php } ?> />
7070 </form>
7171 </div>

Status & tagging log