Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
887b27f30b |
@@ -30,6 +30,6 @@ Szkielet komponentu Joomla 6 do gromadzenia pytań testowych.
|
||||
|
||||
## Instalacja
|
||||
|
||||
W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.43.16).
|
||||
W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.43.17).
|
||||
|
||||
Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
-- Wydanie 1.43.17: zmieniono przyciski paska narzędzi podglądu zestawu.
|
||||
@@ -29,13 +29,25 @@ class HtmlView extends BaseHtmlView
|
||||
'media/com_testquestions/egzamin.css'
|
||||
);
|
||||
ToolbarHelper::title(Text::_('COM_TESTQUESTIONS_PREVIEW_TITLE'));
|
||||
|
||||
if ($this->set) {
|
||||
ToolbarHelper::link(
|
||||
$this->set
|
||||
? Route::_('index.php?option=com_testquestions&task=set.edit&id=' . (int) $this->set->id)
|
||||
: Route::_('index.php?option=com_testquestions&view=questions'),
|
||||
$this->set ? 'COM_TESTQUESTIONS_EDIT_SET' : 'COM_TESTQUESTIONS',
|
||||
Route::_('index.php?option=com_testquestions&view=sets'),
|
||||
'COM_TESTQUESTIONS_SETS',
|
||||
'arrow-left'
|
||||
);
|
||||
ToolbarHelper::link(
|
||||
Route::_('index.php?option=com_testquestions&task=set.edit&id=' . (int) $this->set->id),
|
||||
'COM_TESTQUESTIONS_EDIT_SET',
|
||||
'edit'
|
||||
);
|
||||
} else {
|
||||
ToolbarHelper::link(
|
||||
Route::_('index.php?option=com_testquestions&view=questions'),
|
||||
'COM_TESTQUESTIONS',
|
||||
'arrow-left'
|
||||
);
|
||||
}
|
||||
|
||||
return parent::display($tpl);
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<creationDate>2026-10-14</creationDate>
|
||||
<author>Komponent</author>
|
||||
<license>GNU General Public License version 2 or later</license>
|
||||
<version>1.43.16</version>
|
||||
<version>1.43.17</version>
|
||||
<description>COM_TESTQUESTIONS_DESCRIPTION</description>
|
||||
<element>com_testquestions</element>
|
||||
<namespace path="src">Komponent\Component\Testquestions</namespace>
|
||||
|
||||
Reference in New Issue
Block a user