mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-29 07:02:41 +01:00
Bugfix disattivazione modulo statistiche
This commit is contained in:
parent
18e3a4f6ef
commit
575e7f6943
@ -29,14 +29,19 @@ echo '
|
||||
</div>';
|
||||
|
||||
$statistiche = Modules::get('Statistiche');
|
||||
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>
|
||||
|
||||
if( $statistiche->enabled==1 ){
|
||||
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>';
|
||||
}
|
||||
|
||||
echo'
|
||||
<script>
|
||||
var local_url = "'.str_replace('edit.php', '', $structure->fileurl('edit.php')).'";
|
||||
|
||||
@ -45,6 +50,4 @@ function init_calendar(calendar) {
|
||||
|
||||
calendar.addElement(widgets);
|
||||
}
|
||||
</script>
|
||||
|
||||
<script src="'.$statistiche->fileurl('js/init.js').'"></script>';
|
||||
</script>';
|
||||
|
@ -78,12 +78,18 @@ echo '
|
||||
|
||||
$statistiche = Modules::get('Statistiche');
|
||||
|
||||
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>
|
||||
if( $statistiche->enabled==1 ){
|
||||
|
||||
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>';
|
||||
}
|
||||
|
||||
echo'
|
||||
|
||||
<script src="'.$structure->fileurl('js/prezzo.js').'"></script>
|
||||
|
||||
@ -97,6 +103,4 @@ function init_calendar(calendar) {
|
||||
calendar.addElement(prezzo_acquisto);
|
||||
calendar.addElement(prezzo_vendita);
|
||||
}
|
||||
</script>
|
||||
|
||||
<script src="'.$statistiche->fileurl('js/init.js').'"></script>';
|
||||
</script>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user