summaryrefslogtreecommitdiff
path: root/includes/pages
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-12-18 13:22:10 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2018-12-18 13:22:10 +0100
commit204ff4c0e79fab0d1f73daa29a026582efffee69 (patch)
treeb0570be6cfcf43c12e06b049e7fec2721184d699 /includes/pages
parentc676e73cf6c326bc067627d9d623494dd0b243cf (diff)
rooms admin: Set a maximum character length
closes #525 (Room names with more than 35 characters dispatch a team of untrained monkeys)
Diffstat (limited to 'includes/pages')
-rw-r--r--includes/pages/admin_rooms.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/admin_rooms.php b/includes/pages/admin_rooms.php
index 558145bc..bc0eb651 100644
--- a/includes/pages/admin_rooms.php
+++ b/includes/pages/admin_rooms.php
@@ -158,7 +158,7 @@ function admin_rooms()
form([
div('row', [
div('col-md-6', [
- form_text('name', __('Name'), $name),
+ form_text('name', __('Name'), $name, false, 35),
form_checkbox('from_frab', __('Frab import'), $from_frab),
form_text('map_url', __('Map URL'), $map_url),
form_info('', __('The map url is used to display an iframe on the room page.')),