Changeset 1968084
- Timestamp:
- 11/03/2018 12:23:51 AM (7 years ago)
- Location:
- amilia-store/trunk
- Files:
-
- 6 edited
-
amilia-store.php (modified) (1 diff)
-
shortcodes/amilia-store-button.js (modified) (3 diffs)
-
shortcodes/amilia-store-calendar.js (modified) (2 diffs)
-
shortcodes/amilia-store-iframe.js (modified) (2 diffs)
-
shortcodes/amilia-store-standings.js (modified) (2 diffs)
-
shortcodes/amilia-store-table.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
amilia-store/trunk/amilia-store.php
r1968082 r1968084 6 6 Author: Martin Drapeau <martin.drapeau@amilia.com> 7 7 Copyright: 2014-2018 Amilia 8 Version: 2.8. 08 Version: 2.8.1 9 9 Author URI: http://www.amilia.com/ 10 10 License: Apache License 2.0 -
amilia-store/trunk/shortcodes/amilia-store-button.js
r1968082 r1968084 99 99 help2 = modal.querySelector("a.amilia-help2"), 100 100 instructions = modal.querySelector(".amilia-instructions"), 101 activeButton = null; 101 activeButton = null, 102 imagesUrl = url.replace('/shortcodes', '/images/'); 102 103 103 104 function generateRawHtml() { … … 106 107 .replace('{color}', Amilia.COLORS[color.value] == 'y' ? '#494949' : '#ffffff') 107 108 .replace('{backgroundColor}', Amilia.COLORS[color.value]) 108 .replace('{imageUrl}', url + "/images/"+ image.value + ".png")109 .replace('{imageUrl}', imagesUrl + image.value + ".png") 109 110 .replace('{text}', text.value); 110 111 } … … 187 188 onclick: showModal, 188 189 title: Amilia.lang('button-title'), 189 image: url + "/images/link.svg"190 image: imagesUrl + "link.svg" 190 191 }); 191 192 editor.onNodeChange.add(function(editor, controllManager, node) { -
amilia-store/trunk/shortcodes/amilia-store-calendar.js
r1968082 r1968084 123 123 instructions = modal.querySelector('.amilia-instructions'), 124 124 activeNode = null, 125 activeShortcode = null; 125 activeShortcode = null, 126 imagesUrl = url.replace('/shortcodes', '/images/'); 126 127 127 128 function getSelectedTags() { … … 319 320 onclick: showModal, 320 321 title: Amilia.lang('calendar-title'), 321 image: url + '/images/calendar.svg'322 image: imagesUrl + 'calendar.svg' 322 323 }); 323 324 editor.onNodeChange.add(function(editor, controllManager, node) { -
amilia-store/trunk/shortcodes/amilia-store-iframe.js
r1968082 r1968084 77 77 instructions = modal.querySelector('.amilia-instructions'), 78 78 activeNode = null, 79 activeShortcode = null; 79 activeShortcode = null, 80 imagesUrl = url.replace('/shortcodes', '/images/'); 80 81 81 82 storeUrl.onchange = function() { … … 157 158 onclick: showModal, 158 159 title: Amilia.lang('iframe-title'), 159 image: url + '/images/amilia-a.svg'160 image: imagesUrl + 'amilia-a.svg' 160 161 }); 161 162 editor.onNodeChange.add(function(editor, controllManager, node) { -
amilia-store/trunk/shortcodes/amilia-store-standings.js
r1968082 r1968084 82 82 instructions = modal.querySelector('.amilia-instructions'), 83 83 activeNode = null, 84 activeShortcode = null; 84 activeShortcode = null, 85 imagesUrl = url.replace('/shortcodes', '/images/'); 85 86 86 87 function getSelectedProgram() { … … 260 261 onclick: showModal, 261 262 title: Amilia.lang('standings-title'), 262 image: url + '/images/standings.svg'263 image: imagesUrl + 'standings.svg' 263 264 }); 264 265 editor.onNodeChange.add(function(editor, controllManager, node) { -
amilia-store/trunk/shortcodes/amilia-store-table.js
r1968082 r1968084 82 82 instructions = modal.querySelector('.amilia-instructions'), 83 83 activeNode = null, 84 activeShortcode = null; 84 activeShortcode = null, 85 imagesUrl = url.replace('/shortcodes', '/images/'); 85 86 86 87 function getSelectedTags() { … … 235 236 onclick: showModal, 236 237 title: Amilia.lang('table-title'), 237 image: url + '/images/table.svg'238 image: imagesUrl + 'table.svg' 238 239 }); 239 240 editor.onNodeChange.add(function(editor, controllManager, node) {
Note: See TracChangeset
for help on using the changeset viewer.