当前位置: 首页>>代码示例>>PHP>>正文


PHP Display::get_alphabet_options方法代码示例

本文整理汇总了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>&nbsp;</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>
开发者ID:ilosada,项目名称:chamilo-lms-icpna,代码行数:31,代码来源:add_courses_to_session.php

示例2: get_lang

    </td>
    <td width="20%">&nbsp;</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)) {
开发者ID:annickvdp,项目名称:Chamilo1.9.10,代码行数:31,代码来源:subscribe_user2course.php

示例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 {
开发者ID:omaoibrahim,项目名称:chamilo-lms,代码行数:29,代码来源:dashboard_add_users_to_user.php

示例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>&nbsp;</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 
开发者ID:ragebat,项目名称:chamilo-lms,代码行数:31,代码来源:dashboard_add_sessions_to_user.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 
开发者ID:KRCM13,项目名称:chamilo-lms,代码行数:31,代码来源:add_users_to_usergroup.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>
开发者ID:jloguercio,项目名称:chamilo-lms,代码行数:31,代码来源:dashboard_add_sessions_to_user.php

示例7: get_lang

            </td>
            <td width="20%">&nbsp;</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)) {
开发者ID:jloguercio,项目名称:chamilo-lms,代码行数:31,代码来源:subscribe_user2class.php

示例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">&nbsp;</td>
</tr>
<?php 
}
?>
<tr>
  <td align="center">
  <div id="content_source">
  	  <?php 
if (!($add_type == 'multiple')) {
    ?>
开发者ID:omaoibrahim,项目名称:chamilo-lms,代码行数:31,代码来源:add_users_to_group.php

示例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">&nbsp;</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) {
开发者ID:ilosada,项目名称:chamilo-lms-icpna,代码行数:31,代码来源:group_invitation.php

示例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>&nbsp;</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 
开发者ID:ragebat,项目名称:chamilo-lms,代码行数:31,代码来源:dashboard_add_courses_to_user.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>&nbsp;</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']);
    ?>
开发者ID:ragebat,项目名称:chamilo-lms,代码行数:31,代码来源:dashboard_add_users_to_user.php


注:本文中的Display::get_alphabet_options方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。