Revize 1362
Přidáno uživatelem Ondřej Fibich před více než 12 roky(ů)
freenetis/branches/testing/application/views/members/show.php | ||
---|---|---|
<td><?php echo __('Phone') ?></td>
|
||
<td>
|
||
<?php
|
||
if ($this->session->get('member_id') != $member->id && $this->acl_check_view('Settings_Controller', 'system') && valid::phone($contact->value))
|
||
if ($this->acl_check_view('Settings_Controller', 'system') && valid::phone($contact->value))
|
||
{
|
||
echo html::anchor('sms/send/'.$contact->value, html::image(array('src' => 'media/images/icons/send_sms.png', 'alt' => __('Send SMS'), 'title' => __('Send SMS'))), array('title' => __('Send SMS')));
|
||
}
|
||
... | ... | |
<table class="picturebox">
|
||
<tr>
|
||
<td><?php echo __('E-mail') ?></td>
|
||
<td>
|
||
<?php
|
||
if ($this->session->get('member_id') != $member->id)
|
||
{
|
||
<td><?php
|
||
echo form::open(url_lang::base().'email') ;
|
||
echo form::hidden('email_member_id', $member->id );
|
||
echo form::hidden('address', $contact->value );
|
||
echo form::imagebutton('submit', url::base().'media/images/icons/write_email.png', array('title' => __('Send e-mail'), 'style' => 'width:16px; height:16px; border-width: 0px 0px 0px 0px; border-spacing: 0px;'));
|
||
echo form::close();
|
||
}
|
||
?>
|
||
</td>
|
||
?></td>
|
||
</tr>
|
||
</table>
|
||
</th>
|
Také k dispozici: Unified diff
Oprava #73 (Moznost si poslat sam sobe e-mail/SMS)