Once you are done with preparing CSS and image files, you can create a description file for your skin. You can choose to edit the file you copied from a standard Plesk skin, or create a new info.xml
file.
Following is the source code that you can use for your description file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE PLESKSKIN SYSTEM "pleskskin.dtd">
<PLESKSKIN>
<INFO>
<PLESKVERSION>7.1.x</PLESKVERSION>
<VERSION>1.0.0</VERSION>
<DATE>2004-08-05</DATE>
<NAME>
<LOCALESTRING language="en">Your skin name</LOCALESTRING>
</NAME>
<DESCRIPTION>
<LOCALESTRING language="en">Your skin description here</LOCALESTRING>
</DESCRIPTION>
<AUTHOR>Your name here</AUTHOR>
</INFO>
<SCREENSHOTS>
<SCREENSHOT>
<NAME>
<LOCALESTRING language="en"> Screen title, e.g. Server Administration page </LOCALESTRING>
</NAME>
<DESCRIPTION>
<LOCALESTRING language="en">This is how the control panel's server management
section looks like with my skin</LOCALESTRING>
</DESCRIPTION>
<SRC>screenshots/screenshot1.gif</SRC>
<THUMB>screenshots/screenshot1_thumb.gif</THUMB>
</SCREENSHOT>
</SCREENSHOTS>
</PLESKSKIN>
Be sure to place your screenshots and thumbnails to the screenshots/
directory of the skin. You can include as many screenshots as you wish.
Note: Inside each NAME
or DESCRIPTION
element you can have several entries in different languages. This can be useful, for instance, when the Administrator's control panel language is set to German. The corresponding entries in German will be displayed, if supplied.
To add an entry in German, use the LOCALESTRING
element with attribute language="de"
:
<DESCRIPTION>
<LOCALESTRING language="en">Your control panel skin description here</LOCALESTRING>
<LOCALESTRING language="de">Dies ist die Beschreibung Ihres Control Panel Skins</LOCALESTRING>
</DESCRIPTION>