Commit ac3c8e57 authored by lphuberdeau's avatar lphuberdeau

[MOD] Moving mapserver specific parameters to advanced, make the descriptions...

[MOD] Moving mapserver specific parameters to advanced, make the descriptions slightly more informative for height and width
parent 8aa7b803
......@@ -21,28 +21,16 @@ function wikiplugin_map_info() {
'filter' => 'striptags',
'default' => 'center',
),
'extents' => array(
'required' => false,
'name' => tra('Extents'),
'description' => tra('Extents'),
'filter' => 'text',
),
'size' => array(
'required' => false,
'name' => tra('Size'),
'description' => tra('Size of the map'),
'filter' => 'int',
),
'width' => array(
'required' => false,
'name' => tra('Width'),
'description' => tra('Width of the map'),
'description' => tra('Width of the map in pixels'),
'filter' => 'int',
),
'height' => array(
'required' => false,
'name' => tra('Height'),
'description' => tra('Height of the map'),
'description' => tra('Height of the map in pixels'),
'filter' => 'int',
),
'mapfile' => array(
......@@ -52,6 +40,20 @@ function wikiplugin_map_info() {
'filter' => 'url',
'advanced' => true,
),
'extents' => array(
'required' => false,
'name' => tra('Extents'),
'description' => tra('Extents'),
'filter' => 'text',
'advanced' => true,
),
'size' => array(
'required' => false,
'name' => tra('Size'),
'description' => tra('Size of the map'),
'filter' => 'int',
'advanced' => true,
),
),
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment