Beispiel #1
0
<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>
Beispiel #2
0
 *
 * 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 <*****@*****.**> 
 * @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) {
Beispiel #3
0
					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 
Beispiel #4
0
 *
 * 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 <*****@*****.**> 
 * @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>";
Beispiel #5
0
 * 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 <*****@*****.**> 
 * @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>";
 *
 * 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 <*****@*****.**> 
 * @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>";
Beispiel #7
0
 * 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 <*****@*****.**>
 * @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 
Beispiel #8
0
 *
 * 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 <*****@*****.**> 
 * @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>";
Beispiel #9
0
 *
 * 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 <*****@*****.**> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     Layers 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("layers");
?>
				</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>";
Beispiel #10
0
 *
 * 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 <*****@*****.**> 
 * @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';
Beispiel #11
0
 *
 * 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 <*****@*****.**>
 * @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) {
<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
Beispiel #13
0
		<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');
 *
 * 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 <*****@*****.**> 
 * @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>";
Beispiel #15
0
 *
 * 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 <*****@*****.**> 
 * @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