Commit b2429d45 authored by Penny Leach's avatar Penny Leach
Browse files

dos2unix

parent 638cb400
{include file="header.tpl"}
{include file="adminmenu.tpl"}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str tag="activity"}</h2>
<form method="post">
{str section='activity' tag='type'}:
<select name="type" onChange="{$typechange}">
<option value="all">{str section='activity' tag='alltypes'}</option>
{foreach from=$types item='type'}
{assign var="tag1" value=$type->name}
{assign var="tag" value=type$tag1}
<option value="{$type->name}">{str section='activity' tag=$tag}</option>
{/foreach}
</select>
</form>
<form method="post" onSubmit="{$markread}">
<table id="activitylist">
<thead>
<tr>
<th></th>
<th>{str section='activity' tag='type'}</th>
<th>{str section='activity' tag='date'}</th>
<th>{str section='activity' tag='read'}</th>
<th>[<a href="" onClick="{$selectall}">{str section='activity' tag='selectall'}</a>]</th>
<th></th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<td align="right" colspan="4"><div id="messagediv"></div></td>
<td align="right"><input type="submit" value="{str tag='markasread' section='activity'}" /></td>
</tr>
</tfoot>
</table>
</form>
</div>
</span></span></span></span></div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
{include file="adminmenu.tpl"}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str tag="activity"}</h2>
<form method="post">
{str section='activity' tag='type'}:
<select name="type" onChange="{$typechange}">
<option value="all">{str section='activity' tag='alltypes'}</option>
{foreach from=$types item='type'}
{assign var="tag1" value=$type->name}
{assign var="tag" value=type$tag1}
<option value="{$type->name}">{str section='activity' tag=$tag}</option>
{/foreach}
</select>
</form>
<form method="post" onSubmit="{$markread}">
<table id="activitylist">
<thead>
<tr>
<th></th>
<th>{str section='activity' tag='type'}</th>
<th>{str section='activity' tag='date'}</th>
<th>{str section='activity' tag='read'}</th>
<th>[<a href="" onClick="{$selectall}">{str section='activity' tag='selectall'}</a>]</th>
<th></th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<td align="right" colspan="4"><div id="messagediv"></div></td>
<td align="right"><input type="submit" value="{str tag='markasread' section='activity'}" /></td>
</tr>
</tfoot>
</table>
</form>
</div>
</span></span></span></span></div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
{include file="adminmenu.tpl"}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str tag="activityprefs"}</h2>
{$prefsdescr}
{$form}
</div>
</span></span></span></span></div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
{include file="adminmenu.tpl"}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str tag="activityprefs"}</h2>
{$prefsdescr}
{$form}
</div>
</span></span></span></span></div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
{include file="adminmenu.tpl"}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str tag="account"}</h2>
{$form}
</div>
</span></span></span></span></div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
{include file="adminmenu.tpl"}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str tag="account"}</h2>
{$form}
</div>
</span></span></span></span></div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
{include file="adminmenu.tpl"}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str tag="watchlist"}</h2>
<form method="post">
{str tag='filter'}:
<select name="type" onChange="{$typechange}">
<option value="views">{str section='activity' tag='views'}</option>
<option value="artefacts">{str section='activity' tag='artefacts'}</option>
<option value="communities">{str section='activity' tag='communities'}</option>
</select>
</form>
<p><b><div id="typeheader">{str section='activity' tag='monitored'} {$typestr}</div></b></p>
<form method="post" onSubmit="{$stopmonitoring}">
<table id="watchlist">
<thead>
<tr>
<th></th>
<th>[<a href="" onClick="{$selectall}">{str section='activity' tag='selectall'}</a>]</th>
<th id="recurseheader">{$recursestr}</th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<td align="right" colspan="4"><div id="messagediv"></div></td>
<td align="right"><input type="submit" value="{str tag='stopmonitoring' section='activity'}" /></td>
</tr>
</tfoot>
</table>
</form>
</div>
</span></span></span></span></div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
{include file="adminmenu.tpl"}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str tag="watchlist"}</h2>
<form method="post">
{str tag='filter'}:
<select name="type" onChange="{$typechange}">
<option value="views">{str section='activity' tag='views'}</option>
<option value="artefacts">{str section='activity' tag='artefacts'}</option>
<option value="communities">{str section='activity' tag='communities'}</option>
</select>
</form>
<p><b><div id="typeheader">{str section='activity' tag='monitored'} {$typestr}</div></b></p>
<form method="post" onSubmit="{$stopmonitoring}">
<table id="watchlist">
<thead>
<tr>
<th></th>
<th>[<a href="" onClick="{$selectall}">{str section='activity' tag='selectall'}</a>]</th>
<th id="recurseheader">{$recursestr}</th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<td align="right" colspan="4"><div id="messagediv"></div></td>
<td align="right"><input type="submit" value="{str tag='stopmonitoring' section='activity'}" /></td>
</tr>
</tfoot>
</table>
</form>
</div>
</span></span></span></span></div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str section=admin tag=editmenus}</h2>
{str tag=edit}:
<select id="menuselect" name="menuselect">
{foreach from=$MENUS item=menu}
<option value={$menu.value}>{$menu.name}</option>
{/foreach}
</select>
<div id="menuitemlist"></div>
</div>
</span></span></span></span></div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str section=admin tag=editmenus}</h2>
{str tag=edit}:
<select id="menuselect" name="menuselect">
{foreach from=$MENUS item=menu}
<option value={$menu.value}>{$menu.name}</option>
{/foreach}
</select>
<div id="menuitemlist"></div>
</div>
</span></span></span></span></div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str section=admin tag=editsitecontent}</h2>
{$pageeditform}
</div>
</span></span></span></span></div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str section=admin tag=editsitecontent}</h2>
{$pageeditform}
</div>
</span></span></span></span></div>
</div>
{include file="footer.tpl"}
{include file='header.tpl'}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>Administration</h2>
<p>Screens here:</p>
<ul>
<li><a href="options/">Site Options</a></li>
<li><a href="institutions.php">Institutions</a></li>
<li><a href="editsitepage.php">Site Pages</a></li>
<li><a href="editmenu.php">Site Menu</a></li>
<li><a href="plugins">Administer Plugins</a></li>
</ul>
{if $upgrades}
<p><a href="upgrade.php">Run upgrade</a></p>
{/if}
</div>
</span></span></span></span></div>
</div>
{include file='footer.tpl'}
{include file='header.tpl'}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>Administration</h2>
<p>Screens here:</p>
<ul>
<li><a href="options/">Site Options</a></li>
<li><a href="institutions.php">Institutions</a></li>
<li><a href="editsitepage.php">Site Pages</a></li>
<li><a href="editmenu.php">Site Menu</a></li>
<li><a href="plugins">Administer Plugins</a></li>
</ul>
{if $upgrades}
<p><a href="upgrade.php">Run upgrade</a></p>
{/if}
</div>
</span></span></span></span></div>
</div>
{include file='footer.tpl'}
{include file='header.tpl'}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<a href="http://mahara.org">Mahara</a> {str section='admin' tag='release' args=$releaseargs}
Copyright &copy; 2006 onwards, Catalyst IT Ltd<br>
<a href="http://www.gnu.org/licenses/gpl.html">GNU Public License</a><br>
<a href="{$WWWROOT}admin/upgrade.php">Agree</a>
</div>
</span></span></span></span></div>
</div>
{include file='admin/upgradefooter.tpl'}
{include file='header.tpl'}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<a href="http://mahara.org">Mahara</a> {str section='admin' tag='release' args=$releaseargs}
Copyright &copy; 2006 onwards, Catalyst IT Ltd<br>
<a href="http://www.gnu.org/licenses/gpl.html">GNU Public License</a><br>
<a href="{$WWWROOT}admin/upgrade.php">Agree</a>
</div>
</span></span></span></span></div>
</div>
{include file='admin/upgradefooter.tpl'}
{include file="header.tpl"}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>AdminInstitutions</h2>
{if $delete_form}
<h3>{str tag="deleteinstitution" section="admin"}</h3>
<p>{str tag="deleteinstitutionconfirm" section="admin"}</p>
{$delete_form}
{else}
{if $institution_form}
{if $add}
<h3>{str tag="addinstitution" section="admin"}</h3>
{/if}
{$institution_form}
{else}
<table>
<tr>
<th>{str tag="institution"}</th>
<th>{str tag="authplugin" section="admin"}</th>
<th>{str tag="registrationallowed" section="admin"}</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="{str tag="edit"}">
{if !$institution->hasmembers && $institution->name != 'mahara'}<input type="submit" name="delete" value="{str tag="delete"}">{/if}
</form>
</td>
</tr>
{/foreach}
<tr>
<td colspan="4">
<form action="" method="post">
<input type="submit" name="add" value="{str tag="addinstitution" section="admin"}">
</form>
</td>
</tr>
</table>
{/if}
{/if}
</div>
</span></span></span></span></div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>AdminInstitutions</h2>
{if $delete_form}
<h3>{str tag="deleteinstitution" section="admin"}</h3>
<p>{str tag="deleteinstitutionconfirm" section="admin"}</p>
{$delete_form}
{else}
{if $institution_form}
{if $add}
<h3>{str tag="addinstitution" section="admin"}</h3>
{/if}
{$institution_form}
{else}
<table>
<tr>
<th>{str tag="institution"}</th>
<th>{str tag="authplugin" section="admin"}</th>
<th>{str tag="registrationallowed" section="admin"}</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="{str tag="edit"}">
{if !$institution->hasmembers && $institution->name != 'mahara'}<input type="submit" name="delete" value="{str tag="delete"}">{/if}
</form>
</td>
</tr>
{/foreach}
<tr>
<td colspan="4">
<form action="" method="post">
<input type="submit" name="add" value="{str tag="addinstitution" section="admin"}">
</form>
</td>
</tr>
</table>
{/if}
{/if}
</div>
</span></span></span></span></div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span
class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<p><strong>TODO</strong> for this page:
<ul>
<li>Get a list of installed authentication methods (depends: database)</li>
<li>For each one, a list of institutions using it (depends: database)</li>