diff --git a/boot.php b/boot.php
index 81e84d372..362b49e9f 100755
--- a/boot.php
+++ b/boot.php
@@ -9,7 +9,7 @@ require_once('include/nav.php');
require_once('include/cache.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica');
-define ( 'FRIENDICA_VERSION', '2.3.1270' );
+define ( 'FRIENDICA_VERSION', '2.3.1271' );
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
define ( 'DB_UPDATE_VERSION', 1131 );
diff --git a/include/html2bbcode.php b/include/html2bbcode.php
index 51d629940..32a90d7d6 100755
--- a/include/html2bbcode.php
+++ b/include/html2bbcode.php
@@ -212,7 +212,7 @@ function html2bbcode($message)
node2bbcode($doc, 'audio', array('src'=>'/(.+)/'), '[audio]$1', '[/audio]');
node2bbcode($doc, 'iframe', array('src'=>'/(.+)/'), '[iframe]$1', '[/iframe]');
- node2bbcode($doc, 'code', array(), '[code]$1', '[/code]');
+ node2bbcode($doc, 'code', array(), '[code]', '[/code]');
$message = $doc->saveHTML();
diff --git a/view/theme/diabook/jot.tpl b/view/theme/diabook/jot.tpl
index 4f784c3f8..59066a19c 100755
--- a/view/theme/diabook/jot.tpl
+++ b/view/theme/diabook/jot.tpl
@@ -45,23 +45,25 @@
-
-
-
+
+ $preview
+
-
$jotplugins
-
+
+
+
+
@@ -75,9 +77,8 @@
-
-
+
{{ if $content }}{{ endif }}
diff --git a/view/theme/diabook/style.css b/view/theme/diabook/style.css
index f005ff4bd..06ddf6de1 100644
--- a/view/theme/diabook/style.css
+++ b/view/theme/diabook/style.css
@@ -384,9 +384,7 @@ body {
font-size: 13px;
background-color: #ffffff;
color: #2d2d2d;
- margin-left: : auto;
- margin-right: auto;
- margin-top: 50px;
+ margin: 50px auto auto;
display: table;
}
h4 {
@@ -1005,24 +1003,24 @@ section {
display: table-cell;
vertical-align: top;
width: 800px;
- padding: 0px 0px 0px 10px;
+ padding: 0px 0px 0px 12px;
}
.tabs {
background-position: 0 -20px;
background-repeat: repeat-x;
-
height: 27px;
padding: 0;
}
.tab.button {
- margin-right: 15px;
- margin-left: 15px;
- background: none repeat scroll 0 0 #F8F8F8;
+ margin-right: 5px;
+ margin-left: 5px;
+ /*background: none repeat scroll 0 0 #F8F8F8;*/
border: 1px solid #CCCCCC;
border-radius: 3px 3px 3px 3px;
- font-weight: bold;
+ font-weight: normal;
padding: 3px;
+ color: #333333;
}
/* wall item */
.tread-wrapper {
@@ -1045,6 +1043,8 @@ section {
display: table;
width: 780px;
}
+
+
.wall-item-container .wall-item-item, .wall-item-container .wall-item-bottom {
display: table-row;
}
@@ -1221,8 +1221,12 @@ section {
border-right: 1px solid #A7C7F7;
padding-right: 12px;
}
+
+#jot-preview-content{
+ margin-top: 30px;}
+
#jot-preview-content .tread-wrapper {
- background-color: #fce94f;
+ background-color: #fff797;
}
.wall-item-tags {
@@ -1667,11 +1671,10 @@ ul.tabs {
}
ul.tabs li {
float: left;
- margin-left: 7px;
+ margin-left: 5px;
}
ul.tabs li .active {
- background-color: #33ACFF;
- background-image: -moz-linear-gradient(center top , #66C1FF 0%, #0097FF 100%);
+ background-color: #333333;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;
diff --git a/view/theme/diabook/wallwall_item.tpl b/view/theme/diabook/wallwall_item.tpl
index 08ea36781..effb7273f 100644
--- a/view/theme/diabook/wallwall_item.tpl
+++ b/view/theme/diabook/wallwall_item.tpl
@@ -103,5 +103,4 @@
-tb
\ No newline at end of file
+
\ No newline at end of file