Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Curriculum-Request
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tim Steiner
Curriculum-Request
Commits
d3dafa21
Commit
d3dafa21
authored
16 years ago
by
Tim Steiner
Browse files
Options
Downloads
Patches
Plain Diff
Fix email glitches.
parent
5477c59a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
application/modules/default/controllers/ErrorController.php
+2
-1
2 additions, 1 deletion
application/modules/default/controllers/ErrorController.php
library/App/RequestNotification.php
+20
-0
20 additions, 0 deletions
library/App/RequestNotification.php
with
22 additions
and
1 deletion
application/modules/default/controllers/ErrorController.php
+
2
−
1
View file @
d3dafa21
...
...
@@ -64,7 +64,8 @@ class ErrorController extends App_Controller_Action {
}
*/
$mail
->
setBodyText
(
$body
);
$mail
->
setBodyText
(
'See HTML'
);
$mail
->
setBodyHtml
(
"<pre>
\n
"
.
$body
.
"
\n
</pre>
\n
"
);
$mail
->
send
();
}
}
This diff is collapsed.
Click to expand it.
library/App/RequestNotification.php
+
20
−
0
View file @
d3dafa21
...
...
@@ -91,6 +91,26 @@ class App_RequestNotification
$mail
->
addTo
(
$user
->
getEmail
(),
$user
->
getFirstName
()
.
' '
.
$user
->
getLastName
());
$mail
->
setFrom
(
'automated@courseapproval.unl.edu'
,
'Course Approval'
);
$mail
->
setSubject
(
'Curriculum Approval: You have '
.
$requestCount
.
' pending requests.'
);
$mail
->
setBodyText
(
<<<EOF
Please log in to courseapproval.unl.edu to view and respond to your pending
course requests.
1. Copy and paste or type courseapproval.unl.edu into to address bar of your
Internet browser and log in to the system using your Blackboard username and
password. You may also access the system through the ACE web site: Go to
ace.unl.edu, click on Course Submission under Navigation, then click on the
link on that page.
2. After you have logged in, click on "My Requests".
3. Course requests with a status of "decision" require you attention.
4. Upon determining your action, click on the drop-down box under "status" and
make your selection.
5. Finally, click on the "Submit Decisions" button to process your decisions.
For more information about these automated e-mails go to ace.unl.edu.
EOF
);
$mail
->
setBodyHtml
(
<<<EOF
<p>
...
...
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