Update libs and fix ugc URL
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
require_once 'settings.php';
|
require_once 'settings.php';
|
||||||
|
|
||||||
define('TMP_FOLDER', 'tmp/');
|
define('TMP_FOLDER', 'tmp/');
|
||||||
define('UGC_URL', 'https://ugc.fr');
|
define('UGC_URL', 'https://www.ugc.fr');
|
||||||
|
|
||||||
function getPage($sPath, $asVars, $sType)
|
function getPage($sPath, $asVars, $sType)
|
||||||
{
|
{
|
||||||
|
|||||||
9
script/jquery-ui.js
vendored
9
script/jquery-ui.js
vendored
File diff suppressed because one or more lines are too long
10
script/jquery.js
vendored
10
script/jquery.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
|||||||
function Film(oSettings)
|
function Film(oSettings)
|
||||||
{
|
{
|
||||||
var self = this;
|
var self = this;
|
||||||
this.consts = {'ugc_url':'https://ugc.fr/', 'process_url':'index.php'};
|
this.consts = {'ugc_url':'https://www.ugc.fr/', 'process_url':'index.php'};
|
||||||
this.settings = oSettings;
|
this.settings = oSettings;
|
||||||
this._attr = {};
|
this._attr = {};
|
||||||
this._anchor = {};
|
this._anchor = {};
|
||||||
@@ -238,7 +238,7 @@ function Ugc()
|
|||||||
//Load cinemas
|
//Load cinemas
|
||||||
$.each(this.settings.cinemas(), function(iCinemaId, sCinemaName){
|
$.each(this.settings.cinemas(), function(iCinemaId, sCinemaName){
|
||||||
getUgcPage( 'showingsCinemaAjaxAction!getShowingsForCinemaPage.action',
|
getUgcPage( 'showingsCinemaAjaxAction!getShowingsForCinemaPage.action',
|
||||||
{cinemaId:iCinemaId, date:self.settings.date('french'), page:'10007', sort:'all'},
|
{cinemaId:iCinemaId, date:self.settings.date('french'), page:'10007', sort:'ugc', searchFilmKey:''},
|
||||||
function(hDom){self.addCinema(iCinemaId, hDom)},
|
function(hDom){self.addCinema(iCinemaId, hDom)},
|
||||||
function(){},
|
function(){},
|
||||||
'html');
|
'html');
|
||||||
@@ -498,7 +498,7 @@ function Settings()
|
|||||||
|
|
||||||
//UGC cinemas
|
//UGC cinemas
|
||||||
getUgcPage( 'resaExpressAction!getCinemaList.action',
|
getUgcPage( 'resaExpressAction!getCinemaList.action',
|
||||||
{'regionsAndCinemasBean.region':'', 'regionsAndCinemasBean.cinema':'', '_':this.date('timestamp')},
|
{region:'', cinema:'', film:'', date:'', seance:'', '_':this.date('timestamp')},
|
||||||
function(jData){
|
function(jData){
|
||||||
self.ugcCinemas(jData.cinemas);
|
self.ugcCinemas(jData.cinemas);
|
||||||
self.addUgcCinemasToDom();
|
self.addUgcCinemasToDom();
|
||||||
|
|||||||
1
style/scss.bat
Normal file
1
style/scss.bat
Normal file
@@ -0,0 +1 @@
|
|||||||
|
sass --unix-newline -l --style=compressed --watch ugc.scss:ugc.css
|
||||||
Reference in New Issue
Block a user