Skip to content

Commit 5f8dce6

Browse files
author
Bill Zimmerman
committed
Removed debug output
1 parent 22d0f9d commit 5f8dce6

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

includes/functions.php

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ function DisplayDashboard(){
164164
<div class="col-md-6">
165165
<div class="panel panel-default">
166166
<div class="panel-body">
167-
168167
<h4>Interface Information</h4>
169168
Interface Name : wlan0<br />
170169
IP Address : <?php echo $strIPAddress ?><br />
@@ -176,7 +175,6 @@ function DisplayDashboard(){
176175
Received Bytes : <?php echo $strRxBytes ?><br /><br />
177176
Transferred Packets : <?php echo $strTxPackets ?><br />
178177
Transferred Bytes : <?php echo $strTxBytes ?><br />
179-
180178
</div><!-- /.panel-body -->
181179
</div><!-- /.panel-default -->
182180
</div><!-- /.col-md-6 -->
@@ -227,7 +225,7 @@ function DisplayDashboard(){
227225
</div><!-- /.panel-default -->
228226
</div><!-- /.col-lg-12 -->
229227
</div><!-- /.row -->
230-
<?php
228+
<?php
231229
}
232230

233231
/**
@@ -270,8 +268,6 @@ function DisplayWPAConfig(){
270268
}
271269
}
272270
}
273-
var_dump($config);
274-
275271
exec( "echo '$config' > /tmp/wifidata", $return );
276272
system( 'sudo cp /tmp/wifidata ' . RASPI_WPA_SUPPLICANT_CONFIG, $returnval );
277273
if( $returnval == 0 ) {
@@ -346,7 +342,7 @@ function DisplayWPAConfig(){
346342
echo $output;
347343
}
348344
?>
349-
<script type="text/Javascript">UpdateNetworks(this)</script>
345+
<script type="text/Javascript">UpdateNetworks(this)</script>
350346
</form>
351347
</div><!-- ./ Panel body -->
352348
</div><!-- /.panel-primary -->
@@ -523,11 +519,11 @@ function DisplayHostAPDConfig(){
523519
};
524520
?>
525521
</form>
526-
</div><!-- ./ Panel body -->
527-
</div><!-- /.panel-primary -->
528-
<div class="panel-footer"> Information provided by hostapd</div>
529-
</div><!-- /.col-lg-12 -->
530-
</div><!-- /.row -->
522+
</div><!-- ./ Panel body -->
523+
</div><!-- /.panel-primary -->
524+
<div class="panel-footer"> Information provided by hostapd</div>
525+
</div><!-- /.col-lg-12 -->
526+
</div><!-- /.row -->
531527
<?php
532528
}
533529

@@ -658,7 +654,7 @@ function DisplayDHCPConfig() {
658654
<th>IP Address</th>
659655
<th>Host name</th>
660656
<th>Client ID</th>
661-
</tr>
657+
</tr>
662658
</thead>
663659
<tbody>
664660
<tr>

0 commit comments

Comments
 (0)