Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-timesheet2-workflow
Project
Project
Details
Activity
Releases
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
project-open
intranet-timesheet2-workflow
Commits
7bb433a7
Commit
7bb433a7
authored
Jan 27, 2008
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Cambridge: Fixing stuff from test run
parent
bcc7b9a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
absence-panel.tcl
www/absences/absence-panel.tcl
+2
-2
new.tcl
www/conf-objects/new.tcl
+6
-5
No files found.
www/absences/absence-panel.tcl
View file @
7bb433a7
...
...
@@ -77,8 +77,8 @@ if {[info exists task]} {
}
set page_title
[
lang::message::lookup
""
intranet-
cust-baselkb.Edit_RFC
"Edit RFC
"
]
set context_bar
[
im_context_bar
[
list
/intranet-rfc/projects/
"
[
lang::message::lookup
""
intranet-
cust-baselkb.RFCs
"RFC
s"
]
"
]
$page
_title
]
set page_title
[
lang::message::lookup
""
intranet-
timesheet2-workflow.Absence
"Absence
"
]
set context_bar
[
im_context_bar
[
list
/intranet-rfc/projects/
"
[
lang::message::lookup
""
intranet-
timesheet2-workflow.Absences
"Absence
s"
]
"
]
$page
_title
]
}
# ---------------------------------------------------------------
...
...
www/conf-objects/new.tcl
View file @
7bb433a7
...
...
@@ -65,12 +65,13 @@ set actions [list]
if
{[
info
exists conf_id
]}
{
# 080126 fraber: We need the existence-check apparently
set conf_exists_p
[
db_string count
"select count(*) from im_timesheet_conf_objects where conf_id=:conf_id"
]
if
{
!$conf_exists_p
}
{
ad_return_complaint 1
"<b>Error: The selected Confirmation Object (#
$conf
_id) does not exist</b>:<br>
if
{
!
[
ad_form_new_p -key conf_id
]}
{
set conf_exists_p
[
db_string count
"select count(*) from im_timesheet_conf_objects where conf_id=:conf_id"
]
if
{
!$conf_exists_p
}
{
ad_return_complaint 1
"<b>Error: The selected Confirmation Object (#
$conf
_id) does not exist</b>:<br>
The object has probably been deleted by its owner recently."
ad_script_abort
ad_script_abort
}
}
set edit_perm_func
[
parameter::get_from_package_key -package_key intranet-timesheet2-workflow -parameter TimesheetConfNewPageWfEditButtonPerm -default
"im_timesheet_conf_new_page_wf_perm_edit_button"
]
...
...
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