define ( 'FRIENDICA_PLATFORM', 'Friendica');
define ( 'FRIENDICA_VERSION', '3.2.1744' );
define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
-define ( 'DB_UPDATE_VERSION', 1163 );
+define ( 'DB_UPDATE_VERSION', 1164 );
define ( 'EOL', "<br />\r\n" );
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
`forum_mode` tinyint(1) NOT NULL DEFAULT '0',
`mention` tinyint(1) NOT NULL DEFAULT '0',
`last-child` tinyint(1) unsigned NOT NULL DEFAULT '1',
+ `network` char(32) NOT NULL,
PRIMARY KEY (`id`),
KEY `uri` (`uri`),
KEY `uid` (`uid`),
KEY `mention` (`mention`),
KEY `resource-id` (`resource-id`),
KEY `event_id` (`event-id`),
+ KEY `network` (`network`),
FULLTEXT KEY `title` (`title`),
FULLTEXT KEY `body` (`body`),
FULLTEXT KEY `allow_cid` (`allow_cid`),
<?php
-define( 'UPDATE_VERSION' , 1163 );
+define( 'UPDATE_VERSION' , 1164 );
/**
*
require_once('include/tags.php');
update_items();
}
+
+function update_1163() {
+ set_config('system', 'maintenance', 1);
+
+ $r = q("ALTER TABLE `item` ADD `network` char(32) NOT NULL,
+ ADD INDEX (`network`)");
+
+ set_config('system', 'maintenance', 0);
+
+ if(!$r)
+ return UPDATE_FAILED;
+
+ return UPDATE_SUCCESS;
+}
<aside><?php if(x($page,'aside')) echo $page['aside']; ?></aside>\r
<section><?php if(x($page,'content')) echo $page['content']; ?>\r
<div id="page-footer"></div>\r
- </section>
+ </section>\r
<right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>\r
<footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>\r
</body>\r
font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
background-color: #ffffff;
- /* background-color: #ddd; */
- /* background-color: #F2F2F2; */
color: #2d2d2d;
- /* margin: 37px 0px 0px 0px; */
margin: 0px 0px 0px 0px;
display: table;
- /* width: 100% */
}
+
h4 {
font-size: 1.1em;
}