Changeset f3e1010 in github
- Timestamp:
- Apr 21, 2010 6:30:47 AM (3 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 93c01888
- Parents:
- 479a9915
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/rcube_template.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
r8e211ad rf3e1010 2 2 =========================== 3 3 4 - Hide IMAP host dropdown when single host is defined (#1486326) 4 5 - Add images pre-loading on login page (#1451160) 5 6 - Add HTTP_X_REAL_IP and HTTP_X_FORWARDED_FOR to successful logins log (#1486441) -
program/include/rcube_template.php
r8e211ad rf3e1010 1025 1025 $input_host = null; 1026 1026 1027 if (is_array($default_host) ) {1027 if (is_array($default_host) && count($default_host) > 1) { 1028 1028 $input_host = new html_select(array('name' => '_host', 'id' => 'rcmloginhost')); 1029 1029 … … 1038 1038 } 1039 1039 } 1040 else if (is_array($default_host) && ($host = array_pop($default_host))) { 1041 $hide_host = true; 1042 $input_host = new html_hiddenfield(array( 1043 'name' => '_host', 'id' => 'rcmloginhost', 'value' => $host) + $attrib); 1044 } 1040 1045 else if (empty($default_host)) { 1041 1046 $input_host = new html_inputfield(array('name' => '_host', 'id' => 'rcmloginhost') + $attrib); … … 1055 1060 1056 1061 // add host selection row 1057 if (is_object($input_host) ) {1062 if (is_object($input_host) && !$hide_host) { 1058 1063 $table->add('title', html::label('rcmloginhost', Q(rcube_label('server')))); 1059 1064 $table->add(null, $input_host->show(get_input_value('_host', RCUBE_INPUT_POST))); … … 1064 1069 $out .= $input_url->show(); 1065 1070 $out .= $table->show(); 1071 1072 if ($hide_host) { 1073 $out .= $input_host->show(); 1074 } 1066 1075 1067 1076 // surround html output with a form tag 1068 1077 if (empty($attrib['form'])) { 1069 $out = $this->form_tag(array('name' => $form_name, 'method' => "post"), $out);1078 $out = $this->form_tag(array('name' => $form_name, 'method' => 'post'), $out); 1070 1079 } 1071 1080
Note: See TracChangeset
for help on using the changeset viewer.
