changeset 36:e67737e49a5d draft

add a5userman.html multiplenotify.html
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 19 Apr 2012 17:16:48 +0900
parents f5cff2e25520
children 1515ea889ea1
files a5userman.html after5.rb multiplenotify.html
diffstat 3 files changed, 137 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/a5userman.html	Thu Apr 19 17:16:48 2012 +0900
@@ -0,0 +1,89 @@
+<html>
+<head>
+<title>
+
+</title><link rel="stylesheet" type="text/css" href="after5.css">
+<style type="text/css">
+<!--
+table.sc {border: 1px solid; border-collapse: collapse;}
+table.sc td {
+	border: solid; border-width: 0px 2px; text-align: center;
+	padding: 1px 1em;
+}
+-->
+</style>
+</head>
+
+<body>
+<h1>
+みんなの予定表 <img src="after5.png" alt="「アフター5」"
+style="vertical-align: middle;">利用時簡易マニュアル
+</h1>
+
+<h2>利用者登録とログイン</h2>
+<ul>
+ <li><p>ログイン画面でメイルアドレスを入力し、
+     パスワード空欄のままLOGINボタンを押す。</p></li>
+ <li><p>入力したアドレスにパスワードが送付されるので、
+     ログイン画面に戻ってそれを入力する。</p></li>
+</ul>
+
+<h2>個人予定とグループ予定</h2>
+<ul>
+ <li><p>登録する予定には「個人名義」と「グループ名義」がある。</p></li>
+ <li><p>いずれの場合も全員に見せる予定と、自分だけに見せる予定が
+     登録できる。</p></li>
+</ul>
+
+<h2>予定閲覧</h2>
+<ul>
+ <li><p>ログイン後最初の画面が「カレンダ画面」で最初は予定登録者のみが
+     出ている。カレンダ下部の「予定表示行」を「先頭5文字/先頭1行/全部」
+     いずれかにしてGOを押すと一覧表示する量が調整できる。</p></li>
+ <li><p>新しく登録された予定は強調表示される。
+     カレンダ下部の「最新X日分強調」で「新しい」と判断する日数を調整できる。
+     </p></li>
+</ul>
+
+<h2>予定登録・修正・削除</h2>
+<ul>
+ <li><p>カレンダ画面から特定の日付をクリックすると「登録画面」に進む。</p></li>
+ <li><p>予定の日付入力が</p>
+     <table class="sc">
+      <tr><td>年</td><td>一日分だけ登録</td></tr>
+      <tr><td>月</td><td>月</td></tr>
+      <tr><td>日</td><td>日</td></tr>
+     </table>
+     <p>のように現われる。1日分だけ登録するときは左側の日付けだけ指定、
+     複数日分登録するときは右上の「一日分だけ登録」を連続登録
+     終了日の西暦に変えて登録する。</p></li>
+ <li><p>時刻は24時間制の4桁数字で入れる。</p></li>
+ <li><p>時刻指定不要の全日予定の場合は 3000 を入れる。</p></li>
+ <li><p>メンバーに見せる見せないは登録時に決める。</p></li>
+ <li><p>登録した予定は、登録名義者(個人またはグループ)のみ
+     修正・削除・移動できる。</p></li>
+</ul>
+
+<h2>グループ管理</h2>
+<ul>
+ <li><p>カレンダ画面の「グループ管理」から、新規グループの作成や
+     既存グループ参加・脱退が行なえる。</p></li>
+ <li><p>グループ作成者や、作成者が指定したメンバーはそのグループの管理者
+     となり、一般メンバーの参加・脱退を自由に制御できる。</p></li>
+ <li><p>グループの管理者でないメンバーは、任意のグループに対する
+     自発的参加・脱退のみが行なえる。</p></li>
+</ul>
+
+<h2>ユーザ管理</h2>
+<ul>
+ <li><p>カレンダ画面の「ユーザ管理」から、個人アカウントの操作が行なえる。
+     </p></li>
+ <li><p>予定が近づいたときのリマインダメイルの送付先を携帯電話アドレス
+     にしたり、カレンダ上に表示される登録者のニックネームを設定すると便利。
+     </p></li>
+</ul>
+
+<hr>
+<!--#include virtual="/~yuuji/signature.html"-->
+</body>
+</html>
--- a/after5.rb	Tue Apr 03 20:36:49 2012 +0900
+++ b/after5.rb	Thu Apr 19 17:16:48 2012 +0900
@@ -5,7 +5,7 @@
 # (C)2003, 2004, 2006, 2008, 2012 by HIROSE Yuuji [yuuji<at>gentei.org]
 # $Id: after5.rb,v 1.19 2012/04/01 11:52:25 yuuji Exp yuuji $
 # $HGid$
