2020-06-07 19:04:43 +03:00
|
|
|
{extends "../@layout.xml"}
|
|
|
|
{block title}{_edit_group}{/block}
|
|
|
|
|
|
|
|
{block header}
|
|
|
|
<a href="{$club->getURL()}">{$club->getName()}</a> » {_edit_group}
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block content}
|
|
|
|
<div class="tabs">
|
|
|
|
<div id="activetabs" class="tab">
|
|
|
|
<a id="act_tab_a" href="javascript:void(0)">
|
2020-12-28 03:00:57 +03:00
|
|
|
{_main}
|
2020-06-07 19:04:43 +03:00
|
|
|
</a>
|
|
|
|
</div>
|
2022-12-12 02:23:42 +03:00
|
|
|
<div class="tab">
|
|
|
|
<a href="/club{$club->getId()}/backdrop">
|
|
|
|
{_backdrop_short}
|
|
|
|
</a>
|
|
|
|
</div>
|
2020-06-07 19:04:43 +03:00
|
|
|
<div class="tab">
|
|
|
|
<a href="/club{$club->getId()}/followers">
|
|
|
|
{_followers}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="container_gray">
|
2020-12-28 03:00:57 +03:00
|
|
|
<h4>{_main_information}</h4>
|
2020-06-07 19:04:43 +03:00
|
|
|
<form method="POST" enctype="multipart/form-data">
|
2021-10-10 17:00:52 +03:00
|
|
|
<table cellspacing="7" cellpadding="0" width="60%" border="0" align="center">
|
2020-06-07 19:04:43 +03:00
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td width="120" valign="top">
|
2022-08-09 09:37:08 +03:00
|
|
|
<span class="nobold">{_name}: </span>
|
2020-06-07 19:04:43 +03:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="name" value="{$club->getName()}" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="120" valign="top">
|
2022-08-09 09:37:08 +03:00
|
|
|
<span class="nobold">{_description}: </span>
|
2020-06-07 19:04:43 +03:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<textarea type="text" name="about" style="resize:vertical;">{$club->getDescription()}</textarea>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="120" valign="top">
|
2020-12-28 03:00:57 +03:00
|
|
|
<span class="nobold">{_page_address}: </span>
|
2020-06-07 19:04:43 +03:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="shortcode" value="{$club->getShortcode()}" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-11-12 19:56:41 +03:00
|
|
|
<tr>
|
|
|
|
<td width="120" valign="top">
|
|
|
|
<span class="nobold">{_website}: </span>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="website" value="{$club->getWebsite()}" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
2020-06-07 19:04:43 +03:00
|
|
|
<tr>
|
|
|
|
<td width="120" valign="top">
|
2020-12-28 03:00:57 +03:00
|
|
|
<span class="nobold">{_avatar}: </span>
|
2020-06-07 19:04:43 +03:00
|
|
|
</td>
|
|
|
|
<td>
|
2023-04-24 18:50:26 +03:00
|
|
|
<label class="button" style="">{_browse}
|
|
|
|
<input type="file" id="ava" name="ava" style="display: none;" onchange="filename.innerHTML=ava.files[0].name" />
|
|
|
|
</label>
|
|
|
|
<div id="filename" style="margin-top: 10px;"></div>
|
2020-06-07 19:04:43 +03:00
|
|
|
</td>
|
|
|
|
</tr>
|
2021-12-15 01:27:17 +03:00
|
|
|
<tr>
|
2020-06-07 19:04:43 +03:00
|
|
|
<td width="120" valign="top">
|
2020-12-28 03:00:57 +03:00
|
|
|
<span class="nobold">{_wall}: </span>
|
2020-06-07 19:04:43 +03:00
|
|
|
</td>
|
|
|
|
<td>
|
2022-01-02 01:52:35 +03:00
|
|
|
<input type="checkbox" name="wall" value="1" n:attr="checked => $club->canPost()" /> {_group_allow_post_for_everyone}<br>
|
|
|
|
<input type="checkbox" name="hide_from_global_feed" value="1" n:attr="checked => $club->isHideFromGlobalFeedEnabled()" /> {_group_hide_from_global_feed}
|
2020-06-07 19:04:43 +03:00
|
|
|
</td>
|
|
|
|
</tr>
|
2021-12-15 01:27:17 +03:00
|
|
|
<tr>
|
|
|
|
<td width="120" valign="top">
|
|
|
|
<span class="nobold">{_discussions}: </span>
|
|
|
|
</td>
|
|
|
|
<td>
|
2021-12-22 18:31:58 +03:00
|
|
|
<input type="checkbox" name="everyone_can_create_topics" value="1" n:attr="checked => $club->isEveryoneCanCreateTopics()" /> {_everyone_can_create_topics}<br>
|
|
|
|
<input type="checkbox" name="display_topics_above_wall" value="1" n:attr="checked => $club->isDisplayTopicsAboveWallEnabled()" /> {_display_list_of_topics_above_wall}
|
2021-12-15 01:27:17 +03:00
|
|
|
</td>
|
|
|
|
</tr>
|
2021-11-05 12:44:50 +03:00
|
|
|
<tr>
|
|
|
|
<td width="120" valign="top">
|
|
|
|
<span class="nobold">{_group_administrators_list}: </span>
|
|
|
|
</td>
|
|
|
|
<td>
|
2022-04-24 08:06:45 +03:00
|
|
|
{var $areAllAdminsHidden = $club->getManagersCount(true) == 0}
|
2021-11-12 16:31:23 +03:00
|
|
|
<input type="radio" name="administrators_list_display" value="0" n:attr="checked => $club->getAdministratorsListDisplay() == 0, disabled => $areAllAdminsHidden" /> {_group_display_only_creator}<br>
|
|
|
|
<input type="radio" name="administrators_list_display" value="1" n:attr="checked => $club->getAdministratorsListDisplay() == 1, disabled => $areAllAdminsHidden" /> {_group_display_all_administrators}<br>
|
2021-11-16 13:45:34 +03:00
|
|
|
<input type="radio" name="administrators_list_display" value="2" n:attr="checked => $club->getAdministratorsListDisplay() == 2" /> {_group_dont_display_administrators_list}<br>
|
2021-11-05 12:44:50 +03:00
|
|
|
</td>
|
|
|
|
</tr>
|
2023-07-23 16:09:09 +03:00
|
|
|
<tr>
|
|
|
|
<td width="120" valign="top" align="right">
|
|
|
|
<input n:attr="checked => $club->isAnonCommentsAllowed()" type="checkbox" name="allow_anon_comments">
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{_allow_anon_comments}
|
|
|
|
</td>
|
|
|
|
</tr>
|
2020-06-07 19:04:43 +03:00
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<input type="hidden" name="hash" value="{$csrfToken}" />
|
2022-08-09 09:37:08 +03:00
|
|
|
<input type="submit" value="{_save}" class="button" />
|
2020-06-07 19:04:43 +03:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{/block}
|