Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
timesheet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dotproject
timesheet
Commits
80504d9a
Commit
80504d9a
authored
Mar 25, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup tabs and replace them with spaces.
parent
3946dacc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
index.php
index.php
+8
-8
No files found.
index.php
View file @
80504d9a
<?php
<?php
/*
* Copyright (C) 2007, M2X
* Copyright (C) 2007
-2008
, M2X
*
* Authors: Jean-Paul Saman
*
...
...
@@ -28,13 +28,13 @@ $canDelete = $perms->checkModule( $m, 'delete' );
// lock out users that do not have at least readPermission on this module
if
(
!
$canRead
)
{
$AppUI
->
redirect
(
"m=public&a=access_denied"
);
$AppUI
->
redirect
(
"m=public&a=access_denied"
);
}
//save the workplace state (have a footprint on this site)
$AppUI
->
savePlace
();
// saves the current tab box state
if
(
isset
(
$_GET
[
'tab'
]
))
{
$AppUI
->
setState
(
'TimesheetIdxTab'
,
$_GET
[
'tab'
]
);
$AppUI
->
setState
(
'TimesheetIdxTab'
,
$_GET
[
'tab'
]
);
}
$tab
=
$AppUI
->
getState
(
'TimesheetIdxTab'
)
!==
NULL
?
$AppUI
->
getState
(
'TimesheetIdxTab'
)
:
0
;
$active
=
intval
(
!
$AppUI
->
getState
(
'TimesheetIdxTab'
)
);
...
...
@@ -47,10 +47,10 @@ $titleBlock->addCell();
// adding the 'add'-Button if user has writePermissions
if
(
$canEdit
)
{
$titleBlock
->
addCell
(
'<input type="submit" class="button" value="'
.
$AppUI
->
_
(
'new timesheet'
)
.
'">'
,
''
,
'<form action="?m=timesheet&a=addedit" method="post">'
,
'</form>'
);
$titleBlock
->
addCell
(
'<input type="submit" class="button" value="'
.
$AppUI
->
_
(
'new timesheet'
)
.
'">'
,
''
,
'<form action="?m=timesheet&a=addedit" method="post">'
,
'</form>'
);
}
$titleBlock
->
show
();
...
...
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