add plusfuture
This commit is contained in:
44
plusfuture/plusfuture.php
Executable file
44
plusfuture/plusfuture.php
Executable 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>
|
||||
';
|
||||
}
|
||||
Reference in New Issue
Block a user