-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
431 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<extension version="3.9" type="component" method="upgrade"> | ||
<name>COM_${NAME.toUpperCase()}</name> | ||
<author>${author}</author> | ||
<creationDate>${creationDate}</creationDate> | ||
<copyright>${copyright}</copyright> | ||
<license>${license}</license> | ||
<authorEmail>${authorEmail}</authorEmail> | ||
<authorUrl>${authorUrl}</authorUrl> | ||
<version>${version}</version> | ||
<description>COM_${NAME.toUpperCase()}_DESCRIPTION</description> | ||
<scriptfile>script.php</scriptfile> | ||
<install> | ||
<sql> | ||
<file driver="mysql" charset="utf8">sql/install.mysql.utf8.sql</file> | ||
</sql> | ||
</install> | ||
<uninstall> | ||
<sql> | ||
<file driver="mysql" charset="utf8">sql/uninstall.mysql.utf8.sql</file> | ||
</sql> | ||
</uninstall> | ||
<files folder="site"> | ||
<folder>controllers</folder> | ||
<folder>helpers</folder> | ||
<folder>models</folder> | ||
<folder>views</folder> | ||
<filename>controller.php</filename> | ||
<filename>${NAME}.php</filename> | ||
<filename>router.php</filename> | ||
</files> | ||
<languages folder="site"> | ||
<language tag="en-GB">language/en-GB/en-GB.com_${NAME}.ini</language> | ||
<language tag="en-GB">language/en-GB/en-GB.com_${NAME}.sys.ini</language> | ||
<language tag="ru-RU">language/ru-RU/ru-RU.com_${NAME}.ini</language> | ||
<language tag="ru-RU">language/ru-RU/ru-RU.com_${NAME}.sys.ini</language> | ||
</languages> | ||
<administration> | ||
<menu>COM_${NAME.toUpperCase()}</menu> | ||
<submenu> | ||
<menu option="com_${NAME.toLowerCase()}" view="name">COM_${NAME.toLowerCase()}_</menu> | ||
</submenu> | ||
<files folder="admin"> | ||
<folder>controllers</folder> | ||
<folder>helpers</folder> | ||
<folder>models</folder> | ||
<folder>sql</folder> | ||
<folder>tables</folder> | ||
<folder>views</folder> | ||
<filename>access.xml</filename> | ||
<filename>config.xml</filename> | ||
<filename>controller.php</filename> | ||
<filename>${NAME}.php</filename> | ||
</files> | ||
<languages folder="admin"> | ||
<language tag="en-GB">language/en-GB/en-GB.com_${NAME}.ini</language> | ||
<language tag="en-GB">language/en-GB/en-GB.com_${NAME}.sys.ini</language> | ||
<language tag="ru-RU">language/ru-RU/ru-RU.com_${NAME}.ini</language> | ||
<language tag="ru-RU">language/ru-RU/ru-RU.com_${NAME}.sys.ini</language> | ||
</languages> | ||
</administration> | ||
<media destination="com_${NAME}" folder="media"> | ||
<folder>css</folder> | ||
<folder>js</folder> | ||
<folder>images</folder> | ||
</media> | ||
<updateservers> | ||
<server type="extension" priority="1" name="${PROJECT_NAME}"> | ||
https://site.com/update?extension=com_${NAME} | ||
</server> | ||
</updateservers> | ||
</extension> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
#parse("PHP File Header.php") | ||
|
||
defined('_JEXEC') or die; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
#parse("PHP File Header.php") | ||
|
||
defined('_JEXEC') or die; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
; Note : All ini files need to be saved as UTF-8 | ||
|
||
COM_${NAME.toUpperCase()} = "" | ||
COM_${NAME.toUpperCase()}_DESCRIPTION = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
#parse("PHP File Header.php") | ||
|
||
defined('_JEXEC') or die; | ||
|
||
class com_${NAME}InstallerScript { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
#parse("PHP File Header.php") | ||
|
||
defined('_JEXEC') or die; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
#parse("PHP File Header.php") | ||
|
||
defined('_JEXEC') or die; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
; Note : All ini files need to be saved as UTF-8 | ||
|
||
COM_${NAME.toUpperCase()} = "" | ||
COM_${NAME.toUpperCase()}_DESCRIPTION = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
; Note : All ini files need to be saved as UTF-8 | ||
|
||
COM_${NAME.toUpperCase()} = "" | ||
COM_${NAME.toUpperCase()}_DESCRIPTION = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
; Note : All ini files need to be saved as UTF-8 | ||
|
||
COM_${NAME.toUpperCase()} = "" | ||
COM_${NAME.toUpperCase()}_DESCRIPTION = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
; Note : All ini files need to be saved as UTF-8 | ||
|
||
COM_${NAME.toUpperCase()} = "" | ||
COM_${NAME.toUpperCase()}_DESCRIPTION = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0"?> | ||
<config> | ||
<fieldset name="global" label="JGLOBAL_FIELDSET_OPTIONS"> | ||
<field name="sef_advanced" type="hidden" default="1"/> | ||
</fieldset> | ||
<fieldset name="permissions" | ||
label="JCONFIG_PERMISSIONS_LABEL" | ||
description="JCONFIG_PERMISSIONS_DESC"> | ||
<field name="rules" type="rules" | ||
label="JCONFIG_PERMISSIONS_LABEL" | ||
class="inputbox" | ||
validate="rules" | ||
filter="rules" | ||
component="com_${NAME.toLowerCase()}" | ||
section="component" /> | ||
</fieldset> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<access component="com_${NAME.toLowerCase()}"> | ||
<section name="component"> | ||
<action name="core.admin" title="JACTION_ADMIN" description="JACTION_ADMIN_COMPONENT_DESC"/> | ||
<action name="core.manage" title="JACTION_MANAGE" description="JACTION_MANAGE_COMPONENT_DESC"/> | ||
<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE_COMPONENT_DESC"/> | ||
<action name="core.delete" title="JACTION_DELETE" description="JACTION_DELETE_COMPONENT_DESC"/> | ||
<action name="core.edit" title="JACTION_EDIT" description="JACTION_EDIT_COMPONENT_DESC"/> | ||
<action name="core.edit.state" title="JACTION_EDITSTATE" description="JACTION_EDITSTATE_COMPONENT_DESC"/> | ||
<action name="core.edit.own" title="JACTION_EDITOWN" description="JACTION_EDITOWN_COMPONENT_DESC"/> | ||
</section> | ||
</access> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
#parse("PHP File Header.php") | ||
|
||
defined('_JEXEC') or die; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><title></title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><title></title> |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><title></title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
#parse("PHP File Header.php") | ||
|
||
defined('_JEXEC') or die; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><title></title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><title></title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><title></title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><title></title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><title></title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><title></title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
#parse("PHP File Header.php") | ||
|
||
defined('_JEXEC') or die; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><title></title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
; Note : All ini files need to be saved as UTF-8 | ||
|
||
COM_${NAME.toUpperCase()} = "" | ||
COM_${NAME.toUpperCase()}_DESCRIPTION = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
; Note : All ini files need to be saved as UTF-8 | ||
|
||
COM_${NAME.toUpperCase()} = "" | ||
COM_${NAME.toUpperCase()}_DESCRIPTION = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
; Note : All ini files need to be saved as UTF-8 | ||
|
||
COM_${NAME.toUpperCase()} = "" | ||
COM_${NAME.toUpperCase()}_DESCRIPTION = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<extension version="3.9" type="file" method="upgrade"> | ||
<name>${name}</name> | ||
<author>${author}</author> | ||
<creationDate>${creationDate}</creationDate> | ||
<copyright>${copyright}</copyright> | ||
<license>${license}</license> | ||
<authorEmail>${authorEmail}</authorEmail> | ||
<authorUrl>${authorUrl}</authorUrl> | ||
<version>${version}</version> | ||
<fileset> | ||
<files target="${target}"> | ||
|
||
</files> | ||
</fileset> | ||
<updateservers> | ||
<server type="extension" priority="1" name="${PROJECT_NAME}"> | ||
https://site.com/update?extension=com_${NAME} | ||
</server> | ||
</updateservers> | ||
</extension> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
; Note : All ini files need to be saved as UTF-8 | ||
|
||
${NAME.toUpperCase()} = "" | ||
${NAME.toUpperCase()}_DESCRIPTION = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
; Note : All ini files need to be saved as UTF-8 | ||
|
||
${NAME.toUpperCase()} = "" | ||
${NAME.toUpperCase()}_DESCRIPTION = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
; Note : All ini files need to be saved as UTF-8 | ||
|
||
${NAME.toUpperCase()} = "" | ||
${NAME.toUpperCase()}_DESCRIPTION = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
; Note : All ini files need to be saved as UTF-8 | ||
|
||
${NAME.toUpperCase()} = "" | ||
${NAME.toUpperCase()}_DESCRIPTION = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<extension version="3.9" type="library" method="upgrade"> | ||
<name>${name}</name> | ||
<libraryname>${libraryName}</libraryname> | ||
<author>${author}</author> | ||
<creationDate>${creationDate}</creationDate> | ||
<copyright>${copyright}</copyright> | ||
<license>${license}</license> | ||
<authorEmail>${authorEmail}</authorEmail> | ||
<authorUrl>${authorUrl}</authorUrl> | ||
<version>${version}</version> | ||
<files> | ||
<folder>${sourceLibraryName}</folder> | ||
<filename>${NAME}.php</filename> | ||
</files> | ||
<updateservers> | ||
<server type="extension" priority="1" name="${PROJECT_NAME}"> | ||
https://site.com/update?extension=com_${NAME} | ||
</server> | ||
</updateservers> | ||
</extension> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<extension version="3.9" type="module" client="${client}" method="upgrade"> | ||
<name>${LANGUAGE_CONSTANT}</name> | ||
<author>${author}</author> | ||
<creationDate>${creationDate}</creationDate> | ||
<copyright>${copyright}</copyright> | ||
<license>${license}</license> | ||
<authorEmail>${authorEmail}</authorEmail> | ||
<authorUrl>${authorUrl}</authorUrl> | ||
<version>${version}</version> | ||
<description>${LANGUAGE_CONSTANT}_DESCRIPTION</description> | ||
<languages folder="language"> | ||
<language tag="en-GB">en-GB/en-GB.${NAME}.ini</language> | ||
<language tag="en-GB">en-GB/en-GB.${NAME}.sys.ini</language> | ||
<language tag="ru-RU">ru-RU/ru-RU.${NAME}.ini</language> | ||
<language tag="ru-RU">ru-RU/ru-RU.${NAME}.sys.ini</language> | ||
</languages> | ||
<files> | ||
<filename module="${NAME}">${NAME}.php</filename> | ||
<folder>tmpl</folder> | ||
</files> | ||
<config> | ||
<fields name="params"> | ||
<fieldset name="basic"> | ||
</fieldset> | ||
<fieldset name="advanced"> | ||
<field name="layout" type="modulelayout" | ||
label="JFIELD_ALT_LAYOUT_LABEL" | ||
description="JFIELD_ALT_MODULE_LAYOUT_DESC"/> | ||
<field name="moduleclass_sfx" type="textarea" | ||
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL" | ||
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC" | ||
rows="3"/> | ||
<field name="cache" type="list" | ||
label="COM_MODULES_FIELD_CACHING_LABEL" | ||
description="COM_MODULES_FIELD_CACHING_DESC" | ||
default="1"> | ||
<option value="1">JGLOBAL_USE_GLOBAL</option> | ||
<option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option> | ||
</field> | ||
<field name="cache_time" type="text" | ||
label="COM_MODULES_FIELD_CACHE_TIME_LABEL" | ||
description="COM_MODULES_FIELD_CACHE_TIME_DESC" | ||
default="900"/> | ||
<field name="cachemode" type="hidden" | ||
default="static"> | ||
<option value="static"/> | ||
</field> | ||
</fieldset> | ||
</fields> | ||
</config> | ||
<media destination="${NAME}" folder="media"> | ||
<folder>css</folder> | ||
<folder>js</folder> | ||
<folder>images</folder> | ||
</media> | ||
<updateservers> | ||
<server type="extension" priority="1" name="${PROJECT_NAME}"> | ||
https://site.com/update?extension=${NAME} | ||
</server> | ||
</updateservers> | ||
</extension> |
Oops, something went wrong.