Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-core
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-core
Commits
b6cd1272
Commit
b6cd1272
authored
Sep 02, 2004
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- removed timesheet and Big-Brother status for freelancers in MySLS
parent
32c7d516
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
3 deletions
+24
-3
upgrade-2.0.2-2.1.0.sql
sql/oracle/upgrade/upgrade-2.0.2-2.1.0.sql
+11
-0
intranet-design-procs.tcl
tcl/intranet-design-procs.tcl
+11
-2
master.adp
www/master.adp
+2
-1
No files found.
sql/oracle/upgrade/upgrade-2.0.2-2.1.0.sql
View file @
b6cd1272
...
...
@@ -233,3 +233,14 @@ set category_type='Intranet Cost Template'
where
category_type
=
'Intranet Invoice Template'
;
alter
table
im_costs
add
paid_amount
number
(
12
,
3
);
alter
table
im_costs
add
paid_currency
char
(
3
)
constraint
im_costs_paid_currency_fk
references
currency_codes
(
iso
);
alter
table
im_trans_prices
modify
(
price
number
(
14
,
4
));
tcl/intranet-design-procs.tcl
View file @
b6cd1272
...
...
@@ -155,6 +155,8 @@ ad_proc -public im_tablex {{content "no content?"} {pad "0"} {col ""} {spa "0"}
ad_proc -public im_table_with_title
{
title body
}
{
Returns a two row table with background colors
}
{
if
{
""
==
$body
}
{
return
""
}
return
"
<table cellpadding=5 cellspacing=0 border=0 width='100%'>
<tr>
...
...
@@ -603,10 +605,11 @@ ad_proc -public im_sub_navbar { parent_menu_id {bind_vars ""} {title ""} {title_
}
ad_proc -public im_navbar
{
}
{
ad_proc -public im_navbar
{
{
main_navbar_label
""
}
}
{
Setup a top navbar with tabs for each area, highlighted depending
on the local URL and enabled depending on the user permissions.
}
{
ns_log Notice
"im_navbar: main_navbar_label=
$main
_navbar_label"
set user_id
[
ad_get_user_id
]
set url_stub
[
ns_conn url
]
...
...
@@ -651,7 +654,13 @@ order by
set selected 0
set url_length
[
expr
[
string
length
$url
]
- 1
]
set url_stub_chopped
[
string
range
$url
_stub 0
$url
_length
]
if
{
!$found_selected &&
[
string
equal
$url
_stub_chopped
$url
]}
{
# Check if we should select this one:
set select_this_one 0
if
{[
string
equal
$label
$main
_navbar_label
]}
{
set select_this_one 1
}
if
{[
string
equal
$url
_stub_chopped
$url
]}
{
set select_this_one 1
}
if
{
!$found_selected &&
$select
_this_one
}
{
# Make sure we only highligh one menu item..
set found_selected 1
# Set for the gif
...
...
www/master.adp
View file @
b6cd1272
<%= [im_header $title] %>
<%= [im_navbar] %>
<% if {![info exists main_navbar_label]} { set main_navbar_label "" } %>
<%= [im_navbar $main_navbar_label] %>
<slave>
<%= [im_footer] %>
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