bug fixes

parent c6b526f6
......@@ -2,7 +2,7 @@
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}#comments" method="post" accept-charset="UTF-8" class="form-horizontal" style="width:65%;margin:0 auto">
<form action="{$REQUEST_URI}#comments" method="post" accept-charset="UTF-8" class="form-horizontal">
<div class="control-group">
<label for="name" class="control-label">{lang t="system|name"}</label>
<div class="controls"><input type="text" name="name" id="name" maxlength="20" value="{$form.name}" required{$form.name_disabled}></div>
......@@ -11,7 +11,7 @@
<label for="message" class="control-label">{lang t="system|message"}</label>
<div class="controls">
{if isset($emoticons)}{$emoticons}{/if}
<textarea name="message" id="message" cols="50" rows="5" class="span10" required>{$form.message}</textarea>
<textarea name="message" id="message" cols="50" rows="5" class="input-xlarge" required>{$form.message}</textarea>
</div>
</div>
{if isset($captcha)}
......
......@@ -27,7 +27,7 @@ $settings = ACP3_Config::getSettings('news');
// Kategorie in Brotkrümelspur anzeigen
if ($cat !== 0 && $settings['category_in_breadcrumb'] == 1) {
ACP3_CMS::$breadcrumb->append(ACP3_CMS::$lang->t('news', 'news'), ACP3_CMS::$uri->route('news'));
$category = ACP3_CMS::$db2->fetchColumn('SELECT name FROM ' . DB_PRE . 'categories WHERE id = ?', array($cat));
$category = ACP3_CMS::$db2->fetchColumn('SELECT title FROM ' . DB_PRE . 'categories WHERE id = ?', array($cat));
if (!empty($category)) {
ACP3_CMS::$breadcrumb->append($category);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment