[role_badge]
[show_if_logged_out]
未ログインだけに表示
[/show_if_logged_out]
[show_if_role any=”administrator”]
管理人だけ
[/show_if_role]
[show_if_role any=”teacher”]
先生だけ
[/show_if_role]
[show_if_role any=”student”]
生徒だけ
[/show_if_role]
[show_if_logged_out]
未ログイン向けコンテンツ
[/show_if_logged_out]
[show_if_role any=”administrator”]
管理人だけに表示
[/show_if_role]
[show_if_role any=”teacher-commonid”]
先生だけに表示
[/show_if_role]
[show_if_role any=”student-commonid”]
生徒だけに表示
[/show_if_role]
<p>[role_badge]</p> <!– いまのロール確認用(下の拡張で追加します) –>
[show_if_logged_out]未ログインだけに表示[/show_if_logged_out]
[show_if_role any=”student-commonid” not=”teacher-commonid,administrator”]生徒だけ[/show_if_role]
[show_if_role any=”teacher-commonid” not=”administrator”]先生だけ[/show_if_role]
[show_if_role any=”administrator”]管理人だけ[/show_if_role]
[teacher_only mode=”common”]先生(共通ID)向け[/teacher_only]
[teacher_only mode=”unique”]先生(個別ID)向け[/teacher_only]
[student_only mode=”common” not_teacher=”1″]生徒(共通ID)だけ[/student_only]
[student_only mode=”unique” not_teacher=”1″]生徒(個別ID)だけ[/student_only]
[school_only]学校共通IDの人だけ(先生/生徒どちらでも)[/school_only]
[unique_only]個別IDの人だけ(先生/生徒どちらでも)[/unique_only]
[role_badge]
[arm_debug]