Tadashi Okoshi
slash****@users*****
2005年 7月 1日 (金) 11:15:26 JST
Index: affelio/apps/album/Album.pm
diff -u affelio/apps/album/Album.pm:1.13 affelio/apps/album/Album.pm:1.14
--- affelio/apps/album/Album.pm:1.13 Fri Jul 1 10:49:01 2005
+++ affelio/apps/album/Album.pm Fri Jul 1 11:15:25 2005
@@ -1,3 +1,19 @@
+# Copyright (C) 2005 FishGrove Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
package Album;
use strict;
Index: affelio/apps/album/add_album.cgi
diff -u affelio/apps/album/add_album.cgi:1.2 affelio/apps/album/add_album.cgi:1.3
--- affelio/apps/album/add_album.cgi:1.2 Wed Jun 22 15:16:22 2005
+++ affelio/apps/album/add_album.cgi Fri Jul 1 11:15:25 2005
@@ -1,5 +1,21 @@
#!/usr/bin/perl
+# Copyright (C) 2005 FishGrove Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
our $mymode="owner";
require './common/header.pl';
unless ($afap->get_visitor_info("type") eq "self"){
Index: affelio/apps/album/delete_comment.cgi
diff -u affelio/apps/album/delete_comment.cgi:1.4 affelio/apps/album/delete_comment.cgi:1.5
--- affelio/apps/album/delete_comment.cgi:1.4 Wed Jun 22 15:40:22 2005
+++ affelio/apps/album/delete_comment.cgi Fri Jul 1 11:15:25 2005
@@ -1,5 +1,21 @@
#!/usr/bin/perl
+# Copyright (C) 2005 FishGrove Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
require './common/header.pl';
unless ($afap->get_visitor_info("type") eq "self"){
&errorExit("ããªãã¯ãã®ãã¼ã¸ã«ã¢ã¯ã»ã¹ããæ¨©éãããã¾ãã")
Index: affelio/apps/album/delete_image.cgi
diff -u affelio/apps/album/delete_image.cgi:1.4 affelio/apps/album/delete_image.cgi:1.5
--- affelio/apps/album/delete_image.cgi:1.4 Wed Jun 22 15:40:22 2005
+++ affelio/apps/album/delete_image.cgi Fri Jul 1 11:15:25 2005
@@ -1,5 +1,21 @@
#!/usr/bin/perl
+# Copyright (C) 2005 FishGrove Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
require './common/header.pl';
unless ($afap->get_visitor_info("type") eq "self"){
&errorExit("ããªãã¯ãã®ãã¼ã¸ã«ã¢ã¯ã»ã¹ããæ¨©éãããã¾ãã")
Index: affelio/apps/album/edit_album.cgi
diff -u affelio/apps/album/edit_album.cgi:1.4 affelio/apps/album/edit_album.cgi:1.5
--- affelio/apps/album/edit_album.cgi:1.4 Wed Jun 22 15:40:22 2005
+++ affelio/apps/album/edit_album.cgi Fri Jul 1 11:15:25 2005
@@ -1,5 +1,21 @@
#!/usr/bin/perl
+# Copyright (C) 2005 FishGrove Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
require './common/header.pl';
unless ($afap->get_visitor_info("type") eq "self"){
&errorExit("ããªãã¯ãã®ãã¼ã¸ã«ã¢ã¯ã»ã¹ããæ¨©éãããã¾ãã")
Index: affelio/apps/album/edit_comment.cgi
diff -u affelio/apps/album/edit_comment.cgi:1.4 affelio/apps/album/edit_comment.cgi:1.5
--- affelio/apps/album/edit_comment.cgi:1.4 Wed Jun 22 15:40:22 2005
+++ affelio/apps/album/edit_comment.cgi Fri Jul 1 11:15:25 2005
@@ -1,5 +1,21 @@
#!/usr/bin/perl
+# Copyright (C) 2005 FishGrove Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
require './common/header.pl';
my $id = $afap->{cgi}->param("id");
my $pkey = $afap->{cgi}->param("pkey");
Index: affelio/apps/album/large_image.cgi
diff -u affelio/apps/album/large_image.cgi:1.4 affelio/apps/album/large_image.cgi:1.5
--- affelio/apps/album/large_image.cgi:1.4 Wed Jun 22 15:40:22 2005
+++ affelio/apps/album/large_image.cgi Fri Jul 1 11:15:25 2005
@@ -1,5 +1,21 @@
#!/usr/bin/perl
+# Copyright (C) 2005 FishGrove Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
require './common/header.pl';
my $id = $afap->{cgi}->param("id");
my $pkey=$afap->{cgi}->param("pkey");
Index: affelio/apps/album/list_album.cgi
diff -u affelio/apps/album/list_album.cgi:1.5 affelio/apps/album/list_album.cgi:1.6
--- affelio/apps/album/list_album.cgi:1.5 Wed Jun 22 15:40:22 2005
+++ affelio/apps/album/list_album.cgi Fri Jul 1 11:15:25 2005
@@ -1,5 +1,21 @@
#!/usr/bin/perl
+# Copyright (C) 2005 FishGrove Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
require('./common/header.pl');
my $user = $afap->{cgi}->param("user");
my $edit = 0;
Index: affelio/apps/album/owner_mode.cgi
diff -u affelio/apps/album/owner_mode.cgi:1.4 affelio/apps/album/owner_mode.cgi:1.5
--- affelio/apps/album/owner_mode.cgi:1.4 Wed Jun 22 15:40:22 2005
+++ affelio/apps/album/owner_mode.cgi Fri Jul 1 11:15:25 2005
@@ -1,5 +1,21 @@
#!/usr/bin/perl
+# Copyright (C) 2005 FishGrove Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
our $mymode="owner";
require './common/header.pl';
unless ($afap->get_visitor_info("type") eq "self"){
Index: affelio/apps/album/show_album.cgi
diff -u affelio/apps/album/show_album.cgi:1.6 affelio/apps/album/show_album.cgi:1.7
--- affelio/apps/album/show_album.cgi:1.6 Sat Jun 25 02:10:23 2005
+++ affelio/apps/album/show_album.cgi Fri Jul 1 11:15:26 2005
@@ -1,5 +1,21 @@
#!/usr/bin/perl
+# Copyright (C) 2005 FishGrove Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
require './common/header.pl';
use File::Basename;
my $id = $afap->{cgi}->param("id");
Index: affelio/apps/album/show_image.cgi
diff -u affelio/apps/album/show_image.cgi:1.8 affelio/apps/album/show_image.cgi:1.9
--- affelio/apps/album/show_image.cgi:1.8 Mon Jun 27 00:49:35 2005
+++ affelio/apps/album/show_image.cgi Fri Jul 1 11:15:26 2005
@@ -1,6 +1,22 @@
#!/usr/bin/perl
-use strict;
+# Copyright (C) 2005 FishGrove Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+use strict;
use lib("../../extlib");
use CGI;
use Cwd;
Index: affelio/apps/album/write_comment.cgi
diff -u affelio/apps/album/write_comment.cgi:1.5 affelio/apps/album/write_comment.cgi:1.6
--- affelio/apps/album/write_comment.cgi:1.5 Mon Jun 27 00:21:21 2005
+++ affelio/apps/album/write_comment.cgi Fri Jul 1 11:15:26 2005
@@ -1,5 +1,21 @@
#!/usr/bin/perl
+# Copyright (C) 2005 FishGrove Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
require './common/header.pl';
&errorExit("ããªãã¯ãã®ãã¼ã¸ã«æ¸ãè¾¼ã¿æ¨©éãããã¾ãã") unless $afap->check_access("write_comment");