本文整理汇总了PHP中CTabBox::show方法的典型用法代码示例。如果您正苦于以下问题:PHP CTabBox::show方法的具体用法?PHP CTabBox::show怎么用?PHP CTabBox::show使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CTabBox
的用法示例。
在下文中一共展示了CTabBox::show方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: str_replace
<table cellspacing="0" cellpadding="2" border="0" width="100%" class="list" height="100%">
<tr class="info"><td colspan="2"><?php
echo $AppUI->_('Description');
?>
</td></tr>
<tr class="second">
<td style="height: 100%"><?php
echo str_replace(chr(10), '<br/>', $obj->company_description);
?>
</td>
</tr>
</table>
<?php
require_once "./classes/CustomFields.class.php";
$custom_fields = new CustomFields($m, $a, $obj->company_id, "view");
$custom_fields->printHTML();
?>
</td>
</tr>
</table>
<?php
// tabbed information boxes
$tabBox = new CTabBox("?m=companies&a=view&company_id={$company_id}", $tab);
$tabBox->add('vw_active', 'Active Projects');
$tabBox->add('vw_archived', 'Archived Projects');
$tabBox->add('vw_depts', 'Departments');
$tabBox->add('vw_users', 'Users');
$tabBox->add('vw_contacts', 'Contacts');
$tabBox->loadExtras($m);
$tabBox->show();
示例2: CTabBox
?>
')){location.href = '?<?php
echo $AppUI->getPlace();
?>
';}" />
</td>
<td>
<input class="button" type="button" name="btnFuseAction" value="<?php
echo $AppUI->_('save');
?>
" onclick="submitIt(document.editFrm);" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</form>
</table>
<?php
$tab = $AppUI->processIntState('TaskAeTabIdx', $_GET, 'tab', 0);
$tabBox = new CTabBox('?m=tasks&a=addedit&task_id=' . $task_id, '', $tab, '');
$tabBox->add(W2P_BASE_DIR . '/modules/tasks/ae_desc', 'Details');
$tabBox->add(W2P_BASE_DIR . '/modules/tasks/ae_dates', 'Dates');
$tabBox->add(W2P_BASE_DIR . '/modules/tasks/ae_depend', 'Dependencies');
$tabBox->add(W2P_BASE_DIR . '/modules/tasks/ae_resource', 'Human Resources');
$tabBox->show('', true);
示例3: CTabBox
echo $AppUI->_('doDelete', UI_OUTPUT_JS) . ' ' . $AppUI->_('User', UI_OUTPUT_JS);
?>
" + y + "?")) {
document.frmDelete.user_id.value = x;
document.frmDelete.submit();
}
}
<?php
}
?>
</script>
<?php
$extra = '<td align="right" width="100%"><input type="button" class=button value="' . $AppUI->_('add user') . '" onclick="javascript:window.location=\'./index.php?m=admin&a=addedituser\';" /></td>';
// tabbed information boxes
$tabBox = new CTabBox('?m=admin', DP_BASE_DIR . '/modules/admin/', $tab);
$tabBox->add('vw_active_usr', 'Active Users');
$tabBox->add('vw_inactive_usr', 'Inactive Users');
$tabBox->add('vw_usr_log', 'User Log');
if ($canEdit && $canDelete) {
$tabBox->add('vw_usr_sessions', 'Active Sessions');
}
$tabBox->show($extra);
?>
<form name="frmDelete" action="./index.php?m=admin" method="post">
<input type="hidden" name="dosql" value="do_user_aed" />
<input type="hidden" name="del" value="1" />
<input type="hidden" name="user_id" value="0" />
</form>
示例4: CTabBox
?>
</th>
</tr>
</table>
<!----->
<?php
// tabbed information boxes
$tabBox = new CTabBox('?m=planner&date=' . $this_day->format(FMT_TIMESTAMP_DATE), W2P_BASE_DIR . '/modules/planner/', $tab);
$tabBox->add('vw_day_planner', 'Dayplanner');
$tabBox->add('vw_week_planner', 'Weekplanner');
$tabBox->add('vw_month_planner', 'Monthplanner');
$tabBox->add('vw_day_events', 'Day-Events');
$tabBox->add('vw_day_tasks', 'Day-Tasks');
$tabBox->add('vw_task_planner', 'Task Date Planning');
$tabBox->add('vw_project_tools', 'Project Planning Tools');
$tabBox->show('', false, 'left', false);
?>
</td>
<?php
if ($w2Pconfig['cal_day_view_show_minical']) {
?>
<td valign="top" width="175">
<?php
$minical = new w2p_Output_MonthCalendar($this_day);
$minical->setStyles('minititle', 'minical');
$minical->showArrows = false;
$minical->showWeek = false;
$minical->clickMonth = true;
$minical->setLinkFunctions('clickDay');
$first_time = new w2p_Utilities_Date($minical->prev_month);
$first_time->setDay(1);