From 3b17f32047ad9b72cb0f2ad95c0fa2af3a362314 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Sun, 19 Feb 2012 19:37:39 +1100 Subject: [PATCH] increased board uri/title/subtitle character limits --- inc/mod.php | 6 +++--- install.php | 7 ++++++- install.sql | 6 +++--- mod.php | 6 +++--- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/inc/mod.php b/inc/mod.php index 556a274e..f2e52b21 100644 --- a/inc/mod.php +++ b/inc/mod.php @@ -213,17 +213,17 @@ '' . '' . '' . - '' . '' . '' . '' . - '' . '' . '' . '' . - '' . '' . '' . diff --git a/install.php b/install.php index 12f55bfc..86aef14b 100644 --- a/install.php +++ b/install.php @@ -1,6 +1,6 @@ 8) + if(mb_strlen($b['uri']) > 15) error(sprintf($config['error']['toolong'], 'URI')); - if(mb_strlen($b['title']) > 20) + if(strlen($b['title']) > 40) error(sprintf($config['error']['toolong'], 'title')); - if(mb_strlen($b['subtitle']) > 40) + if(strlen($b['subtitle']) > 120) error(sprintf($config['error']['toolong'], 'subtitle')); if(!preg_match('/^\w+$/', $b['uri']))
' . + '' . ' (eg. "b"; "mu")
' . + '' . ' (eg. "Random")
' . + '' . ' (optional)