本文整理匯總了PHP中print_project_access_levels_option_list函數的典型用法代碼示例。如果您正苦於以下問題:PHP print_project_access_levels_option_list函數的具體用法?PHP print_project_access_levels_option_list怎麽用?PHP print_project_access_levels_option_list使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了print_project_access_levels_option_list函數的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: print_project_user_list_option_list2
<?php
print_project_user_list_option_list2($t_user['id']);
?>
</select>
</span>
<span class="label-style"></span>
</div>
<div class="field-container">
<label for="add-user-project-access"><span><?php
echo lang_get('access_level_label');
?>
</span></label>
<span class="select">
<select id="add-user-project-access" name="access_level">
<?php
print_project_access_levels_option_list((int) config_get('default_new_account_access_level'));
?>
</select>
</span>
<span class="label-style"></span>
</div>
<span class="submit-button"><input type="submit" class="button" value="<?php
echo lang_get('add_user_button');
?>
" /></span>
</fieldset>
</form>
</div><?php
}
# End of PROJECT ACCESS conditional section
define('ACCOUNT_PREFS_INC_ALLOW', true);
示例2: print_project_user_list_option_list
</th>
<td class="category"> </td>
</tr>
<tr class="row-1" valign="top">
<td>
<select name="user_id[]" multiple="multiple" size="10">
<?php
print_project_user_list_option_list($f_project_id);
?>
</select>
</td>
<td>
<select name="access_level">
<?php
# only access levels that are less than or equal current user access level for current project
print_project_access_levels_option_list(config_get('default_new_account_access_level'), $f_project_id);
?>
</select>
</td>
<td>
<input type="submit" class="button" value="<?php
echo lang_get('add_user_button');
?>
" />
</td>
</tr>
</form>
<!-- Copy Users Form -->
<form method="post" action="manage_proj_user_copy.php">
<?php
echo form_security_field('manage_proj_user_copy');
示例3: helper_alternate_class
</tr>
<tr <?php
echo helper_alternate_class();
?>
>
<td class="left">
<?php
echo plugin_lang_get('form_assign_group_threshold');
?>
<br/>
</td>
<td class="left">
<select name="assign_group_threshold">
<?php
print_project_access_levels_option_list(plugin_config_get('assign_group_threshold', ''));
?>
</select>
</td>
</tr>
<tr <?php
echo helper_alternate_class();
?>
>
<td class="left">
<?php
echo plugin_lang_get('form_nested_groups');
?>
<br/>
</td>