Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
bad98159
Commit
bad98159
authored
Nov 22, 2006
by
Nigel McNie
Committed by
Nigel McNie
Nov 22, 2006
Browse files
Added template for AdminInstitutions
parent
5acd81f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/default/templates/admin/institutions.tpl
0 → 100644
View file @
bad98159
{
include
file
=
"header.tpl"
}
<h2>
AdminInstitutions
</h2>
{
if
$institution_form
}
{
if
$add
}
<h3>
Add Institution
</h3>
{/
if
}
{
$institution_form
}
{
else
}
<p>
Here is a list of all installed institutions.
</p>
<table>
<tr>
<th>
Institution
</th>
<th>
Authentication Method
</th>
<th>
Registration Allowed?
</th>
<th></th>
</tr>
{
foreach
from
=
$institutions
item
=
institution
}
<tr>
<td>
{
$institution
->
displayname
|
escape
}
</td>
<td>
{
$institution
->
authplugin
}
</td>
<td>
{
if
$institution
->
authplugin
==
'internal'
}{
if
$institution
->
registerallowed
}{
str
tag
=
"yes"
}{
else
}{
str
tag
=
"no"
}{/
if
}{
else
}
-
{/
if
}
</td>
<td>
<form
action=
""
method=
"post"
>
<input
type=
"hidden"
name=
"i"
value=
"
{
$institution
->
name
}
"
>
<input
type=
"submit"
name=
"edit"
value=
"Edit"
>
{
if
$institution
->
candelete
}
<input
type=
"submit"
name=
"delete"
value=
"Delete"
>
{/
if
}
</form>
</td>
</tr>
{/
foreach
}
<tr>
<td
colspan=
"4"
>
<form
action=
""
method=
"post"
>
<input
type=
"submit"
name=
"add"
value=
"Add Institution"
>
</form>
</td>
</tr>
</table>
{/
if
}
{
include
file
=
"footer.tpl"
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment