Go to the source code of this file.
Functions | |
| specific_line ($artifact, $explanation, $use, $increment=1) | |
Variables | |
| $type = substr($field, 0, 3) | |
| $sql | |
| $result = db_numrows(db_query($sql)) | |
| print $PHP_SELF | $group_id |
| $title_arr = array() | |
|
||||||||||||||||||||
|
Definition at line 168 of file editgroupfeatures.php. References $i, $project, html_build_checkbox(), and print. 00169 { 00170 00171 # just a little fonction to clean that part of the code, no 00172 # interest to generalize it 00173 global $i, $project; 00174 if ($increment) 00175 { $i++; } 00176 print '<tr>'; 00177 print ' <td class="'.utils_get_alt_row_color($i).'">'.$explanation.'</td>'; 00178 print ' <td class="'.utils_get_alt_row_color($i).'">'; 00179 # print the checkbox to de/activate it 00180 # (viewcvs cannot be activated or deactivated, they are not in the menu) 00181 if (!preg_match("/viewcvs/", $artifact)) 00182 { html_build_checkbox("use_".$artifact, $use); } 00183 else 00184 { print "---"; } 00185 print '</td>'; 00186 # print the default setting 00187 # (extralink_* does not have any default) 00188 print ' <td class="'.utils_get_alt_row_color($i).'">'; 00189 if (!preg_match("/extralink/", $artifact)) 00190 { 00191 print '<a href="'.group_get_artifact_url($artifact).'">'.group_get_artifact_url($artifact).'</a>'; 00192 } 00193 print '</td>'; 00194 # if allowed from the group type, add a text field to put a non-standard 00195 # url. 00196 # (news cannot be activated and using a non-standard url, it would 00197 # broke the news system) 00198 print ' <td class="'.utils_get_alt_row_color($i).'">'; 00199 if ($project->CanModifyUrl($artifact)) 00200 { 00201 if ($artifact == "homepage" || 00202 $artifact == "download" || 00203 $artifact == "cvs_viewcvs" || 00204 $artifact == "arch_viewcvs" || 00205 $artifact == "svn_viewcvs" || 00206 preg_match("/viewcvs/", $artifact) || 00207 preg_match("/extralink/", $artifact)) 00208 { 00209 $url = $project->getUrl($artifact); 00210 } 00211 else 00212 { 00213 $url = $project->getArtifactUrl($artifact); 00214 } 00215 00216 print '<input type="text" name="url_'.$artifact.'" value="'.$url.'" size="20" />'; 00217 } 00218 else 00219 { print "---"; } 00220 print '</td>'; 00221 print '</tr>'; 00222 }
|
|
|
Definition at line 229 of file editgroupfeatures.php. |
|
|
Definition at line 150 of file editgroupfeatures.php. |
|
|
Initial value: "UPDATE groups SET " .$upd_list ." WHERE group_id=$group_id" Definition at line 146 of file editgroupfeatures.php. |
|
|
Definition at line 232 of file editgroupfeatures.php. |
|
|
Definition at line 106 of file editgroupfeatures.php. |
|
|
|
Definition at line 225 of file editgroupfeatures.php. |
1.4.4