mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Merge pull request #459 from kijin/pr/password-extra-var
#374 숨김 입력칸 확장변수 타입 추가
This commit is contained in:
commit
81b5230c9c
11 changed files with 22 additions and 3 deletions
|
|
@ -288,6 +288,7 @@ class ExtraItem
|
|||
//case 'email_address' :
|
||||
//case 'text' :
|
||||
//case 'textarea' :
|
||||
//case 'password' :
|
||||
default :
|
||||
return htmlspecialchars($value, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
|
||||
}
|
||||
|
|
@ -346,6 +347,7 @@ class ExtraItem
|
|||
return $value;
|
||||
|
||||
// case 'text' :
|
||||
// case 'password' :
|
||||
default :
|
||||
return $value;
|
||||
}
|
||||
|
|
@ -471,6 +473,10 @@ class ExtraItem
|
|||
$buff[] = $oKrzipModel->getKrzipCodeSearchHtml($column_name, $value);
|
||||
}
|
||||
break;
|
||||
// Password
|
||||
case "password" :
|
||||
$buff[] =' <input type="password" name="' . $column_name . '" value="' . ($value ? $value : $default) . '" class="password" />';
|
||||
break;
|
||||
// General text
|
||||
default :
|
||||
$buff[] =' <input type="text" name="' . $column_name . '" value="' . ($value ? $value : $default) . '" class="text" />';
|
||||
|
|
|
|||
|
|
@ -255,6 +255,7 @@ $lang->column_type_list['homepage'] = 'Url-Adresse';
|
|||
$lang->column_type_list['email_address'] = 'E-Mail';
|
||||
$lang->column_type_list['tel'] = 'Telefonnummer';
|
||||
$lang->column_type_list['textarea'] = 'Mehrere Zeilen Text';
|
||||
$lang->column_type_list['password'] = 'Passwort Text';
|
||||
$lang->column_type_list['radio'] = 'Radiobutton';
|
||||
$lang->column_type_list['select'] = 'Nur eine Auswahl';
|
||||
$lang->column_type_list['checkbox'] = 'Multiple Auswahl';
|
||||
|
|
|
|||
|
|
@ -269,9 +269,10 @@ $lang->msg_rul = '';
|
|||
$lang->column_type = 'Column Type';
|
||||
$lang->column_type_list['text'] = 'one-line text';
|
||||
$lang->column_type_list['homepage'] = 'URL';
|
||||
$lang->column_type_list['email_address'] = 'Email';
|
||||
$lang->column_type_list['tel'] = 'Phone number';
|
||||
$lang->column_type_list['email_address'] = 'e-mail address';
|
||||
$lang->column_type_list['tel'] = 'phone number';
|
||||
$lang->column_type_list['textarea'] = 'multi-line textarea';
|
||||
$lang->column_type_list['password'] = 'password';
|
||||
$lang->column_type_list['radio'] = 'radio button(radio)';
|
||||
$lang->column_type_list['select'] = 'single select box';
|
||||
$lang->column_type_list['checkbox'] = 'checkbox(multiple selection)';
|
||||
|
|
|
|||
|
|
@ -207,8 +207,10 @@ $lang->column_type_list['homepage'] = 'URL de la página web';
|
|||
$lang->column_type_list['email_address'] = 'Correo Electrónico';
|
||||
$lang->column_type_list['tel'] = 'Número de teléfono';
|
||||
$lang->column_type_list['textarea'] = 'Texto multi-linea';
|
||||
$lang->column_type_list['password'] = 'Texto de la contraseña';
|
||||
$lang->column_type_list['select'] = 'Selección(selección individual)';
|
||||
$lang->column_type_list['checkbox'] = 'Caja de chequeo(selección múltiple)';
|
||||
$lang->column_type_list['kr_zip'] = 'Código postal (corea)';
|
||||
$lang->column_type_list['date'] = 'fecha(dd/mm/aaaa)';
|
||||
$lang->column_name = 'Nombre de la Columna';
|
||||
$lang->column_title = 'Título de la Columna';
|
||||
|
|
|
|||
|
|
@ -202,6 +202,7 @@ $lang->column_type_list['homepage'] = 'URL';
|
|||
$lang->column_type_list['email_address'] = 'Mél';
|
||||
$lang->column_type_list['tel'] = 'Numéro de Telephone';
|
||||
$lang->column_type_list['textarea'] = 'Texte en plusieurs lignes';
|
||||
$lang->column_type_list['password'] = 'Texte de mot de passe';
|
||||
$lang->column_type_list['select'] = 'Case d\'option(seul choix)';
|
||||
$lang->column_type_list['checkbox'] = 'Case à cocher(multichoix)';
|
||||
$lang->column_type_list['kr_zip'] = 'Code postal(coréen)';
|
||||
|
|
|
|||
|
|
@ -266,6 +266,7 @@ $lang->column_type_list['homepage'] = 'URLタイプ(url)';
|
|||
$lang->column_type_list['email_address'] = 'メールアドレスタイプ(email)';
|
||||
$lang->column_type_list['tel'] = '電話番号タイプ(phone)';
|
||||
$lang->column_type_list['textarea'] = 'テキストエリア(textarea)';
|
||||
$lang->column_type_list['password'] = 'パスワードフィールド(password)';
|
||||
$lang->column_type_list['radio'] = 'ラジオボタン(radio)';
|
||||
$lang->column_type_list['select'] = 'ひとつ選択(select)';
|
||||
$lang->column_type_list['checkbox'] = 'チェックボックス(checkbox)';
|
||||
|
|
|
|||
|
|
@ -272,6 +272,7 @@ $lang->column_type_list['homepage'] = 'URL 형식';
|
|||
$lang->column_type_list['email_address'] = '이메일 형식(email)';
|
||||
$lang->column_type_list['tel'] = '전화번호 형식(phone)';
|
||||
$lang->column_type_list['textarea'] = '여러 줄 입력칸(textarea)';
|
||||
$lang->column_type_list['password'] = '숨김 입력칸(password)';
|
||||
$lang->column_type_list['radio'] = '단일 선택(radio)';
|
||||
$lang->column_type_list['select'] = '단일 선택(single select)';
|
||||
$lang->column_type_list['checkbox'] = '다중 선택(checkbox)';
|
||||
|
|
|
|||
|
|
@ -250,6 +250,7 @@ $lang->column_type_list['homepage'] = '网址格式(url)';
|
|||
$lang->column_type_list['email_address'] = '邮件格式(email)';
|
||||
$lang->column_type_list['tel'] = '电话号码格式(phone)';
|
||||
$lang->column_type_list['textarea'] = '多行文本框(textarea)';
|
||||
$lang->column_type_list['password'] = '密码输入(password)';
|
||||
$lang->column_type_list['radio'] = '单选框(radio)';
|
||||
$lang->column_type_list['select'] = '下拉列表框(select)';
|
||||
$lang->column_type_list['checkbox'] = '复选框(checkbox)';
|
||||
|
|
|
|||
|
|
@ -249,6 +249,7 @@ $lang->column_type_list['homepage'] = '網址格式';
|
|||
$lang->column_type_list['email_address'] = '電子郵件';
|
||||
$lang->column_type_list['tel'] = '電話號碼格式(phone)';
|
||||
$lang->column_type_list['textarea'] = '文字區域(textarea)';
|
||||
$lang->column_type_list['password'] = '密碼輸入(password)';
|
||||
$lang->column_type_list['radio'] = '選項按紐(radio)';
|
||||
$lang->column_type_list['select'] = '下拉式選單(select)';
|
||||
$lang->column_type_list['checkbox'] = '核取方塊(checkbox)';
|
||||
|
|
|
|||
|
|
@ -561,6 +561,10 @@ class memberAdminView extends member
|
|||
{
|
||||
$template = '<textarea name="%column_name%" id="%column_name%" rows="4" cols="42">%value%</textarea>';
|
||||
}
|
||||
else if($extendForm->column_type == 'password')
|
||||
{
|
||||
$template = '<input type="password" name="%column_name%" id="%column_name%" value="%value%" />';
|
||||
}
|
||||
else if($extendForm->column_type == 'checkbox')
|
||||
{
|
||||
$template = '';
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
<label class="x_control-label">{$lang->cmd_required}/{$lang->cmd_optional}</label>
|
||||
<div class="x_controls">
|
||||
<label for="radio_required" class="x_inline"><input type="radio" id="radio_required" name="required" value="Y" /> {$lang->cmd_required}</label>
|
||||
<label for="radio_option" class="x_inline"><input type="radio" id="radio_option" name="required" value="N" /> {$lang->cmd_optional}</label>
|
||||
<label for="radio_option" class="x_inline"><input type="radio" id="radio_option" name="required" value="N" checked="checked" /> {$lang->cmd_optional}</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue