2014-01-19 05:21:49 +01:00
|
|
|
<form class="add-chatroom" action="" method="post">
|
2014-12-13 00:15:19 +01:00
|
|
|
<label>{{label_room_name}}</label>
|
2014-01-19 05:21:49 +01:00
|
|
|
<input type="text" name="chatroom" class="new-chatroom-name"
|
|
|
|
placeholder="{{label_room_name}}"/>
|
2014-12-13 00:15:19 +01:00
|
|
|
<label>{{label_nickname}}</label>
|
2014-01-19 05:21:49 +01:00
|
|
|
<input type="text" name="nick" class="new-chatroom-nick"
|
|
|
|
placeholder="{{label_nickname}}"/>
|
2015-06-11 15:00:30 +02:00
|
|
|
{[ if (server_input_type != 'hidden') { ]}
|
|
|
|
<label{{server_label_global_attr}}>{{label_server}}</label>
|
|
|
|
{[ } ]}
|
2014-01-19 05:21:49 +01:00
|
|
|
<input type="{{server_input_type}}" name="server" class="new-chatroom-server"
|
|
|
|
placeholder="{{label_server}}"/>
|
2015-03-06 11:46:13 +01:00
|
|
|
<div class="button-group">
|
|
|
|
<input type="submit" class="left" name="join" value="{{label_join}}"/>
|
|
|
|
<input type="button" class="right" name="show" id="show-rooms" value="{{label_show_rooms}}"/>
|
|
|
|
</div>
|
2014-01-19 05:21:49 +01:00
|
|
|
</form>
|
|
|
|
<dl id="available-chatrooms"></dl>
|