<fieldset> <legend>FPP Advanced Settings</legend> <table table width = "100%"> <tr><td valign='top'><?php PrintSettingSelect("E1.31 Bridging Transmit Interval", "E131BridgingInterval", 1, 0, "50", array('10ms' => '10', '25ms' => '25', '40ms' => '40', '50ms' => '50', '100ms' => '100')); ?> </td> <td valign='top'><b>E1.31 Bridge Mode Transmit Interval</b> - The default Transmit Interval in E1.31 Bridge Mode is 50ms. This setting allows changing this to match the rate the player is outputting. <font color='#ff0000'><b>WARNING</b></font> - Some output devices such as the FPD do not support rates other than 50ms.</td> </tr> <tr><td colspan='2'><hr></td></tr> <tr><td valign='top'><?php PrintSettingCheckbox("E1.31 to E1.31 Bridging", "E131Bridging", 1, 0, "1", "0"); ?> </td> <td valign='top'><b>Enable E1.31 to E1.31 Bridging</b> - <font color='#ff0000'><b>WARNING</b></font> - E1.31 to E1.31 bridging over wireless is not recommended for live show use. It is provided here as an option to allow testing remote wireless-attached FPP systems.</td> </tr> <tr><td colspan='2'><hr></td></tr> <tr><td valign='top'><?php PrintSettingText("E131Priority", 1, 0, 3, 3, "", "0"); ?> <br> <?php PrintSettingSave("E1.31 Priority", "E131Priority", 1, 0);
<td>GPIO #</td> <td>wiringPi #</td> <td>Events</td> <td>Input #</td> </tr> <?php foreach ($piFaceInputs as $input) { $inputData = explode(":", $input); $settingID = sprintf("GPIOInput%03dEnabled", $inputData[1]); ?> <tr class='piFaceGPIO' <?php echo $piFaceStyle; ?> > <td><?php PrintSettingCheckbox("GPIO Input", $settingID, 1, 0, "1", "0"); ?> </td> <td><?php echo $inputData[0]; ?> </td> <td><?php echo $inputData[2]; ?> </td> <td rowspan='2'> <table> <tr><td>Rising:</td><td><?php PrintEventOptions($inputData[1]); ?>
<td><?php PrintSettingCheckbox("Force Analog Audio Output", "forceLocalAudio", 0, 0, "1", "0"); ?> </td> </tr> <tr> <td>Pi 2x16 LCD Enabled:</td> <td><?php PrintSettingCheckbox("Enable LCD Display", "PI_LCD_Enabled", 0, 0, "1", "0", "", "ToggleLCDNow"); ?> </td> </tr> <tr> <td>Always transmit channel data:</td> <td><?php PrintSettingCheckbox("Always Transmit", "alwaysTransmit", 1, 0, "1", "0"); ?> </td> </tr> <tr> <td>Audio Output Device:</td> <td><?php PrintSettingSelect("Audio Output Device", "AudioOutput", 1, 0, "{$CurrentCard}", $AlsaCards, "", "SetAudio"); ?> </td> </tr> <tr> <td>Audio Output Mixer Device:</td> <td><?php PrintSettingSelect("Audio Mixer Device", "AudioMixerDevice", 1, 0, $AudioMixerDevice, $MixerDevices, "", "SetMixerDevice"); ?>
</div> </div> <div class="clear"></div> <div> <b>Git Status:</b><br> <pre id='gitStatusPre'><?php echo $git_status; ?> </pre> </div> <div> <b>Debug Actions:</b><br> <ul> <li><b>UI Warnings:</b><br> Disable restart/reboot UI Warnings: <?php PrintSettingCheckbox("Disable restart/reboot UI Warnings", "disableUIWarnings", 0, 0, "1", "0"); ?> <br> <input type='button' value='Clear Restart Warning' onClick='ClearRestartFlag();'> <input type='button' value='Clear Reboot Warning' onClick='ClearRebootFlag();'> </li><br> <br> <li><b>Git:</b><br> <input type='button' value='Reset Local Changes' onClick='GitReset();'> <b>WARNING:</b> This performs a "git reset --hard HEAD" to revert all local source code changes </li> </ul> </div> </fieldset> <div id='logViewer' title='Log Viewer' style="display: none"> <pre> <div id='logText'>
</div> </div> <!-- --------------------------------------------------------------------- --> <?php if ($settings['Platform'] == "Raspberry Pi") { ?> <div id='tab-fpd'> <div id='divFPD'> <fieldset class="fs"> <legend> Falcon Pixelnet/DMX (FPD) </legend> <div id='divFPDData'> <div style="overflow: hidden; padding: 10px;"> <b>Enable FPD Output:</b> <?php PrintSettingCheckbox("FPD Output", "FPDEnabled", 1, 0, "1", "0"); ?> <br> <b>FPD Start Channel Offset:</b> <?php PrintSettingText("FPDStartChannelOffset", 1, 0, 6, 6); ?> <font size=-1>(default is 0)</font><br> <br> <form id="frmPixelnetDMX"> <input name="command" id="command" type="hidden" value="saveHardwareConfig" /> <input name='model' id="model" type='hidden' value='FPDv1' /> <input name='firmware' id="firmware" type='hidden' value='1.10' /> <table> <tr> <td width = "70 px"><input id="btnSaveOutputs" class="buttons" type="submit" value = "Save" /></td>
?> /plugin.php?plugin=<?php echo $pluginName; ?> &page=plugin_setup.php"> <?php //will add a 'reset' to this later echo "<input type=\"hidden\" name=\"LAST_READ\" value=\"" . $LAST_READ . "\"> \n"; $restart = 0; $reboot = 0; echo "ENABLE PLUGIN: "; //if($ENABLED== 1 || $ENABLED == "on") { // echo "<input type=\"checkbox\" checked name=\"ENABLED\"> \n"; PrintSettingCheckbox("Stock Ticker", "ENABLED", $restart = 0, $reboot = 0, "ON", "OFF", $pluginName = $pluginName, $callbackName = ""); // } else { // echo "<input type=\"checkbox\" name=\"ENABLED\"> \n"; //} echo "<p/> \n"; echo "Immediately output to Matrix (Run MATRIX plugin): "; if ($IMMEDIATE_OUTPUT == "on" || $IMMEDIATE_OUTPUT == 1) { echo "<input type=\"checkbox\" checked name=\"IMMEDIATE_OUTPUT\"> \n"; //PrintSettingCheckbox("Radio Station", "ENABLED", $restart = 0, $reboot = 0, "ON", "OFF", $pluginName = $pluginName, $callbackName = ""); } else { echo "<input type=\"checkbox\" name=\"IMMEDIATE_OUTPUT\"> \n"; } echo "<p/> \n"; ?> MATRIX Message Plugin Location: (IP Address. default 127.0.0.1); <input type="text" size="15" value="<?php
<td width = "25%"><input type="text" name="dns1" id="dns1"></td> <td width = "50%"> </td> </tr> <tr> <td>DNS Server 2:</td> <td><input type="text" name="dns2" id="dns2"></td> </tr> </table> <br> <input name="btnSetDNS" type="" style="margin-left:190px; width:135px;" class = "buttons" value="Update DNS" onClick="SaveDNSConfig();"> <input id="btnConfigDNS" type="" style="width:135px; display: none;" class = "buttons" value="Restart DNS" onClick="ApplyDNSConfig();"> </fieldset> <br> <?php PrintSettingCheckbox("Enable Routing", "EnableRouting", 0, 0, "1", "0"); ?> Enable Routing between network interfaces <br> </div> </fieldset> </fieldset> </div> <div id="dialog-confirm" style="display: none"> <p><span class="ui-icon ui-icon-alert" style="flat:left; margin: 0 7px 20px 0;"></span>Reconfiguring the network will cause you to lose your connection and have to reconnect if you have changed the IP address. Do you wish to proceed?</p> </div> <?php include 'common/footer.inc'; ?> </body> </html>
To send email from a script:<br /> 1. Create your message to a temp file of your chosing<br> 2. Execute the mail utility: mail -s "This is the subject line" root@localhost < tempfile.txt<br> 3. If you need to attach a file also you can use the -a attachment_file param<br> All outbound email via scripts needs to be sent to <b>root@localhost</b>. <hr> <form name="email_form" action="<?php echo $_SERVER['PHP_SELF']; ?> " method="POST"> <table width="75%" border="0" align="center" cellspacing='2' id='email'> <tr> <td width="50%" align="right">Enable Email System:</td> <td> <?php PrintSettingCheckbox("Email System: ", "emailenable", 0, 1, "1", "0"); ?> </tr> <tr> <td width="50%" align="right">Gmail Username:</td> <td><input name="emailguser" type="text" size="50" maxlength="30" value="<?php echo $emailguser; ?> "></td> </tr> <tr> <td align="right">Gmail Password:</td> <td><input name="emailgpass" type="password" size="50" maxlength="30" value="<?php echo $emailgpass; ?> "></td>