Introduction

Description of all the forms, tables, menus and messages are located in XML-files in the /usr/local/ispmgr/etc directory. All the files should be encoded in the UTF-8 characters set. An XML document is also a result of any operation that the control panel executes.

We recommend that you not modify XML documents, which are an integral part of the control panel. You may add your own forms and tables, add or remove the existing forms using Plug-ins and Events.

This document describes XML files that are used by the control panel.

The following attributes can be used with almost any element that describes interface items.

the name of the page that opens by default (when calling the control panel without set func parameter value or in case of func=desktop). You need to specify the name of the existing function. For example startpage="user".

the name of a сolumn. Should have a unique value within metadata. Used for languages binding.

the type attribute

the type of the data in the column: data (data from the control panel is set by default), indicator (indicator; used amount/limit), msg (displays the message corresponding to the value transferred from the control panel).

the sort attribute

specifies the type of the data sorting: alpha (alphabetic assortment is set by default), digit (numerical sorting in ascending order), file (alphabetic assortment, directories followed by files), indicator (sorting by the "used value" indicator; only for columns with indicators), ip (IP-address sorting), prop (sorting by properties; only for columns that display property icons).

the sorted attribute

If sorted="yes", the table will be sorted by this column as default.

the stat attribute

displays the total number of lines with such a field at the bottom of the table.

the wrap attribute

if specified, line breaks in data will not be ignored. Data in the column is displayed in multiple lines.

an obligatory field that can have either the msg (the content of a pseudo-field will be taken from corresponding languages), data (content will be taken from the control panel) value or msgdata (the content of a pseudo-field will be taken from corresponding languages, its name will be taken from the control panel).

The nocancel

In order to remove the Сancel button, you need to add the nocancel="yes" parameter into the <form> tag.