[Affelio-cvs 177] CVS update: affelio

Back to archive index

Tadashi Okoshi slash****@users*****
2005年 6月 26日 (日) 23:20:39 JST


Index: affelio/admin.cgi
diff -u affelio/admin.cgi:1.7 affelio/admin.cgi:1.8
--- affelio/admin.cgi:1.7	Sun Jun 26 17:32:14 2005
+++ affelio/admin.cgi	Sun Jun 26 23:20:38 2005
@@ -6,7 +6,7 @@
 #    http://affelio.jp/ (Japan)
 #    http://affelio.jp/ (USA and other area)
 #
-# $Id: admin.cgi,v 1.7 2005/06/26 08:32:14 higefuku Exp $
+# $Id: admin.cgi,v 1.8 2005/06/26 14:20:38 slash5234 Exp $
 
 use strict;
 
@@ -299,7 +299,15 @@
     use Affelio::App::Admin::ManageFriend;
 
     debug_print("admin.cgi: mode2=[" . $q->url_param("mode2"));
-    if($q->url_param("mode2") eq "show_member"){
+    if($q->url_param("mode2") eq "delete"){
+	Affelio::App::Admin::ManageFriend::remove_member($af, $q->url_param("uid"), $q);
+
+	$TMPL_FILE = "$af->{site__fs_root}/templates/" .
+	    "$af->{site__template}/owner_side/admin_managefriends_top.tmpl";
+
+	Affelio::App::Admin::ManageFriend::manage_top($af, \%output_data);
+
+    }elsif($q->url_param("mode2") eq "show_member"){
 	##Show member#############
 
         $TMPL_FILE = "$af->{site__fs_root}/templates/" .


Affelio-cvs メーリングリストの案内
Back to archive index