mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
remove filemtime from single js loads and load it global in the footerdata script by using the cache_buster
This commit is contained in:
@@ -44,8 +44,8 @@ class Activated_gridmap extends CI_Controller {
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/leaflet/geocoding.js',
|
||||
'assets/js/leaflet/L.MaidenheadColouredGridMap.js',
|
||||
'assets/js/sections/gridmap.js?',
|
||||
'assets/js/bootstrap-multiselect.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/bootstrap-multiselect.js")),
|
||||
'assets/js/sections/gridmap.js',
|
||||
'assets/js/bootstrap-multiselect.js',
|
||||
];
|
||||
|
||||
$this->load->view('interface_assets/header', $data);
|
||||
|
||||
@@ -50,7 +50,7 @@ class Activators extends CI_Controller
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/activators.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/activators.js")),
|
||||
'assets/js/sections/activators.js',
|
||||
];
|
||||
|
||||
$this->load->view('interface_assets/header', $data);
|
||||
|
||||
@@ -277,7 +277,7 @@ class Awards extends CI_Controller {
|
||||
public function waja () {
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/wajamap.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/wajamap.js")),
|
||||
'assets/js/sections/wajamap.js',
|
||||
'assets/js/leaflet/L.Maidenhead.js',
|
||||
];
|
||||
|
||||
@@ -357,8 +357,8 @@ class Awards extends CI_Controller {
|
||||
public function jcc () {
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/jcc.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/jcc.js")),
|
||||
'assets/js/sections/jccmap.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/jccmap.js"))
|
||||
'assets/js/sections/jcc.js',
|
||||
'assets/js/sections/jccmap.js'
|
||||
];
|
||||
|
||||
$this->load->model('jcc_model');
|
||||
@@ -637,8 +637,8 @@ class Awards extends CI_Controller {
|
||||
public function cq() {
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/cqmap_geojson.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/cqmap_geojson.js")),
|
||||
'assets/js/sections/cqmap.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/cqmap.js"))
|
||||
'assets/js/sections/cqmap_geojson.js',
|
||||
'assets/js/sections/cqmap.js'
|
||||
];
|
||||
|
||||
$this->load->model('logbooks_model');
|
||||
@@ -713,7 +713,7 @@ class Awards extends CI_Controller {
|
||||
public function was() {
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/wasmap.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/wasmap.js")),
|
||||
'assets/js/sections/wasmap.js',
|
||||
'assets/js/leaflet/L.Maidenhead.js',
|
||||
];
|
||||
|
||||
@@ -775,7 +775,7 @@ class Awards extends CI_Controller {
|
||||
public function rac() {
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/racmap.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/racmap.js")),
|
||||
'assets/js/sections/racmap.js',
|
||||
'assets/js/leaflet/L.Maidenhead.js',
|
||||
];
|
||||
|
||||
@@ -837,7 +837,7 @@ class Awards extends CI_Controller {
|
||||
public function helvetia() {
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/helvetiamap.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/helvetiamap.js")),
|
||||
'assets/js/sections/helvetiamap.js',
|
||||
'assets/js/leaflet/L.Maidenhead.js',
|
||||
];
|
||||
|
||||
@@ -1367,7 +1367,7 @@ class Awards extends CI_Controller {
|
||||
public function wap() {
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/wapmap.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/wapmap.js")),
|
||||
'assets/js/sections/wapmap.js',
|
||||
'assets/js/leaflet/L.Maidenhead.js',
|
||||
];
|
||||
|
||||
@@ -1895,7 +1895,7 @@ class Awards extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/wab.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/wab.js"))
|
||||
'assets/js/sections/wab.js'
|
||||
];
|
||||
|
||||
// Render page
|
||||
@@ -1975,8 +1975,8 @@ class Awards extends CI_Controller {
|
||||
public function itu() {
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/itumap_geojson.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/itumap_geojson.js")),
|
||||
'assets/js/sections/itumap.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/itumap.js"))
|
||||
'assets/js/sections/itumap_geojson.js',
|
||||
'assets/js/sections/itumap.js'
|
||||
];
|
||||
|
||||
$this->load->model('logbooks_model');
|
||||
@@ -2271,7 +2271,7 @@ class Awards extends CI_Controller {
|
||||
public function wpx () {
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/wpx.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/wpx.js")),
|
||||
'assets/js/sections/wpx.js',
|
||||
];
|
||||
|
||||
$this->load->model('wpx');
|
||||
@@ -2385,7 +2385,7 @@ class Awards extends CI_Controller {
|
||||
public function pl_polska() {
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/award_pl_polska.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/award_pl_polska.js")),
|
||||
'assets/js/sections/award_pl_polska.js',
|
||||
'assets/js/leaflet/L.Maidenhead.js',
|
||||
];
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ class Band extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/bandedges.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/bandedges.js")),
|
||||
'assets/js/sections/bandedges.js',
|
||||
];
|
||||
|
||||
// Render Page
|
||||
|
||||
@@ -41,13 +41,13 @@ class Bandmap extends CI_Controller {
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/moment.min.js',
|
||||
'assets/js/datetime-moment.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/datetime-moment.js")),
|
||||
'assets/js/cat.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/cat.js")),
|
||||
'assets/js/leaflet/leaflet.geodesic.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/leaflet/leaflet.geodesic.js")),
|
||||
'assets/js/leaflet.polylineDecorator.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/leaflet.polylineDecorator.js")),
|
||||
'assets/js/leaflet/L.Terminator.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/leaflet/L.Terminator.js")),
|
||||
'assets/js/sections/callstats.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/callstats.js")),
|
||||
'assets/js/sections/bandmap_list.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/bandmap_list.js")),
|
||||
'assets/js/datetime-moment.js',
|
||||
'assets/js/cat.js',
|
||||
'assets/js/leaflet/leaflet.geodesic.js',
|
||||
'assets/js/leaflet.polylineDecorator.js',
|
||||
'assets/js/leaflet/L.Terminator.js',
|
||||
'assets/js/sections/callstats.js',
|
||||
'assets/js/sections/bandmap_list.js',
|
||||
];
|
||||
|
||||
// Get Date format
|
||||
|
||||
@@ -74,7 +74,7 @@ class Callstats extends CI_Controller
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/callstats.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/callstats.js")),
|
||||
'assets/js/sections/callstats.js',
|
||||
];
|
||||
|
||||
$this->load->view('interface_assets/header', $data);
|
||||
|
||||
@@ -26,7 +26,7 @@ class Calltester extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/calltester.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/calltester.js"))
|
||||
'assets/js/sections/calltester.js',
|
||||
];
|
||||
|
||||
$data['page_title'] = __("Call Tester");
|
||||
|
||||
@@ -61,7 +61,7 @@ class Club extends CI_Controller
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/club_permissions.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/club_permissions.js")),
|
||||
'assets/js/sections/club_permissions.js',
|
||||
];
|
||||
|
||||
$this->load->view('interface_assets/header', $data);
|
||||
|
||||
@@ -96,7 +96,7 @@ class Clublog extends CI_Controller
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/clublog.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/clublog.js")),
|
||||
'assets/js/sections/clublog.js',
|
||||
];
|
||||
|
||||
$this->load->view('interface_assets/header', $data);
|
||||
|
||||
@@ -36,7 +36,7 @@ class Contestcalendar extends CI_Controller {
|
||||
}
|
||||
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/dxcalendar.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/dxcalendar.js"))
|
||||
'assets/js/sections/dxcalendar.js'
|
||||
];
|
||||
} else {
|
||||
$data['contestsToday']='';
|
||||
|
||||
@@ -45,7 +45,7 @@ class Contesting extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/contesting.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/contesting.js")),
|
||||
'assets/js/sections/contesting.js',
|
||||
];
|
||||
|
||||
$this->load->library('form_validation');
|
||||
@@ -121,7 +121,7 @@ class Contesting extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/contesting.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/contesting.js")),
|
||||
'assets/js/sections/contesting.js',
|
||||
];
|
||||
|
||||
// Render Page
|
||||
@@ -143,7 +143,7 @@ class Contesting extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/contesting.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/contesting.js")),
|
||||
'assets/js/sections/contesting.js',
|
||||
];
|
||||
|
||||
$this->form_validation->set_rules('name', 'Contest Name', 'required');
|
||||
|
||||
@@ -31,8 +31,8 @@ class cron extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/cronstrue.min.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/cronstrue.min.js")),
|
||||
'assets/js/sections/cron.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/cron.js"))
|
||||
'assets/js/cronstrue.min.js',
|
||||
'assets/js/sections/cron.js'
|
||||
];
|
||||
|
||||
$data['page_title'] = __("Cron Manager");
|
||||
|
||||
@@ -160,7 +160,7 @@ class Dashboard extends CI_Controller {
|
||||
$dxcc = $this->dxcc->list_current();
|
||||
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/dashboard.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/dashboard.js")),
|
||||
'assets/js/sections/dashboard.js',
|
||||
];
|
||||
|
||||
// First Login Wizard
|
||||
@@ -189,7 +189,7 @@ class Dashboard extends CI_Controller {
|
||||
$this->load->model('dxcc');
|
||||
$viewdata['dxcc_list'] = $this->dxcc->list();
|
||||
|
||||
$footerData['scripts'][] = 'assets/js/bootstrap-multiselect.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/bootstrap-multiselect.js"));
|
||||
$footerData['scripts'][] = 'assets/js/bootstrap-multiselect.js';
|
||||
|
||||
$this->load->library('form_validation');
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ class Dxcalendar extends CI_Controller {
|
||||
|
||||
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/dxcalendar.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/dxcalendar.js"))
|
||||
'assets/js/sections/dxcalendar.js'
|
||||
];
|
||||
|
||||
$this->load->view('interface_assets/header', $data);
|
||||
|
||||
@@ -21,8 +21,8 @@ class Generic_qsl extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/bootstrap-multiselect.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/bootstrap-multiselect.js")),
|
||||
'assets/js/sections/qsl.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/qsl.js")),
|
||||
'assets/js/bootstrap-multiselect.js',
|
||||
'assets/js/sections/qsl.js',
|
||||
];
|
||||
|
||||
$this->load->view('interface_assets/header', $data);
|
||||
|
||||
@@ -46,9 +46,9 @@ class Gridmap extends CI_Controller {
|
||||
'assets/js/leaflet/geocoding.js',
|
||||
'assets/js/sections/gridmap.js?',
|
||||
'assets/js/leaflet/L.MaidenheadColouredGridMap.js',
|
||||
'assets/js/sections/itumap_geojson.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/itumap_geojson.js")),
|
||||
'assets/js/sections/cqmap_geojson.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/cqmap_geojson.js")),
|
||||
'assets/js/bootstrap-multiselect.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/bootstrap-multiselect.js")),
|
||||
'assets/js/sections/itumap_geojson.js',
|
||||
'assets/js/sections/cqmap_geojson.js',
|
||||
'assets/js/bootstrap-multiselect.js',
|
||||
];
|
||||
|
||||
$this->load->view('interface_assets/header', $data);
|
||||
|
||||
@@ -15,7 +15,7 @@ class Hamsat extends CI_Controller {
|
||||
|
||||
public function index() {
|
||||
$data['scripts'] = [
|
||||
'assets/js/sections/hamsat.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/hamsat.js")),
|
||||
'assets/js/sections/hamsat.js',
|
||||
'assets/js/moment.min.js',
|
||||
'assets/js/datetime-moment.js'
|
||||
];
|
||||
|
||||
@@ -91,15 +91,15 @@ class Logbookadvanced extends CI_Controller {
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/moment.min.js',
|
||||
'assets/js/datetime-moment.js',
|
||||
'assets/js/sections/logbookadvanced.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/logbookadvanced.js")),
|
||||
'assets/js/sections/logbookadvanced_edit.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/logbookadvanced_edit.js")),
|
||||
'assets/js/sections/logbookadvanced_map.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/logbookadvanced_map.js")),
|
||||
'assets/js/sections/cqmap_geojson.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/cqmap_geojson.js")),
|
||||
'assets/js/sections/itumap_geojson.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/itumap_geojson.js")),
|
||||
'assets/js/leaflet/L.Terminator.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/leaflet/L.Terminator.js")),
|
||||
'assets/js/sections/logbookadvanced.js',
|
||||
'assets/js/sections/logbookadvanced_edit.js',
|
||||
'assets/js/sections/logbookadvanced_map.js',
|
||||
'assets/js/sections/cqmap_geojson.js',
|
||||
'assets/js/sections/itumap_geojson.js',
|
||||
'assets/js/leaflet/L.Terminator.js',
|
||||
'assets/js/leaflet/geocoding.js',
|
||||
'assets/js/globe/globe.gl.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/globe/globe.gl.js")),
|
||||
'assets/js/bootstrap-multiselect.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/bootstrap-multiselect.js")),
|
||||
'assets/js/globe/globe.gl.js',
|
||||
'assets/js/bootstrap-multiselect.js',
|
||||
'assets/js/leaflet/L.MaidenheadColouredGridMap.js',
|
||||
];
|
||||
|
||||
|
||||
@@ -51,9 +51,9 @@ class Map extends CI_Controller {
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/leaflet/geocoding.js',
|
||||
'assets/js/leaflet/L.Maidenhead.js',
|
||||
'assets/js/sections/qso_map.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/qso_map.js")),
|
||||
'assets/js/sections/itumap_geojson.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/itumap_geojson.js")),
|
||||
'assets/js/sections/cqmap_geojson.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/cqmap_geojson.js")),
|
||||
'assets/js/sections/qso_map.js',
|
||||
'assets/js/sections/itumap_geojson.js',
|
||||
'assets/js/sections/cqmap_geojson.js',
|
||||
];
|
||||
|
||||
$this->load->view('interface_assets/header', $data);
|
||||
|
||||
@@ -27,7 +27,7 @@ class Qsl extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/qsl.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/qsl.js")),
|
||||
'assets/js/sections/qsl.js',
|
||||
];
|
||||
|
||||
$this->load->view('interface_assets/header', $data);
|
||||
|
||||
@@ -18,7 +18,7 @@ class Radio extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/radio.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/radio.js")),
|
||||
'assets/js/sections/radio.js',
|
||||
];
|
||||
|
||||
$this->load->view('interface_assets/header', $data);
|
||||
|
||||
@@ -34,7 +34,7 @@ class Satellite extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/satellite.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/satellite.js")),
|
||||
'assets/js/sections/satellite.js',
|
||||
];
|
||||
|
||||
// Render Page
|
||||
@@ -184,10 +184,10 @@ class Satellite extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/satellite.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/satellite.js")),
|
||||
'assets/js/sections/three-orbit-controls.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/three-orbit-controls.js")),
|
||||
'assets/js/sections/satellite_functions.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/satellite_functions.js")),
|
||||
'assets/js/sections/flightpath.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/flightpath.js")),
|
||||
'assets/js/sections/satellite.js',
|
||||
'assets/js/sections/three-orbit-controls.js',
|
||||
'assets/js/sections/satellite_functions.js',
|
||||
'assets/js/sections/flightpath.js',
|
||||
'assets/js/leaflet/L.Maidenhead.js',
|
||||
'assets/js/leaflet/geocoding.js',
|
||||
];
|
||||
@@ -245,8 +245,8 @@ class Satellite extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/bootstrap-multiselect.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/bootstrap-multiselect.js")),
|
||||
'assets/js/sections/satpasses.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/satpasses.js")),
|
||||
'assets/js/bootstrap-multiselect.js',
|
||||
'assets/js/sections/satpasses.js',
|
||||
];
|
||||
|
||||
// Render Page
|
||||
|
||||
@@ -27,7 +27,7 @@ class SimpleFLE extends CI_Controller {
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/moment.min.js',
|
||||
'assets/js/datetime-moment.js',
|
||||
'assets/js/sections/simplefle.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/simplefle.js"))
|
||||
'assets/js/sections/simplefle.js'
|
||||
];
|
||||
|
||||
$this->load->view('interface_assets/header', $data);
|
||||
|
||||
@@ -32,7 +32,7 @@ class Stationsetup extends CI_Controller {
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/moment.min.js',
|
||||
'assets/js/datetime-moment.js',
|
||||
'assets/js/sections/stationsetup.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/stationsetup.js")),
|
||||
'assets/js/sections/stationsetup.js',
|
||||
];
|
||||
|
||||
// Get Date format
|
||||
|
||||
@@ -321,9 +321,9 @@ class Statistics extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/chart.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/chart.js")),
|
||||
'assets/js/sections/antennastats.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/antennastats.js")),
|
||||
'assets/js/bootstrap-multiselect.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/bootstrap-multiselect.js")),
|
||||
'assets/js/chart.js',
|
||||
'assets/js/sections/antennastats.js',
|
||||
'assets/js/bootstrap-multiselect.js',
|
||||
];
|
||||
|
||||
// Load Views
|
||||
@@ -389,7 +389,7 @@ class Statistics extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/initials.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/initials.js")),
|
||||
'assets/js/sections/initials.js',
|
||||
];
|
||||
|
||||
// Load Views
|
||||
|
||||
@@ -44,7 +44,7 @@ class User extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/user.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/user.js")),
|
||||
'assets/js/sections/user.js',
|
||||
];
|
||||
|
||||
$data['page_title'] = __("User Accounts");
|
||||
@@ -174,7 +174,7 @@ class User extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/user.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/user.js")),
|
||||
'assets/js/sections/user.js',
|
||||
];
|
||||
|
||||
// Get timezones
|
||||
@@ -418,7 +418,7 @@ class User extends CI_Controller {
|
||||
|
||||
$footerData = [];
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/sections/user.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/user.js")),
|
||||
'assets/js/sections/user.js',
|
||||
];
|
||||
|
||||
// Get timezones
|
||||
|
||||
@@ -3240,7 +3240,7 @@ function viewEqsl(picture, callsign) {
|
||||
<?php
|
||||
if (isset($scripts) && is_array($scripts)){
|
||||
foreach($scripts as $script){
|
||||
?><script type="text/javascript" src="<?php echo base_url() . $script ;?>"></script>
|
||||
?><script type="text/javascript" src="<?php echo $this->paths->cache_buster('/'.$script); ?>"></script>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user