Tadashi Okoshi
slash****@users*****
2005年 12月 10日 (土) 08:56:09 JST
Index: affelio/lib/Affelio/App/Admin/Top.pm
diff -u affelio/lib/Affelio/App/Admin/Top.pm:1.1 affelio/lib/Affelio/App/Admin/Top.pm:1.2
--- affelio/lib/Affelio/App/Admin/Top.pm:1.1 Wed Nov 23 13:00:19 2005
+++ affelio/lib/Affelio/App/Admin/Top.pm Sat Dec 10 08:56:09 2005
@@ -14,7 +14,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-# $Id: Top.pm,v 1.1 2005/11/23 04:00:19 slash5234 Exp $
+# $Id: Top.pm,v 1.2 2005/12/09 23:56:09 slash5234 Exp $
package Affelio::App::Admin::Top;
{
@@ -47,7 +47,10 @@
my $wi = new Affelio::misc::WebInput();
my $sub_mode = $wi->PTN_mode($cgi->url_param("action"));
-
+
+ ###############################
+ #post my news
+ ###############################
try{
if( $sub_mode eq "post_mystatus" ){
debug_print("Top::handler: before post_mystatus...");
@@ -58,7 +61,10 @@
my $e = shift;
$out_ref->{err_msg} .= $e->stacktrace . '<BR>';
};
-
+
+ ###############################
+ #normal show
+ ###############################
$out_ref->{tmpl_file}
= "$af->{site__fs_root}/templates/" .
"$af->{site__template}/owner_side/admin_top.tmpl";
@@ -94,7 +100,10 @@
use Affelio::App::Admin::AffelioNews;
Affelio::App::Admin::AffelioNews::getnews($af, $out_ref);
+ $out_ref->{my_currentstatus}= $af->{user__currentstatus};
+ use Affelio::App::Admin::AffelioNews;
+ Affelio::App::Admin::AffelioNews::getnews($af, $out_ref);
$out_ref->{my_currentstatus}= $af->{user__currentstatus};
debug_print("Top::show end.");