vitae tractatos philosophia ius ei, per id causae integre voluptatibus. An iusto rationibus concludaturque vix, ei dicat admodum minimum vix. Vim ne eruditi scripserit. Nonumy dolorem ex eum, te quo aliquid mnesarchum, ea mel dico populo. Accumsan platonem salutandi te mei, nostro epicurei per ea. Sed ut nonumy sapientem, stet postea periculis eu nec, et purto erat facilisis sed.
';
$GLOBALS['SAMPLE_TITLE'] = 'Lorem ipsum dolor sit amet';
$GLOBALS['SAMPLE_THUMB'] = 'modules/boonex/persons/template/images/no-picture-preview.png';
$oTemplate = BxDolTemplate::getInstance();
$oTemplate->setPageNameIndex (BX_PAGE_DEFAULT);
$oTemplate->setPageHeader ("Interface elements");
$oTemplate->setPageContent ('page_main_code', PageCompMainCode());
$oTemplate->addCss(BX_DOL_URL_PLUGINS_PUBLIC . 'jush/jush.css');
$oTemplate->addJs(BX_DOL_URL_PLUGINS_PUBLIC . 'jush/jush.js');
$oTemplate->getPageCode();
/**
* page code function
*/
function PageCompMainCode()
{
ob_start();
?>
';
$aSections = array (
'Buttons' => array ('title' => 'Buttons', 'desc' => '
Using buttons with images is strictly discouraged - use font icons istead.'
),
'PaddingsMargins' => array ('title' => 'Paddings & margins', 'desc' => '
3 sizes are available: default, -sec, -thd.
Possible combination: -left, -right, -top, -bottom, -leftright, -rightbottomleft, -topbottom.
-auto is special suffix to be added for -left and -top margin combinations, if it is first then margin is 0.
-thd is special size to be used as padding and margin together to get proper spacing from borders and between items when several tiles are displayed.'
),
'BordersCornersShadow' => array ('title' => 'Borders, corners and shadow', 'desc' => '
Possible combination of borders only: -left, -right, -top, -bottom, -rightbottomleft.
-auto is special suffix to be added for -top border, if element is first then there is no border.'
),
'ThumbsIconsUnits' => array ('title' => 'Thumbs, icons & units', 'desc' => '
Additianl classes are available: bx-def-thumb-size-max-height, bx-def-thumb-size-min-height, bx-def-icon-size-max-height, bx-def-icon-size-min-height'
),
'Colors' => array ('title' => 'Colors', 'desc' => '
Additional pallette is also available.'
),
'Fonts' => array ('title' => 'Fonts', 'desc' => ''
),
'Form' => array ('title' => 'Form', 'desc' => '
Form sample is here'
),
'Grid' => array ('title' => 'Grid', 'desc' => '
Grid sample is here'
),
'DesignBoxes' => array ('title' => 'Design Boxes', 'desc' => '
Design boxes samples are here'
),
);
foreach ($aSections as $sName => $a) {
$sMenu .= '
' . $a['desc'] . '
'; $sFunc = 'Samples_' . $sName; if (function_exists($sFunc)) $s .= $sFunc(); $s .= '