1
Fork 0
mirror of https://github.com/Quackster/Havana.git synced 2025-07-03 05:07:46 +00:00
Havana/tools/www-tpl/default-en/groups/discussions/opentopicsettings.tpl
2024-01-18 07:20:21 +01:00

34 lines
No EOL
1.9 KiB
Smarty

<form action="#" method="post" id="topic-settings-form">
<div id="topic-name-area">
<div class="topic-name-input">
<span class="topic-name-text" id="topic_name_text">Topic: (max 32 characters)</span>
</div>
<div class="topic-name-input">
{% autoescape 'html' %}
<input type="text" size="38" maxlength="32" name="topic_name" id="topic_name" onKeyUp="GroupUtils.validateGroupElements('topic_name', 32, 'myhabbo.topic.name.max.length.exceeded');" value="{{ topic.getTopicTitle() }}"/>
{% endautoescape %}
</div>
<div id="topic-name-error"></div>
<div id="topic_name_message_error" class="error"></div>
</div>
<div id="topic-type-area">
<div class="topic-type-label">
<span class="topic-type-label">Type:</span>
</div>
<div class="topic-type-input">
<input type="radio" name="topic_type" id="topic_open" value="0" {% if topic.isOpen %}checked="true" {% endif %}/> Open
<br />
<input type="radio" name="topic_sticky" id="topic_normal" value="0" {% if topic.isStickied() == false %}checked="true" {% endif %}/> Normal </div>
<div class="topic-type-input">
<input type="radio" name="topic_type" id="topic_closed" value="1" {% if topic.isOpen == false %}checked="true" {% endif %}/> Closed
<br />
<input type="radio" name="topic_sticky" id="topic_sticky" value="1" {% if topic.isStickied() %}checked="true" {% endif %}/> Sticky thread </div>
</div>
<br clear="all"/>
<br clear="all"/>
<div id="topic-button-area" class="topic-button-area">
<a href="#" class="new-button cancel-topic-settings" id="cancel-topic-settings"><b>Cancel</b><i></i></a>
<a href="#" class="new-button delete-topic" id="delete-topic"><b>Delete</b><i></i></a> <a href="#" class="new-button save-topic-settings" style="float:left; margin:0px;" id="save-topic-settings"><b>Ok</b><i></i></a>
</div>
</form>
<div class="clear"></div>