diff --git a/custom/modules.php b/custom/modules.php index e32aaa9..96246c3 100644 --- a/custom/modules.php +++ b/custom/modules.php @@ -1,12 +1,5 @@ prepare($sql); - $execSQL->execute(array()); - $rows = $execSQL->fetchAll(PDO::FETCH_ASSOC); - foreach($rows as $k=>$v){ - $erpConfig[$rows[$k]['k']] = $rows[$k]['v']; - } - return $erpConfig; - } - - public function createClient($data, $ext_id){ - $this->_data = $data; - $this->_extId = $ext_id; - - $config = ClassConfig::getConfig(); - $oPDOLink = ClassConfig::foreignDatabaseConnect($_SESSION['globsi_clients']['db_server'], $_SESSION['globsi_clients']['db_name'], $_SESSION['globsi_clients']['db_user'], $_SESSION['globsi_clients']['db_password']); - - //IF password and confirmPassword are not identical, displaying an error message - if($this->_data['formCreateClientFieldPassword'] != $this->_data['formCreateClientFieldConfirmPassword']){ - $message['state']='failed'; - $message['css_class']='failed'; - $message['translation_code'] = 'checkRegisterForm_notSamePassword'; - return $message; - } - else { - $activation_code = rand(); - $sql=" - INSERT INTO user_user(email, password, activation_code, firstname, lastname, - core_lang_id, core_country_id, core_currency_id, core_theme_id, - is_active, comment - )VALUES( - :email, :password, :activation_code, - :firstname, :lastname, - 12, 44, 4, 1, - true, 'user created during installation process') - "; - $execSQL = $oPDOLink->prepare($sql); - if($execSQL->execute(array( - ':email'=>$this->_data['formCreateClientFieldEmail'], - ':password'=>sha1($this->_data['formCreateClientFieldPassword'].'-k3P[8x&'), - ':activation_code'=>$activation_code, - ':firstname'=>$this->_data['formCreateClientFieldFirstname'], - ':lastname'=>$this->_data['formCreateClientFieldLastname'] - ))){ - $newUserId = $oPDOLink->lastInsertId('user_user_id_seq'); - //$isVipOfferActive = $this->_checkIfVipOfferActive(); - //$isEverythingForFreeActive = $this->_checkIfEverythingForFreeActive(); - // core user detail - $sql=" - INSERT INTO user_detail(user_id, ext_id) - VALUES (:user_id, :ext_id) - "; - $execSQL = $oPDOLink->prepare($sql); - $execSQL->execute(array(':user_id'=>$newUserId, ':ext_id'=>$this->_extId)); - - // features for user - $sql=" - INSERT INTO useruser_corefeature_rel(user_id, core_feature_id) - VALUES ( - (SELECT id FROM user_user WHERE email=:email LIMIT 1), - (SELECT id FROM core_feature WHERE code=:core_feature_code LIMIT 1) - ); - "; - $execSQL = $oPDOLink->prepare($sql); - $execSQL->execute(array(':email'=>$this->_data['formCreateClientFieldEmail'], ':core_feature_code'=>'home')); - $execSQL->execute(array(':email'=>$this->_data['formCreateClientFieldEmail'], ':core_feature_code'=>'list-tasks')); - $execSQL->execute(array(':email'=>$this->_data['formCreateClientFieldEmail'], ':core_feature_code'=>'edit-task')); - $execSQL->execute(array(':email'=>$this->_data['formCreateClientFieldEmail'], ':core_feature_code'=>'create-task')); - $execSQL->execute(array(':email'=>$this->_data['formCreateClientFieldEmail'], ':core_feature_code'=>'list-partners')); - $execSQL->execute(array(':email'=>$this->_data['formCreateClientFieldEmail'], ':core_feature_code'=>'edit-partner')); - $execSQL->execute(array(':email'=>$this->_data['formCreateClientFieldEmail'], ':core_feature_code'=>'create-partner')); - $execSQL->execute(array(':email'=>$this->_data['formCreateClientFieldEmail'], ':core_feature_code'=>'list-projects')); - $execSQL->execute(array(':email'=>$this->_data['formCreateClientFieldEmail'], ':core_feature_code'=>'edit-project')); - $execSQL->execute(array(':email'=>$this->_data['formCreateClientFieldEmail'], ':core_feature_code'=>'create-project')); - $execSQL->execute(array(':email'=>$this->_data['formCreateClientFieldEmail'], ':core_feature_code'=>'my-profile')); - $execSQL->execute(array(':email'=>$this->_data['formCreateClientFieldEmail'], ':core_feature_code'=>'logout')); - - $message['user_id'] = $newUserId; - $message['activation_code'] = $activation_code; - $message['status'] = "green"; - $message['content'] = 'User created with success'; - //TODO change confirmation_registration by register_form_success when registrations will need an activation by clic on link in an email - //$message['translation_code'] = 'register_form_success'; //'confirmation_registration'; - - //TODO send an email to admin to indicate that there is a new registration - return $message; - } else { - $message['status']='red'; - $message['content'] = 'User has not been created'; - //$message['translation_code'] = 'register_form_failed'; - return $message; - } - } - } - - public function getClient($user_id){ - $this->_userId = $user_id; - - $config = ClassConfig::getConfig(); - $oPDOLink = ClassConfig::foreignDatabaseConnect($_SESSION['globsi_clients']['db_server'], $_SESSION['globsi_clients']['db_name'], $_SESSION['globsi_clients']['db_user'], $_SESSION['globsi_clients']['db_password']); - - $sql=" - SELECT ud.ext_id, uu.* - FROM user_user uu - LEFT JOIN user_detail ud - ON uu.id=ud.user_id - WHERE uu.id=:user_id; - "; - $execSQL = $oPDOLink->prepare($sql); - $execSQL->execute(array(':user_id'=>$this->_userId)); - $row = $execSQL->fetch(PDO::FETCH_ASSOC); - return $row; - } - -} diff --git a/custom/modules/ClassGlobsiISP.php b/custom/modules/ClassGlobsiISP.php deleted file mode 100644 index 802ecab..0000000 --- a/custom/modules/ClassGlobsiISP.php +++ /dev/null @@ -1,118 +0,0 @@ -prepare($sql); - $execSQL->execute(array()); - $rows = $execSQL->fetchAll(PDO::FETCH_ASSOC); - foreach($rows as $k=>$v){ - $erpConfig[$rows[$k]['k']] = $rows[$k]['v']; - } - return $erpConfig; - } - - public function createISP($data, $ext_id){ - $this->_data = $data; - $this->_extId = $ext_id; - - $config = ClassConfig::getConfig(); - $oPDOLink = ClassConfig::foreignDatabaseConnect($_SESSION['globsi_sales']['db_server'], $_SESSION['globsi_sales']['db_name'], $_SESSION['globsi_sales']['db_user'], $_SESSION['globsi_sales']['db_password']); - - //IF password and confirmPassword are not identical, displaying an error message - if($this->_data['formCreateISPFieldPassword'] != $this->_data['formCreateISPFieldConfirmPassword']){ - $message['state']='failed'; - $message['css_class']='failed'; - $message['translation_code'] = 'checkRegisterForm_notSamePassword'; - return $message; - } - else { - $activation_code = rand(); - $sql=" - INSERT INTO user_user(email, password, activation_code, firstname, lastname, - core_lang_id, core_country_id, core_currency_id, core_theme_id, - is_active, comment - )VALUES( - :email, :password, :activation_code, - :firstname, :lastname, - 12, 44, 4, 1, - true, 'user created during installation process') - "; - $execSQL = $oPDOLink->prepare($sql); - if($execSQL->execute(array( - ':email'=>$this->_data['formCreateISPFieldEmail'], - ':password'=>sha1($this->_data['formCreateISPFieldPassword'].'-k3P[8x&'), - ':activation_code'=>$activation_code, - ':firstname'=>$this->_data['formCreateISPFieldFirstname'], - ':lastname'=>$this->_data['formCreateISPFieldLastname'] - ))){ - $newUserId = $oPDOLink->lastInsertId('user_user_id_seq'); - //$isVipOfferActive = $this->_checkIfVipOfferActive(); - //$isEverythingForFreeActive = $this->_checkIfEverythingForFreeActive(); - // core user detail - $sql=" - INSERT INTO user_detail(user_id, ext_id) - VALUES (:user_id, :ext_id) - "; - $execSQL = $oPDOLink->prepare($sql); - $execSQL->execute(array(':user_id'=>$newUserId, ':ext_id'=>$this->_extId)); - - // features for user - $sql=" - INSERT INTO useruser_corefeature_rel(user_id, core_feature_id) - VALUES ( - (SELECT id FROM user_user WHERE email=:email LIMIT 1), - (SELECT id FROM core_feature WHERE code=:core_feature_code LIMIT 1) - ); - "; - $execSQL = $oPDOLink->prepare($sql); - $execSQL->execute(array(':email'=>$this->_data['formCreateISPFieldEmail'], ':core_feature_code'=>'home')); - $execSQL->execute(array(':email'=>$this->_data['formCreateISPFieldEmail'], ':core_feature_code'=>'my-profile')); - $execSQL->execute(array(':email'=>$this->_data['formCreateISPFieldEmail'], ':core_feature_code'=>'logout')); - - $message['user_id'] = $newUserId; - $message['activation_code'] = $activation_code; - $message['status'] = "green"; - $message['content'] = 'User created with success'; - //TODO change confirmation_registration by register_form_success when registrations will need an activation by clic on link in an email - //$message['translation_code'] = 'register_form_success'; //'confirmation_registration'; - - //TODO send an email to admin to indicate that there is a new registration - return $message; - } else { - $message['status']='red'; - $message['content'] = 'User has not been created'; - //$message['translation_code'] = 'register_form_failed'; - return $message; - } - } - } - - public function getISP($user_id){ - $this->_userId = $user_id; - - $config = ClassConfig::getConfig(); - $oPDOLink = ClassConfig::foreignDatabaseConnect($_SESSION['globsi_isp']['db_server'], $_SESSION['globsi_isp']['db_name'], $_SESSION['globsi_isp']['db_user'], $_SESSION['globsi_isp']['db_password']); - - $sql=" - SELECT ud.ext_id, uu.* - FROM user_user uu - LEFT JOIN user_detail ud - ON uu.id=ud.user_id - WHERE uu.id=:user_id; - "; - $execSQL = $oPDOLink->prepare($sql); - $execSQL->execute(array(':user_id'=>$this->_userId)); - $row = $execSQL->fetch(PDO::FETCH_ASSOC); - return $row; - } - -} diff --git a/custom/modules/ClassGlobsiProvider.php b/custom/modules/ClassGlobsiProvider.php deleted file mode 100644 index 42fe1d3..0000000 --- a/custom/modules/ClassGlobsiProvider.php +++ /dev/null @@ -1,118 +0,0 @@ -prepare($sql); - $execSQL->execute(array()); - $rows = $execSQL->fetchAll(PDO::FETCH_ASSOC); - foreach($rows as $k=>$v){ - $erpConfig[$rows[$k]['k']] = $rows[$k]['v']; - } - return $erpConfig; - } - - public function createProvider($data, $ext_id){ - $this->_data = $data; - $this->_extId = $ext_id; - - $config = ClassConfig::getConfig(); - $oPDOLink = ClassConfig::foreignDatabaseConnect($_SESSION['globsi_providers']['db_server'], $_SESSION['globsi_providers']['db_name'], $_SESSION['globsi_providers']['db_user'], $_SESSION['globsi_providers']['db_password']); - - //IF password and confirmPassword are not identical, displaying an error message - if($this->_data['formCreateProviderFieldPassword'] != $this->_data['formCreateProviderFieldConfirmPassword']){ - $message['state']='failed'; - $message['css_class']='failed'; - $message['translation_code'] = 'checkRegisterForm_notSamePassword'; - return $message; - } - else { - $activation_code = rand(); - $sql=" - INSERT INTO user_user(email, password, activation_code, firstname, lastname, - core_lang_id, core_country_id, core_currency_id, core_theme_id, - is_active, comment - )VALUES( - :email, :password, :activation_code, - :firstname, :lastname, - 12, 44, 4, 1, - true, 'user created during installation process') - "; - $execSQL = $oPDOLink->prepare($sql); - if($execSQL->execute(array( - ':email'=>$this->_data['formCreateProviderFieldEmail'], - ':password'=>sha1($this->_data['formCreateProviderFieldPassword'].'-k3P[8x&'), - ':activation_code'=>$activation_code, - ':firstname'=>$this->_data['formCreateProviderFieldFirstname'], - ':lastname'=>$this->_data['formCreateProviderFieldLastname'] - ))){ - $newUserId = $oPDOLink->lastInsertId('user_user_id_seq'); - //$isVipOfferActive = $this->_checkIfVipOfferActive(); - //$isEverythingForFreeActive = $this->_checkIfEverythingForFreeActive(); - // core user detail - $sql=" - INSERT INTO user_detail(user_id, ext_id) - VALUES (:user_id, :ext_id) - "; - $execSQL = $oPDOLink->prepare($sql); - $execSQL->execute(array(':user_id'=>$newUserId, ':ext_id'=>$this->_extId)); - - // features for user - $sql=" - INSERT INTO useruser_corefeature_rel(user_id, core_feature_id) - VALUES ( - (SELECT id FROM user_user WHERE email=:email LIMIT 1), - (SELECT id FROM core_feature WHERE code=:core_feature_code LIMIT 1) - ); - "; - $execSQL = $oPDOLink->prepare($sql); - $execSQL->execute(array(':email'=>$this->_data['formCreateProviderFieldEmail'], ':core_feature_code'=>'home')); - $execSQL->execute(array(':email'=>$this->_data['formCreateProviderFieldEmail'], ':core_feature_code'=>'my-profile')); - $execSQL->execute(array(':email'=>$this->_data['formCreateProviderFieldEmail'], ':core_feature_code'=>'logout')); - - $message['user_id'] = $newUserId; - $message['activation_code'] = $activation_code; - $message['status'] = "green"; - $message['content'] = 'User created with success'; - //TODO change confirmation_registration by register_form_success when registrations will need an activation by clic on link in an email - //$message['translation_code'] = 'register_form_success'; //'confirmation_registration'; - - //TODO send an email to admin to indicate that there is a new registration - return $message; - } else { - $message['status']='red'; - $message['content'] = 'User has not been created'; - //$message['translation_code'] = 'register_form_failed'; - return $message; - } - } - } - - public function getClient($user_id){ - $this->_userId = $user_id; - - $config = ClassConfig::getConfig(); - $oPDOLink = ClassConfig::foreignDatabaseConnect($_SESSION['globsi_providers']['db_server'], $_SESSION['globsi_providers']['db_name'], $_SESSION['globsi_providers']['db_user'], $_SESSION['globsi_providers']['db_password']); - - $sql=" - SELECT ud.ext_id, uu.* - FROM user_user uu - LEFT JOIN user_detail ud - ON uu.id=ud.user_id - WHERE uu.id=:user_id; - "; - $execSQL = $oPDOLink->prepare($sql); - $execSQL->execute(array(':user_id'=>$this->_userId)); - $row = $execSQL->fetch(PDO::FETCH_ASSOC); - return $row; - } - -} diff --git a/custom/modules/ClassPlay.php b/custom/modules/ClassPlay.php deleted file mode 100644 index 3e00b94..0000000 --- a/custom/modules/ClassPlay.php +++ /dev/null @@ -1,96 +0,0 @@ -execute_kw($db, $uid, $password, 'project.task.type', 'search', array(array(array('name', '=', $stage))))[0]; - } - - public function codePushed($models, $db, $uid, $password, $task_id){ - # Check if upload have no error, then encode to base64. - if ($_FILES['input_file_code_form']['error'] == UPLOAD_ERR_OK - && is_uploaded_file($_FILES['input_file_code_form']['tmp_name'])) { - $file_content = file_get_contents($_FILES['input_file_code_form']['tmp_name']); - $file_base64 = base64_encode($file_content); - } - else{ - $res['status'] = 'warning'; - $res['message'] = 'Something went wrong with the file you try to upload. Please try again. If problem persist, contact us'; - return $res; - } - //assign task to user in ERP - $stage_id = $this->_getStageId($models, $db, $uid, $password, "Approval"); - $res['erp'] = $models->execute_kw( - $db, $uid, $password, 'project.task', 'write', array( - array((integer) $task_id), - array( - 'stage_id'=>$stage_id, - 'file_base64'=>$file_base64, - 'file_name'=>$_FILES['input_file_code_form']['name'], - ) - )); //the (integer) casting before $task_id is required - $res['status'] = 'success'; - $res['message'] = 'Well done and thank you for your work. We will review it as soon as possible and let you know if it is approved or if a part of your work needs to be fixed.'; - return $res; - } - - public function getUnassignedTask($models, $db, $uid, $password, $task_id){ - //assign task to user in ERP - $res = $models->execute_kw($db, $uid, $password, 'project.task', 'get_task', array(array((integer) $task_id))); //the (integer) casting before $task_id is required - return $res; - } - - public function listMyCurrentTasks($models, $db, $uid, $password){ - $res = $models->execute_kw($db, $uid, $password, 'project.task', 'search_read', array(array(array('user_id', '=', $uid))), array('fields'=>array())); - return $res; - } - - public function getMyCurrentTask($models, $db, $uid, $password){ - $stage_id = $this->_getStageId($models, $db, $uid, $password, "Current"); - $res = $models->execute_kw($db, $uid, $password, 'project.task', 'search_read', array(array(array('user_id', '=', $uid), array('stage_id', '=', $stage_id))), array('fields'=>array())); - return $res; - } - - public function listMyTasksOnApproval($models, $db, $uid, $password){ - $stage_id = $this->_getStageId($models, $db, $uid, $password, "Approval"); - $res = $models->execute_kw($db, $uid, $password, 'project.task', 'search_read', array(array(array('user_id', '=', $uid), array('stage_id', '=', $stage_id))), array('fields'=>array())); - return $res; - } - - public function listTasksToFix($models, $db, $uid, $password){ - $stage_id = $this->_getStageId($models, $db, $uid, $password, "To Fix"); - $res = $models->execute_kw($db, $uid, $password, 'project.task', 'search_read', array(array(array('user_id', '=', $uid), array('stage_id', '=', $stage_id))), array('fields'=>array())); - return $res; - } - - public function listMyTasksDone($models, $db, $uid, $password){ - $stage_id = $this->_getStageId($models, $db, $uid, $password, "Done"); - $res = $models->execute_kw($db, $uid, $password, 'project.task', 'search_read', array(array(array('user_id', '=', $uid), array('stage_id', '=', $stage_id))), array('fields'=>array())); - return $res; - } - - - public function listUnassignedTasks($models, $db, $uid, $password){ - $res = $models->execute_kw($db, $uid, $password, 'project.task', 'search_read', array(array(array('user_id', '=', false),array('published', '=', true))), array('fields'=>array())); - return $res; - } - - public function listFixTasks($models, $db, $uid, $password){ - $res = $models->execute_kw($db, $uid, $password, 'project.task', 'list_to_fix_tasks', array()); - return $res; - } - - public function taskGaveUp($models, $db, $uid, $password, $task_id){ - //unassign task from user in ERP - $stage_id = $this->_getStageId($models, $db, $uid, $password, "Current"); - $res = $models->execute_kw($db, $uid, $password, 'project.task', 'write', array(array((integer) $task_id), array('stage_id'=>$stage_id, 'user_id'=>false))); //the (integer) casting before $task_id is required - return $res; - } - - public function taskGetAttachment($models, $db, $uid, $password, $attachment_id){ - $res = $models->execute_kw($db, $uid, $password, 'ir.attachment', 'read', array((integer) $attachment_id), array('fields'=>["datas", "name"])); //the (integer) casting before $attachment_id is required - return $res; - } - -} diff --git a/custom/scripts/ajax/current_real_gain.php b/custom/scripts/ajax/current_real_gain.php deleted file mode 100644 index 1f9a275..0000000 --- a/custom/scripts/ajax/current_real_gain.php +++ /dev/null @@ -1,17 +0,0 @@ -execute("globsi.stats", "get_current_currency_gauge", [$user_id], []); - -echo json_encode($current_real_gain); diff --git a/custom/scripts/checkFreeTasks.php b/custom/scripts/checkFreeTasks.php deleted file mode 100644 index b950823..0000000 --- a/custom/scripts/checkFreeTasks.php +++ /dev/null @@ -1,18 +0,0 @@ -authenticate($db, $username, $password, array()); - -$models = ripcord::client($url."xmlrpc/2/object"); - -$res = $models->execute_kw($db, $uid, $password, 'project.task', 'search', [[['user_id', '=', false],['published', '=', true]]]); - -echo implode(",", $res); \ No newline at end of file diff --git a/custom/scripts/d3js/current_real_gain.js b/custom/scripts/d3js/current_real_gain.js deleted file mode 100644 index c0ffb0d..0000000 --- a/custom/scripts/d3js/current_real_gain.js +++ /dev/null @@ -1,8 +0,0 @@ -//var svg = SVG.init("#current_real_gain", 600, 400); -get_gauge( - "custom/scripts/ajax/current_real_gain.php", - "#current_real_gain", - function(dataset){ return dataset.current; }, //current - function(){ return 0; }, //min - function(dataset){ return dataset.max; } //max -); diff --git a/custom/scripts/realtimeNotification.js b/custom/scripts/realtimeNotification.js deleted file mode 100644 index 6dc5071..0000000 --- a/custom/scripts/realtimeNotification.js +++ /dev/null @@ -1,36 +0,0 @@ -function grey_tasks(freetasks_ids){ - $(".task_todo").each(function(){ - var button = $(this).find("button[name='submit_getUnassignedTask_form']"); - if(!freetasks_ids.includes(this.id) && !button.prop('disabled')){ - button.prop('disabled', true); - button.text("Task assigned"); - } - else if(freetasks_ids.includes(this.id) && button.prop('disabled')){ - button.prop('disabled', false); - button.html("lock"); - } - }) -} - -function reatime_task_update(){ - var self = reatime_task_update; - $.ajax({ - type: "GET", - url: urlRoot + "custom/scripts/checkFreeTasks.php", - success: function(values) - { - var freetasks_ids = values.split(","); - freetasks_ids = $.map(freetasks_ids, function(id){ - return "task_todo_" + id; - }); - grey_tasks(freetasks_ids); - setTimeout(self, 5000); - }, - error: function() - { - setTimeout(self, 5000); - } - }); -} - -$(document).ready(reatime_task_update); \ No newline at end of file diff --git a/index.php b/index.php index 3b24d2f..c453261 100644 --- a/index.php +++ b/index.php @@ -16,7 +16,6 @@ ob_start(); session_start(); //unset($_SESSION); - if(isset($_SESSION['user']) and !isset($_SESSION['user']['id'])){ unset($_SESSION['user']); unset($_SESSION['config']); @@ -62,7 +61,7 @@ try { if(!isset($_COOKIE['firstvisit'])){ $display_cookie_message = true; - setcookie("globsi-admin", "false", time()+60*60*24*60); + setcookie("wefra-odoo11", "false", time()+60*60*24*60); } $oTrans = new ClassTranslation(); @@ -74,18 +73,14 @@ $oUser = new ClassUserCustom(); $oCountry = new ClassCountry(); $oCurrency = new ClassCurrency(); $oERP = new ClassERP(); -$oGlobsiClients = new ClassGlobsiClients(); -$oGlobsiISP = new ClassGlobsiISP(); ////TODO method to code //if(isset($_SESSION['user']) and $_SESSION['user']['modules_path']!="") $oUser->getCustomerModules($_SESSION['user']['modules_path']); - // Load configuration in _SESSION //unset($_SESSION['config']); //uncomment this line, even for test, creates a bug for translations for logged users if (!isset($_SESSION['config'])) { $_SESSION['config'] = $oConf->getConfig(); $_SESSION['erp'] = $oERP->getConfig(); - $_SESSION['globsi_clients'] = $oGlobsiClients->getConfig(); ////// //// The code below creates a bug in Chromium "Too many redirections diff --git a/models/login.php b/models/login.php index f162aaa..80ade90 100644 --- a/models/login.php +++ b/models/login.php @@ -2,16 +2,4 @@ $oConf = new ClassConfig(); $oTrans = new ClassTranslation(); -//$url = "http://localhost:8069"; -//$db = "odoo11globsi"; -//$username = $_POST['login']; -//$password = $_POST['password']; -// -//require_once('./custom/modules/ripcord.php'); -// -//$common = ripcord::client("$url/xmlrpc/2/common"); -//$uid = $common->authenticate($db, $username, $password, array()); -//echo "user id is ".$uid; -//$models = ripcord::client("$url/xmlrpc/2/object"); -// -//echo sha1('a-k3P[8x&'); \ No newline at end of file +//LOG IN process is managed at the start of themes//index.php diff --git a/themes/materialize/index.php b/themes/materialize/index.php index 7989e54..1549c5e 100644 --- a/themes/materialize/index.php +++ b/themes/materialize/index.php @@ -1,10 +1,4 @@ authenticate($db, $username, $password, array()); $models = ripcord::client($url."xmlrpc/2/object"); diff --git a/themes/materialize/views/login.php b/themes/materialize/views/login.php index dff6aae..e5eb6fc 100644 --- a/themes/materialize/views/login.php +++ b/themes/materialize/views/login.php @@ -14,8 +14,6 @@
diff --git a/themes/materialize/views/my-profile.php b/themes/materialize/views/my-profile.php index 6a9ea40..82860a1 100644 --- a/themes/materialize/views/my-profile.php +++ b/themes/materialize/views/my-profile.php @@ -51,9 +51,3 @@
- -
-  
-