diff --git a/lib/QueryRender.php b/lib/QueryRender.php index 6fdc773..f8d66f5 100644 --- a/lib/QueryRender.php +++ b/lib/QueryRender.php @@ -87,7 +87,7 @@ class QueryRender extends PageRender { echo ''; echo ''; printf('', - $_SESSION[APPCONFIG]->getValue('search','display') == 'list' ? 'selected' : '',_('List')); + $_SESSION[APPCONFIG]->getValue('search','display') == 'list' ? 'selected' : '',_('list')); printf('', - $_SESSION[APPCONFIG]->getValue('search','display') == 'table' ? 'selected' : '',_('Table')); + $_SESSION[APPCONFIG]->getValue('search','display') == 'table' ? 'selected' : '',_('table')); echo ''; echo ''; diff --git a/lib/TemplateRender.php b/lib/TemplateRender.php index 802d8e2..559141c 100644 --- a/lib/TemplateRender.php +++ b/lib/TemplateRender.php @@ -807,7 +807,7 @@ class TemplateRender extends PageRender { if ($this->template_id) { $subtitle .= '
'; - $subtitle .= sprintf('%s: %s',('Template'),$this->template->getID() != 'none' ? $this->template->getTitle() : _('Default')); + $subtitle .= sprintf('%s: %s',_('Template'),$this->template->getID() != 'none' ? $this->template->getTitle() : _('Default')); if ($this->template->getName()) $subtitle .= sprintf(' (%s)',$this->template->getName(false)); } @@ -821,7 +821,7 @@ class TemplateRender extends PageRender { if ($this->template_id) { $subtitle .= '
'; - $subtitle .= sprintf('%s: %s',('Template'),$this->template->getID() != 'none' ? $this->template->getTitle() : _('Default')); + $subtitle .= sprintf('%s: %s',_('Template'),$this->template->getID() != 'none' ? $this->template->getTitle() : _('Default')); if ($this->template->getName()) $subtitle .= sprintf(' (%s)',$this->template->getName(false)); }