This is your main plugin file, it should have a good chosen name and nothing like plugin.m23plg.
It may look like this:
<?PHP
/*
pluginName:Testplugin2
pluginPage:testpage
pluginAuthor: me
pluginVersion: 1
pluginUpdate: www.pc-kiel.de/plugin.dat
pluginClientRequires: rdiff
pluginIcon: /gfx/overview-mini.png
*/
Here stands your code
?>
The lines between /* and */ are treated by PHP as comments, but the m23admin uses this informations for:
- pluginName: is the name that is shown in the m23 menu
- pluginPage: this name is used for internal purpose, this is how the page is known to m23
- pluginAuthor: here you can leave your name, contact address etc.
- pluginVersion: version number of your plugin
- pluginUpdate: specifies the location where to find the file, containing informations about newer versions of the plugin
- pluginClientRequires: if your plugin needs some packages installed on the client, you have to list these packagenames here
- pluginIcon: you can select an icon to be shown before the menu entry
root
2015-09-06