Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
TimeOutAdmin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TimeOut
TimeOutAdmin
Commits
063f20d3
Commit
063f20d3
authored
6 years ago
by
Tobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dc
parent
dc7cdfea
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
Provider.php
application/controllers/Provider.php
+2
-1
Webservice_model.php
application/models/Webservice_model.php
+12
-1
No files found.
application/controllers/Provider.php
View file @
063f20d3
...
...
@@ -75,7 +75,8 @@ class Provider extends CI_Controller {
$message
.=
"<html>
<body>
Your Organizer Account for the username
<strong>"
.
$providerData
->
username
.
"</strong> is now activated.<br>
<strong>"
.
$providerData
->
username
.
"</strong> is now activated. Please use this link for access your account
<a href='"
.
base_url
()
.
"/admin'>"
.
base_url
()
.
"/admin</a><br>
"
.
$template
[
'provider_activation_mail'
]
.
"
</body>
</html>"
;
...
...
This diff is collapsed.
Click to expand it.
application/models/Webservice_model.php
View file @
063f20d3
...
...
@@ -385,7 +385,7 @@ class Webservice_model extends CI_Model {
}
function
event
(
$data
)
{
function
event
(
$data
)
{
try
{
$user_id
=
$this
->
auth_token_get
(
$data
[
'auth_token'
]);
...
...
@@ -458,9 +458,20 @@ class Webservice_model extends CI_Model {
foreach
(
$dates
as
$rss
)
{
list
(
$id
,
$date
,
$time
)
=
explode
(
'#'
,
$rss
);
if
(
$date
==
date
(
"Y-m-d"
)){
$time_array
=
explode
(
':'
,
$time
);
if
(
$time_array
[
'0'
]
>
date
(
'H'
))
{
$time_spec
[]
=
array
(
'id'
=>
$id
,
'date'
=>
$date
,
'time'
=>
$time
);
$data_array
[
$date
][]
=
array
(
'id'
=>
$id
,
'time'
=>
$time
);
}
}
else
{
$data_array
[
$date
][]
=
array
(
'id'
=>
$id
,
'time'
=>
$time
);
$time_spec
[]
=
array
(
'id'
=>
$id
,
'date'
=>
$date
,
'time'
=>
$time
);
}
}
$date_list
=
array
();
foreach
(
$data_array
as
$key
=>
$value
)
{
$date_list
[]
=
array
(
'date'
=>
$key
,
'time'
=>
$value
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment