Tadashi Okoshi
slash****@users*****
2005年 10月 25日 (火) 04:20:47 JST
Index: affelio_farm/admin/skelton/affelio/apps/sampleapp/AF_app.cfg
diff -u affelio_farm/admin/skelton/affelio/apps/sampleapp/AF_app.cfg:1.1.1.1 affelio_farm/admin/skelton/affelio/apps/sampleapp/AF_app.cfg:removed
--- affelio_farm/admin/skelton/affelio/apps/sampleapp/AF_app.cfg:1.1.1.1 Tue Oct 25 04:14:40 2005
+++ affelio_farm/admin/skelton/affelio/apps/sampleapp/AF_app.cfg Tue Oct 25 04:20:47 2005
@@ -1,12 +0,0 @@
-[this_installation]
-title=ä¿ºã®æ¥è¨
-
-[application]
-app_name=message board
-app_version=1.0
-app_desc=ã¡ãã»ã¼ã¸ãã¼ãã¢ããªã±ã¼ã·ã§ã³
-app_author=Affelio project
-guest_index=index.cgi
-owner_index=
-action_types=write
-action_types_desc=ã¡ãã»ã¼ã¸æ¸ãè¾¼ã¿
Index: affelio_farm/admin/skelton/affelio/apps/sampleapp/README
diff -u affelio_farm/admin/skelton/affelio/apps/sampleapp/README:1.1.1.1 affelio_farm/admin/skelton/affelio/apps/sampleapp/README:removed
--- affelio_farm/admin/skelton/affelio/apps/sampleapp/README:1.1.1.1 Tue Oct 25 04:14:40 2005
+++ affelio_farm/admin/skelton/affelio/apps/sampleapp/README Tue Oct 25 04:20:47 2005
@@ -1,20 +0,0 @@
-This "simple_message_board" application is a simple Affelio application
-which allows users to leave instant message and read previous messages.
-Reading previous messages and leaving new message is permitted if the
-accessing user is allowed to do so, according to the Affelio access
-control.
-
-AFAppConfig.cgi
----------------
- Configuration file.
-
-
-index.cgi
----------
- A CGI program which outputs the main page.
-
-
-writeexec.cgi
--------------
- A CGI program which processes new message post from a browser.
-
Index: affelio_farm/admin/skelton/affelio/apps/sampleapp/index.cgi
diff -u affelio_farm/admin/skelton/affelio/apps/sampleapp/index.cgi:1.1.1.1 affelio_farm/admin/skelton/affelio/apps/sampleapp/index.cgi:removed
--- affelio_farm/admin/skelton/affelio/apps/sampleapp/index.cgi:1.1.1.1 Tue Oct 25 04:14:40 2005
+++ affelio_farm/admin/skelton/affelio/apps/sampleapp/index.cgi Tue Oct 25 04:20:47 2005
@@ -1,48 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use lib("../../lib");
-use AffelioApp;
-use lib("../../extlib");
-use CGI;
-use Cwd;
-
-my $cgi = new CGI();
-
-#AffelioAppãåæå
-my $afap = new AffelioApp(ConfigDir => Cwd::getcwd(),
- cgi => $cgi);
-
-#Content-typeãåºå
-print "Content-type: text/html;";
-print "Pragma: no-cache", "\n\n";
-
-#HTML Header Partãåºå
-my $out_head = $afap->get_HTML_header("Message Board Application");
-print $out_head;
-
-##################################################
-#Application-dependentãªãã¸ãã¯
-
-my $write_access = $afap->check_access("write");
-#Output textarea if "write" access_type is permitted for this user.
-if($write_access){
-
- #print out textarea
-
-}
-
-#Print previous messages if "DF_read" access_type is permitted for this user.
-my $read_access = $afap->check_access("DF_read");
-if($read_access){
-
- #Show previous message
-
-}
-
-##################################################
-#HTML Footer Partãåºå
-my $out_foot = $afap->get_HTML_footer();
-print $out_foot;
-
-#EOF