Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
smradius
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
shail
smradius
Commits
0ab52ab4
Commit
0ab52ab4
authored
15 years ago
by
Robert Anderson
Browse files
Options
Downloads
Patches
Plain Diff
Remove notifications for now
Show searched dates in date fields
parent
b4411a28
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
webui/user/index.php
+6
-2
6 additions, 2 deletions
webui/user/index.php
webui/user/logs.php
+24
-4
24 additions, 4 deletions
webui/user/logs.php
with
30 additions
and
6 deletions
webui/user/index.php
+
6
−
2
View file @
0ab52ab4
...
...
@@ -135,6 +135,7 @@ function displayDetails() {
}
}
/*
# Fetch user phone and email info
$sql = "
SELECT
...
...
@@ -154,6 +155,7 @@ function displayDetails() {
$userPhone = $row->phone;
$userEmail = $row->email;
}
*/
$isDialup
=
0
;
$userService
=
"Not set"
;
...
...
@@ -219,6 +221,7 @@ function displayDetails() {
?>
<td
class=
"value"
>
<?php
echo
$totalSessionTime
;
?>
Min
</td>
</tr>
<!--
<tr>
<td colspan="2" class="section">Notifications</td>
</tr>
...
...
@@ -226,16 +229,17 @@ function displayDetails() {
<tr>
<td class="title">Email Address</td>
<td class="value">
<input
type=
"text"
name=
"notifyMethodEmail"
>
<?
php
echo
$userEmail
;
?
>
</input>
<input type="text" name="notifyMethodEmail"
value="
php echo $userEmail;
"
></input>
</td>
</tr>
<tr>
<td class="title">Cell Number</td>
<td class="value">
<input
type=
"text"
name=
"notifyMethodCell"
>
<?
php
echo
$userPhone
;
?
>
</input>
<input type="text" name="notifyMethodCell"
value="
php echo $userPhone;
"
></input>
</td>
</tr>
</form>
--!>
<?php
...
...
This diff is collapsed.
Click to expand it.
webui/user/logs.php
+
24
−
4
View file @
0ab52ab4
...
...
@@ -35,7 +35,7 @@ function displayLogs() {
global
$db
;
global
$DB_TABLE_PREFIX
;
$
get
user
=
$_SESSION
[
'username'
];
$user
name
=
$_SESSION
[
'username'
];
?>
...
...
@@ -45,9 +45,29 @@ function displayLogs() {
<form
method=
"POST"
>
<p
class=
"middle center"
>
Display logs between
<input
type=
"text"
name=
"searchFrom"
size=
"11"
/>
<?php
if
(
isset
(
$_POST
[
'searchFrom'
]))
{
?>
<input
type=
"text"
name=
"searchFrom"
size=
"11"
value=
"
<?php
echo
$_POST
[
'searchFrom'
]
?>
"
/>
<?php
}
else
{
?>
<input
type=
"text"
name=
"searchFrom"
size=
"11"
/>
<?php
}
?>
and
<input
type=
"text"
name=
"searchTo"
size=
"11"
/>
<?php
if
(
isset
(
$_POST
[
'searchTo'
]))
{
?>
<input
type=
"text"
name=
"searchTo"
size=
"11"
value=
"
<?php
echo
$_POST
[
'searchTo'
]
?>
"
/>
<?php
}
else
{
?>
<input
type=
"text"
name=
"searchTo"
size=
"11"
/>
<?php
}
?>
<input
type=
"submit"
value=
"search"
>
</p>
</form>
...
...
@@ -94,7 +114,7 @@ function displayLogs() {
FROM
${DB_TABLE_PREFIX}accounting
WHERE
Username = '
$
get
user
'
Username = '
$user
name
'
$extraSQL
ORDER BY
EventTimestamp
...
...
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