version 1.55, 2008/04/30 23:54:59
|
version 1.56, 2008/06/04 21:33:54
|
Line 208 sub print_mainbox {
|
Line 208 sub print_mainbox {
|
} |
} |
my $page = ''; |
my $page = ''; |
if ($action eq "information") { |
if ($action eq "information") { |
$page = "<b>Automated Student Enrollment</b>"; |
$page = "<b>".&mt("Automated Enrollment")."</b>"; |
} else { |
} else { |
$page = '<a href="/adm/populate">Automated Student Enrollment</a>'; |
$page = '<a href="/adm/populate">'.&mt('Automated Enrollment').'</a>'; |
if ($reply) { |
if ($reply) { |
if ($action eq "newcross") { |
if ($action eq "newcross") { |
$action = "crosslist"; |
$action = "crosslist"; |
Line 222 sub print_mainbox {
|
Line 222 sub print_mainbox {
|
$page .= " -> <b>".$$tasklongref{$action}."</b>"; |
$page .= " -> <b>".$$tasklongref{$action}."</b>"; |
} |
} |
} |
} |
|
my $usrmang = &mt('User Management'); |
|
my $autenrl = &mt('Automated Enrollment Manager'); |
$r->print(<<ENDTHIS); |
$r->print(<<ENDTHIS); |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
<tr> |
<tr> |
<td bgcolor="#CCCCFF"> |
<td bgcolor="#CCCCFF"> |
<font size="2"><a href="/adm/menu">$realm</a> -> <a href="/adm/createuser">User Management</a> -> $page</font><br/> |
<font size="2"><a href="/adm/menu">$realm</a> -> <a href="/adm/createuser">$usrmang</a> -> $page</font><br/> |
</td> |
</td> |
<td align="right" bgcolor="#CCCCFF" valign="top"> |
<td align="right" bgcolor="#CCCCFF" valign="top"> |
<font size="+1">Automated Student Enrollment Manager </font> |
<font size="+1">$autenrl </font> |
</td> |
</td> |
</tr> |
</tr> |
</table> |
</table> |
Line 1000 ENDTWO
|
Line 1002 ENDTWO
|
} |
} |
$r->print(' |
$r->print(' |
<tr> |
<tr> |
<td>'. |
<td>' |
&mt('The policies of your institution ([_1]) require that the course owner ([_2]) must indicate acceptance of the conditions of use of digital photos of registered students, before they may be made available for use in a course.',$institution,$ownername).'<br /><br />'.&mt('Please direct the course owner [_1] to visit the "Student photos" page in the Automated Student Enrollment Manager to indicate acceptance of these conditions of use.',$emailstr).'<br /><br /><input type="button" name="mainmenu" value="Go back" onclick="javascript:history.go(-1);" /> |
.&mt('The policies of your institution ([_1]) require that the course owner ([_2]) must indicate acceptance of the conditions of use of digital photos of registered students, before they may be made available for use in a course.',$institution,$ownername) |
|
.'<br /><br />' |
|
.&mt('Please direct the course owner [_1] to visit the "Student photos" page in the Automated Enrollment Manager to indicate acceptance of these conditions of use.',$emailstr) |
|
.'<br /><br /><input type="button" name="mainmenu" value="Go back" onclick="javascript:history.go(-1);" /> |
</td> |
</td> |
</tr> |
</tr> |
</form> |
</form> |
Line 1089 onclick="javascript:document.photoupdate
|
Line 1094 onclick="javascript:document.photoupdate
|
<input type ="hidden" name="state" value="process" /> |
<input type ="hidden" name="state" value="process" /> |
</form>'); |
</form>'); |
} else { |
} else { |
$r->print(&mt('Update of photos via the Automated Student Enrollment Manager is unavailable in this domain.').'<br /><br /><input type="button" name=mainmenu" value="Go back" onclick="javascript:history.go(-1);" />'); |
$r->print(&mt('Update of photos via the Automated Enrollment Manager is unavailable in this domain.') |
|
.'<br /><br /><input type="button" name=mainmenu" value="'.&mt('Go back').'" onclick="javascript:history.go(-1);" />'); |
} |
} |
} else { |
} else { |
$r->print('Update of photos is unavailable, as import of student photos is currently disabled.<br />Enable this first via: <a href="/adm/populate?action=photos">'.$$tasktitleref{'photos'}.'</a>'); |
$r->print('Update of photos is unavailable, as import of student photos is currently disabled.<br />Enable this first via: <a href="/adm/populate?action=photos">'.$$tasktitleref{'photos'}.'</a>'); |
Line 2419 function agreement_result(caller) {
|
Line 2425 function agreement_result(caller) {
|
if ($owneremail) { |
if ($owneremail) { |
$emailstr = "(e-mail: $owneremail)"; |
$emailstr = "(e-mail: $owneremail)"; |
} |
} |
$response = &mt('The policies of your institution [_1] require that the course owner [_2] must indicate acceptance of the conditions of use of digital photos of registered students, before they may be made available for use in a course.',$institution,$ownername).'<br /><br />'.&mt('Please direct the course owner [_1] to visit the "Student photos" page in the Automated Student Enrollment Manager to indicate acceptance of these conditions of use',$emailstr); |
$response = &mt('The policies of your institution [_1] require that the course owner [_2] must indicate acceptance of the conditions of use of digital photos of registered students, before they may be made available for use in a course.',$institution,$ownername) |
|
.'<br /><br />' |
|
.&mt('Please direct the course owner [_1] to visit the "Student photos" page in the Automated Enrollment Manager to indicate acceptance of these conditions of use.',$emailstr); |
} |
} |
&print_reply($r,$response,$$tasktitleref{$action}); |
&print_reply($r,$response,$$tasktitleref{$action}); |
} |
} |