-# Last modified Tue Apr  3 20:32:44 2012 on firestorm
+# Last modified Thu Apr 12 21:18:58 2012 on firestorm
 # See http://www.gentei.org/~yuuji/software/after5/
 # このスクリプトはEUCで保存してください。
 
@@ -347,7 +347,7 @@
     @visitedgroup=[] unless @visitedgroup
     return [] unless @visitedgroup.grep(gname).empty?
     @visitedgroup.push(gname)
-    mdir = File.join(@groupmapdir, gname, 'members')
+    mdir = File.join(@groupmapdir, gname, 'members').untaint
     return [] unless test(?d, mdir)
     members = []
     Dir.foreach(mdir){|item|
@@ -1215,7 +1215,7 @@
 Or, put short subject in the first line, details in latter lines.'],
 	'joinquit'	=> ['入退', 'joining/quiting'],
 	'of'		=> ['の', "'s"],
-	'id'		=> ['ID(ローマ字1単語空白なしで)', 'ID(without spaces)'],
+	'id'		=> ['ID(英単語かローマ字の1単語半角空白なしで)', 'ID(without spaces)'],
 	'name'		=> ['名前', 'name'],
 	'anystring'	=> ['(日本語OK)', '(any length, any characters)'],
 	'setto'		=> ['を設定 → ', 'set to '],
@@ -2022,7 +2022,7 @@
       @H.radio('editmode', 'remove', 'Delete?') + " / " + \
       @H.radio('editmode', 'modify', 'Overwrite?') + " / " + \
       @H.radio('editmode', 'append', 'Append?', true) + "<br>\n" + \
-      @H.element("p"){msg('headsched') + \
+      @H.element("p"){msg('headsched') + "<br>\n" + \
         @H.element("textarea", @schedulearea){}} + 	# textarea
       @H.submit_reset("GO")
     } #form
@@ -2484,6 +2484,11 @@
     exit 0
   end
 
+  # put Link to home
+  def link2home()
+    @O.print @H.p("-&gt; " + @H.a(@myname+"?-today", "Home"))
+  end
+
   #
   # user management
   def userman()
@@ -2621,6 +2626,7 @@
 	@O.print @H.p("Update webpage"+msg('failure'))
       end
     end
+    link2home
   end
   #
   # Display form of group management
@@ -2732,6 +2738,7 @@
 	end
       end
     end
+    link2home
   end
   def users()
     unless pm=open_pm()
@@ -3051,7 +3058,8 @@
     unless somethingdone
       # @O.print @H.p(msg('nothingtodo'))
     end
-    @O.print footer()
+    # @O.print footer()
+    link2home
   end
   def newgroupsub()
     if !checkauth
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/multiplenotify.html	Thu Apr 19 17:16:48 2012 +0900
@@ -0,0 +1,35 @@
+<html>
+<head>
+<title>
+When you want to get notification to multiple address
+</title>
+<style type="text/css">
+<!--
+body {background: azure;}
+-->
+</style>
+</head>
+
+<body>
+<h1>
+$BJ#?t$N%"%I%l%9$KDLCN$r<u$1$?$$$J$i(B
+</h1>
+<p>qmail$B;H$$$^$7$g!#(Bqmail$B$N3HD%%"%I%l%9;H$$$^$7$g!#(B</p>
+
+<p>$B$A$_$N%"%I%l%9$,(B foo@example.co.jp $B$@$H$9$k$H(B <code>~/qmail-bar</code>
+$B%U%!%$%k$r:n$k$H(B <code>foo-bar@example.co.jp</code> $B$N(B
+$B08@h$r5[$$9~$`$h$&$K$J$k$N$G!"$=$3$KE>Aw@h%"%I%l%9$r$?$/$5$s=q$$$F$*$1$P(B
+OK$B!#(B</p>
+<pre>
+% cat > ~/.qmail-bar
+&amp;tensou1@example.ac.jp
+&amp;tensou2@example.com
+</pre>
+
+<p>$B:G8e$K(B C-d $B$r2!$;$P$*$7$^$$!#$"$"4JC1!#$J$K!"(Bqmail$B$8$c$J$$$H$J!#(B
+Postfix$B$G$bNI$$$>!#$J$K!"(BPostfix$B$G$b$J$$$H$J!#$5$i$P$8$c!#(B</p>
+
+<hr>
+<!--#include virtual="/~yuuji/signature.html"-->
+</body>
+</html>

yatex.org