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


PHP admin::manage_subtabs方法代碼示例

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


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

示例1:

<div class="bg">

	<h2>
		<?php 
admin::manage_subtabs("publiclisting");
?>
	</h2>

	<iframe src ="<?php 
echo Kohana::config('core.site_protocol');
?>
://tracker.ushahidi.com/list/manage.php?id=<?php 
echo $encoded_stat_id;
?>
&key=<?php 
echo $encoded_stat_key;
?>
&lat=<?php 
echo $lat;
?>
&lon=<?php 
echo $lon;
?>
" width="100%" height="700" border="0" style="border:0px;">
	<p>Error: Your browser does not support iframes.</p>
	</iframe>

</div>
開發者ID:niiyatii,項目名稱:crowdmap,代碼行數:28,代碼來源:publiclisting.php

示例2: 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     Blocks 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::manage_subtabs("blocks");
?>
				</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

示例3: function

					selected_specific_days = jQuery.grep(selected_specific_days, function (a) { return a != String(selectedDate); });
				}
				$("#action_specific_days").attr("value", selected_specific_days.join(','));
			}
		);




});
</script>

			<div class="bg">
				<h2>
					<?php 
admin::manage_subtabs("actions");
?>
				</h2>
				<div style="width:100%;background-color:#FFD8D9;padding:4px 0px;"><img src="<?php 
echo url::file_loc('img');
?>
media/img/experimental.png" alt="<?php 
echo Kohana::lang('ui_admin.experimental');
?>
" style="position:relative;float:left;padding-left:250px;padding-right:5px;"/>This is an experimental feature. The Ushahidi and Crowdmap Teams cannot be <br/>responsible for any mishaps, bugs or quirks that show up when using Actions.</div>
				<?php 
if ($form_error) {
    ?>
					<!-- red-box -->
					<div class="red-box">
						<h3><?php 
開發者ID:nemmy,項目名稱:Ushahidi_Web,代碼行數:31,代碼來源:actions.php

示例4: 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     Pages 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::manage_subtabs("pages");
?>
				</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) {
        print !$error_description ? '' : "<li>" . $error_description . "</li>";
開發者ID:nebogeo,項目名稱:borrowed-scenery,代碼行數:31,代碼來源:pages.php

示例5: 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     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::manage_subtabs("forms");
?>
			</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) {
        // print "<li>" . $error_description . "</li>";
開發者ID:Bridgeborn,項目名稱:Ushahidi_Web,代碼行數:31,代碼來源:forms.php

示例6: 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     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::manage_subtabs("categories");
?>
				</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) {
        // print "<li>" . $error_description . "</li>";
開發者ID:nebogeo,項目名稱:borrowed-scenery,代碼行數:31,代碼來源:categories.php

示例7:

 * 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::manage_subtabs("feeds");
?>
	</h2>
	<!-- tabs -->
	<div class="tabs">
		<!-- tabset -->
		<ul class="tabset">
			<li><a href="<?php 
echo url::site() . 'admin/manage/feeds';
?>
"
				class="active"><?php 
echo Kohana::lang('ui_main.feeds');
?>
 </a></li>
			<li><a href="<?php 
開發者ID:kjgarza,項目名稱:ushahidi,代碼行數:31,代碼來源:feeds.php

示例8: 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     Sharing 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::manage_subtabs("sharing");
?>
				</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) {
        // print "<li>" . $error_description . "</li>";
開發者ID:mewsop,項目名稱:Ushahidi_Web,代碼行數:31,代碼來源:sharing.php

示例9:

 *
 * 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::manage_subtabs("scheduler");
?>
				</h2>
				<!-- tabs -->
				<div class="tabs">
					<!-- tabset -->
					<ul class="tabset">
						<li><a href="<?php 
echo url::site() . 'admin/manage/scheduler';
?>
" class="active"><?php 
echo Kohana::lang('ui_main.scheduler');
?>
</a></li>
						<li><a href="<?php 
echo url::site() . 'admin/manage/scheduler/log';
開發者ID:huslage,項目名稱:Ushahidi_Web,代碼行數:31,代碼來源:scheduler.php

示例10: 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     Badges 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::manage_subtabs("badges");
?>
				</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:neumicro,項目名稱:Ushahidi_Web_Dev,代碼行數:31,代碼來源:badges.php

示例11:

<div class="bg">
	<h2>
		<?php admin::manage_subtabs("trustedwebreporters"); ?>
	</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)
			{
				// print "<li>" . $error_description . "</li>";
				print (!$error_description) ? '' : "<li>" . $error_description . "</li>";
			}
			?>
			</ul>
		</div>
	<?php
	}

	if ($form_saved) {
	?>
		<!-- green-box -->
		<div class="green-box">
			<h3><?php echo Kohana::lang('ui_main.reporter_has_been');?> <?php echo $form_action; ?>!</h3>
		</div>
	<?php
開發者ID:rindou240,項目名稱:Ushahidi_Web,代碼行數:31,代碼來源:trustedwebreporters.php

示例12: foreach

		<div class="bg">
				<h2>
					<?php 
admin::manage_subtabs("reporters");
?>
				</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) {
        print !$error_description ? '' : "<li>" . $error_description . "</li>";
    }
    ?>
						</ul>
					</div>
				<?php 
}
if ($form_saved) {
    ?>
					<!-- green-box -->
					<div class="green-box">
						<h3><?php 
    echo Kohana::lang('ui_main.reporter_has_been');
開發者ID:jetherton,項目名稱:Ushahidi_Web,代碼行數:31,代碼來源:reporters.php

示例13: 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     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::manage_subtabs("organizations");
?>
				</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) {
        print !$error_description ? '' : "<li>" . $error_description . "</li>";
開發者ID:nebogeo,項目名稱:borrowed-scenery,代碼行數:31,代碼來源:organizations.php

示例14:

 *
 * 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::manage_subtabs("alerts");
?>
				</h2>				
				<!-- tabs -->
				<div class="tabs">
					<!-- tabset -->
					<ul class="tabset">
						<li><a href="<?php 
echo url::site() . "admin/manage/alerts/";
?>
" <?php 
if ($type == '0' or empty($type)) {
    echo "class=\"active\"";
}
?>
><?php 
開發者ID:Dirichi,項目名稱:Ushahidi_Web,代碼行數:31,代碼來源:main.php


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