Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-forum
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-forum
Commits
40d90bc4
Commit
40d90bc4
authored
Dec 31, 2013
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Forum:
- Fixed l10n - Assignee list now orderd
parent
cf929350
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
intranet-forum-procs.tcl
tcl/intranet-forum-procs.tcl
+6
-6
No files found.
tcl/intranet-forum-procs.tcl
View file @
40d90bc4
...
@@ -83,10 +83,10 @@ ad_proc -public im_forum_notification_select {name {default ""}} {
...
@@ -83,10 +83,10 @@ ad_proc -public im_forum_notification_select {name {default ""}} {
if
{[
string
equal
$default
"none"
]}
{
set checked_none
"checked"
}
if
{[
string
equal
$default
"none"
]}
{
set checked_none
"checked"
}
return
"
return
"
<input type=radio name=
$name
value=major
$checked
_major>Important Updates
<input type=radio name=
$name
value=major
$checked
_major>
[
lang::message::lookup
""
intranet-forum.Important_Updates
"Important Updates"
]
<input type=radio name=
$name
value=all
$checked
_all>All Updates
<input type=radio name=
$name
value=all
$checked
_all>
[
lang::message::lookup
""
intranet-forum.All_Updates
"All Updates"
]
<input type=radio name=
$name
value=none
$checked
_none>No Updates
<input type=radio name=
$name
value=none
$checked
_none>
[
lang::message::lookup
""
intranet-forum.No_Updates
"No Updates"
]
"
"
}
}
...
@@ -122,7 +122,7 @@ ad_proc -public im_forum_scope_select {select_name user_id {default ""} } {
...
@@ -122,7 +122,7 @@ ad_proc -public im_forum_scope_select {select_name user_id {default ""} } {
lappend option_list
"<option value=staff
$staff
_selected>
[
_ intranet-forum.Staff_employees_only
]
</option>"
lappend option_list
"<option value=staff
$staff
_selected>
[
_ intranet-forum.Staff_employees_only
]
</option>"
}
}
if
{[
im_permission
$user
_id add_topic_client
]}
{
if
{[
im_permission
$user
_id add_topic_client
]}
{
lappend option_list
"<option value=client
$client
_selected>
Clients and PM only
</option>"
lappend option_list
"<option value=client
$client
_selected>
[
lang::message::lookup
""
intranet-forum.Clients_and_PM_only
"Clients and PM only"
]
</option>"
}
}
if
{[
im_permission
$user
_id add_topic_noncli
]}
{
lappend option_list
"<option value=not_client
$not
_client_selected>
[
_ intranet-forum.lt_Provider_project_memb
]
</option>"
if
{[
im_permission
$user
_id add_topic_noncli
]}
{
lappend option_list
"<option value=not_client
$not
_client_selected>
[
_ intranet-forum.lt_Provider_project_memb
]
</option>"
}
}
...
@@ -472,7 +472,7 @@ ad_proc -public im_forum_potential_asignees {user_id object_id} {
...
@@ -472,7 +472,7 @@ ad_proc -public im_forum_potential_asignees {user_id object_id} {
# are no permissions for a user to avoid an error
# are no permissions for a user to avoid an error
lappend sql_list
"select 0 as user_id, '' as user_name from dual"
lappend sql_list
"select 0 as user_id, '' as user_name from dual"
set sql
[
join
$sql
_list
" UNION "
]
set sql
"select * from (
[
join
$sql
_list
" UNION "
]
) sql_list order by user_name"
ns_log Notice
"im_forum_potential_asignees: sql=
$sql
"
ns_log Notice
"im_forum_potential_asignees: sql=
$sql
"
set asignee_list
[
list
]
set asignee_list
[
list
]
...
...
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