Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
ucare_app
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Experience Group
ucare_app
Commits
e4732301
Commit
e4732301
authored
14 years ago
by
Brett Bieber
Browse files
Options
Downloads
Patches
Plain Diff
Allow sending confirmation emails again.
parent
bc667bca
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/UNL/UCARE/Reminder.php
+5
-1
5 additions, 1 deletion
src/UNL/UCARE/Reminder.php
www/templates/Admin/ApplicantTable.tpl.php
+8
-3
8 additions, 3 deletions
www/templates/Admin/ApplicantTable.tpl.php
with
13 additions
and
4 deletions
src/UNL/UCARE/Reminder.php
+
5
−
1
View file @
e4732301
...
@@ -20,6 +20,10 @@ class UNL_UCARE_Reminder
...
@@ -20,6 +20,10 @@ class UNL_UCARE_Reminder
if
(
!
$this
->
application
)
{
if
(
!
$this
->
application
)
{
throw
new
Exception
(
'Could not find that application!'
);
throw
new
Exception
(
'Could not find that application!'
);
}
}
if
(
isset
(
$options
[
'confirmation'
]))
{
$this
->
application
->
emailApplicant
();
}
else
{
$this
->
application
->
emailSponsor
();
$this
->
application
->
emailSponsor
();
}
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
www/templates/Admin/ApplicantTable.tpl.php
+
8
−
3
View file @
e4732301
...
@@ -13,14 +13,19 @@
...
@@ -13,14 +13,19 @@
?>
?>
<tr>
<tr>
<td>
<?php
echo
$id
;
?>
<td>
<?php
echo
$id
;
?>
<td>
<?php
echo
$app
->
first_name
.
' '
.
$app
->
last_name
;
?>
</td>
<td>
<?php
echo
$app
->
first_name
.
' '
.
$app
->
last_name
;
?>
<br
/>
<a
style=
"font-size:smaller"
href=
"?view=reminder&year=
<?php
echo
$year
;
?>
&id=
<?php
echo
$app
->
id
;
?>
&confirmation=1"
>
Send Confirmation
</a>
</td>
<td>
<?php
echo
$app
->
title
;
?>
</td>
<td>
<?php
echo
$app
->
title
;
?>
</td>
<td>
<?php
echo
date
(
'Y-m-d'
,
strtotime
(
$app
->
datesubmitted
));
?>
</td>
<td>
<?php
echo
date
(
'Y-m-d'
,
strtotime
(
$app
->
datesubmitted
));
?>
</td>
<td><a
href=
"http://
peoplefinder
.unl.edu/?uid=
<?php
echo
$app
->
sponsor_uid
;
?>
"
>
<?php
echo
$app
->
sponsor_uid
;
?>
</a></td>
<td><a
href=
"http://
directory
.unl.edu/?uid=
<?php
echo
$app
->
sponsor_uid
;
?>
"
>
<?php
echo
$app
->
sponsor_uid
;
?>
</a></td>
<?php
if
(
$app
->
getEndorsement
())
:
?>
<?php
if
(
$app
->
getEndorsement
())
:
?>
<td
class=
"complete"
>
Endorsement complete
</td>
<td
class=
"complete"
>
Endorsement complete
</td>
<?php
else
:
?>
<?php
else
:
?>
<td><a
href=
"?view=reminder&year=
<?php
echo
$year
;
?>
&id=
<?php
echo
$app
->
id
;
?>
"
>
Send Reminder
</a></td>
<td>
<a
href=
"?view=reminder&year=
<?php
echo
$year
;
?>
&id=
<?php
echo
$app
->
id
;
?>
"
>
Send Reminder
</a>
</td>
<?php
endif
;
?>
<?php
endif
;
?>
<td><a
href=
"?view=admin&delete
<?php
echo
$year
;
?>
=
<?php
echo
$app
->
id
;
?>
"
onclick=
"return confirm('Are you sure?');"
>
Delete
</a></td>
<td><a
href=
"?view=admin&delete
<?php
echo
$year
;
?>
=
<?php
echo
$app
->
id
;
?>
"
onclick=
"return confirm('Are you sure?');"
>
Delete
</a></td>
</tr>
</tr>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment