From 6b3e547b93a0ed950da33b5506109b1cb6461606 Mon Sep 17 00:00:00 2001 From: franzz Date: Thu, 28 Aug 2014 20:37:20 +0200 Subject: [PATCH 1/2] table link in table keywords --- inc/databap.php | 2 +- masks/table.html | 3 +-- style/screen.css | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/inc/databap.php b/inc/databap.php index 38f4065..279a40d 100644 --- a/inc/databap.php +++ b/inc/databap.php @@ -1146,7 +1146,7 @@ class Databap extends PhpObject $asTable['title'] = self::getTableFormat($asTable['title']); $asTable['description'] = self::getDescriptionFormat($asTable['description']); $asTable['led'] = self::getDateFormat($asTable['led']); - //$asTable['keywords'] = ToolBox::findReplaceLinks($asTable['description']); + $asTable['formatted_keywords'] = ToolBox::findReplaceLinks($asTable['keywords']); } return $asTable; } diff --git a/masks/table.html b/masks/table.html index 98fe295..56774a1 100644 --- a/masks/table.html +++ b/masks/table.html @@ -18,7 +18,7 @@

"J'ai explication !"

-

+

@@ -117,7 +117,6 @@ Table.prototype.applyTableInfo = function() Table.prototype.setDisplay = function(sDisplay) { - //debug(sDisplay); var sOtherDisplay = ''; var bRedit = (this.sDisplay!=''); //Edit existing table this.sDisplay = sDisplay || (this.sDisplay==this.DISPLAY_EDIT?this.DISPLAY_READ:this.DISPLAY_EDIT); diff --git a/style/screen.css b/style/screen.css index 8bf88a9..52438a0 100644 --- a/style/screen.css +++ b/style/screen.css @@ -2388,7 +2388,7 @@ vertical-align 0% -5% -10% -15% -20% -25% -30% font-style: italic; } -#table #read_keywords { +#table #read_formatted_keywords { margin:10px 0 0 0; font-size: 0.9em; } From dcdbd4fcb09df43044bc6d18179d43e3a1bd2a86 Mon Sep 17 00:00:00 2001 From: franzz Date: Thu, 28 Aug 2014 20:53:02 +0200 Subject: [PATCH 2/2] fix variable system --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index d881959..b9bc769 100644 --- a/index.php +++ b/index.php @@ -49,7 +49,7 @@ $asAttendees = isset($_REQUEST['attendees'])?$_REQUEST['attendees']:''; $bFirstConn = isset($_GET['first_conn'])?$_GET['first_conn']:false; $iMessageId = isset($_GET['message_id'])?$_GET['message_id']:0; $oItemId = isset($_REQUEST['id'])?$_REQUEST['id']:0; -$sSystem = isset($_POST['id'])?$_POST['system']:0; +$sSystem = isset($_POST['system'])?$_POST['system']:''; $sResult = ''; //Launching application