updated plgntls :
- renamed PLGNTLS_class -> Plgntls - changed method 'add_to_front()' to static method - moved fetch script as inline script, so the plgntls file is single - improved the way inline script and styles are added
This commit is contained in:
@@ -12,7 +12,7 @@ if (!defined('ABSPATH')) {
|
||||
|
||||
|
||||
function display_page_css_CIPF($user_id = null) {
|
||||
PLGNTLS_class::debug_infos();
|
||||
Plgntls::debug_infos();
|
||||
$css_for_states = array();
|
||||
|
||||
/*
|
||||
@@ -91,8 +91,7 @@ function display_page_css_CIPF($user_id = null) {
|
||||
$css_for_states[] = 'css/display_states/type_virement.css';
|
||||
}
|
||||
|
||||
$cipf_states = new PLGNTLS_class();
|
||||
$cipf_states->add_to_front($css_for_states);
|
||||
Plgntls::add_to_front($css_for_states);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user