2013-05-06 08:45:04 +03:00
|
|
|
{**
|
|
|
|
* Добавление в друзья
|
|
|
|
*
|
|
|
|
* @styles css/modals.css
|
|
|
|
*}
|
|
|
|
|
2014-04-28 13:34:54 +03:00
|
|
|
{extends 'components/modal/modal.tpl'}
|
2013-02-08 17:43:47 +02:00
|
|
|
|
2013-05-06 07:33:38 +03:00
|
|
|
{block name='modal_id'}modal-add-friend{/block}
|
|
|
|
{block name='modal_class'}js-modal-default{/block}
|
|
|
|
{block name='modal_title'}{$aLang.profile_add_friend}{/block}
|
2013-02-08 17:43:47 +02:00
|
|
|
|
2013-05-06 07:33:38 +03:00
|
|
|
{block name='modal_content'}
|
2013-04-12 06:55:43 +03:00
|
|
|
<form id="add_friend_form" onsubmit="return ls.user.addFriend(this,{$oUserProfile->getId()},'add');">
|
2014-05-10 18:45:14 +03:00
|
|
|
{include file='components/field/field.textarea.tpl'
|
|
|
|
sName = 'add_friend_text'
|
|
|
|
aRules = [ 'required' => true, 'rangelength' => '[2,200]' ]
|
|
|
|
iRows = 3
|
|
|
|
bNoMargin = true
|
|
|
|
sLabel = $aLang.user_friend_add_text_label}
|
2013-02-08 17:43:47 +02:00
|
|
|
</form>
|
|
|
|
{/block}
|
|
|
|
|
2013-05-07 02:00:51 +03:00
|
|
|
{block name='modal_footer_begin'}
|
2013-02-08 17:43:47 +02:00
|
|
|
<button type="submit" class="button button-primary" onclick="jQuery('#add_friend_form').submit()">{$aLang.user_friend_add_submit}</button>
|
|
|
|
{/block}
|