Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1280

Přidáno uživatelem Ondřej Fibich před asi 13 roky(ů)

Opravy:

- oprava nacitani jsapi

Zobrazit rozdíly:

freenetis/branches/testing/application/controllers/stats.php
$grid->datasource($dates);
$view = new View('main');
$view->google_jsapi_enabled = TRUE;
$view->content = new View('stats_members_increase_decrease');
$view->content->js_data_array_str = '';
freenetis/branches/testing/application/controllers/js.php
$this->address_point_gps();
}
private function _js_stats()
{
$this->google_jsapi();
}
private function stats()
{
$this->google_jsapi();
}
private function _js_users_show($user_id = NULL)
{
$this->application_password($user_id);
......
}
/**
* Adds javascript for loading google jsapi
*/
private function google_jsapi()
{
$this->views_notready['__pieces_google_jsapi'] =
View::factory('js/__pieces/google_jsapi')->render();
}
/**
* Calculator for VoIP calls
*
* @param integer $user_id
freenetis/branches/testing/application/controllers/ulogd.php
$filter_form->add('avg_upload')
->label(__('Avarage day upload'))
->type('number');
$filter_form->add('avg_download')
->label(__('Avarage day download'))
->type('number');
......
->text('Show traffic');
$view = new View('main');
$view->google_jsapi_enabled = TRUE;
$view->content = new View('ulogd_show_by_member');
$view->content->js_data_array_str = '';
freenetis/branches/testing/application/views/main.php
<?php echo html::script('media/js/messages_cs', FALSE) ?>
<?php echo html::script('media/js/php.min', FALSE) ?>
<script type="text/javascript" src="<?php echo url_lang::base() .'js/' . url_lang::current() . server::query_string() ?>"></script>
<?php if (isset($google_jsapi_enabled)): ?><script type="text/javascript" src="http://www.google.com/jsapi"></script><?php endif ?>
<?php if (!$this->popup && TextEditor::$instance_counter): ?>
<?php echo html::script('media/js/tinymce/tiny_mce', FALSE) ?>
<script type="text/javascript"><!--
freenetis/branches/testing/application/views/ulogd_show_by_member.php
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript"><!--
<?php if ($total_traffics > 1): ?>
......
<h2><?php echo __('Traffic of member') ?> <?php echo $member->name ?></h2><br />
<div id="chart"></div>
<?php echo $form ?><br />
<?php echo $grid ?><br /><br />
<div id="chart"></div>
<?php echo $grid ?><br /><br />

Také k dispozici: Unified diff