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