Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
105ca1f4e4 | ||
|
|
f70031ab70 |
@@ -23,6 +23,6 @@ Szkielet komponentu Joomla 6 do gromadzenia pytań testowych.
|
|||||||
|
|
||||||
## Instalacja
|
## Instalacja
|
||||||
|
|
||||||
W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.10.3).
|
W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.10.5).
|
||||||
|
|
||||||
Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**.
|
Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**.
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
-- No database changes required for version 1.10.4.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
-- No database changes required for version 1.10.5.
|
||||||
@@ -18,7 +18,9 @@ class HtmlView extends BaseHtmlView
|
|||||||
$this->form = $this->get('Form');
|
$this->form = $this->get('Form');
|
||||||
$this->item = $this->get('Item');
|
$this->item = $this->get('Item');
|
||||||
ToolbarHelper::title($this->item->id ? Text::_('COM_TESTQUESTIONS_EDIT_SUBJECT') : Text::_('COM_TESTQUESTIONS_NEW_SUBJECT'));
|
ToolbarHelper::title($this->item->id ? Text::_('COM_TESTQUESTIONS_EDIT_SUBJECT') : Text::_('COM_TESTQUESTIONS_NEW_SUBJECT'));
|
||||||
|
ToolbarHelper::apply('subject.apply', 'JTOOLBAR_APPLY');
|
||||||
ToolbarHelper::save('subject.save', 'JTOOLBAR_SAVE');
|
ToolbarHelper::save('subject.save', 'JTOOLBAR_SAVE');
|
||||||
|
ToolbarHelper::save2new('subject.save2new', 'JTOOLBAR_SAVE_AND_NEW');
|
||||||
ToolbarHelper::cancel('subject.cancel', 'JTOOLBAR_CANCEL');
|
ToolbarHelper::cancel('subject.cancel', 'JTOOLBAR_CANCEL');
|
||||||
|
|
||||||
return parent::display($tpl);
|
return parent::display($tpl);
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
<?php defined('_JEXEC') or die; ?>
|
<?php
|
||||||
|
|
||||||
|
defined('_JEXEC') or die;
|
||||||
|
|
||||||
|
Joomla\CMS\HTML\HTMLHelper::_('behavior.formvalidator');
|
||||||
|
?>
|
||||||
<form action="index.php?option=com_testquestions&view=subject&layout=edit&id=<?php echo (int) $this->item->id; ?>" method="post" name="adminForm" id="subject-form" class="form-validate">
|
<form action="index.php?option=com_testquestions&view=subject&layout=edit&id=<?php echo (int) $this->item->id; ?>" method="post" name="adminForm" id="subject-form" class="form-validate">
|
||||||
<?php echo $this->form->renderField('title'); ?>
|
<?php echo $this->form->renderField('title'); ?>
|
||||||
<?php echo $this->form->renderField('published'); ?>
|
<?php echo $this->form->renderField('published'); ?>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<creationDate>2026-10-14</creationDate>
|
<creationDate>2026-10-14</creationDate>
|
||||||
<author>Komponent</author>
|
<author>Komponent</author>
|
||||||
<license>GNU General Public License version 2 or later</license>
|
<license>GNU General Public License version 2 or later</license>
|
||||||
<version>1.10.3</version>
|
<version>1.10.5</version>
|
||||||
<description>COM_TESTQUESTIONS_DESCRIPTION</description>
|
<description>COM_TESTQUESTIONS_DESCRIPTION</description>
|
||||||
<element>com_testquestions</element>
|
<element>com_testquestions</element>
|
||||||
<namespace path="src">Komponent\Component\Testquestions</namespace>
|
<namespace path="src">Komponent\Component\Testquestions</namespace>
|
||||||
|
|||||||
Reference in New Issue
Block a user