| | SquirrelMail(Webmail)へ戻る | | |
| すべてsquirrelmail-1.4.0付属SQCalendarを上書き | ||
| 機能 | モジュール名・ファイル名 | 内容 |
|---|---|---|
| SQ_SetUp | plugins/calendar/setup.php | プラグインセットアップ |
| 関数群 | plugins/calendar/functions.php | カレンダー用関数群 |
| RDB I/F | plugins/calendar/calendar_data.php | DBハンドリングモジュール(重要) |
| 表示 本体 |
plugins/calendar/calendar.php | 月表示 |
| plugins/calendar/week.php | 週表示 | |
| plugins/calendar/day.php | 日表示 | |
| イベント 新規登録 |
plugins/calendar/event_create.php | 新規イベント作成制御本体 |
| plugins/calendar/event_create_event_form.php | 新規イベント登録用フォーム | |
| plugins/calendar/event_create_confirm.php | 新規イベント登録確認 | |
| plugins/calendar/event_create_save_result.php | 新規イベントDB保存 | |
| イベント 削除 |
plugins/calendar/event_delete.php | イベント削除制御本体 |
| plugins/calendar/event_delete_event_form.php | イベント削除用フォーム | |
| plugins/calendar/event_delete_confirm.php | イベント削除確認 | |
| plugins/calendar/event_delete_delete_result.php | イベントDB削除 | |
| イベント 修正 |
plugins/calendar/event_edit.php | イベント修正制御本体 |
| SQL関連 | plugins/calendar/sq_scheduler.sql | PostgreSQL用 |
| plugins/calendar/holyday_update.php | 2003年と2004年の グローバルカレンダー(祝祭日)一括登録 (PHP-CLI版で動作) |
|
| Docs | plugins/calendar/README | 準備中 |
| plugins/calendar/INSTALL | 準備中(このドキュメントで代用) | |
| 画像 | plugins/calendar/risu*.png | 画像 |
# su - postgres
$ psql -U squirreluser squirrelmail < sq_scheduler.sql
$ psql -U squirreluser squirrelmail
squirrelmail=# \dt
List of relations
Schema | Name | Type | Owner
--------+-------------+-------+--------------
public | address | table | squirreluser
public | notes | table | squirreluser
public | sq_scheduler| table | squirreluser
public | userprefs | table | squirreluser
|
$sqcalender_dsn = 'pgsql://squirreluser:sqpassword@localhost/squirrelmail' ; $sqcalender_table = 'sq_scheduler' ; $sq_global_calendar_user = 'global' ; |
cd plugins/calendar ./holyday_update.php # あるいは、 /usr/local/bin/php holyday_update.php |
$ ./configure
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Main Menu --
..............................
8. Plugins
9. Database
..............................
C. Turn color on
S Save data
Q Quit
Command >> 8
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Plugins
Installed Plugins
1. calendar
2. filters
3. notes
Command >> s
|