summaryrefslogtreecommitdiff
path: root/modules/forum
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-06-27 18:33:33 +0000
committerDries Buytaert <dries@buytaert.net>2005-06-27 18:33:33 +0000
commit58aee8cdad4baef160f7e0cf6dc5e245a1acc080 (patch)
tree329e6127e5033a4dcb9ebc60031a009c6b53cc90 /modules/forum
parentd190e16c9ef0214293ea32306bfb49d3d1233654 (diff)
downloadbrdo-58aee8cdad4baef160f7e0cf6dc5e245a1acc080.tar.gz
brdo-58aee8cdad4baef160f7e0cf6dc5e245a1acc080.tar.bz2
- Patch #25603 by Stefan: made the sizes of forms consistent.
TODO: document the defaults in the PHPdoc comments.
Diffstat (limited to 'modules/forum')
-rw-r--r--modules/forum/forum.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 407200040..5527947fc 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -161,7 +161,7 @@ function _forum_confirm_delete($tid) {
* @param $edit Associative array containing a container term to be added or edited.
*/
function forum_form_container($edit = array()) {
- $form = form_textfield(t('Container name'), 'name', $edit['name'], 50, 64, t('The container name is used to identify related forums.'), NULL, TRUE);
+ $form = form_textfield(t('Container name'), 'name', $edit['name'], 60, 64, t('The container name is used to identify related forums.'), NULL, TRUE);
$form .= form_textarea(t('Description'), 'description', $edit['description'], 60, 5, t('The container description can give users more information about the forums it contains.'));
$form .= _forum_parent_select($edit['tid'], t('Parent'), 'parent][', 'container');
@@ -183,7 +183,7 @@ function forum_form_container($edit = array()) {
* @param $edit Associative array containing a forum term to be added or edited.
*/
function forum_form_forum($edit = array()) {
- $form = form_textfield(t('Forum name'), 'name', $edit['name'], 50, 64, t('The forum name is used to identify related topic discussions.'), NULL, TRUE);
+ $form = form_textfield(t('Forum name'), 'name', $edit['name'], 60, 64, t('The forum name is used to identify related topic discussions.'), NULL, TRUE);
$form .= form_textarea(t('Description'), 'description', $edit['description'], 60, 5, t('The forum description can give users more information about the discussion topics it contains.'));
$form .= _forum_parent_select($edit['tid'], t('Parent'), 'parent][', 'forum');