diff --git a/bin/Controls/Independent/Items/Custom.html b/bin/Controls/Independent/Items/Custom.html index e2194e52e18aec5e9e919846e882f1bd390e3d28..d25f2d81e3603d08bea65b02cdf3a63218d8b3e3 100644 --- a/bin/Controls/Independent/Items/Custom.html +++ b/bin/Controls/Independent/Items/Custom.html @@ -163,6 +163,9 @@ </span> <input class="field-container-field" type="text" name="click"/> </label> + <div class="field-container-item-desc"> + {{clickDescription}} + </div> </td> </tr> </table> diff --git a/bin/Controls/Independent/Items/Custom.js b/bin/Controls/Independent/Items/Custom.js index 81f2bc530779df46335e5683672b0a149e17b256..efbcbc6bdb0ab9d95b9c1ed38068cd49930039ad 100644 --- a/bin/Controls/Independent/Items/Custom.js +++ b/bin/Controls/Independent/Items/Custom.js @@ -42,13 +42,14 @@ define('package/quiqqer/menu/bin/Controls/Independent/Items/Custom', [ status : QUILocale.get('quiqqer/quiqqer', 'status'), statusDescription: QUILocale.get(lg, 'tpl.statusDescription'), - title : QUILocale.get('quiqqer/quiqqer', 'title'), - linkTitle : QUILocale.get(lg, 'tpl.linkTitle'), - icon : QUILocale.get(lg, 'tpl.icon'), - url : QUILocale.get(lg, 'tpl.url'), - rel : QUILocale.get(lg, 'tpl.rel'), - relDescription: QUILocale.get(lg, 'tpl.relDescription'), - click : QUILocale.get(lg, 'tpl.click'), + title : QUILocale.get('quiqqer/quiqqer', 'title'), + linkTitle : QUILocale.get(lg, 'tpl.linkTitle'), + icon : QUILocale.get(lg, 'tpl.icon'), + url : QUILocale.get(lg, 'tpl.url'), + rel : QUILocale.get(lg, 'tpl.rel'), + relDescription : QUILocale.get(lg, 'tpl.relDescription'), + click : QUILocale.get(lg, 'tpl.click'), + clickDescription: QUILocale.get(lg, 'tpl.clickDescription'), alternate : QUILocale.get(lg, 'tpl.rel.alternate'), author : QUILocale.get(lg, 'tpl.rel.author'), diff --git a/locale.xml b/locale.xml index 0cc2923ced268d5f3ebede7a400ef20008244d2f..60aea05db96ce7b81492a1e135a88ac503902878 100644 --- a/locale.xml +++ b/locale.xml @@ -366,6 +366,16 @@ <de><![CDATA[Klick Event (JavaScript)]]></de> <en><![CDATA[Click event (JavaScript)]]></en> </locale> + <locale name="tpl.clickDescription"> + <de><![CDATA[ + FÞge hier den Funktionsnamen der JavaScript Funktion ein welche bei Klick aufgerufen werden soll. + MÃķchtest du eine eigene Funktion per Klick ausfÞhren, kannst du hierzu die custom.js deines Projektes verwenden. + ]]></de> + <en><![CDATA[ + Add here the function name of the JavaScript function which should be called on click. + If you want to execute your own function on click, you can use the custom.js of your project. + ]]></en> + </locale> <locale name="tpl.Site"> <de><![CDATA[Site]]></de> <en><![CDATA[Site]]></en>