本文整理汇总了PHP中tabs函数的典型用法代码示例。如果您正苦于以下问题:PHP tabs函数的具体用法?PHP tabs怎么用?PHP tabs使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tabs函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: addTabs
function addTabs($source)
{
if (func_num_args() > 1) {
if (func_get_args()[1] == false) {
return $source . tabs($this->tabcount);
}
}
return tabs($this->tabcount) . $source;
}
开发者ID:Wounded28,项目名称:HTMLHelper,代码行数:9,代码来源:HTMLHelper.php
示例2: tabs
<?php
require_once 'layout_tabs.php';
?>
<link rel="stylesheet" type="text/css" media="screen" href="<?php
echo $pageData->css;
?>
" />
<?php
echo tabs($pageData->tabs);
?>
<h1 class="settings">
<fb:name uid="<?php
echo $pageData->userid;
?>
" useyou="false" capitalize="true" possessive="true"/> Friends
</h1>
<fb:if-section-not-added section="profile">
<div class="addmsg"><fb:add-section-button section="profile" />Your profile currently lacks a certain something</div>
</fb:if-section-not-added>
<form action="common.php" method="GET">
<table cellpadding="0" cellspacing="1" class="table friends">
<thead>
<tr>
<th>Compare</th>
<th colspan="2">Friend</th>
<th>Percent</th>
开发者ID:kyleconroy,项目名称:movie-addict,代码行数:31,代码来源:layout_friends.php
示例3: tabs
}
.ui-jqgrid tr.jqgrow td { border: 0px none;}
</style>
<script src="../../../js/jquery.js" type="text/javascript"></script>
<script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script>
<script type="text/javascript">
$.jgrid.no_legacy_api = true;
$.jgrid.useJSON = true;
</script>
<script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script>
<script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script>
</head>
<body>
<div>
<style type="text">
.ui-jqgrid tr.jqgrow td { border: 0px none;}
</style>
<?php
include "treegrid.php";
?>
</div>
<br/>
<?php
tabs(array("treegrid.php"));
?>
</body>
</html>
开发者ID:jewelhuq,项目名称:FoodBankBooking,代码行数:30,代码来源:default.php
示例4: usersMenus
include_once('ressources/class.squid.inc');
$usersmenus=new usersMenus();
if(!$usersmenus->AsSquidAdministrator){
$tpl=new templates();
$alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}');
echo "alert('$alert');";
die();
}
if(isset($_POST["ProxyPacCacheTime"])){settings_save();exit;}
if(isset($_GET["settings-js"])){settings_js();exit;}
if(isset($_GET["settings-popup"])){settings_popup();exit;}
if(isset($_POST["EmptyCache"])){EmptyCache();exit;}
if(isset($_GET["tabs"])){tabs();exit;}
if(isset($_GET["help"])){help();exit;}
if(isset($_GET["events"])){events();exit;}
if(isset($_GET["events-search"])){events_search();exit;}
if(isset($_GET["events-script"])){events_script_js();exit;}
if(isset($_GET["events-script-popup"])){events_script_popup();exit;}
if(isset($_GET["events-script-tester-js"])){events_script_tester_js();exit;}
if(isset($_GET["events-script-tester-popup"])){events_script_tester_popup();exit;}
if(isset($_POST["TESTER-URL"])){events_script_tester_perform();exit;}
if(isset($_POST["rebuild-tables"])){rebuild_tables();exit;}
if(isset($_GET["rules"])){rules();exit;}
if(isset($_GET["rules-search"])){rules_search();exit;}
if(isset($_GET["rule-js"])){rules_js();exit;}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:31,代码来源:squid.autoconfiguration.main.php
示例5: tabs
<?php
require_once 'layout_tabs.php';
?>
<link rel="stylesheet" type="text/css" media="screen" href="<?php
echo $pageData->css;
?>
" />
<?php
echo tabs($pageData->tabs, $pageData->userid);
?>
<h1 class="settings">
<fb:name uid="<?php
echo $pageData->userid;
?>
" useyou="false" capitalize="true" /> is <?php
echo $pageData->percent;
?>
% addicted to film.
<fb:pronoun useyou="false" capitalize="true" uid="<?php
echo $pageData->userid;
?>
" />
has seen <?php
echo $pageData->moviecount;
?>
out of <?php
echo $pageData->totalcount;
开发者ID:kyleconroy,项目名称:movie-addict,代码行数:31,代码来源:layout_view.php
示例6: usersMenus
include_once('ressources/class.templates.inc');
include_once('ressources/class.ldap.inc');
include_once('ressources/class.users.menus.inc');
include_once('ressources/class.tcpip.inc');
include_once('ressources/class.system.nics.inc');
include_once('ressources/class.maincf.multi.inc');
$user=new usersMenus();
if($user->AsPostfixAdministrator==false){
$tpl=new templates();
echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
die();exit();
}
if(isset($_GET["instances-tabs"])){tabs();exit;}
if(isset($_GET["instances-list"])){instances_list();exit;}
if(isset($_GET["instances-search"])){instances_search();exit;}
if(isset($_GET["crossroads-list"])){crossroads_list();exit;}
if(isset($_GET["crossroads-search"])){crossroads_search();exit;}
if(isset($_GET["crossroads-delete"])){crossroads_delete();exit;}
if(isset($_GET["instance-duplicate-form"])){instances_duplicate_form();exit;}
if(isset($_GET["add-new-instance"])){instances_duplicate_perform();exit;}
if(isset($_GET["status-instance"])){instance_status();exit;}
if(isset($_GET["delete"])){instance_delete();exit;}
if(isset($_GET["rebuild-instances"])){rebuild_instances();exit;}
js();
开发者ID:rsd,项目名称:artica-1.5,代码行数:31,代码来源:postfix.multiples.php
示例7: templates
<?php
include_once 'ressources/class.templates.inc';
include_once 'ressources/class.ldap.inc';
include_once 'ressources/class.users.menus.inc';
include_once 'ressources/class.lvm.org.inc';
include_once 'ressources/class.os.system.inc';
include_once 'ressources/class.maincf.multi.inc';
if (!Isright()) {
$tpl = new templates();
echo "alert('" . $tpl->javascript_parse_text('{ERROR_NO_PRIVS}') . "');";
die;
}
if (isset($_GET["tabs"])) {
echo tabs();
exit;
}
if (isset($_GET["status"])) {
echo status();
exit;
}
if (isset($_GET["service-status"])) {
echo status_service();
exit;
}
if (isset($_GET["rules"])) {
echo rules();
exit;
}
if (isset($_GET["DeleteRuleMaster"])) {
DeleteRuleMaster();
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:31,代码来源:postfwd2.php
示例8: switch
switch ($type_modifier) {
case "pointer":
case "const_pointer":
$object_constants .= tabs(2) . "zval z_{$variable_name};\n";
$object_constants .= tabs(2) . "object_init_ex(&z_{$variable_name}, php_{$plain_type}_entry);\n";
$object_constants .= tabs(2) . "((zo_{$plain_type}*) zend_object_store_get_object(&z_{$variable_name} TSRMLS_CC))->native_object = ({$plain_type}_php*) {$variable_name};\n";
$object_constants .= tabs(2) . "wxPHP_REGISTER_OBJECT_CONSTANT(\"{$variable_name}\", z_{$variable_name}, CONST_CS | CONST_PERSISTENT);\n\n";
break;
case "reference":
case "const_reference":
case "none":
case "const_none":
$object_constants .= tabs(2) . "zval z_{$variable_name};\n";
$object_constants .= tabs(2) . "object_init_ex(&z_{$variable_name}, php_{$plain_type}_entry);\n";
$object_constants .= tabs(2) . "((zo_{$plain_type}*) zend_object_store_get_object(&z_{$variable_name} TSRMLS_CC))->native_object = ({$plain_type}_php*) &{$variable_name};\n";
$object_constants .= tabs(2) . "wxPHP_REGISTER_OBJECT_CONSTANT(\"{$variable_name}\", z_{$variable_name}, CONST_CS | CONST_PERSISTENT);\n\n";
break;
}
break;
default:
//Just skip unknown types
}
}
$classes .= "\n";
$classes .= "\t//Class enumerations\n";
$classes .= "\n";
foreach ($defEnums[0] as $enumClassName => $classEnums) {
//Only add enums of enabled classes
if (isset($defIni[$enumClassName])) {
foreach ($classEnums as $enumName => $enumList) {
foreach ($enumList as $enumOption => $enumValue) {
开发者ID:phpsong,项目名称:wxphp,代码行数:31,代码来源:code_generator.php
示例9: jQuery
jQuery(document).ready(function(){
if(Modernizr.input.placeholder) {
jQuery("#supported").append("<div>Your browser support 'placeholder' input property!</div>");
} else {
jQuery("#notsupported").append("<div>Your browser does not support 'placeholder' input property!</div>").addClass('ui-state-error');
}
if(Modernizr.inputtypes.number) {
jQuery("#supported").append("<div>Your browser support input type: number!</div>");
} else {
jQuery("#notsupported").append("<div>Your browser does not support input type: number!</div>").addClass('ui-state-error');
}
});
</script>
</head>
<body>
<div style="margin-left:20px;margin-right: 20px;">
<?php
include "html5placeholder.php";
?>
<div style="text-align: center;margin-top:10px;">This Form is created with HTML5 PHP jqForm builder</div>
</div>
<br/>
<div id="supported"></div>
<div id="notsupported"></div>
<?php
tabs(array("html5placeholder.php"));
?>
</body>
</html>
开发者ID:nong053,项目名称:prototype-nnit,代码行数:30,代码来源:default.php
示例10: jQuery
<script src="../../../js/jquery.js" type="text/javascript"></script>
<script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script>
<script src="../../../js/jquery.form.js" type="text/javascript"></script>
<script src="../../../js/modernizr-2.0.6.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(document).ready(function(){
if(Modernizr.inputtypes.number) {
jQuery("#supported").append("<div>Your browser support input type: number!</div>");
} else {
jQuery("#notsupported").append("<div>Your browser does not support input type: number!</div>").addClass('ui-state-error');
}
});
</script>
</head>
<body>
<div style="margin-left:20px;margin-right: 20px;">
<?php
include "sqlsuccess.php";
?>
<div style="text-align: center;margin-top:10px;">This Form is created with HTML5 PHP jqForm builder</div>
</div>
<br/>
<div id="supported"></div>
<div id="notsupported"></div>
<?php
tabs(array("sqlsuccess.php"));
?>
</body>
</html>
开发者ID:jewelhuq,项目名称:FoodBankBooking,代码行数:30,代码来源:default.php
示例11: session_start
<?php
session_start();
include_once('ressources/class.templates.inc');
include_once('ressources/class.users.menus.inc');
include_once('ressources/class.openvpn.inc');
include_once('ressources/class.system.network.inc');
include_once('ressources/class.tcpip.inc');
$users=new usersMenus();
if(!$users->AsSystemAdministrator){die("alert('no access');");}
if(isset($_GET["popup"])){tabs();exit();}
if(isset($_GET["server"])){server();exit();}
if(isset($_GET["clients"])){clients();exit();}
if(isset($_POST["ENABLE_SERVER"])){SAVE_SERVER();exit;}
if(isset($_POST["IP_START"])){SAVE_SERVER();exit;}
if(isset($_POST["EnableOpenVPNEndUserPage"])){EnableOpenVPNEndUserPageSave();exit;}
js();
function js(){
$tpl=new templates();
$page=CurrentPageName();
$title=$tpl->_ENGINE_parse_body("{OPENVPN_SERVER_SETTINGS}");
$html="YahooWin4('600','$page?popup=yes','$title')";
echo $html;
开发者ID:rsd,项目名称:artica-1.5,代码行数:31,代码来源:index.openvpn.server.php
示例12: usersMenus
<?php
include_once('ressources/class.templates.inc');
include_once('ressources/class.ldap.inc');
include_once('ressources/class.users.menus.inc');
include_once('ressources/class.squid.inc');
include_once('ressources/class.artica.graphs.inc');
if(posix_getuid()==0){die();}
$user=new usersMenus();
if($user->AsSquidAdministrator==false){
$tpl=new templates();
echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
die();exit();
}
if($_GET["tabs"]){tabs();exit;}
if(isset($_GET["title-caches-perf"])){title_caches_perf();exit;}
if($_GET["period"]=="howto"){howto();exit;}
if($_GET["period"]=="today"){today();exit;}
if($_GET["period"]=="week"){week();exit;}
if($_GET["period"]=="month"){month();exit;}
js();
function js(){
$page=CurrentPageName();
$tpl=new templates();
if(isset($_GET["inline"])){echo "$('#BodyContent').load('$page?tabs=yes');";return;}
$title=$tpl->_ENGINE_parse_body("{cache_performance}::{statistics}");
$html="YahooWin4('750','$page?tabs=yes','$title')";
echo $html;
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:31,代码来源:squid.cache.perf.stats.php
示例13: classes_get_property_code
/**
* @author Jefferson González
*
* @license
* This file is part of wxPHP check the LICENSE file for information.
*
* @description
* Functions to assist on the generation of the wxWidgets functions
* to php functions code
*
*/
function classes_get_property_code($class_name)
{
global $defClassProperties;
$code = "";
if (isset($defClassProperties[$class_name])) {
$property_index = 0;
foreach ($defClassProperties[$class_name] as $property_name => $property_attributes) {
$type_modifier = "";
$standard_type = parameter_type($property_attributes["type"], false, "MINIT", $class_name, $type_modifier, true);
$property_type = str_replace(array("const ", "&", "*"), "", $property_attributes["type"]);
switch ($type_modifier) {
//If constant skip
case "const_pointer":
case "const_pointer_pointer":
case "const_reference":
case "const_none":
continue;
default:
//If not constant continue
break;
}
if (!$property_attributes["static"]) {
$code .= "else if(strcmp(\"{$property_name}\", name) == 0)\n";
$code .= tabs(1) . "{\n";
} else {
//Skip static properties (we should handle them differently?)
continue;
}
switch ($standard_type) {
case "bool":
switch ($type_modifier) {
case "pointer":
case "pointer_pointer":
$code .= tabs(2) . "RETVAL_BOOL(*((bool*) *((void**) native_object->properties[{$property_index}])));\n";
break;
case "reference":
case "none":
$code .= tabs(2) . "RETVAL_BOOL(*((bool*) native_object->properties[{$property_index}]));\n";
break;
}
break;
case "integer":
case "class_enum":
case "global_enum":
switch ($type_modifier) {
case "pointer":
case "pointer_pointer":
$code .= tabs(2) . "RETVAL_LONG(*(({$property_type}*) *((void**) native_object->properties[{$property_index}])));\n";
break;
case "reference":
case "none":
$code .= tabs(2) . "RETVAL_LONG(*(({$property_type}*) native_object->properties[{$property_index}]));\n";
break;
}
break;
case "float":
switch ($type_modifier) {
case "pointer":
case "pointer_pointer":
$code .= tabs(2) . "RETVAL_DOUBLE(*(({$property_type}*) *((void**) native_object->properties[{$property_index}])));\n";
break;
case "reference":
case "none":
$code .= tabs(2) . "RETVAL_DOUBLE(*(({$property_type}*) native_object->properties[{$property_index}]));\n";
break;
}
break;
case "characters":
switch ($type_modifier) {
case "pointer":
case "pointer_pointer":
$code .= tabs(2) . "RETVAL_STRING(((char*) *((void**) native_object->properties[{$property_index}])), 1);\n";
break;
case "reference":
case "none":
$code .= tabs(2) . "RETVAL_LONG(*((char*) native_object->properties[{$property_index}]));\n";
break;
}
break;
case "date":
switch ($type_modifier) {
case "pointer":
case "pointer_pointer":
$code .= tabs(2) . "RETVAL_LONG(*((wxDateTime*) *((void**) native_object->properties[{$property_index}])).GetTicks());\n";
break;
case "reference":
case "none":
$code .= tabs(2) . "RETVAL_LONG(*((wxDateTime*) native_object->properties[{$property_index}]).GetTicks());\n";
break;
//.........这里部分代码省略.........
开发者ID:halfer,项目名称:wxphp,代码行数:101,代码来源:class_source_generation.php
示例14: tabs
<body>
<div id="notifications"></div>
<?php
include 'html/templates/interior/timer.php';
?>
<?php
include 'html/templates/interior/idletimeout.php';
?>
<div id = "nav_container">
<?php
$t = tabs($dbh, $_GET['i']);
echo $t;
?>
<div id="menus">
<?php
include 'html/templates/Menus.php';
?>
</div>
</div>
<div id="content">
开发者ID:samtechnocrat,项目名称:ClinicCases,代码行数:30,代码来源:Messages.php
示例15: tabs
<style type="text">
html, body {
margin: 0; /* Remove body margin/padding */
padding: 0;
overflow: hidden; /* Remove scroll bars on browser window */
font-size: 62.5%;
}
body {
font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif";
}
#tags {z-index: 900}
</style>
<link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" />
<script src="../../../js/jquery.js" type="text/javascript"></script>
<script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script>
<script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script>
</head>
<body>
<div>
<?php
include "chart.php";
?>
</div>
<br/>
<?php
tabs(array("chart.php"));
?>
</body>
</html>
开发者ID:nong053,项目名称:prototype-nnit,代码行数:30,代码来源:default.php
示例16: tabs
<link rel="stylesheet" type="text/css" media="screen" href="../../../themes/ui.multiselect.css" />
<style type="text">
html, body {
margin: 0; /* Remove body margin/padding */
padding: 0;
overflow: hidden; /* Remove scroll bars on browser window */
font-size: 75%;
}
</style>
<script src="../../../js/jquery.js" type="text/javascript"></script>
<script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script>
<script type="text/javascript">
$.jgrid.no_legacy_api = true;
$.jgrid.useJSON = true;
</script>
<script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script>
<script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script>
</head>
<body>
<div>
<?php
include "grid.php";
?>
</div>
<br/>
<?php
tabs(array("grid.php", "city.php"));
?>
</body>
</html>
开发者ID:jewelhuq,项目名称:FoodBankBooking,代码行数:30,代码来源:default.php
示例17:
if(isset($_GET["change-hostname-js"])){ChangeHostName_js();exit;}
if(isset($_GET["hostname"])){hostname();exit;}
if(isset($_GET["ChangeHostName"])){ChangeHostName();exit;}
if(isset($_GET["AddDNSServer"])){AddDNSServer();exit;}
if(isset($_GET["DeleteDNS"])){DeleteDNS();exit;}
if(isset($_GET["DNSServers"])){DNS_SERVERS_POPUP();}
if(isset($_GET["DNSServers-list"])){DNS_SERVERS_POPUP_LIST();}
if(isset($_GET["js"])){js();exit;}
if(isset($_GET["popup"])){popup();exit;}
if(isset($_GET["popup2"])){popup2();exit;}
if(isset($_GET["popup-tabs"])){tabs();exit;}
if(isset($_GET["popup-hostname"])){tabs_hostname();exit;}
if(isset($_GET["virtual-popup-add"])){virtual_add_form();exit;}
if(isset($_GET["virtual-popup-addv6"])){virtual_add_formv6();exit;}
if(isset($_GET["cdir-ipaddr"])){virtual_cdir();exit;}
if(isset($_GET["postfix-virtual"])){virtuals_js();exit;}
if(isset($_GET["js-add-nic"])){echo virtuals_js_datas();exit;}
if(isset($_GET["bridges-add-form"])){Bridges_form_add();exit;}
if(isset($_GET["bridges-list"])){Bridges_list();exit;}
if(isset($_GET["bridge-add"])){Bridges_add();exit;}
if(isset($_GET["bridge-del"])){Bridges_del();exit;}
if(isset($_GET["bridges-rules"])){Bridges_rules();exit;}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:30,代码来源:system.nic.config.php
示例18: tabs
<style type="text">
html, body {
margin: 0; /* Remove body margin/padding */
padding: 0;
overflow: hidden; /* Remove scroll bars on browser window */
font-size: 75%;
}
</style>
<script src="../../../js/jquery.js" type="text/javascript"></script>
<script src="../../../js/i18n/grid.locale-en.js" type="text/javascript"></script>
<script type="text/javascript">
$.jgrid.no_legacy_api = true;
$.jgrid.useJSON = true;
var lastSelection;
</script>
<script src="../../../js/jquery.jqGrid.min.js" type="text/javascript"></script>
<script src="../../../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script>
</head>
<body>
<div>
<?php
include "grid.php";
?>
</div>
<br/>
<?php
tabs(array("grid.php"));
?>
</body>
</html>
开发者ID:nong053,项目名称:prototype-nnit,代码行数:30,代码来源:default.php
示例19: mastercf
function mastercf()
{
$master = new master_cf();
if ($master->error != null) {
ERROR_CLASS($master->error);
exit;
}
$array = $master->master_array;
$tabs = tabs();
$html = "{$tabs}<table class='table_master_cf'>\n\t<tr class=rowT>\n\t<td width=50>service</td>\n\t<td width=20>type</td>\n\t<td width=20>private</td>\n\t<td width=20>unpriv</td>\n\t<td width=20>chroot</td>\n\t<td width=20>wakeup</td>\n\t<td>command + parameters</td>\n\t</td>\n\t";
while (list($num, $val) = each($array)) {
$ligne = $val["LINE"];
if ($class == "rowA") {
$class = "rowB";
} else {
$class = "rowA";
}
$html = $html . "<tr class='{$class}'>\n\t\t<td>{$ligne["SERVICE"]}</TD>\n\t\t<td align='center'>{$ligne["TYPE"]}</TD>\n\t\t<td align='center'>{$ligne["PRIVATE"]}</TD>\n\t\t<td align='center'>{$ligne["UNPRIV"]}</TD>\n\t\t<td align='center'>{$ligne["CHROOT"]}</TD>\n\t\t<td align='center'>{$ligne["WAKEUP"]}</TD>\n\t\t<td align='left'>{$ligne["COMMAND"]}" . table_options($val["OPTIONS"]) . "</TD>\n\t\t</tr>\n\t\t";
}
$html = $html . "</table>";
$tpl = new templates("{title}", $html);
echo $tpl->web_page;
}
开发者ID:brucewu16899,项目名称:artica,代码行数:23,代码来源:global-settings.php
示例20: popup
function popup()
{
$tpl = new templates();
echo $tpl->_ENGINE_parse_body(tabs());
}
开发者ID:articatech,项目名称:artica,代码行数:5,代码来源:setup.index.php
注:本文中的tabs函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论