当前位置: 首页>>代码示例>>PHP>>正文


PHP admin::reports_subtabs方法代码示例

本文整理汇总了PHP中admin::reports_subtabs方法的典型用法代码示例。如果您正苦于以下问题:PHP admin::reports_subtabs方法的具体用法?PHP admin::reports_subtabs怎么用?PHP admin::reports_subtabs使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在admin的用法示例。


在下文中一共展示了admin::reports_subtabs方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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::reports_subtabs("upload");
?>
	</h2>
	<!-- report-form -->
	<div class="report-form">
		<?php 
if ($form_error) {
    ?>
			<!-- red-box -->
			<div class="red-box">
				<h3><?php 
    echo Kohana::lang('ui_main.error');
    ?>
</h3>
				<ul>
                <?php 
开发者ID:Dirichi,项目名称:Ushahidi_Web,代码行数:31,代码来源:upload.php

示例2:

 *
 * 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::reports_subtabs("view");
?>
				</h2>
				<!-- tabs -->
				<div class="tabs">
					<!-- tabset -->
					<ul class="tabset">
						<li><a href="?status=0" <?php 
if ($status != 'a' && $status != 'v') {
    echo "class=\"active\"";
}
?>
><?php 
echo Kohana::lang('ui_main.show_all');
?>
</a></li>
开发者ID:kh411d,项目名称:Ushahidi_Web,代码行数:31,代码来源:reports.php

示例3: 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::reports_subtabs("edit");
?>
				</h2>
				<?php 
print form::open(NULL, array('enctype' => 'multipart/form-data', 'id' => 'reportForm', 'name' => 'reportForm'));
?>
					<input type="hidden" name="save" id="save" value="">
					<input type="hidden" name="location_id" id="location_id" value="<?php 
print $form['location_id'];
?>
">
					<!-- report-form -->
					<div class="report-form">
						<?php 
if ($form_error) {
    ?>
开发者ID:hagaeru3sei,项目名称:Ushahidi_Web,代码行数:31,代码来源:reports_edit.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     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::reports_subtabs("comments");
?>
				</h2>
				<!-- tabs -->
				<div class="tabs">
					<!-- tabset -->
					<ul class="tabset">
						<li><a href="?status=0" <?php 
if ($status != 'a' && $status != 'p' && $status != 's') {
    echo "class=\"active\"";
}
?>
><?php 
echo Kohana::lang('ui_main.show_all');
?>
</a></li>
开发者ID:hagaeru3sei,项目名称:Ushahidi_Web,代码行数:31,代码来源:comments.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::reports_subtabs("download");
?>
	</h2>
	<!-- report-form -->
	<div class="report-form">
		<?php 
if ($form_error) {
    ?>
			<!-- red-box -->
			<div class="red-box">
				<h3><?php 
    echo Kohana::lang('ui_main.error');
    ?>
</h3>
				<ul>
				<?php 
开发者ID:mewsop,项目名称:Ushahidi_Web,代码行数:31,代码来源:reports_download.php

示例6: array

<div class="bg">
	<h2>
		<?php 
admin::reports_subtabs("gpxer");
?>
	</h2>
	
	<?php 
print form::open(NULL, array('enctype' => 'multipart/form-data', 'id' => 'gpxer', 'name' => 'gpxer'));
?>
	<input type="hidden" name="gpx2" value="222">
	<div class="report-form">	
		<div class="head">
			<h3>Upload GPX Files</h3>
		</div>
		<!-- column -->
		
		<?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:rmarianski,项目名称:pps-ushahidi,代码行数:31,代码来源:gpxer.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::reports_subtabs("delete-all");
?>
	</h2>

	<!-- report-form -->
	<div class="report-form">
		<!-- column -->
		<div class="deleteall_container">
			<h1><?php 
echo Kohana::lang('ui_admin.delete_all');
?>
</h1>

			<?php 
if ($report_count > 0) {
    ?>
开发者ID:Dirichi,项目名称:Ushahidi_Web,代码行数:31,代码来源:delete_all.php

示例8: array

<div class="bg">
	<h2>
		<?php 
admin::reports_subtabs("analysis");
?>
	</h2>
	
	<div class="report-form">		
		<div class="head">
			<h3>Analysis</h3>
		</div>
		<!-- column -->
		
		<!-- column -->		
		<div class="settings_holder">
		
			<?php 
print form::open(url::base() . 'admin/reports/edit', array('id' => 'analysis-form', 'method' => 'get'));
?>
			<div class="analysis-report">
				<form>
					<div class="analysis-about">
						<h4>How Analysis Works</h4>
						<ul>
							<li>This tool helps you find related reports in the system based on specified parameters.</li>
							<li>To the right, select the filters you'd like to apply to the reports you're looking for.</li>
							<li>Select the reports you'd like to analyse and click 'Perform Assessment'</li>
						</ul>
						<a href="javascript:hideAbout();">Hide</a>
					</div>
					
开发者ID:nanangsyaifudin,项目名称:HAC-2012,代码行数:30,代码来源:main.php

示例9: foreach

<?php

/**
 * IVR API data export view
 *
 * @author     John Etherton <john@ethertontech.com>
 */
?>

<div class="bg">
	<h2>
		<?php 
admin::reports_subtabs();
?>
	</h2>
	<!-- report-form -->
	<div class="report-form">
		<?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:rrbaker,项目名称:Ushahidi_IVR_API_Plugin,代码行数:31,代码来源:ivrapiexport.php

示例10: isset

 * Reports revision view page.
 *
 * 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     Robbie Mackay
 * @package    Revision
 * @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::reports_subtabs("");
?>
				</h2>
				
				<ul>
				<?php 
foreach ($revisions as $revision) {
    //echo "<li>$revision</li>";
    echo "<li>";
    echo isset($revision->user_id) ? Kohana::lang('ui_admin.edited_by') . " " . $revision->user->name . ". " : '';
    if ($revision->changed_data()) {
        Kohana::lang('revision.changed_fields') . ": <br />";
        echo "<ul>";
        foreach ($revision->changed_data() as $field => $value) {
            if (!is_array($value)) {
                echo "<li>{$field} to {$value}</li>";
开发者ID:rjmackay,项目名称:Ushahidi-plugin-revision,代码行数:31,代码来源:revision.php


注:本文中的admin::reports_subtabs方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。