Changeset 15899
- Timestamp:
- 01/19/12 02:57:10 (4 months ago)
- Location:
- tags/7.0
- Files:
-
- 3 edited
-
administration/pageBuilder.php (modified) (1 diff)
-
inc/classes/BxDolPageViewAdmin.php (modified) (1 diff)
-
inc/js/classes/BxDolPageBuilder.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tags/7.0/administration/pageBuilder.php
r15200 r15899 38 38 39 39 $GLOBALS['oAdmTemplate']->addJsTranslation(array( 40 '_adm_btn_Column', '_Are you sure?', 40 '_adm_btn_Column', '_Are you sure?', '_Empty' 41 41 )); 42 42 -
tags/7.0/inc/classes/BxDolPageViewAdmin.php
r15380 r15899 321 321 "; 322 322 db_res( $sQuery ); 323 324 echo _t( process_pass_data($aData['Caption']) ); 323 $sCaption = process_pass_data($aData['Caption']); 324 if (mb_strlen($sCaption) == 0) 325 $sCaption = '_Empty'; 326 echo _t($sCaption); 325 327 } 326 328 -
tags/7.0/inc/js/classes/BxDolPageBuilder.js
r15380 r15899 29 29 this.eAllAreas = $(this.activeArea).add(this.inactiveArea).add(this.samplesArea).parent().parent().get(0); 30 30 31 $.getJSON( this.options.parser, {action:'load', Page: this.options.page}, function( oJSON ){ _builder.loadJSON( oJSON )} );31 $.getJSON( this.options.parser, {action:'load', Page: this.options.page}, function( oJSON ){_builder.loadJSON( oJSON )} ); 32 32 } 33 33 … … 200 200 .appendTo( $block ) 201 201 .hover( 202 function(){ showFloatDesc( _t('_adm_pbuilder_Column_non_enough_width_warn', iBlockMinWidth));},203 function(){ hideFloatDesc();}202 function(){showFloatDesc( _t('_adm_pbuilder_Column_non_enough_width_warn', iBlockMinWidth));}, 203 function(){hideFloatDesc();} 204 204 ) 205 .mousemove( function(e){ moveFloatDesc( e )} );205 .mousemove( function(e){moveFloatDesc( e )} ); 206 206 } 207 207 } … … 407 407 placeholder: 'buildColumn ui-sortable-placeholder', 408 408 forcePlaceholderSize: true, 409 stop: function() { _builder.columnsStopSort();}409 stop: function() {_builder.columnsStopSort();} 410 410 }); 411 411 … … 520 520 BxDolPageBuilder.prototype.drawBlock = function( iBlockID, sBlockCaption, eColumnCont ) { 521 521 var _builder = this; 522 522 if (sBlockCaption.length == 0) 523 sBlockCaption = _t('_Empty'); 523 524 $( 524 525 '<div class="buildBlock" id="buildBlock_' + iBlockID + '">' +
Note: See TracChangeset
for help on using the changeset viewer.