當前位置: 首頁>>代碼示例>>PHP>>正文


PHP admin::settings_subtabs方法代碼示例

本文整理匯總了PHP中admin::settings_subtabs方法的典型用法代碼示例。如果您正苦於以下問題:PHP admin::settings_subtabs方法的具體用法?PHP admin::settings_subtabs怎麽用?PHP admin::settings_subtabs使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在admin的用法示例。


在下文中一共展示了admin::settings_subtabs方法的12個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1:

 *
 * PHP version 5
 * LICENSE: This source file is subject to LGPL license 
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     API Controller
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
			<div class="bg">
				<h2>
					<?php 
admin::settings_subtabs("map");
?>
				</h2>
				<?php 
print form::open();
?>
					<div class="report-form">
						<?php 
if ($form_error) {
    ?>
							<!-- red-box -->
							<div class="red-box">
								<h3><?php 
    echo Kohana::lang('ui_main.error');
    ?>
</h3>
開發者ID:huslage,項目名稱:Ushahidi_Web,代碼行數:31,代碼來源:settings.php

示例2: array

 *
 * PHP version 5
 * LICENSE: This source file is subject to LGPL license 
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     API Controller
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
			<div class="bg">
				<h2>
					<?php 
admin::settings_subtabs("cleanurl");
?>
				</h2>
				<?php 
print form::open(NULL, array('id' => 'cleanurlForm', 'name' => 'cleanurlForm', 'action' => url::site() . 'admin/settings/cleanurl'));
?>
				<div class="report-form">
					<?php 
if ($form_error) {
    ?>
						<!-- red-box -->
						<div class="red-box">
							<h3><?php 
    echo Kohana::lang('ui_main.error');
    ?>
</h3>
開發者ID:Dirichi,項目名稱:Ushahidi_Web,代碼行數:31,代碼來源:cleanurl.php

示例3:

 *
 * PHP version 5
 * LICENSE: This source file is subject to LGPL license 
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     API Controller
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
			<div class="bg">
				<h2>
					<?php 
admin::settings_subtabs("site");
?>

				</h2>
				<?php 
print form::open();
?>
				<div class="report-form">
					<?php 
if ($form_error) {
    ?>
						<!-- red-box -->
						<div class="red-box">
							<h3><?php 
    echo Kohana::lang('ui_main.error');
    ?>
開發者ID:Bridgeborn,項目名稱:Ushahidi_Web,代碼行數:31,代碼來源:site.php

示例4:

 * PHP version 5
 * LICENSE: This source file is subject to LGPL license 
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     Facebook Settings View
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
			<div class="bg">

				<h2>
					<?php 
admin::settings_subtabs("facebook");
?>
				</h2>
				<?php 
print form::open();
?>
				<div class="report-form">
					<?php 
if ($form_error) {
    ?>
						<!-- red-box -->
						<div class="red-box">
							<h3><?php 
    echo Kohana::lang('ui_main.error');
    ?>
</h3>
開發者ID:huslage,項目名稱:Ushahidi_Web,代碼行數:31,代碼來源:facebook.php

示例5:

 *
 * PHP version 5
 * LICENSE: This source file is subject to LGPL license
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com>
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     API Controller
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL)
 */
?>
<div class="bg">
	<h2>
	<?php 
admin::settings_subtabs("email");
?>
	</h2>
	<?php 
print form::open();
?>
	<div class="report-form">
	<?php 
if ($form_error) {
    ?>
		<!-- red-box -->
		<div class="red-box">
			<h3>
			<?php 
    echo Kohana::lang('ui_main.error');
    ?>
開發者ID:kjgarza,項目名稱:ushahidi,代碼行數:31,代碼來源:email.php

示例6: array

 *
 * PHP version 5
 * LICENSE: This source file is subject to LGPL license 
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     Settings Controller
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
			<div class="bg">
				<h2>
					<?php 
admin::settings_subtabs("https");
?>
				</h2>
				<?php 
print form::open(NULL, array('id' => 'httpsForm', 'name' => 'httpsForm', 'action' => url::site() . 'admin/settings/https'));
?>
				<div class="report-form">
					<?php 
if ($form_error) {
    ?>
						<!-- red-box -->
						<div class="red-box">
							<h3><?php 
    echo Kohana::lang('ui_main.error');
    ?>
</h3>
開發者ID:mewsop,項目名稱:Ushahidi_Web,代碼行數:31,代碼來源:https.php

示例7: foreach

 *
 * PHP version 5
 * LICENSE: This source file is subject to LGPL license
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com>
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     External Apps View
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL)
 */
?>
			<div class="bg">
				<h2>
					<?php 
admin::settings_subtabs("externalapps");
?>
				</h2>

				<?php 
if ($form_error) {
    ?>
					<!-- red-box -->
					<div class="red-box">
						<h3><?php 
    echo Kohana::lang('ui_main.error');
    ?>
</h3>
						<ul>
						<?php 
    foreach ($errors as $error_item => $error_description) {
開發者ID:Dirichi,項目名稱:Ushahidi_Web,代碼行數:31,代碼來源:main.php

示例8:

 * PHP version 5
 * LICENSE: This source file is subject to LGPL license
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com>
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     API Controller
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL)
 */
?>
<div
	class="bg">
	<h2>
	<?php 
admin::settings_subtabs("api");
?>
	</h2>

	<!-- tabs -->
	<div class="tabs">
		<!-- tabset -->
		<ul class="tabset">
			<li><a href="<?php 
echo url::site();
?>
admin/settings/api"><?php 
echo Kohana::lang('ui_admin.api_settings');
?>
			</a></li>
			<li><a href="<?php 
開發者ID:kjgarza,項目名稱:ushahidi,代碼行數:31,代碼來源:api_banned.php

示例9: array

 *
 * PHP version 5
 * LICENSE: This source file is subject to LGPL license 
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     API Controller
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
<div class="bg">
	<h2>
		<?php 
admin::settings_subtabs("flickrwijit");
?>
	</h2>
	<?php 
print form::open(NULL, array('id' => 'flickrwijitForm', 'name' => 'flickrwijitForm', 'action' => url::site() . 'admin/flickrwijit'));
?>
	<div class="report-form">
	<?php 
if ($form_error) {
    ?>
		<!-- red-box -->
		<div class="red-box">
			<h3><?php 
    echo Kohana::lang('ui_main.error');
    ?>
</h3>
開發者ID:eyedol,項目名稱:flickrwijit,代碼行數:31,代碼來源:flickrwijit_form.php

示例10:

 * PHP version 5
 * LICENSE: This source file is subject to LGPL license
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com>
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     API Controller
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL)
 */
?>
<div class="bg">

	<h2>
	<?php 
admin::settings_subtabs("sms");
?>
	</h2>
	<?php 
print form::open();
?>
	<div class="report-form">
	<?php 
if ($form_error) {
    ?>
		<!-- red-box -->
		<div class="red-box">
			<h3>
			<?php 
    echo Kohana::lang('ui_main.error');
    ?>
開發者ID:kjgarza,項目名稱:ushahidi,代碼行數:31,代碼來源:sms.php

示例11:

 *
 * PHP version 5
 * LICENSE: This source file is subject to LGPL license 
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     Themes View
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
			<div class="bg">
				<h2>
					<?php 
admin::settings_subtabs("themes");
?>
				</h2>
				<?php 
print form::open();
?>
				<div class="report-form">
					<?php 
if ($form_error) {
    ?>
						<!-- red-box -->
						<div class="red-box">
							<h3><?php 
    echo Kohana::lang('ui_main.error');
    ?>
</h3>
開發者ID:jetherton,項目名稱:Ushahidi_Web,代碼行數:31,代碼來源:themes.php

示例12: defined

defined('SYSPATH') or die('No direct script access allowed.');
/**
 * Timespan settings view
 *
 * LICENSE: This source file is subject to LGPL license
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author	   John Etherton
 * @package	   Time Span
 * @license	   http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL)
 */
?>

<div class="bg">
	<h2><?php 
admin::settings_subtabs("timespan");
?>
</h2>
	<?php 
print form::open();
?>
	<div class="report-form">
		<?php 
if ($form_error) {
    ?>
		<!-- red-box -->
		<div class="red-box">
			<h3><?php 
    echo Kohana::lang('ui_main.error');
    ?>
</h3>
開發者ID:rjmackay,項目名稱:timespan,代碼行數:31,代碼來源:timespan_admin.php


注:本文中的admin::settings_subtabs方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。