Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1267

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

Upravy:

- velikost nahledu map u zarizeni a adresnich bodu

Opravy:

- opravy v nastaveni SMS
- doplneni timeoutu k Soundwin driveru pro SMS

Zobrazit rozdíly:

freenetis/branches/testing/application/i18n/cs_CZ/texts.php
'phone already exists in database' => 'Telefon je již v databázi',
'phone invoice has been deleted' => 'Fktura za telefon byla smazána.',
'phone number' => 'Telefonní číslo',
'phone operator of number is not enabled for sending sms' => 'Telefoní operátor, jemuž patří toto číslo, není povolen pro zasílání SMS.',
'phone operator of number is not enabled for sending sms' => 'Telefonní operátor, jemuž patří toto číslo, není povolen pro zasílání SMS.',
'phone number of the sim card' => 'Telefonní číslo SIM karty',
'phone number user' => 'Telefonní číslo uživatele',
'phone invoice has been' => 'Faktura byla',
freenetis/branches/testing/application/controllers/settings.php
$this->form->dropdown('sms_driver')
->label(__('Default driver') . ':')
->rules('required')
->options($drivers)
->selected(Settings::get('sms_driver'));
......
foreach ($form_data as $name => $value)
{
$value = empty($value) ? '' : $value;
// check if variable exists
if ($config_model->check_exist_variable($name))
// update of variable
freenetis/branches/testing/application/libraries/Sms_Klikniavolej.php
*/
public function get_received_messages()
{
return FALSE;
return array();
}
/**
freenetis/branches/testing/application/libraries/Sms_Soudvinv100.php
curl_setopt($curl, CURLOPT_URL, 'http://' . $this->hostname);
curl_setopt($curl, CURLOPT_USERPWD, $this->user . ':' . $this->password);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_TIMEOUT, 30);
$result = curl_exec($curl);
curl_close($curl);
......
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_TIMEOUT, 30);
$result = curl_exec($curl);
curl_close($curl);
......
curl_setopt($curl, CURLOPT_URL, 'http://' . $this->hostname . '/sms.message');
curl_setopt($curl, CURLOPT_USERPWD, $this->user . ':' . $this->password);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_TIMEOUT, 30);
$result = curl_exec($curl);
curl_close($curl);
freenetis/branches/testing/application/views/address_points_show.php
<?php if (!empty($gps)): ?>
<a href="http://maps.google.com/maps?f=q&hl=<?php echo $lang ?>&geocode=&q=<?php echo $gpsx ?>,<?php echo $gpsy ?>&z=18&t=h&ie=UTF8" target="_blank">
<img alt="<?php echo __('Address point detail') ?>" src="http://maps.google.com/maps/api/staticmap?center=<?php echo $gpsx ?>,<?php echo $gpsy ?>&zoom=18&maptype=hybrid&size=400x300&markers=color:red%7C<?php echo $gpsx ?>,<?php echo $gpsy ?>&language<?php echo $lang ?>&sensor=false" style="float: right; margin-right: 10px;" />
<img alt="<?php echo __('Address point detail') ?>" src="http://maps.google.com/maps/api/staticmap?center=<?php echo $gpsx ?>,<?php echo $gpsy ?>&zoom=16&maptype=hybrid&size=400x300&markers=color:red%7C<?php echo $gpsx ?>,<?php echo $gpsy ?>&language<?php echo $lang ?>&sensor=false" style="float: right; margin-right: 10px;" />
</a>
<?php endif; ?>
freenetis/branches/testing/application/views/devices_show.php
<?php if (!empty($gps)): ?>
<a href="http://maps.google.com/maps?f=q&hl=<?php echo $lang ?>&geocode=&q=<?php echo $gpsx ?>,<?php echo $gpsy ?>&z=18&t=h&ie=UTF8" target="_blank">
<img alt="<?php echo __('Address point detail') ?>" src="http://maps.google.com/maps/api/staticmap?center=<?php echo $gpsx ?>,<?php echo $gpsy ?>&zoom=18&maptype=hybrid&size=300x300&markers=color:red%7C<?php echo $gpsx ?>,<?php echo $gpsy ?>&sensor=false" style="float: right; margin-right: 10px;" />
<img alt="<?php echo __('Address point detail') ?>" src="http://maps.google.com/maps/api/staticmap?center=<?php echo $gpsx ?>,<?php echo $gpsy ?>&zoom=16&maptype=hybrid&size=300x300&markers=color:red%7C<?php echo $gpsx ?>,<?php echo $gpsy ?>&sensor=false" style="float: right; margin-right: 10px;" />
</a>
<?php endif; ?>

Také k dispozici: Unified diff