Modified:
trunk/phpshop1/WEB-INF/modules/account/html/billing.ihtml
Log:
see http://code.google.com/p/phpshop/wiki/phpShop1_update
Updating phpShop 0.81 - adding the forum module -
Modified: trunk/phpshop1/WEB-INF/modules/account/html/billing.ihtml
==============================================================================
--- trunk/phpshop1/WEB-INF/modules/account/html/billing.ihtml (original)
+++ trunk/phpshop1/WEB-INF/modules/account/html/billing.ihtml Thu Oct 30
02:01:26 2008
@@ -9,6 +9,7 @@
$q .= "AND user_info.address_type='BT' ";
$db->query($q);
$db->next_record();
+
?>
<!-- Registration form -->
<form action="<?php echo SECUREURL ?>" method="post" name="Edit" id="Edit">
@@ -28,6 +29,9 @@
<input type="hidden" name="username" value="<?php echo
$auth["username"] ?>" />
<input type="hidden" name="user_info_id" value="<?php
$db->p("user_info_id"); ?>" />
<input type="hidden" name="user_id" value="<?php echo
$auth["user_id"] ?>" />
+ <input type="hidden" name="topic_group_id" value="<?php echo
$auth["topic_group_id"] ?>" />
+ <input type="hidden" name="old_username" value="<?php echo
$auth["username"] ?>" />
+ <input type="hidden" name="old_forum_name" value="<?php echo
$auth["forum_name"] ?>" />
<input type="hidden" name="address_type" value="BT" />
<table align="center" width="100%" cellspacing="0" cellpadding="6"
border="0" class="MenuTable">
<tr>
@@ -36,19 +40,32 @@
<tr>
<td align="right">Username:</td>
<td><?php $db->p("username") ?></td>
+
</tr>
+
+
<tr>
<td align="right">Password:</td>
<td>
<input type="password" name="password_1" maxlength="32" size="16"
/>
</td>
</tr>
+
<tr>
<td align="right">Password(again):</td>
<td>
<input type="password" name="password_2" maxlength="32" size="16"
/>
</td>
</tr>
+
+ <tr>
+ <td align="right"><?php echo $forum_name_str ?>:</td>
+ <td>
+ <input type="text" name="forum_name" value="<?php
$db->p("forum_name") ?>" maxlength="32" size="16" />
+ </td>
+ </tr>
+
+
<tr>
<td align="right">Company Name:</td>
<td>