2012-04-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/pandora_forms.css include/functions_themes.php: Removed bad Css files from visual styles. Merged from branches. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6195 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
466726a59e
commit
da5f54ffd8
|
@ -1,3 +1,11 @@
|
|||
2012-04-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* include/styles/pandora_forms.css
|
||||
include/functions_themes.php: Removed bad Css files from visual
|
||||
styles.
|
||||
|
||||
Merged from branches.
|
||||
|
||||
2012-04-26 Vanessa Gil <vanessa.gil@artica.es>
|
||||
|
||||
* operation/events/events_list.php: The column to validate events
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
* Get a list of CSS themes installed.
|
||||
*
|
||||
* @param bool List all css files of an specific path without filter "pandora*" pattern
|
||||
* Note: If you want to exclude a Css file from the resulting list put "Exclude css from visual styles" in the file header
|
||||
*
|
||||
* @return array An indexed array with the file name in the index and the theme
|
||||
* name (if available) as the value.
|
||||
|
@ -44,6 +45,9 @@ function themes_get_css ($path = false) {
|
|||
if ($path && ($file == '.' || $file == '..' || strtolower(substr ($file, strlen ($file) - 4)) !== '.css'))
|
||||
continue;
|
||||
$data = implode ('', file ($theme_dir.'/'.$file));
|
||||
if (preg_match ('|Exclude css from visual styles|', $data)) {
|
||||
continue;
|
||||
}
|
||||
preg_match ('|Name:(.*)$|mi', $data, $name);
|
||||
if (isset ($name[1]))
|
||||
$retval[$file] = trim ($name[1]);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
|
||||
Author: The Pandora FMS team
|
||||
Name: Forms
|
||||
Exclude css from visual styles
|
||||
Description: Forms based on fieldset and labels to improve accesibility
|
||||
|
||||
// Pandora FMS - the Flexible Monitoring System
|
||||
|
|
Loading…
Reference in New Issue