Changeset 15972
- Timestamp:
- 02/10/12 03:49:40 (4 months ago)
- Location:
- trunk
- Files:
-
- 26 added
- 3 edited
-
modules/boonex/english/install/data/langs/en.xml (modified) (3 diffs)
-
studio/templates/base/bx_img_with_text.html (added)
-
studio/templates/base/css/builder_forms.css (modified) (1 diff)
-
studio/templates/base/images/icons/ui-block_header.png (added)
-
studio/templates/base/images/icons/ui-button.png (added)
-
studio/templates/base/images/icons/ui-captcha.png (added)
-
studio/templates/base/images/icons/ui-checkbox.png (added)
-
studio/templates/base/images/icons/ui-checkbox_set.png (added)
-
studio/templates/base/images/icons/ui-custom.png (added)
-
studio/templates/base/images/icons/ui-datepicker.png (added)
-
studio/templates/base/images/icons/ui-datetime.png (added)
-
studio/templates/base/images/icons/ui-doublerange.png (added)
-
studio/templates/base/images/icons/ui-file.png (added)
-
studio/templates/base/images/icons/ui-hidden.png (added)
-
studio/templates/base/images/icons/ui-image.png (added)
-
studio/templates/base/images/icons/ui-input_set.png (added)
-
studio/templates/base/images/icons/ui-number.png (added)
-
studio/templates/base/images/icons/ui-password.png (added)
-
studio/templates/base/images/icons/ui-radio_set.png (added)
-
studio/templates/base/images/icons/ui-reset.png (added)
-
studio/templates/base/images/icons/ui-select.png (added)
-
studio/templates/base/images/icons/ui-select_multiple.png (added)
-
studio/templates/base/images/icons/ui-slider.png (added)
-
studio/templates/base/images/icons/ui-submit.png (added)
-
studio/templates/base/images/icons/ui-switcher.png (added)
-
studio/templates/base/images/icons/ui-text.png (added)
-
studio/templates/base/images/icons/ui-textarea.png (added)
-
studio/templates/base/images/icons/ui-value.png (added)
-
studio/templates/base/scripts/BxBaseStudioFormsFields.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/boonex/english/install/data/langs/en.xml
r15970 r15972 2281 2281 <string name="_adm_form_btn_fields_create"><![CDATA[Add New Field]]></string> 2282 2282 <string name="_adm_form_txt_forms_title"><![CDATA[Title]]></string> 2283 <string name="_adm_form_dsc_forms_title"><![CDATA[ You need to enter form title]]></string>2283 <string name="_adm_form_dsc_forms_title"><![CDATA[Name of the form. Displayed in Studio only.]]></string> 2284 2284 <string name="_adm_form_err_forms_title"><![CDATA[Enter title, more then 3 characters]]></string> 2285 2285 <string name="_adm_form_txt_forms_action"><![CDATA[Action]]></string> … … 2302 2302 <string name="_adm_form_err_forms_edit"><![CDATA[Cannot update form]]></string> 2303 2303 <string name="_adm_form_txt_displays_title"><![CDATA[Title]]></string> 2304 <string name="_adm_form_dsc_displays_title"><![CDATA[ You need to enter display title]]></string>2304 <string name="_adm_form_dsc_displays_title"><![CDATA[Name of the form display mode. Displayed in Studio only.]]></string> 2305 2305 <string name="_adm_form_err_displays_title"><![CDATA[Enter title, more then 3 characters]]></string> 2306 2306 <string name="_adm_form_btn_displays_add"><![CDATA[Add]]></string> … … 2356 2356 <string name="_adm_form_err_field_name"><![CDATA[Enter name, more then 3 characters]]></string> 2357 2357 <string name="_adm_form_txt_field_caption"><![CDATA[Title]]></string> 2358 <string name="_adm_form_dsc_field_caption"><![CDATA[ You need to enter field title]]></string>2358 <string name="_adm_form_dsc_field_caption"><![CDATA[Item name displayed on site.]]></string> 2359 2359 <string name="_adm_form_err_field_caption"><![CDATA[Enter title, more then 3 characters]]></string> 2360 2360 <string name="_adm_form_txt_field_value"><![CDATA[Value]]></string> -
trunk/studio/templates/base/css/builder_forms.css
r15888 r15972 32 32 } 33 33 34 /*--- Fields page -> Main Content style ---*/ 35 div.bx-form-field-type { 36 padding-left: 20px; 37 background-repeat: no-repeat; 38 background-position: 0px center; 39 } 40 34 41 /*--- Pre Lists page -> Add/Edit Form block ---*/ 35 42 div.bx-form-add-list {} -
trunk/studio/templates/base/scripts/BxBaseStudioFormsFields.php
r15969 r15972 272 272 $oForm->addCssJs(); 273 273 } 274 274 275 protected function _getCellSwitcher ($mixedValue, $sKey, $aField, $aRow) { 275 276 if((int)$aRow['editable'] == 0) … … 278 279 return parent::_getCellSwitcher($mixedValue, $sKey, $aField, $aRow); 279 280 } 281 280 282 protected function _getCellTitle ($mixedValue, $sKey, $aField, $aRow) { 281 283 $mixedValue = $this->_limitMaxLength(_t($aRow['title']), $sKey, $aField, $aRow, $this->_isDisplayPopupOnTextOverflow); 284 return parent::_getCellDefault($mixedValue, $sKey, $aField, $aRow); 285 } 286 287 protected function _getCellType ($mixedValue, $sKey, $aField, $aRow) { 288 $mixedValue = $this->_oTemplate->parseHtmlByName('bx_img_with_text.html', array( 289 'bx_if:class' => array( 290 'condition' => true, 291 'content' => array( 292 'content' => 'bx-form-field-type' 293 ) 294 ), 295 'icon' => $this->_oTemplate->getIconUrl('ui-' . $aRow['type'] . '.png'), 296 'content' => $mixedValue 297 )); 298 282 299 return parent::_getCellDefault($mixedValue, $sKey, $aField, $aRow); 283 300 }
Note: See TracChangeset
for help on using the changeset viewer.