src/filters/share.php 2 locations
|
@@ 135-143 (lines=9) @@
|
132 |
|
|
133 |
|
$rs = dal_query('filters/sharing.sql', $id, $project_id); |
134 |
|
|
135 |
|
while (($row = $rs->fetch())) |
136 |
|
{ |
137 |
|
if (!$row['is_selected']) |
138 |
|
{ |
139 |
|
$xml .= '<listitem value="' . $row['group_id'] . '">' |
140 |
|
. sprintf('%s (%s)', ustr2html($row['group_name']), get_html_resource($row['is_global'] ? RES_GLOBAL_ID : RES_LOCAL_ID)) |
141 |
|
. '</listitem>'; |
142 |
|
} |
143 |
|
} |
144 |
|
|
145 |
|
$xml .= '</listbox>' |
146 |
|
. '</control>' |
|
@@ 161-169 (lines=9) @@
|
158 |
|
|
159 |
|
$rs->seek(); |
160 |
|
|
161 |
|
while (($row = $rs->fetch())) |
162 |
|
{ |
163 |
|
if ($row['is_selected']) |
164 |
|
{ |
165 |
|
$xml .= '<listitem value="' . $row['group_id'] . '">' |
166 |
|
. sprintf('%s (%s)', ustr2html($row['group_name']), get_html_resource($row['is_global'] ? RES_GLOBAL_ID : RES_LOCAL_ID)) |
167 |
|
. '</listitem>'; |
168 |
|
} |
169 |
|
} |
170 |
|
|
171 |
|
$xml .= '</listbox>' |
172 |
|
. '</control>' |
src/projects/assignees.php 2 locations
|
@@ 116-121 (lines=6) @@
|
113 |
|
|
114 |
|
$rs = dal_query('states/saothers.sql', $id); |
115 |
|
|
116 |
|
while (($row = $rs->fetch())) |
117 |
|
{ |
118 |
|
$xml .= '<listitem value="' . $row['group_id'] . '">' |
119 |
|
. ustr2html(sprintf('%s (%s)', $row['group_name'], get_html_resource($row['is_global'] ? RES_GLOBAL_ID : RES_LOCAL_ID))) |
120 |
|
. '</listitem>'; |
121 |
|
} |
122 |
|
|
123 |
|
$xml .= '</listbox>' |
124 |
|
. '</control>' |
|
@@ 139-144 (lines=6) @@
|
136 |
|
|
137 |
|
$rs = dal_query('states/saallowed.sql', $id); |
138 |
|
|
139 |
|
while (($row = $rs->fetch())) |
140 |
|
{ |
141 |
|
$xml .= '<listitem value="' . $row['group_id'] . '">' |
142 |
|
. ustr2html(sprintf('%s (%s)', $row['group_name'], get_html_resource($row['is_global'] ? RES_GLOBAL_ID : RES_LOCAL_ID))) |
143 |
|
. '</listitem>'; |
144 |
|
} |
145 |
|
|
146 |
|
$xml .= '</listbox>' |
147 |
|
. '</control>' |
src/projects/fperms.php 1 location
|
@@ 161-166 (lines=6) @@
|
158 |
|
|
159 |
|
$rs = dal_query('groups/list.sql', $field['project_id'], 'is_global, group_name'); |
160 |
|
|
161 |
|
while (($row = $rs->fetch())) |
162 |
|
{ |
163 |
|
$xml .= '<listitem value="' . $row['group_id'] . '">' |
164 |
|
. ustr2html(sprintf('%s (%s)', $row['group_name'], get_html_resource($row['is_global'] ? RES_GLOBAL_ID : RES_LOCAL_ID))) |
165 |
|
. '</listitem>'; |
166 |
|
} |
167 |
|
|
168 |
|
$xml .= '</listbox>' |
169 |
|
. '</control>' |
src/projects/strans.php 1 location
|
@@ 178-183 (lines=6) @@
|
175 |
|
|
176 |
|
$groups->seek(); |
177 |
|
|
178 |
|
while (($row = $groups->fetch())) |
179 |
|
{ |
180 |
|
$xml .= '<listitem value="' . $row['group_id'] . '">' |
181 |
|
. ustr2html(sprintf('%s (%s)', $row['group_name'], get_html_resource($row['is_global'] ? RES_GLOBAL_ID : RES_LOCAL_ID))) |
182 |
|
. '</listitem>'; |
183 |
|
} |
184 |
|
|
185 |
|
$xml .= '</listbox>' |
186 |
|
. '</control>' |
src/projects/tperms.php 1 location
|
@@ 278-283 (lines=6) @@
|
275 |
|
|
276 |
|
$rs->seek(); |
277 |
|
|
278 |
|
while (($row = $rs->fetch())) |
279 |
|
{ |
280 |
|
$xml .= '<listitem value="' . $row['group_id'] . '">' |
281 |
|
. ustr2html(sprintf('%s (%s)', $row['group_name'], get_html_resource($row['is_global'] ? RES_GLOBAL_ID : RES_LOCAL_ID))) |
282 |
|
. '</listitem>'; |
283 |
|
} |
284 |
|
|
285 |
|
$xml .= '</listbox>' |
286 |
|
. '</control>' |