add plusfuture

This commit is contained in:
harukin
2018-10-11 09:03:13 +09:00
parent 03620127c8
commit d8f8cb1858
19 changed files with 196 additions and 0 deletions

44
plusfuture/plusfuture.php Executable file
View File

@@ -0,0 +1,44 @@
<?php
/**
* Name: plusfuture
* Description: mod like Google+ in hubzilla
* Version: 0.1
* Author: harukin <harukin@haruk.in>
* Maintainer: harukin <harukin@haruk.in>
* MinVersion: 0.1
*/
function plusfuture_load() { register_hook('page_end', 'addon/plusfuture/plusfuture.php', 'plusfuture_active'); }
function plusfuture_unload() { unregister_hook('page_end', 'addon/plusfuture/plusfuture.php', 'plusfuture_active'); }
function plusfuture_active(&$a,&$b) {
head_add_css('/addon/plusfuture/view/css/plusfuture.css?date=3');
$b .= "
<script>
$(document).ready(function(){
$(function () {
$('#button');
});
});
</script>";
$b .= '<p id="button"><a href="rpost"><span></span></a></p>
<span id=bottombar>
<a href="network" class="p">
<img src="./home.png" width=60%>
<br>ホーム</a>
<a href="connections" class="p">
<img src="./people.png" width=50%>
<br>フォロワー</a>
<a href="notifications" class="p">
<img src="./noti.png" width=50%>
<br>お知らせ</a>
<a href="mail/combined" class="p">
<img src="./mail.png" width=70%>
<br>D M</a>
</span>
';
}