Changeset 21917 for branches/version-2_12-dev/data/class/SC_FormParam.php
- Timestamp:
- 2012/06/12 21:26:34 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_FormParam.php
r21867 r21917 129 129 130 130 if ($find) { 131 $this->html_disp_name[$index] = $this->disp_name[$index] . '<span class="red">(※ 必須)</span>';131 $this->html_disp_name[$index] = SC_Utils_Ex::t('SC_FORMPARAM_SETHTMLDISPNAMEARRAY_REQUIRED', array(':name' => $this->disp_name[$index])); 132 132 } else { 133 133 $this->html_disp_name[$index] = $this->disp_name[$index]; 134 134 } 135 135 if ($this->arrDefault[$key] != '') { 136 $this->html_disp_name[$index] .= ' [省略時初期値: ' . $this->arrDefault[$key] . ']';136 $this->html_disp_name[$index] .= SC_Utils_Ex::t('SC_FORMPARAM_SETHTMLDISPNAMEARRAY_DEFAULT', array(':default' => $this->arrDefault[$key])); 137 137 } 138 138 if ($this->input_db[$index] == false) { 139 $this->html_disp_name[$index] .= ' [登録・更新不可] ';139 $this->html_disp_name[$index] .= SC_Utils_Ex::t('SC_FORMPARAM_SETHTMLDISPNAMEARRAY_PROTECTED'); 140 140 } 141 141 } … … 226 226 case 'FILE_EXISTS': 227 227 if ($value != '' && !file_exists($this->check_dir . $value)) { 228 $arrErr[$key] = '※ ' . $this->disp_name[$index] . 'のファイルが存在しません。<br>';228 $arrErr[$key] = SC_Utils_Ex::t('SC_FORMPARAM_CHECKERROR_FILE_EXISTS', array(':name' => $this->disp_name[$index])); 229 229 } 230 230 break; … … 232 232 case 'DOWN_FILE_EXISTS': 233 233 if ($value != '' && !file_exists(DOWN_SAVE_REALDIR . $value)) { 234 $arrErr[$key] = '※ ' . $this->disp_name[$index] . 'のファイルが存在しません。<br>';234 $arrErr[$key] = SC_Utils_Ex::t('SC_FORMPARAM_CHECKERROR_FILE_EXISTS', array(':name' => $this->disp_name[$index])); 235 235 } 236 236 break; 237 237 default: 238 $arrErr[$key] = "※※ エラーチェック形式($func)には対応していません ※※ <br>";238 $arrErr[$key] = SC_Utils_Ex::t('SC_FORMPARAM_CHECKERROR_DEFAULT', array(':function' => $func)); 239 239 break; 240 240 }
Note: See TracChangeset
for help on using the changeset viewer.