Trac

Changeset 16016 for trunk


Ignore:
Timestamp:
Feb 19, 2012, 9:00:12 PM (3 years ago)
Author:
Anton Lesnikov
Message:

Page Builder checklists.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/boonex/english/install/data/langs/en.xml

    r16013 r16016  
    23552355    <string name="_adm_form_txt_field_type_input_set"><![CDATA[input set]]></string> 
    23562356    <string name="_adm_form_txt_field_type_custom"><![CDATA[custom]]></string> 
    2357     <string name="_adm_form_txt_field_type_value"><![CDATA[value]]></string> 
     2357    <string name="_adm_form_txt_field_type_value"><![CDATA[info]]></string> 
    23582358    <string name="_adm_form_txt_field_type_captcha"><![CDATA[captcha]]></string> 
    23592359    <string name="_adm_form_txt_field_type_display"><![CDATA[Type]]></string> 
     
    23642364    <string name="_adm_form_txt_field_value"><![CDATA[Value]]></string> 
    23652365    <string name="_adm_form_txt_field_value_default"><![CDATA[Default value]]></string> 
     2366    <string name="_adm_form_txt_field_value_custom_text"><![CDATA[Custom text]]></string> 
    23662367    <string name="_adm_form_txt_field_value_button"><![CDATA[Title]]></string> 
    23672368    <string name="_adm_form_dsc_field_value_button"><![CDATA[Enter button title here]]></string> 
     
    24002401    <string name="_adm_form_txt_field_checker_avail"><![CDATA[Data Availability (something must be entered) ]]></string> 
    24012402    <string name="_adm_form_txt_field_checker_length"><![CDATA[Data Length (limit amount of characters)]]></string> 
    2402     <string name="_adm_form_txt_field_checker_date"><![CDATA[Date]]></string> 
    2403     <string name="_adm_form_txt_field_checker_date_time"><![CDATA[Date Time]]></string> 
     2403    <string name="_adm_form_txt_field_checker_date"><![CDATA[Date (check for correct date format)]]></string> 
     2404    <string name="_adm_form_txt_field_checker_date_time"><![CDATA[Date and Time (check for correct date and time format)]]></string> 
    24042405    <string name="_adm_form_txt_field_checker_preg"><![CDATA[Regular Expression (something specific must be entered)]]></string> 
    24052406    <string name="_adm_form_txt_field_checker_email"><![CDATA[E-mail (correct email address format)]]></string> 
    2406     <string name="_adm_form_txt_field_checker_captcha"><![CDATA[Captcha]]></string> 
    2407     <string name="_adm_form_txt_field_checker_no_spam"><![CDATA[No Spam]]></string> 
     2407    <string name="_adm_form_txt_field_checker_captcha"><![CDATA[Captcha (check for correct security image text input)]]></string> 
     2408    <string name="_adm_form_txt_field_checker_no_spam"><![CDATA[Spam-Free (check if input is SPAM-free)]]></string> 
    24082409    <string name="_adm_form_txt_field_checker_params_length_min"><![CDATA[Min Value]]></string> 
    24092410    <string name="_adm_form_err_field_checker_params_length_min"><![CDATA[Enter Min Value, non-zero integer number]]></string> 
     
    24142415    <string name="_adm_form_err_field_checker_params_preg"><![CDATA[Enter valid regular expression]]></string> 
    24152416    <string name="_adm_form_txt_field_checker_error"><![CDATA[Error message if check failed]]></string> 
     2417    <string name="_adm_form_dsc_field_checker_error_captcha"><![CDATA[Error message to display if text doesn't match with text on the image]]></string> 
    24162418    <string name="_adm_form_err_field_checker_error"><![CDATA[You need to enter error message]]></string> 
    24172419    <string name="_adm_form_txt_pre_lists_no"><![CDATA[No]]></string> 
     
    25362538    <string name="_adm_bp_txt_block_content_rss_length"><![CDATA[Length]]></string> 
    25372539    <string name="_adm_bp_dsc_block_content_rss_length"><![CDATA[Enter a number of displayed items here]]></string> 
    2538     <string name="_adm_bp_txt_block_content_menu"><![CDATA[Content]]></string> 
     2540    <string name="_adm_bp_txt_block_content_menu"><![CDATA[Menu]]></string> 
    25392541    <string name="_adm_bp_txt_block_content_menu_empty"><![CDATA[Select menu...]]></string> 
    25402542    <string name="_adm_bp_txt_block_content_service_module"><![CDATA[Module]]></string> 
  • trunk/studio/templates/base/scripts/BxBaseStudioBuilderPage.php

    r16009 r16016  
    10501050                        'info' => '', 
    10511051                        'value' => $aBlock['content'], 
    1052                         'values' => array( 
    1053                             array('key' => '', 'value' => _t('_adm_bp_txt_block_content_menu_empty')), 
    1054                         ), 
     1052                        'values' => array(), 
    10551053                        'required' => '0', 
    10561054                        'db' => array ( 
     
    10591057                    ) 
    10601058                ); 
    1061                  
     1059 
    10621060                $aMenus = $this->oDb->getMenus(); 
    10631061                foreach($aMenus as $sKey => $sValue) 
    1064                     $aFields['content']['values'][] = array('key' => $sKey, 'value' => _t($sValue)); 
     1062                    $aFields['content']['values'][$sKey] = _t($sValue); 
     1063 
     1064                asort($aFields['content']['values']); 
     1065                $aFields['content']['values'] = array_merge(array('' => _t('_adm_bp_txt_block_content_menu_empty')), $aFields['content']['values']); 
    10651066                break; 
    10661067 
Note: See TracChangeset for help on using the changeset viewer.