2018-03-11 12:07:57 +01:00
|
|
|
<?php include ('header.php'); ?>
|
|
|
|
<main id="main">
|
|
|
|
<div class="article_wrap">
|
|
|
|
<aside class="left_column">
|
|
|
|
<?php include dirname(__FILE__).('/widgets/side_current_user.php'); ?>
|
|
|
|
</aside>
|
|
|
|
<article class="center_column">
|
|
|
|
<header class="timeline_header">
|
|
|
|
<?php include dirname(__FILE__).('/widgets/create_status.php'); ?>
|
|
|
|
</header>
|
|
|
|
<div id="js-stream_update">
|
|
|
|
<button>
|
2018-07-31 18:51:17 +02:00
|
|
|
<?=_('View ')?><span></span><?=_(' new Toots')?>
|
2018-03-11 12:07:57 +01:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<ul id="js-timeline" class="timeline">
|
|
|
|
</ul>
|
|
|
|
<footer id="js-timeline_footer" class="timeline_footer">
|
|
|
|
<i class="fa fa-spin fa-circle-o-notch" aria-hidden="true"></i>
|
|
|
|
</footer>
|
|
|
|
</article>
|
|
|
|
<aside class="right_column">
|
|
|
|
<section class="side_widgets_wrap">
|
|
|
|
<?php include dirname(__FILE__).('/widgets/side_who_to_follow.php'); ?>
|
2019-08-21 18:25:27 +02:00
|
|
|
<?php include dirname(__FILE__).('/widgets/side_trending.php'); ?>
|
2019-07-17 17:52:20 +02:00
|
|
|
<?php include dirname(__FILE__).('/widgets/side_firefox_addon.php'); ?>
|
2018-03-11 12:07:57 +01:00
|
|
|
</section>
|
|
|
|
<?php include dirname(__FILE__).('/widgets/side_footer.php'); ?>
|
|
|
|
</aside>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
<script>
|
|
|
|
current_file = location.pathname;
|
|
|
|
if (
|
|
|
|
localStorage.getItem("setting_local_instance") === "default" |
|
|
|
|
localStorage.getItem("setting_local_instance") === current_instance
|
|
|
|
) {
|
2018-05-22 19:00:08 +02:00
|
|
|
setTimeline("timelines/public", [{name:"local",data:"true"}]);
|
2018-03-11 12:07:57 +01:00
|
|
|
} else {
|
2018-05-22 19:00:08 +02:00
|
|
|
setOtherTimeline(localStorage.getItem("setting_local_instance")+"/api/v1/", [{name:"local",data:"true"}]);
|
2018-03-11 12:07:57 +01:00
|
|
|
}
|
|
|
|
$("#local_nav").addClass('view');
|
|
|
|
$('title').text('Halcyon / Local');
|
|
|
|
</script>
|
2018-05-22 19:00:08 +02:00
|
|
|
<?php include ('footer.php'); ?>
|