Skip to content

Commit

Permalink
Increase poll title length
Browse files Browse the repository at this point in the history
  • Loading branch information
xillibit committed Dec 17, 2017
1 parent c7766dd commit c78c315
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,11 @@
versionname="Internal">
<phpfile name="5.0.5-2016-12-20_userlist"/>
</version>
<version version="5.0.13"
versiondate="2017-12-17"
versionname="Internal">
<query mode="silenterror">ALTER TABLE `#__kunena_polls` CHANGE `title` `title` VARCHAR(150);</query>
</version>
<version version="@kunenaversion@"
versiondate="@kunenaversiondate@"
versionname="@kunenaversionname@">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ CREATE TABLE IF NOT EXISTS `#__kunena_messages_text` (

CREATE TABLE IF NOT EXISTS `#__kunena_polls` (
`id` int(11) NOT NULL auto_increment,
`title` varchar(100) NOT NULL,
`title` varchar(150) NOT NULL,
`threadid` int(11) NOT NULL,
`polltimetolive` datetime NULL,
PRIMARY KEY (id),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
<div>
<label class="kpoll-title-lbl" for="kpoll-title"><?php echo JText::_('COM_KUNENA_POLL_TITLE'); ?></label>
<input type="text" class="inputbox" name="poll_title" id="kpoll-title"
maxlength="100" size="40"
maxlength="150" size="40"
value="<?php echo $this->escape($this->poll->title) ?>" />
<?php echo KunenaIcons::poll_add();?>
<?php echo KunenaIcons::poll_rem();?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
<div class="input-group col-md-12" style="padding: 0;">
<label class="kpoll-title-lbl" for="kpoll-title"><?php echo JText::_('COM_KUNENA_POLL_TITLE'); ?></label>
<input type="text" class="inputbox form-control col-md-12" name="poll_title" id="kpoll-title"
maxlength="100" size="40"
maxlength="150" size="40"
value="<?php echo $this->escape($this->poll->title) ?>"
/>
</div>
Expand Down

0 comments on commit c78c315

Please sign in to comment.