Procedural File: template.php
ソースコードの場所: /template.php
Page Details:
Includes:
accessCheck [line 16]
サイトに不用意なコメントを書いてくる人や、 スパムアタックをガードする.
dummy [line 226]
dummy3 [line 274]
putAccess [line 797]
void putAccess(
$basepath $basepath, $diarytitle $diarytitle, $schoolzipcode $schoolzipcode, $schooladdress $schooladdress, $schooltel $schooltel, $schoolfax $schoolfax, $schoolmail $schoolmail, $isshowgooglemap $isshowgooglemap, $addressTitle $addressTitle, $addressZipcode $addressZipcode, $addressMail $addressMail)
|
|
所在地を表示する.
パラメータ
| $basepath |
$basepath |
パーマリンクにするため. |
| $diarytitle |
$diarytitle |
日記のタイトル |
| $schoolzipcode |
$schoolzipcode |
郵便番号 |
| $schooladdress |
$schooladdress |
住所 |
| $schooltel |
$schooltel |
電話番号 |
| $schoolfax |
$schoolfax |
FAX番号 |
| $schoolmail |
$schoolmail |
メールアドレス |
| $isshowgooglemap |
$isshowgooglemap |
グーグルマップ現在地地図を表示する. |
| $addressTitle |
$addressTitle |
所在地[国際化] |
| $addressZipcode |
$addressZipcode |
〒[国際化] |
| $addressMail |
$addressMail |
メール[国際化] |
putAcknowledgement [line 1160]
void putAcknowledgement(
)
|
|
謝辞を述べる
putCalendar [line 567]
void putCalendar(
$basepath $basepath, $year $year, $month $month, $day $day, $lang $lang)
|
|
カレンダーを表示する.
パラメータ
| $basepath |
$basepath |
静的→動的にするために必要. |
| $year |
$year |
年 |
| $month |
$month |
月 |
| $day |
$day |
日 |
| $lang |
$lang |
言語パック[国際化] |
putDestribution [line 705]
void putDestribution(
$basepath $basepath, $destribution $destribution, $destributionlist $destributionlist)
|
|
配布文書.
パラメータ
| $basepath |
$basepath |
パーマリンクにするために必要。 |
| $destribution |
$destribution |
配布文書[国際化] |
| $destributionlist |
$destributionlist |
配布文書一覧[国際化] |
putFinder [line 1565]
void putFinder(
$自サイトのURI $uri, $ownsearch $ownsearch, $owngoogle $owngoogle)
|
|
検索ウインドウを表示する.
パラメータ
| $自サイトのURI |
$uri |
|
| $ownsearch |
$ownsearch |
自サイト検索[国際化] |
| $owngoogle |
$owngoogle |
自サイト検索[国際化] |
putFooter [line 852]
void putFooter(
$basepath $basepath, $diarytitle $diarytitle, $author $author, $acknowledgeent $acknowledgement)
|
|
footerである、著作権表示などを表示する. $authorや、$acknowledgement は、多国語に対応させるため.
パラメータ
| $basepath |
$basepath |
パーマリンク用 |
| $diarytitle |
$diarytitle |
このシステムのタイトル |
| $author |
$author |
私の名前. |
| $acknowledgeent |
$acknowledgement |
謝辞. |
putHuriganaFilter [line 682]
void putHuriganaFilter(
$basepath $basepath, $hurigana $furigana)
|
|
学年ふりがなフィルタ
パラメータ
| $basepath |
$basepath |
静的→動的にするために必要. |
| $hurigana |
$furigana |
ふりがなにして欲しい文字 |
putLastUpdate [line 1554]
putLeftCategory [line 35]
void putLeftCategory(
basepath $basepath, category $category, categoryname $categoryname)
|
|
画面左側のカテゴリを表示する.
パラメータ
| basepath |
$basepath |
静的サイトを動的に見せるため. |
| category |
$category |
iniファイルで読み込んでいるカテゴリ情報 |
| categoryname |
$categoryname |
カテゴリ[国際化] |
putLink [line 519]
void putLink(
$target $target, $link $link, $linkExplain $linkExplain)
|
|
リンク.
パラメータ
| $target |
$target |
リンクターゲット |
| $link |
$link |
リンク[国際化] |
| $linkExplain |
$linkExplain |
学校外へのリンクです。[国際化] |
putMail [line 203]
void putMail(
$basepath $basepath, $location $location, $mailtitle $mailtitle)
|
|
メールを画面にjavascriptに出力する
パラメータ
| $basepath |
$basepath |
パーマリンク用 |
| $location |
$location |
シーザー暗号化されたファイルの位置とファイル名. この時のファイルは、一行目がメールアドレスで、2行目が鍵 |
| $mailtitle |
$mailtitle |
表示させる文字列.何も入力しないときはメール |
putMenus [line 728]
void putMenus(
$path $path, $isshowgooglemap $isshowgooglemap, $lang $lang)
|
|
メニューを表示する.
パラメータ
| $path |
$path |
ファイルへのパス |
| $isshowgooglemap |
$isshowgooglemap |
Google Maps用の学校地図を表示させるかどうか. |
| $lang |
$lang |
言語パック |
putNewArticleInfo [line 1459]
void putNewArticleInfo(
$articlenum $articlenum, $newarticle $newarticle)
|
|
新着記事情報を表示する
パラメータ
| $articlenum |
$articlenum |
最大表示件数 |
| $newarticle |
$newarticle |
新着記事名前[国際化] |
putPastArticleFilterEXT [line 72]
void putPastArticleFilterEXT(
basepath $lang)
|
|
画面左側の年月フィルタを表示する.EXTライブラリを使う.
パラメータ
| basepath |
$lang |
静的サイトを動的に見せるため. |
putPastArticleFilterMooTools [line 135]
void putPastArticleFilterMooTools(
basepath $basepath, hash $lang)
|
|
画面左側の年月フィルタを表示する.MooToolsライブラリを使う.
パラメータ
| basepath |
$basepath |
静的サイトを動的に見せるため?. |
| hash |
$lang |
国際化 |
putPlan [line 761]
void putPlan(
$basepath $basepath, $lang $lang)
|
|
行事予定を表示する.
パラメータ
| $basepath |
$basepath |
静的→動的URLのために必要。 |
| $lang |
$lang |
言語パック |
putQRcode [line 748]
void putQRcode(
$basepath $basepath, $qrExplain. $qrExplain)
|
|
QRコードを表示する.
パラメータ
| $basepath |
$basepath |
パーマリンクにするため. |
| $qrExplain. |
$qrExplain |
QRコード用の説明[国際化] |
putSlideShow [line 1503]
void putSlideShow(
$year $year, $month $month)
|
|
月ごとのスライドショーを表示する
パラメータ
| $year |
$year |
年 |
| $month |
$month |
月 |
putWeather [line 324]
void putWeather(
$pref $pref, $city $city)
|
|
お天気情報を出力する.お天気情報は、Live Doorのお天気情報プラグインに依存します。
パラメータ
| $pref |
$pref |
都道府県ID |
| $city |
$city |
市 |
putWeather2 [line 339]
void putWeather2(
$path $path, $year本日の年 $year, $month $month, $days $days)
|
|
詳細お天気情報.Live Doorのお天気情報Weather Hacksを用いています。
パラメータ
| $path |
$path |
db/へのパス |
| $year本日の年 |
$year |
|
| $month |
$month |
本日の月 |
| $days |
$days |
本日の日にち |
showDestributionDocuments [line 1075]
void showDestributionDocuments(
)
|
|
配布文書(真ん中に表示させる方)を表示する.
showMonthPlanTitle [line 883]
void showMonthPlanTitle(
$planMonthly $planMonthly, $planAttension $planAttension)
|
|
月の行事予定の鏡を表示する.
パラメータ
| $planMonthly |
$planMonthly |
月間行事予定 [国際化] |
| $planAttension |
$planAttension |
注意書き [国際化] |
showPlan [line 905]
void showPlan(
$year, $month)
|
|
月の行事予定を表示する $year 年 $month 月のデータを表示する.
パラメータ
showPrevNextMonth [line 998]
void showPrevNextMonth(
$type, $year, $month, $path)
|
|
次の月と前の月を表示する.
パラメータ
showPrevNextYear [line 1049]
void showPrevNextYear(
$year)
|
|
次の年と、前の年を表示する.
パラメータ
showYearPlanTitle [line 894]
void showYearPlanTitle(
$planAnnual $planAnnual, $planAttension $planAttension)
|
|
年の行事予定の鏡を表示する.
パラメータ
| $planAnnual |
$planAnnual |
年間行事予定 [国際化] |
| $planAttension |
$planAttension |
注意書き [国際化] |
uruu [line 550]
|
|