-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webinterface: add comments, update layout
* added a lot of comments to increase readability * updated layout, it is now possible to create empty boxes
- Loading branch information
Showing
2 changed files
with
77 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,34 @@ | ||
<?php | ||
/* | ||
* Raspberry Remote | ||
* http://xkonni.github.com/raspberry-remote/ | ||
* | ||
* configuration for the webinterface | ||
* | ||
*/ | ||
|
||
/* | ||
* define ip address and port here | ||
*/ | ||
$source = $_SERVER['SERVER_ADDR']; | ||
$target = '192.168.11.124'; | ||
$port = 11337; | ||
|
||
/* | ||
* specify configuration of sockets to use | ||
* array("group", "plug", "description"); | ||
* use empty string to create empty box | ||
* "" | ||
* | ||
*/ | ||
$config=array( | ||
array("00001", "01", "Schreibtisch"), | ||
array("00001", "02", "Sofa"), | ||
array("00010", "01", "Schreibtisch"), | ||
array("00010", "02", "Laptop"), | ||
"", | ||
"", | ||
array("00001", "01", "Sofa Lampe"), | ||
array("00001", "02", "Sofa Steckdose"), | ||
array("00001", "03", "TV"), | ||
array("00001", "04", "Verstaerker"), | ||
array("00010", "05", "Bla"), | ||
array("00011", "01", "Blob") | ||
) | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters