Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apps.acj
Overview
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
Franklin
apps.acj
Commits
aa09b096
Commit
aa09b096
authored
Mar 16, 2024
by
Manoj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes
parent
669ba57c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
7 deletions
+13
-7
AuthController.php
admin/application/controllers/AuthController.php
+2
-6
menu.php
admin/application/views/base/menu.php
+10
-1
Completedlist.php
admin/application/views/masters/Completedlist.php
+1
-0
No files found.
admin/application/controllers/AuthController.php
View file @
aa09b096
...
@@ -77,12 +77,8 @@ class AuthController extends CI_Controller
...
@@ -77,12 +77,8 @@ class AuthController extends CI_Controller
{
{
$this
->
session
->
unset_userdata
(
'logged_in'
);
$this
->
session
->
unset_userdata
(
'logged_in'
);
$this
->
authentication
->
logout
();
$this
->
session
->
sess_destroy
();
redirect
(
base_url
());
// Set redirect protocol
$redirect_protocol
=
USE_SSL
?
'https'
:
null
;
redirect
(
site_url
(
LOGIN_PAGE
.
'?logout=1'
,
$redirect_protocol
));
}
}
}
}
admin/application/views/base/menu.php
View file @
aa09b096
<!--**********************************
<!--**********************************
Sidebar start
Sidebar start
***********************************-->
***********************************-->
<?php
$authLevel
=
$this
->
session
->
userdata
(
'auth_level'
);
$userId
=
$this
->
session
->
userdata
(
'user_id'
);
$checkUser
=
$this
->
mcommon
->
specific_row_value
(
'exam_assigned'
,
array
(
'user_id'
=>
$userId
),
'user_id'
);
?>
<div
class=
"dlabnav"
>
<div
class=
"dlabnav"
>
<div
class=
"dlabnav-scroll"
>
<div
class=
"dlabnav-scroll"
>
<ul
class=
"metismenu"
id=
"menu"
>
<ul
class=
"metismenu"
id=
"menu"
>
...
@@ -10,6 +13,7 @@
...
@@ -10,6 +13,7 @@
<span
class=
"nav-text"
>
Dashboard
</span>
<span
class=
"nav-text"
>
Dashboard
</span>
</a>
</a>
</li>
</li>
<?php
if
(
$authLevel
==
9
)
{
?>
<li><a
class=
"has-arrow "
href=
"javascript:void(0);"
aria-expanded=
"false"
>
<li><a
class=
"has-arrow "
href=
"javascript:void(0);"
aria-expanded=
"false"
>
<i
class=
"material-symbols-outlined"
>
book
</i>
<i
class=
"material-symbols-outlined"
>
book
</i>
...
@@ -98,11 +102,16 @@
...
@@ -98,11 +102,16 @@
</a>
</a>
</li>
</li>
<?php
}
?>
<?php
if
(
$authLevel
==
9
||
$checkUser
!=
''
)
{
?>
<li><a
href=
"
<?php
echo
base_url
();
?>
ExamController/viewExam/"
aria-expanded=
"false"
>
<li><a
href=
"
<?php
echo
base_url
();
?>
ExamController/viewExam/"
aria-expanded=
"false"
>
<i
class=
"material-symbols-outlined"
>
filter
</i>
<i
class=
"material-symbols-outlined"
>
filter
</i>
<span
class=
"nav-text"
>
Exam
</span>
<span
class=
"nav-text"
>
Exam
</span>
</a>
</a>
</li>
</li>
<?php
}
?>
<!-- <li><a href="
<?php
echo
base_url
();
?>
ApplicationController/scoreList/" aria-expanded="false">
<!-- <li><a href="
<?php
echo
base_url
();
?>
ApplicationController/scoreList/" aria-expanded="false">
<i class="material-symbols-outlined"></i>
<i class="material-symbols-outlined"></i>
...
...
admin/application/views/masters/Completedlist.php
View file @
aa09b096
...
@@ -421,6 +421,7 @@
...
@@ -421,6 +421,7 @@
success
:
function
(
response
)
{
success
:
function
(
response
)
{
$
(
'#assignModal'
).
modal
(
'hide'
);
$
(
'#assignModal'
).
modal
(
'hide'
);
// alert('Successfully test assigned');
window
.
location
.
href
=
'
<?=
base_url
(
"ApplicationController/completedformdetails"
)
?>
'
;
window
.
location
.
href
=
'
<?=
base_url
(
"ApplicationController/completedformdetails"
)
?>
'
;
},
},
...
...
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