- Timestamp:
- 01/25/12 00:01:17 (4 months ago)
- Location:
- trunk/inc
- Files:
-
- 2 edited
-
design.inc.php (modified) (2 diffs)
-
js/jquery.dolPopup.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/design.inc.php
r15698 r15922 51 51 52 52 /** 53 * Put"design box" HTML code53 * Display "design box" HTML code 54 54 * 55 * @param string - $title title text 56 * @param string - $content content 57 * @param int $db_num - number of design box template, use predefined contants only, default is BX_DB_DEF, 58 * @param string $caption_item - item to put at the box top, it is applicable for BX_DB_PADDING_DEF and BX_DB_DEF only 59 * @param string $bottom_item - item to put at the bottom, it is applicable for BX_DB_PADDING_DEF and BX_DB_DEF only 60 * @return ready HTML code 55 * @see BxBaseFunctions::DesignBoxContent 61 56 * 62 57 * @see BX_DB_CONTENT_ONLY … … 68 63 * @see BX_DB_PADDING_NO_CAPTION 69 64 */ 70 function DesignBoxContent ( $title, $content, $db_num = BX_DB_DEF, $caption_item = '', $bottom_item = '' ) { 71 return BxDolTemplate::getInstance()->parseHtmlByName('designbox_' . (int)$db_num . '.html', array( 72 'title' => $title, 73 'caption_item' => $caption_item, 74 'designbox_content' => $content, 75 'bottom_item' => $bottom_item 76 )); 65 function DesignBoxContent ($sTitle, $sContent, $iTemplateNum = BX_DB_DEF, $mixedMenu = false) { 66 bx_import('BxTemplFunctions'); 67 return BxTemplFunctions::getInstance()->designBoxContent ($sTitle, $sContent, $iTemplateNum, $mixedMenu); 77 68 } 78 69 -
trunk/inc/js/jquery.dolPopup.js
r15840 r15922 177 177 $el.find('.bx-popup-box-pointer').css('display', 'block').position({ 178 178 of: ePointAt, 179 my: ' righttop',179 my: 'center top', 180 180 at: 'center bottom', 181 181 offset: (parseInt(aOffsetPointer[0]) + parseInt(aOffsetPointer[0])) + ' ' + (parseInt(aOffsetPointer[1]) + parseInt(aOffset[1]))
Note: See TracChangeset
for help on using the changeset viewer.