Commit 75797940 authored by Ivo Fokkema's avatar Ivo Fokkema

Style fixes only to reduce diff with LOVD+.

parent 1a3a3b78
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
* For LOVD : 3.0-16 * For LOVD : 3.0-16
* *
* Copyright : 2004-2016 Leiden University Medical Center; http://www.LUMC.nl/ * Copyright : 2004-2016 Leiden University Medical Center; http://www.LUMC.nl/
* Programmer : Ing. Ivo F.A.C. Fokkema <I.F.A.C.Fokkema@LUMC.nl> * Programmers : Ivo F.A.C. Fokkema <I.F.A.C.Fokkema@LUMC.nl>
* Msc. Daan Asscheman <D.Asscheman@LUMC.nl> * Daan Asscheman <D.Asscheman@LUMC.nl>
* M. Kroon <m.kroon@lumc.nl> * M. Kroon <m.kroon@lumc.nl>
* *
* *
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* For LOVD : 3.0-21 * For LOVD : 3.0-21
* *
* Copyright : 2004-2018 Leiden University Medical Center; http://www.LUMC.nl/ * Copyright : 2004-2018 Leiden University Medical Center; http://www.LUMC.nl/
* Programmer : Ivo F.A.C. Fokkema <I.F.A.C.Fokkema@LUMC.nl> * Programmers : Ivo F.A.C. Fokkema <I.F.A.C.Fokkema@LUMC.nl>
* Daan Asscheman <D.Asscheman@LUMC.nl> * Daan Asscheman <D.Asscheman@LUMC.nl>
* *
* *
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* For LOVD : 3.0-21 * For LOVD : 3.0-21
* *
* Copyright : 2004-2018 Leiden University Medical Center; http://www.LUMC.nl/ * Copyright : 2004-2018 Leiden University Medical Center; http://www.LUMC.nl/
* Programmer : Ing. Ivo F.A.C. Fokkema <I.F.A.C.Fokkema@LUMC.nl> * Programmers : Ivo F.A.C. Fokkema <I.F.A.C.Fokkema@LUMC.nl>
* M. Kroon <m.kroon@lumc.nl> * M. Kroon <m.kroon@lumc.nl>
* *
* *
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* LEIDEN OPEN VARIATION DATABASE (LOVD) * LEIDEN OPEN VARIATION DATABASE (LOVD)
* *
* Created : 2010-12-15 * Created : 2010-12-15
* Modified : 2019-07-25 * Modified : 2019-08-27
* For LOVD : 3.0-22 * For LOVD : 3.0-22
* *
* Copyright : 2004-2019 Leiden University Medical Center; http://www.LUMC.nl/ * Copyright : 2004-2019 Leiden University Medical Center; http://www.LUMC.nl/
...@@ -954,7 +954,7 @@ if (PATH_COUNT == 2 && preg_match('/^[a-z][a-z0-9#@-]*$/i', rawurldecode($_PE[1] ...@@ -954,7 +954,7 @@ if (PATH_COUNT == 2 && preg_match('/^[a-z][a-z0-9#@-]*$/i', rawurldecode($_PE[1]
$sMessage = ''; $sMessage = '';
if (count($aDone)) { if (count($aDone)) {
foreach ($aDone as $sSection => $n) { foreach ($aDone as $sSection => $n) {
$sMessage .= (!$sMessage ? '' : ', ') . $n . ' ' . $sSection; $sMessage .= (!$sMessage? '' : ', ') . $n . ' ' . $sSection;
} }
$sMessage = 'deleted ' . preg_replace('/, ([^,]+)/', " and $1", $sMessage); $sMessage = 'deleted ' . preg_replace('/, ([^,]+)/', " and $1", $sMessage);
} else { } else {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* LEIDEN OPEN VARIATION DATABASE (LOVD) * LEIDEN OPEN VARIATION DATABASE (LOVD)
* *
* Created : 2011-02-16 * Created : 2011-02-16
* Modified : 2019-08-22 * Modified : 2019-08-27
* For LOVD : 3.0-22 * For LOVD : 3.0-22
* *
* Copyright : 2004-2019 Leiden University Medical Center; http://www.LUMC.nl/ * Copyright : 2004-2019 Leiden University Medical Center; http://www.LUMC.nl/
...@@ -114,7 +114,7 @@ if (PATH_COUNT == 2 && ctype_digit($_PE[1]) && !ACTION) { ...@@ -114,7 +114,7 @@ if (PATH_COUNT == 2 && ctype_digit($_PE[1]) && !ACTION) {
if ($_AUTH && $_AUTH['level'] >= LEVEL_OWNER) { if ($_AUTH && $_AUTH['level'] >= LEVEL_OWNER) {
$aNavigation[CURRENT_PATH . '?edit'] = array('menu_edit.png', 'Edit individual entry', 1); $aNavigation[CURRENT_PATH . '?edit'] = array('menu_edit.png', 'Edit individual entry', 1);
if ($zData['statusid'] < STATUS_OK && $_AUTH['level'] >= LEVEL_CURATOR) { if ($zData['statusid'] < STATUS_OK && $_AUTH['level'] >= LEVEL_CURATOR) {
$aNavigation[CURRENT_PATH . '?publish'] = array('check.png', ($zData['statusid'] == STATUS_MARKED ? 'Remove mark from' : 'Publish (curate)') . ' individual entry', 1); $aNavigation[CURRENT_PATH . '?publish'] = array('check.png', ($zData['statusid'] == STATUS_MARKED? 'Remove mark from' : 'Publish (curate)') . ' individual entry', 1);
} }
// You can only add phenotype information to this individual, when there are phenotype columns enabled. // You can only add phenotype information to this individual, when there are phenotype columns enabled.
if ($_DB->query('SELECT COUNT(*) FROM ' . TABLE_IND2DIS . ' AS i2d INNER JOIN ' . TABLE_SHARED_COLS . ' AS sc USING(diseaseid) WHERE i2d.individualid = ?', array($nID))->fetchColumn()) { if ($_DB->query('SELECT COUNT(*) FROM ' . TABLE_IND2DIS . ' AS i2d INNER JOIN ' . TABLE_SHARED_COLS . ' AS sc USING(diseaseid) WHERE i2d.individualid = ?', array($nID))->fetchColumn()) {
......
...@@ -605,7 +605,7 @@ if ($_GET['step'] == 2) { ...@@ -605,7 +605,7 @@ if ($_GET['step'] == 2) {
$bFilesExisted = false; $bFilesExisted = false;
// 2009-02-25; 2.0-16; need this one for the genomic numbering (by Gerard) // 2009-02-25; 2.0-16; need this one for the genomic numbering (by Gerard)
// 2009-03-25; 2.0-17; adapted by Gerard to avoid notices // 2009-03-25; 2.0-17; adapted by Gerard to avoid notices
$nGenomicNumberIntron = (array_key_exists(0, $aIntron) ? strlen($aIntron[0]) : 0); $nGenomicNumberIntron = (array_key_exists(0, $aIntron)? strlen($aIntron[0]) : 0);
while (list($nIntron, $sIntron) = each($aIntron)) { while (list($nIntron, $sIntron) = each($aIntron)) {
if (!$sIntron) { if (!$sIntron) {
...@@ -1359,7 +1359,7 @@ if ($_GET['step'] == 3) { ...@@ -1359,7 +1359,7 @@ if ($_GET['step'] == 3) {
} }
// 2009-12-03; 2.0-23; added the mRNA accession number, but only if it is the same in the database // 2009-12-03; 2.0-23; added the mRNA accession number, but only if it is the same in the database
if (!empty($_POST['version_id'])) { if (!empty($_POST['version_id'])) {
$_POST['note'] .= ' The sequence was taken from <a href="https://www.ncbi.nlm.nih.gov/nucleotide/' . $_POST['version_id'] . '">' . $_POST['version_id'] . '</a>' . ($bStep2 ? ', covering ' . $_POST['symbol'] . ' transcript <a href="https://www.ncbi.nlm.nih.gov/nucleotide/' . $_POST['transcript_id'] . '">' . $_POST['transcript_id'] . '</a>.' : '.') .'</p>'; $_POST['note'] .= ' The sequence was taken from <a href="https://www.ncbi.nlm.nih.gov/nucleotide/' . $_POST['version_id'] . '">' . $_POST['version_id'] . '</a>' . ($bStep2? ', covering ' . $_POST['symbol'] . ' transcript <a href="https://www.ncbi.nlm.nih.gov/nucleotide/' . $_POST['transcript_id'] . '">' . $_POST['transcript_id'] . '</a>.' : '.') .'</p>';
} }
if (trim($_POST['note'])) { if (trim($_POST['note'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment