1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 00:27:45 +02:00

FAQs GUI field size fix.

This commit is contained in:
Cameron
2014-07-05 01:30:28 -07:00
parent de3cbe913d
commit 7faa098d97
2 changed files with 5 additions and 3 deletions

View File

@@ -19,7 +19,6 @@
*/
class plugin_faqs_list_controller extends eControllerFront
{
/**
@@ -62,6 +61,7 @@ class plugin_faqs_list_controller extends eControllerFront
$FAQ_START = e107::getTemplate('faqs', true, 'start');
$FAQ_END = e107::getTemplate('faqs', true, 'end');
$FAQ_LISTALL = e107::getTemplate('faqs', true, 'all');
$FAQ_CAPTION = e107::getTemplate('faqs', true, 'caption');
// request parameter based on filter (int match in this case, see $this->filter[all][category]) - SAFE to be used in a query
$category = $this->getRequest()->getRequestParam('category');
@@ -133,7 +133,9 @@ class plugin_faqs_list_controller extends eControllerFront
}
}
$this->addTitle(LAN_PLUGIN_FAQS_FRONT_NAME);
$caption = ($FAQ_CAPTION) ? $FAQ_CAPTION : LAN_PLUGIN_FAQS_FRONT_NAME;
$this->addTitle($caption);
$this->addBody($text);
}