This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
hello_world_plugin_extended [2017/01/22 21:21] lokothodida [hello_world/common_functions.php] |
hello_world_plugin_extended [2017/01/22 21:24] (current) lokothodida [hello_world/admin.php] |
||
---|---|---|---|
Line 332: | Line 332: | ||
===== hello_world/admin.php ===== | ===== hello_world/admin.php ===== | ||
- | Lastly we define the look of the administration panel. | + | Lastly we define the look of the administration panel. As stated above, it will have a ''<form>'' with a ''message'' input field, ''save-configuration'' button, and will send the data from the form via ''POST''. All that is needed is to ensure the input field is populated with the last saved message: |
<file php admin.php> | <file php admin.php> |