Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 753

Přidáno uživatelem Ondřej Fibich před téměř 14 roky(ů)

Pridani vyberu zeme do registrace noveho clena.
Pridani odkazu pro prechod z kontaktu na profil uzivatele.

Zobrazit rozdíly:

freenetis/trunk/kohana/application/i18n/cs_CZ/texts.php
'back to transfers of member' => 'Zpět na převody člena',
'back to transfers of account' => 'Zpět na převody na účtu',
'back to unidentified transfers' => 'Zpět na neidentifikované platby',
'back to users profile' => 'Zpět na profil uživatele',
'back to vlan interface parameters' => 'Zpět na parametry VLAN rozhraní',
'back to vlan interfaces list' => 'Zpět na seznam VLAN rozhraní',
'back to vlans list' => 'Zpět na seznam VLANů',
freenetis/trunk/kohana/application/controllers/registration.php
$arr_towns[$town->id] .= ', '.$town->zip_code;
}
asort($arr_towns, SORT_LOCALE_STRING);
$country_model = new Country_Model();
$arr_countries = $country_model->select_list('id', 'country_name');
$form = new Forge(url_lang::base()."registration", '', 'POST', array('id' => 'article_form'));
......
$form->dropdown('street_id')->label(url_lang::lang('texts.street').':')->rules('required')->options($arr_streets);
$form->input('street_number')->label(url_lang::lang('texts.street number').':')->rules('required|length[1,50]|valid_numeric');
$form->dropdown('town_id')->label(url_lang::lang('texts.town').':')->rules('required')->options($arr_towns);
$form->dropdown('country_id')->label(url_lang::lang('texts.Country').':')->rules('required')->options($arr_countries)->selected(Settings::get('default_country'));
$form->group('')->label(url_lang::lang('texts.Contact information'));
$form->input('phone')->label(url_lang::lang('texts.phone').':')->rules('required|length[9,40]')->callback(array($this, 'valid_phone'));
$form->input('email')->label(url_lang::lang('texts.email').':')->rules('length[3,50]|valid_email')->callback(array($this, 'valid_email'));
......
{
$address_point->clear();
$address_point->country_id = $form_data['country_id'];
$address_point->town_id = $form_data['town_id'];
$address_point->street_id = $form_data['street_id'];
$address_point->street_number = $form_data['street_number'];
freenetis/trunk/kohana/application/views/users/additional_contacts_edit.php
<?php echo $message ? '<div class="message">'.$message.'</div>' : '' ?>
<h2><?php echo url_lang::lang('texts.User contacts'); ?></h2>
<?php echo html::anchor(url_lang::base().'users/show/'.$user_id, url_lang::lang('texts.Back to users profile')) ?> |
<?php echo html::anchor(url_lang::base().'users/additional_contacts/show_all/'.$user_id, url_lang::lang('texts.Show all users contacts')) ?><br /><br />
<h2><?php echo url_lang::lang('texts.Edit contact'); ?></h2><br />
freenetis/trunk/kohana/application/views/users/additional_contacts_add.php
<?php echo $message ? '<div class="message">'.$message.'</div>' : '' ?>
<h2><?php echo url_lang::lang('texts.User contacts'); ?></h2>
<?php echo html::anchor(url_lang::base().'users/show/'.$user_id, url_lang::lang('texts.Back to users profile')) ?> |
<?php echo html::anchor(url_lang::base().'users/additional_contacts/show_all/'.$user_id, url_lang::lang('texts.Show all users contacts')) ?><br /><br />
<h2><?php echo url_lang::lang('texts.Add contact'); ?></h2><br />
freenetis/trunk/kohana/application/views/users/additional_contacts_show_all.php
<h2><?php echo url_lang::lang('texts.User contacts'); ?></h2><br />
<p><?php echo url_lang::lang('texts.Another contact information'); ?></p><br />
<?php echo html::anchor(url_lang::base().'users/show/'.$user_id, url_lang::lang('texts.Back to users profile')) ?> |
<?php if ($can_add) echo html::anchor(url_lang::base().'users/additional_contacts/add/'.$user_id, url_lang::lang('texts.Add contact')) . "<br /><br />" ?>
<?php echo $grid_contacts; ?>

Také k dispozici: Unified diff