Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempted fix for refusing to apply script #8

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions config.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div id="global" class="settings">
<fieldset>
<legend>Big Buttons Config</legend>
<legend>Big Buttons 2024 Config</legend>

<script>
<script type="text/javascript">
function colorChanged(id)
{
var selectID = "button" + id + "color";
Expand Down Expand Up @@ -89,7 +89,7 @@ function colorSelect($id)
<tr><td>Button Page Title:</td><td><? PrintSettingText("buttonTitle", 0, 0, 80, 60, "fpp-BigButtons"); ?></td></tr>
<tr><td>Text Font Size:</td><td><? PrintSettingSelect("Font Size", "buttonFontSize", 0, 0, '', $fontSizes, "fpp-BigButtons"); ?></td></tr>
</table>
<script>
<script type="text/javascript">
$('#buttonTitle').on('change keydown paste input', function()
{
var key = 'buttonTitle';
Expand Down Expand Up @@ -121,7 +121,7 @@ function colorSelect($id)
<td><? PrintSettingSelect("Color", "button" . $id . "color", 0, 0, '', $colors, "fpp-BigButtons"); ?></td></tr>
</table>
</td></tr>
<script>
<script type="text/javascript">
$('#button<?=$id;?>desc').on('change keydown paste input', function()
{
var key = 'button<?=$id;?>desc';
Expand Down
2 changes: 1 addition & 1 deletion content_menu.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
//
?>

<li><a href="<?php echo preg_replace('/.*\/plugins\/(.*)/', 'plugin.php?plugin=$1&page=config.php', dirname(__FILE__)); ?>">Configure Big Buttons</a></li>
<li><a href="<?php echo preg_replace('/.*\/plugins\/(.*)/', 'plugin.php?plugin=$1&page=config.php', dirname(__FILE__)); ?>">Configure Big Buttons 2024</a></li>
18 changes: 18 additions & 0 deletions plugininfo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"repoName": "fpp-bigbuttons-2024",
"name": "Big Buttons 2024",
"author": "Ryan Amies (Originally Chris Pinkham)",
"description": "Fix for the big buttons addon",
"homeURL": "https://github.com/RyanAmies/fpp-BigButtons",
"srcURL": "https://github.com/RyanAmies/fpp-BigButtons.git",
"bugURL": "https://github.com/RyanAmies/fpp-BigButtons/issues",
"allowUpdates": 1,
"versions": [
{
"minFPPVersion": "8.0",
"maxFPPVersion": "0",
"branch": "master",
"sha": ""
}
]
}
2 changes: 1 addition & 1 deletion status_menu.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
//
?>

<li><a href="<?php echo preg_replace('/.*\/plugins\/(.*)/', 'plugin.php?plugin=$1&page=bigbuttons.php&nopage=1', dirname(__FILE__)); ?>">Big Buttons</a></li>
<li><a href="<?php echo preg_replace('/.*\/plugins\/(.*)/', 'plugin.php?plugin=$1&page=bigbuttons.php&nopage=1', dirname(__FILE__)); ?>">Big Buttons 2024</a></li>