mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-29 07:02:41 +01:00
Fix check su inclusione script per plugin statistiche
This commit is contained in:
parent
575e7f6943
commit
b390bd50f7
@ -30,15 +30,14 @@ echo '
|
||||
|
||||
$statistiche = Modules::get('Statistiche');
|
||||
|
||||
if( $statistiche->enabled==1 ){
|
||||
if( $statistiche != null ){
|
||||
echo '
|
||||
<script src="'.$statistiche->fileurl('js/functions.js').'"></script>
|
||||
<script src="'.$statistiche->fileurl('js/manager.js').'"></script>
|
||||
<script src="'.$statistiche->fileurl('js/calendar.js').'"></script>
|
||||
<script src="'.$statistiche->fileurl('js/stat.js').'"></script>
|
||||
<script src="'.$statistiche->fileurl('js/stats/table.js').'"></script>
|
||||
<script src="'.$statistiche->fileurl('js/stats/widget.js').'"></script>
|
||||
<script src="'.$statistiche->fileurl('js/init.js').'"></script>';
|
||||
<script src="'.$statistiche->fileurl('js/stats/widget.js').'"></script>';
|
||||
}
|
||||
|
||||
echo'
|
||||
@ -51,3 +50,8 @@ function init_calendar(calendar) {
|
||||
calendar.addElement(widgets);
|
||||
}
|
||||
</script>';
|
||||
|
||||
if( $statistiche != null ){
|
||||
echo '
|
||||
<script src="'.$statistiche->fileurl('js/init.js').'"></script>';
|
||||
}
|
||||
|
@ -78,15 +78,13 @@ echo '
|
||||
|
||||
$statistiche = Modules::get('Statistiche');
|
||||
|
||||
if( $statistiche->enabled==1 ){
|
||||
|
||||
if( $statistiche != null ){
|
||||
echo '
|
||||
<script src="'.$statistiche->fileurl('js/functions.js').'"></script>
|
||||
<script src="'.$statistiche->fileurl('js/manager.js').'"></script>
|
||||
<script src="'.$statistiche->fileurl('js/calendar.js').'"></script>
|
||||
<script src="'.$statistiche->fileurl('js/stat.js').'"></script>
|
||||
<script src="'.$statistiche->fileurl('js/stats/table.js').'"></script>
|
||||
<script src="'.$statistiche->fileurl('js/init.js').'"></script>';
|
||||
<script src="'.$statistiche->fileurl('js/stats/table.js').'"></script>';
|
||||
}
|
||||
|
||||
echo'
|
||||
@ -104,3 +102,8 @@ function init_calendar(calendar) {
|
||||
calendar.addElement(prezzo_vendita);
|
||||
}
|
||||
</script>';
|
||||
|
||||
if( $statistiche != null ){
|
||||
echo '
|
||||
<script src="'.$statistiche->fileurl('js/init.js').'"></script>';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user