-
Notifications
You must be signed in to change notification settings - Fork 0
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
9 changed files
with
28 additions
and
42 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 |
---|---|---|
@@ -1,14 +1,11 @@ | ||
MOD_CONTACTS_BIRTHDAY = "Contact birthdays" | ||
MOD_CONTACTS_BIRTHDAY_XML_DESCRIPTION = "Happy Birthday contacts. Set contact creation date to Birthday" | ||
|
||
MOD_CONTACTS_BIRTHDAY_FIELD_CATEGORY_LABEL = "Category" | ||
|
||
MOD_CONTACTS_BIRTHDAY_FIELD_PREPARE_CONTENT_LABEL="Prepare Content" | ||
MOD_CONTACTS_BIRTHDAY_FIELD_PREPARE_CONTENT_DESC="Optionally prepare the content with the Joomla Content Plugins" | ||
MOD_CONTACTS_BIRTHDAY_FIELD_BACKGROUNDIMAGE_LABEL="Select a Background Image" | ||
|
||
MOD_CONTACTS_BIRTHDAY_EVENT_TXT="birthday" | ||
MOD_CONTACTS_BIRTHDAY_INTRO_TXT="Today" | ||
MOD_CONTACTS_BIRTHDAY_SUFFIX_ACTION_TXT="celebrate" | ||
MOD_CONTACTS_BIRTHDAY_SUFFIX_SINGULAR_TXT="s" | ||
MOD_CONTACTS_BIRTHDAY_SUFFIX_PLURAL_TXT="" | ||
MOD_CONTACTS_BIRTHDAY_SUFFIX_PLURAL_TXT="" | ||
|
||
MOD_CONTACTS_BIRTHDAY_FIELD_SUFFIX_TEXT_LABEL="Additional text" | ||
MOD_CONTACTS_BIRTHDAY_FIELD_SUFFIX_TEXT_DESC="Add the text. It will be displayed after congratulations" |
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 |
---|---|---|
@@ -1,14 +1,11 @@ | ||
MOD_CONTACTS_BIRTHDAY = "Дни рождения контактов" | ||
MOD_CONTACTS_BIRTHDAY_XML_DESCRIPTION = "Поздравляет с Днем рождения контакты. Установите дату создания контакта, соответствующую Дню рождения" | ||
|
||
MOD_CONTACTS_BIRTHDAY_FIELD_CATEGORY_LABEL = "Категория" | ||
|
||
MOD_CONTACTS_BIRTHDAY_FIELD_PREPARE_CONTENT_LABEL="Обработка событиями" | ||
MOD_CONTACTS_BIRTHDAY_FIELD_PREPARE_CONTENT_DESC="Включить или отключить функцию обработки содержимого модуля событиями плагина (onContentPrepare)" | ||
MOD_CONTACTS_BIRTHDAY_FIELD_BACKGROUNDIMAGE_LABEL="Фоновое изображение" | ||
|
||
MOD_CONTACTS_BIRTHDAY_EVENT_TXT="День рождения" | ||
MOD_CONTACTS_BIRTHDAY_INTRO_TXT="Сегодня" | ||
MOD_CONTACTS_BIRTHDAY_SUFFIX_ACTION_TXT="отмеча" | ||
MOD_CONTACTS_BIRTHDAY_SUFFIX_SINGULAR_TXT="ет" | ||
MOD_CONTACTS_BIRTHDAY_SUFFIX_PLURAL_TXT="ют" | ||
MOD_CONTACTS_BIRTHDAY_SUFFIX_PLURAL_TXT="ют" | ||
|
||
MOD_CONTACTS_BIRTHDAY_FIELD_SUFFIX_TEXT_LABEL="Дополнительный текст" | ||
MOD_CONTACTS_BIRTHDAY_FIELD_SUFFIX_TEXT_DESC="Добавьте текст. Будет отображаться после поздравления" |
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
<license>GNU General Public License version 2 or later; see LICENSE.txt</license> | ||
<authorEmail>[email protected]</authorEmail> | ||
<authorUrl>https://github.com/mediafoks</authorUrl> | ||
<version>1.0.4</version> | ||
<version>1.1.0</version> | ||
<description>MOD_CONTACTS_BIRTHDAY_XML_DESCRIPTION</description> | ||
<namespace path="src">Joomla\Module\ContactsBirthday</namespace> | ||
<files> | ||
|
@@ -25,34 +25,22 @@ | |
<config> | ||
<fields name="params"> | ||
|
||
<fieldset name="basic"> | ||
<field name="catid" type="category" extension="com_contact" multiple="true" default="" size="10" label="MOD_CONTACTS_BIRTHDAY_FIELD_CATEGORY_LABEL" required="true"> | ||
</field> | ||
</fieldset> | ||
<fieldset name="options" label="COM_MODULES_BASIC_FIELDSET_LABEL"> | ||
<field name="prepare_content" type="radio" layout="joomla.form.field.radio.switcher" label="MOD_CONTACTS_BIRTHDAY_FIELD_PREPARE_CONTENT_LABEL" description="MOD_CONTACTS_BIRTHDAY_FIELD_PREPARE_CONTENT_DESC" default="0" filter="integer"> | ||
<option value="0">JNO</option> | ||
<option value="1">JYES</option> | ||
</field> | ||
|
||
<field name="backgroundimage" type="media" schemes="http,https,ftp,ftps,data,file" validate="url" relative="true" label="MOD_CONTACTS_BIRTHDAY_FIELD_BACKGROUNDIMAGE_LABEL" /> | ||
<fieldset name="basic" addfieldprefix="Joomla\Component\Contact\Administrator\Field"> | ||
<field name="catid" type="category" label="JCATEGORY" extension="com_contact" multiple="true" layout="joomla.form.field.list-fancy-select" filter="intarray" required="true" class="multipleCategories" /> | ||
<field name="suffix_text" type="text" label="MOD_CONTACTS_BIRTHDAY_FIELD_SUFFIX_TEXT_LABEL" description="MOD_CONTACTS_BIRTHDAY_FIELD_SUFFIX_TEXT_DESC" required="false" filter="string" /> | ||
</fieldset> | ||
|
||
<fieldset name="advanced"> | ||
<field name="layout" type="modulelayout" label="JFIELD_ALT_LAYOUT_LABEL" class="form-select" validate="moduleLayout" /> | ||
|
||
<field name="moduleclass_sfx" type="textarea" label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL" rows="3" validate="CssIdentifier" /> | ||
|
||
<field name="cache" type="list" label="COM_MODULES_FIELD_CACHING_LABEL" default="1" filter="integer" validate="options"> | ||
<field name="owncache" type="list" label="COM_MODULES_FIELD_CACHING_LABEL" default="1" filter="integer" validate="options"> | ||
<option value="1">JGLOBAL_USE_GLOBAL</option> | ||
<option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option> | ||
</field> | ||
|
||
<field name="cache_time" type="number" label="COM_MODULES_FIELD_CACHE_TIME_LABEL" default="900" filter="integer" /> | ||
|
||
<field name="cachemode" type="hidden" default="static"> | ||
<option value="static"></option> | ||
</field> | ||
</fieldset> | ||
|
||
</fields> | ||
|
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
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
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
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
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
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