40 lines
1.7 KiB
PHP
40 lines
1.7 KiB
PHP
<?php
|
|
if (SessionActive() != 1 || ! UserLoggedIn()) {
|
|
header("Location: /?error_message=" . urlencode(getLanguageText('ERRORMSG-SESSION-EXPIRED')));
|
|
exit();
|
|
}
|
|
|
|
|
|
echo("<p class='titles'>" . $GlobalText['OrganizationProfile'] . " </p>\n");
|
|
|
|
?>
|
|
<form method='post'>
|
|
<table width='100%' id='data-table' class='content-table'>
|
|
<tr>
|
|
<td width='30%' align='right' valign='top'><?php echo($GlobalText['OrganizationType']) ?>: </td>
|
|
<td align='left' valign='top'><input type='text' name='school_name' value='<?php echo(str_replace("'","'",$school_record['school_name'])) ?>' size='60'></td>
|
|
</tr>
|
|
<tr>
|
|
<td align='right' valign='top'><?php echo($GlobalText['OrganizationHead']) ?>: </td>
|
|
<td align='left' valign='top'><input type='text' name='principal' value='<?php echo(str_replace("'","'",$school_record['principal'])) ?>' size='50'></td>
|
|
</tr>
|
|
<tr>
|
|
<td align='right' valign='top'><?php displayLanguageText('TEXT-EMAIL'); ?>: </td>
|
|
<td align='left' valign='top'><input type='text' name='principal_email' value='<?php echo($school_record['principal_email']) ?>' size='60'></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan='2' align='center'>
|
|
<input type='submit' class='btn btn--primary' value="<?php displayLanguageText('TEXT-UPDATE'); ?>">
|
|
<input type='hidden' name='action' value='organization'>
|
|
<input type='hidden' name='naction' value='update'>
|
|
<input type='hidden' name='record_num' value='<?php echo($school_num) ?>'>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<table cellpadding='5'>
|
|
<tr>
|
|
<td align='center'><a href='/?action=application-profile-updated' class='btn btn--primary btn--xsmall'><?php displayLanguageText('TEXT-DATA-CURRENT'); ?></a></td>
|
|
</tr>
|
|
</table>
|