[Astpp-commit] SF.net SVN: astpp: [2173] trunk
Brought to you by:
darrenkw
|
From: <dar...@us...> - 2008-01-19 06:28:13
|
Revision: 2173
http://astpp.svn.sourceforge.net/astpp/?rev=2173&view=rev
Author: darrenkw
Date: 2008-01-18 22:28:08 -0800 (Fri, 18 Jan 2008)
Log Message:
-----------
Resolved: [ 1866419 ] missing account-remove.tpl
Modified Paths:
--------------
trunk/astpp-common.pl
Added Paths:
-----------
trunk/templates/account-remove.tpl
Modified: trunk/astpp-common.pl
===================================================================
--- trunk/astpp-common.pl 2007-12-29 04:59:59 UTC (rev 2172)
+++ trunk/astpp-common.pl 2008-01-19 06:28:08 UTC (rev 2173)
@@ -1308,6 +1308,7 @@
sub list_accounts_selective() {
my ( $astpp_db, $reseller, $type ) = @_;
my ( $sql, @accountlist, $row, $tmp );
+ $reseller = "" if !$reseller;
if ( $type == -1 ) {
$tmp =
"SELECT number FROM accounts WHERE status < 2 AND reseller = "
Added: trunk/templates/account-remove.tpl
===================================================================
--- trunk/templates/account-remove.tpl (rev 0)
+++ trunk/templates/account-remove.tpl 2008-01-19 06:28:08 UTC (rev 2173)
@@ -0,0 +1,23 @@
+<input name="mode" value="Remove Account" type="hidden">
+<table class="default">
+<tr class="header">
+ <td colspan=3>Please select the account you wish to remove</td>
+</tr>
+<tr>
+ <td>
+ <TMPL_VAR NAME="accountlist_menu">
+ </td>
+ <td>
+ <input name="number" size="20" type="text">
+ </td>
+ <td>
+ <input name="action" value="Remove Account" type="submit">
+ </td>
+</tr>
+<tr>
+ <td>
+ <TMPL_VAR NAME="status">
+ </td>
+</tr>
+</table>
+</form>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|