本文整理汇总了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
示例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>
示例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) {
?>
示例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>
示例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
示例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>";
}
示例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) {
?>
示例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>
示例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>";
}
示例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>";