本文整理汇总了PHP中Display::get_alphabet_options方法的典型用法代码示例。如果您正苦于以下问题:PHP Display::get_alphabet_options方法的具体用法?PHP Display::get_alphabet_options怎么用?PHP Display::get_alphabet_options使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Display
的用法示例。
在下文中一共展示了Display::get_alphabet_options方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: get_lang
?>
:</b></td>
</tr>
<?php
if ($add_type == 'multiple') {
?>
<tr><td width="45%" align="center">
<?php
echo get_lang('FirstLetterCourse');
?>
:
<select name="firstLetterCourse" onchange = "xajax_search_courses(this.value,'multiple')">
<option value="%">--</option>
<?php
echo Display::get_alphabet_options();
echo Display::get_numeric_options(0, 9, '');
?>
</select>
</td>
<td> </td></tr>
<?php
}
?>
<tr>
<td width="45%" align="center">
<?php
if (!($add_type == 'multiple')) {
?>
<input type="text" id="course_to_add" onkeyup="xajax_search_courses(this.value,'single')" />
<div id="ajax_list_courses_single"></div>
示例2: get_lang
</td>
<td width="20%"> </td>
<td width="40%" align="center">
<b><?php
echo get_lang('CourseList');
?>
:</b>
<br/><br/>
<?php
echo get_lang('FirstLetterCourse');
?>
:
<select name="firstLetterCourse" onchange="javascript:document.formulaire.form_sent.value='2'; document.formulaire.submit();">
<option value="">--</option>
<?php
echo Display::get_alphabet_options($first_letter_course);
?>
</select>
</td>
</tr>
<tr>
<td width="40%" align="center">
<select name="UserList[]" multiple="multiple" size="20" style="width:300px;">
<?php
foreach ($db_users as $user) {
?>
<option value="<?php
echo $user['user_id'];
?>
" <?php
if (in_array($user['user_id'], $users)) {
示例3: get_lang
</div>
<div class="col-md-4">
<div class="code-course">
<?php
if ($add_type == 'multiple') {
?>
<p><?php
echo get_lang('FirstLetterUser');
?>
</p>
<select class="selectpicker show-tick form-control" name="firstLetterUser" onchange = "xajax_search_users(this.value,'multiple')">
<option value="%">--</option>
<?php
echo Display::get_alphabet_options($firstLetterUser);
?>
</select>
<?php
}
?>
</div>
<div class="control-course">
<?php
if ($ajax_search) {
?>
<div class="separate-action">
<button class="btn btn-primary" type="button" onclick="remove_item(document.getElementById('destination'))"></button>
</div>
<?php
} else {
示例4: get_lang
?>
: </b></td>
</tr>
<?php
if ($add_type == 'multiple') {
?>
<tr><td width="45%" align="center">
<?php
echo get_lang('FirstLetterSession');
?>
:
<select name="firstLetterSession" onchange = "xajax_search_sessions(this.value, 'multiple')">
<option value="%">--</option>
<?php
echo Display::get_alphabet_options($_POST['firstLetterSession']);
?>
</select>
</td>
<td> </td></tr>
<?php
}
?>
<tr>
<td width="45%" align="center">
<div id="ajax_list_sessions_multiple">
<select id="origin" name="NoAssignedSessionsList[]" multiple="multiple" size="20" style="width:340px;">
<?php
while ($enreg = Database::fetch_array($result)) {
?>
<option value="<?php
示例5: get_lang
}
?>
<div class="multiple_select_header">
<b><?php
echo get_lang('UsersInPlatform');
?>
:</b>
<?php
echo get_lang('FirstLetterUser');
?>
:
<select id="first_letter_user" name="firstLetterUser" onchange="change_select();">
<option value = "%">--</option>
<?php
echo Display::get_alphabet_options($first_letter_user);
?>
</select>
</div>
<?php
echo Display::select('elements_not_in_name', $elements_not_in, '', array('class' => 'col-md-7', 'multiple' => 'multiple', 'id' => 'elements_not_in', 'size' => '15px'), false);
?>
<br />
<label class="control-label">
<input type="checkbox" <?php
if ($user_with_any_group) {
echo 'checked="checked"';
}
?>
onchange="checked_in_no_group(this.checked);" name="user_with_any_group" id="user_with_any_group_id">
<?php
示例6: get_lang
</select>
</div>
</div>
<div class="col-md-4">
<div class="code-course">
<?php
if ($add_type == 'multiple') {
?>
<p><?php
echo get_lang('FirstLetterSession');
?>
:</p>
<select class="selectpicker form-control" name="firstLetterSession" onchange = "xajax_search_sessions(this.value, 'multiple')">
<option value="%">--</option>
<?php
echo Display::get_alphabet_options($firstLetterSession);
?>
</select>
<?php
}
?>
</div>
<div class="control-course">
<?php
if ($ajax_search) {
?>
<div class="separate-action">
<button class="btn btn-primary" type="button" onclick="remove_item(document.getElementById('destination'))">
<em class="fa fa-arrow-left"></em>
</button>
</div>
示例7: get_lang
</td>
<td width="20%"> </td>
<td width="40%" align="center">
<b><?php
echo get_lang('UsersInsideClass');
?>
:</b>
<br/><br/>
<?php
echo get_lang('FirstLetterUser');
?>
:
<select name="firstLetterRight" onchange="javascript:document.formulaire.formSent.value='2'; document.formulaire.submit();">
<option value="">--</option>
<?php
echo Display::get_alphabet_options($first_letter_right);
?>
</select>
</td>
</tr>
<tr>
<td width="40%" align="center">
<select name="LeftUserList[]" multiple="multiple" size="20" style="width:230px;">
<?php
foreach ($left_users as $user) {
?>
<option value="<?php
echo $user['user_id'];
?>
" <?php
if (in_array($user['user_id'], $left_user_list)) {
示例8: get_lang
?>
<tr>
<td align="center">
<?php
echo get_lang('FirstLetterUser');
?>
:
<div id="firstLetter">
<select name="firstLetterUser" id="firstLetterUser" onchange = "xajax_search_users(this.value,'multiple',document.getElementById('relation').value)" >
<option value = "%"><?php
echo get_lang('All');
?>
</option>
<?php
$selected_letter = isset($_POST['firstLetterUser']) ? $_POST['firstLetterUser'] : null;
echo Display::get_alphabet_options($selected_letter);
?>
</select>
</div>
</td>
<td align="center"> </td>
</tr>
<?php
}
?>
<tr>
<td align="center">
<div id="content_source">
<?php
if (!($add_type == 'multiple')) {
?>
示例9: get_lang
$form .= Display::return_message($errorMsg, 'error');
//main API
}
$form .= '<table border="0" cellpadding="5" cellspacing="0" width="100%">
<tr>
<td align="center"><b>' . get_lang('Friends') . ' :</b>
</td>
<td></td>
<td align="center"><b>' . get_lang('SendInvitationTo') . ':</b></td></tr>';
if ($add_type == 'no') {
$form .= '
<tr>
<td align="center">' . get_lang('FirstLetterUser') . ' :
<select name="firstLetterUser" onchange = "xajax_search_users(this.value,\'multiple\')" >
<option value = "%">--</option>
' . Display::get_alphabet_options() . '
</select>
</td>
<td align="center"> </td>
</tr>';
}
$form .= '
<tr>
<td align="center">
<div id="content_source">';
if (!($add_type == 'multiple')) {
$form .= '<input type="text" id="user_to_add" onkeyup="xajax_search_users(this.value,\'single\')" /><div id="ajax_list_users_single"></div>';
} else {
$form .= '<div id="ajax_list_users_multiple">
<select id="origin_users" name="nosessionUsersList[]" multiple="multiple" size="15" style="width:290px;">';
foreach ($nosessionUsersList as $enreg) {
示例10: get_lang
?>
:</b></td>
</tr>
<?php
if ($add_type == 'multiple') {
?>
<tr><td width="45%" align="center">
<?php
echo get_lang('FirstLetterCourse');
?>
:
<select name="firstLetterCourse" onchange = "xajax_search_courses(this.value,'multiple')">
<option value="%">--</option>
<?php
echo Display::get_alphabet_options($_POST['firstLetterCourse']);
?>
</select>
</td>
<td> </td></tr>
<?php
}
?>
<tr>
<td width="45%" align="center">
<div id="ajax_list_courses_multiple">
<select id="origin" name="NoAssignedCoursesList[]" multiple="multiple" size="20" style="width:340px;">
<?php
while ($enreg = Database::fetch_array($result)) {
?>
<option value="<?php
示例11: get_lang
?>
:</b></td>
</tr>
<?php
if ($add_type == 'multiple') {
?>
<tr><td width="45%" align="center">
<?php
echo get_lang('FirstLetterUser');
?>
:
<select name="firstLetterUser" onchange = "xajax_search_users(this.value,'multiple')">
<option value="%">--</option>
<?php
echo Display::get_alphabet_options($_POST['firstLetterUser']);
?>
</select>
</td>
<td> </td></tr>
<?php
}
?>
<tr>
<td width="45%" align="center">
<div id="ajax_list_users_multiple">
<select id="origin" name="NoAssignedUsersList[]" multiple="multiple" size="20" style="width:340px;">
<?php
while ($enreg = Database::fetch_array($result)) {
$person_name = api_get_person_name($enreg['firstname'], $enreg['lastname']);
?>