Changeset 3327610
- Timestamp:
- 07/14/2025 02:57:36 PM (9 months ago)
- Location:
- chordpress
- Files:
-
- 3 edited
- 23 copied
-
tags/3.9.9 (copied) (copied from chordpress/trunk)
-
tags/3.9.9/admin/class-chordpress-admin.php (copied) (copied from chordpress/trunk/admin/class-chordpress-admin.php)
-
tags/3.9.9/admin/js/chordpress-admin.js (copied) (copied from chordpress/trunk/admin/js/chordpress-admin.js)
-
tags/3.9.9/admin/js/tinymce_buttons.js (copied) (copied from chordpress/trunk/admin/js/tinymce_buttons.js)
-
tags/3.9.9/admin/partials/chordpress-admin-chord-meta-box.php (copied) (copied from chordpress/trunk/admin/partials/chordpress-admin-chord-meta-box.php)
-
tags/3.9.9/admin/partials/chordpress-admin-license.php (copied) (copied from chordpress/trunk/admin/partials/chordpress-admin-license.php)
-
tags/3.9.9/admin/partials/chordpress-admin-options.php (copied) (copied from chordpress/trunk/admin/partials/chordpress-admin-options.php)
-
tags/3.9.9/chordpress.php (copied) (copied from chordpress/trunk/chordpress.php) (2 diffs)
-
tags/3.9.9/includes/class-chordpress-activator.php (copied) (copied from chordpress/trunk/includes/class-chordpress-activator.php)
-
tags/3.9.9/includes/class-chordpress-chord.php (copied) (copied from chordpress/trunk/includes/class-chordpress-chord.php)
-
tags/3.9.9/includes/class-chordpress-deactivator.php (copied) (copied from chordpress/trunk/includes/class-chordpress-deactivator.php)
-
tags/3.9.9/includes/class-chordpress-i18n.php (copied) (copied from chordpress/trunk/includes/class-chordpress-i18n.php)
-
tags/3.9.9/includes/class-chordpress-license.php (copied) (copied from chordpress/trunk/includes/class-chordpress-license.php)
-
tags/3.9.9/includes/class-chordpress-loader.php (copied) (copied from chordpress/trunk/includes/class-chordpress-loader.php)
-
tags/3.9.9/includes/class-chordpress-plugin.php (copied) (copied from chordpress/trunk/includes/class-chordpress-plugin.php)
-
tags/3.9.9/includes/class-chordpress-renderer.php (copied) (copied from chordpress/trunk/includes/class-chordpress-renderer.php) (3 diffs)
-
tags/3.9.9/languages/chordpress.pot (copied) (copied from chordpress/trunk/languages/chordpress.pot)
-
tags/3.9.9/makepot.cmd (copied) (copied from chordpress/trunk/makepot.cmd)
-
tags/3.9.9/public/class-chordpress-public.php (copied) (copied from chordpress/trunk/public/class-chordpress-public.php)
-
tags/3.9.9/public/css/chordpress-public.css (copied) (copied from chordpress/trunk/public/css/chordpress-public.css)
-
tags/3.9.9/public/js/chordpress-public.js (copied) (copied from chordpress/trunk/public/js/chordpress-public.js)
-
tags/3.9.9/readme.txt (copied) (copied from chordpress/trunk/readme.txt) (2 diffs)
-
tags/3.9.9/uninstall.php (copied) (copied from chordpress/trunk/uninstall.php)
-
trunk/chordpress.php (modified) (2 diffs)
-
trunk/includes/class-chordpress-renderer.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
chordpress/tags/3.9.9/chordpress.php
r3325136 r3327610 19 19 * Plugin URI: https://lewe.gitbook.io/lewe-chordpress/ 20 20 * Description: This plugin renders ChordPro formatted text and chord diagrams in WordPress sites. 21 * Version: 3.9. 821 * Version: 3.9.9 22 22 * Author: George Lewe 23 23 * Author URI: https://www.lewe.com … … 38 38 */ 39 39 define('CHORDPRESS_NAME', 'ChordPress'); 40 define('CHORDPRESS_VERSION', '3.9. 8');40 define('CHORDPRESS_VERSION', '3.9.9'); 41 41 define('CHORDPRESS_AUTHOR', 'George Lewe'); 42 42 define('CHORDPRESS_AUTHOR_URI', 'https://www.lewe.com'); -
chordpress/tags/3.9.9/includes/class-chordpress-renderer.php
r3325136 r3327610 717 717 */ 718 718 $this->songsheetStyles = "<style>div.cpress { float: " . $this->float . "; clear: both; } div.cpress_line { " . $this->lineStyle . "; } div.cpress_line_section { display: inline; float: left; } div.cpress_line_section .chord .chordshort { " . $this->chordStyle . "; } div.cpress_line_section .lyric { " . $this->lyricsStyle . "; } div.cpress_chorus { " . $this->chorusStyle . "; } div.cpress_verse { " . $this->verseStyle . "; } div.cpress_clear { clear: both; } div.cpress_meta { " . $this->metaStyle . "; } div.cpress_interaction { float: right; } div.cpress_interaction select { width: auto; } span.cpress_comment { " . $this->commentStyle . "; } div.cpress_chordsheet { text-align: center; }</style>"; 719 $this->songsheetStyles = str_replace(';;', ';', $this->songsheetStyles); 719 720 720 721 $songsheetHtml = "\n\n … … 1024 1025 <button type='button' class='cpress-btn cpress-btn-secondary cpress-btn-sm' onclick=\"transposeChromatic('%cpressID%', 'btnTranspose-', 'up', " . $baseNote . ");\">+</button> 1025 1026 </div> 1026 </span>";1027 </span>"; 1027 1028 } 1028 1029 $interactionForm .= " … … 1039 1040 $printTitle = $this->arrDirectives['title']; 1040 1041 } 1041 $interactionForm .= "<br><button class=\"cpress-btn cpress-btn-secondary cpress-btn-sm\" onclick=\"printElement('%cpressID%', '" . $printTitle . "', '" . $this->songsheetStyles . "');\">" . __('Print', 'chordpress') . "</button>\n"; 1042 $escapedStyles = htmlspecialchars($this->songsheetStyles, ENT_QUOTES); 1043 $printFunctionCall = "printElement('%cpressID%', '{$printTitle}', '{$escapedStyles}');"; 1044 $printButton = "<br><button class='cpress-btn cpress-btn-secondary cpress-btn-sm' onclick=\"{$printFunctionCall}\">" . __('Print', 'chordpress') . "</button>"; 1045 $interactionForm .= $printButton; 1042 1046 } 1043 1047 $interactionForm .= "</div> -
chordpress/tags/3.9.9/readme.txt
r3325136 r3327610 5 5 Requires at least: 4.0 6 6 Tested up to: 6.8 7 Stable tag: 3.9. 87 Stable tag: 3.9.9 8 8 Requires PHP: 5.2.4 9 9 License: GPLv3 … … 130 130 131 131 == Changelog == 132 = 3.9.9 = 133 * 2025-07-14 134 * Print button fix 135 132 136 = 3.9.8 = 133 137 * 2025-07-09 -
chordpress/trunk/chordpress.php
r3325136 r3327610 19 19 * Plugin URI: https://lewe.gitbook.io/lewe-chordpress/ 20 20 * Description: This plugin renders ChordPro formatted text and chord diagrams in WordPress sites. 21 * Version: 3.9. 821 * Version: 3.9.9 22 22 * Author: George Lewe 23 23 * Author URI: https://www.lewe.com … … 38 38 */ 39 39 define('CHORDPRESS_NAME', 'ChordPress'); 40 define('CHORDPRESS_VERSION', '3.9. 8');40 define('CHORDPRESS_VERSION', '3.9.9'); 41 41 define('CHORDPRESS_AUTHOR', 'George Lewe'); 42 42 define('CHORDPRESS_AUTHOR_URI', 'https://www.lewe.com'); -
chordpress/trunk/includes/class-chordpress-renderer.php
r3325136 r3327610 717 717 */ 718 718 $this->songsheetStyles = "<style>div.cpress { float: " . $this->float . "; clear: both; } div.cpress_line { " . $this->lineStyle . "; } div.cpress_line_section { display: inline; float: left; } div.cpress_line_section .chord .chordshort { " . $this->chordStyle . "; } div.cpress_line_section .lyric { " . $this->lyricsStyle . "; } div.cpress_chorus { " . $this->chorusStyle . "; } div.cpress_verse { " . $this->verseStyle . "; } div.cpress_clear { clear: both; } div.cpress_meta { " . $this->metaStyle . "; } div.cpress_interaction { float: right; } div.cpress_interaction select { width: auto; } span.cpress_comment { " . $this->commentStyle . "; } div.cpress_chordsheet { text-align: center; }</style>"; 719 $this->songsheetStyles = str_replace(';;', ';', $this->songsheetStyles); 719 720 720 721 $songsheetHtml = "\n\n … … 1024 1025 <button type='button' class='cpress-btn cpress-btn-secondary cpress-btn-sm' onclick=\"transposeChromatic('%cpressID%', 'btnTranspose-', 'up', " . $baseNote . ");\">+</button> 1025 1026 </div> 1026 </span>";1027 </span>"; 1027 1028 } 1028 1029 $interactionForm .= " … … 1039 1040 $printTitle = $this->arrDirectives['title']; 1040 1041 } 1041 $interactionForm .= "<br><button class=\"cpress-btn cpress-btn-secondary cpress-btn-sm\" onclick=\"printElement('%cpressID%', '" . $printTitle . "', '" . $this->songsheetStyles . "');\">" . __('Print', 'chordpress') . "</button>\n"; 1042 $escapedStyles = htmlspecialchars($this->songsheetStyles, ENT_QUOTES); 1043 $printFunctionCall = "printElement('%cpressID%', '{$printTitle}', '{$escapedStyles}');"; 1044 $printButton = "<br><button class='cpress-btn cpress-btn-secondary cpress-btn-sm' onclick=\"{$printFunctionCall}\">" . __('Print', 'chordpress') . "</button>"; 1045 $interactionForm .= $printButton; 1042 1046 } 1043 1047 $interactionForm .= "</div> -
chordpress/trunk/readme.txt
r3325136 r3327610 5 5 Requires at least: 4.0 6 6 Tested up to: 6.8 7 Stable tag: 3.9. 87 Stable tag: 3.9.9 8 8 Requires PHP: 5.2.4 9 9 License: GPLv3 … … 130 130 131 131 == Changelog == 132 = 3.9.9 = 133 * 2025-07-14 134 * Print button fix 135 132 136 = 3.9.8 = 133 137 * 2025-07-09
Note: See TracChangeset
for help on using the changeset viewer.