2014-05-14 16:46:07 +09:00
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
/* · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
|
|
|
|
|
· ·
|
|
|
|
|
· ·
|
|
|
|
|
· Q V I T T E R ·
|
|
|
|
|
· ·
|
|
|
|
|
· http://github.com/hannesmannerheim/qvitter ·
|
|
|
|
|
· ·
|
|
|
|
|
· ·
|
|
|
|
|
· <o) ·
|
|
|
|
|
· /_//// ·
|
|
|
|
|
· (____/ ·
|
|
|
|
|
· (o< ·
|
|
|
|
|
· o> \\\\_\ ·
|
|
|
|
|
· \\) \____) ·
|
|
|
|
|
· ·
|
|
|
|
|
· ·
|
|
|
|
|
· ·
|
|
|
|
|
· Qvitter is free software: you can redistribute it and / or modify it ·
|
|
|
|
|
· under the terms of the GNU Affero General Public License as published by ·
|
|
|
|
|
· the Free Software Foundation, either version three of the License or (at ·
|
|
|
|
|
· your option) any later version. ·
|
|
|
|
|
· ·
|
|
|
|
|
· Qvitter is distributed in hope that it will be useful but WITHOUT ANY ·
|
|
|
|
|
· WARRANTY; without even the implied warranty of MERCHANTABILTY or FITNESS ·
|
|
|
|
|
· FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for ·
|
|
|
|
|
· more details. ·
|
|
|
|
|
· ·
|
|
|
|
|
· You should have received a copy of the GNU Affero General Public License ·
|
|
|
|
|
· along with Qvitter. If not, see <http://www.gnu.org/licenses/>. ·
|
|
|
|
|
· ·
|
|
|
|
|
· Contact h@nnesmannerhe.im if you have any questions. ·
|
|
|
|
|
· ·
|
|
|
|
|
· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · */
|
2014-05-16 11:07:30 +09:00
|
|
|
|
class QvitterAction extends ApiAction
|
2014-05-14 16:46:07 +09:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
function isReadOnly($args)
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected function prepare(array $args=array())
|
|
|
|
|
{
|
|
|
|
|
parent::prepare($args);
|
|
|
|
|
|
|
|
|
|
$user = common_current_user();
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected function handle()
|
|
|
|
|
{
|
|
|
|
|
parent::handle();
|
|
|
|
|
|
|
|
|
|
$this->showQvitter();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function showQvitter()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$logged_in_user_nickname = '';
|
2014-05-16 11:07:30 +09:00
|
|
|
|
$logged_in_user_obj = false;
|
2014-05-14 16:46:07 +09:00
|
|
|
|
$logged_in_user = common_current_user();
|
|
|
|
|
if($logged_in_user) {
|
|
|
|
|
$logged_in_user_nickname = $logged_in_user->nickname;
|
2014-05-16 11:07:30 +09:00
|
|
|
|
$logged_in_user_obj = ApiAction::twitterUserArray($logged_in_user->getProfile());
|
2014-05-14 16:46:07 +09:00
|
|
|
|
}
|
2014-05-16 11:07:30 +09:00
|
|
|
|
|
|
|
|
|
$registrationsclosed = false;
|
|
|
|
|
if(common_config('site','closed') == 1 || common_config('site','inviteonly') == 1) {
|
|
|
|
|
$registrationsclosed = true;
|
|
|
|
|
}
|
|
|
|
|
|
2014-05-14 16:46:07 +09:00
|
|
|
|
$sitetitle = common_config('site','name');
|
|
|
|
|
$siterootdomain = common_config('site','server');
|
|
|
|
|
$qvitterpath = Plugin::staticPath('Qvitter', '');
|
|
|
|
|
$apiroot = common_path('api/', true);
|
|
|
|
|
$instanceurl = common_path('', true);
|
|
|
|
|
|
|
|
|
|
common_set_returnto(''); // forget this
|
|
|
|
|
|
|
|
|
|
// if this is a profile we add a link header for LRDD Discovery (see WebfingerPlugin.php)
|
|
|
|
|
if(substr_count($_SERVER['REQUEST_URI'], '/') == 1) {
|
|
|
|
|
$nickname = substr($_SERVER['REQUEST_URI'],1);
|
|
|
|
|
if(preg_match("/^[a-zA-Z0-9]+$/", $nickname) == 1) {
|
|
|
|
|
$acct = 'acct:'. $nickname .'@'. common_config('site', 'server');
|
|
|
|
|
$url = common_local_url('webfinger') . '?resource='.$acct;
|
|
|
|
|
foreach (array(Discovery::JRD_MIMETYPE, Discovery::XRD_MIMETYPE) as $type) {
|
|
|
|
|
header('Link: <'.$url.'>; rel="'. Discovery::LRDD_REL.'"; type="'.$type.'"');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
|
|
|
|
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
|
<head>
|
|
|
|
|
<title><?php print $sitetitle; ?></title>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?php print $qvitterpath; ?>css/qvitter.css?v=15" />
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?php print $qvitterpath; ?>css/jquery.minicolors.css" />
|
|
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="<?php print $qvitterpath; ?>favicon.ico?v=2">
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
// if qvitter is a webapp and this is a users url we add feeds
|
|
|
|
|
if(substr_count($_SERVER['REQUEST_URI'], '/') == 1) {
|
|
|
|
|
$nickname = substr($_SERVER['REQUEST_URI'],1);
|
|
|
|
|
if(preg_match("/^[a-zA-Z0-9]+$/", $nickname) == 1) {
|
|
|
|
|
$user = User::getKV('nickname', $nickname);
|
|
|
|
|
if(!isset($user->id)) {
|
|
|
|
|
error_log("QVITTER: Could not get user id for user with nickname: $nickname – REQUEST_URI: ".$_SERVER['REQUEST_URI']);
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
print '<link title="Notice feed for '.$nickname.' (Activity Streams JSON)" type="application/stream+json" href="'.$instanceurl.'api/statuses/user_timeline/'.$user->id.'.as" rel="alternate">'."\n";
|
|
|
|
|
print ' <link title="Notice feed for '.$nickname.' (RSS 1.0)" type="application/rdf+xml" href="'.$instanceurl.$nickname.'/rss" rel="alternate">'."\n";
|
|
|
|
|
print ' <link title="Notice feed for '.$nickname.' (RSS 2.0)" type="application/rss+xml" href="'.$instanceurl.'api/statuses/user_timeline/'.$user->id.'.rss" rel="alternate">'."\n";
|
|
|
|
|
print ' <link title="Notice feed for '.$nickname.' (Atom)" type="application/atom+xml" href="'.$instanceurl.'api/statuses/user_timeline/'.$user->id.'.atom" rel="alternate">'."\n";
|
|
|
|
|
print ' <link title="FOAF for '.$nickname.'" type="application/rdf+xml" href="'.$instanceurl.$nickname.'/foaf" rel="meta">'."\n";
|
|
|
|
|
print ' <link href="'.$instanceurl.$nickname.'/microsummary" rel="microsummary">'."\n";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
elseif(substr($_SERVER['REQUEST_URI'],0,7) == '/group/') {
|
|
|
|
|
$group_id_or_name = substr($_SERVER['REQUEST_URI'],7);
|
|
|
|
|
if(stristr($group_id_or_name,'/id')) {
|
|
|
|
|
$group_id_or_name = substr($group_id_or_name, 0, strpos($group_id_or_name,'/id'));
|
|
|
|
|
$group = User_group::getKV('id', $group_id_or_name);
|
|
|
|
|
$group_name = $group->nickname;
|
|
|
|
|
$group_id = $group_id_or_name;
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
$group = User_group::getKV('nickname', $group_id_or_name);
|
|
|
|
|
$group_id = $group->id;
|
|
|
|
|
$group_name = $group_id_or_name;
|
|
|
|
|
}
|
|
|
|
|
if(preg_match("/^[a-zA-Z0-9]+$/", $group_id_or_name) == 1) {
|
|
|
|
|
print '<link rel="alternate" href="'.$apiroot.'statusnet/groups/timeline/'.$group_id.'.as" type="application/stream+json" title="Notice feed for '.$group_id_or_name.' group (Activity Streams JSON)"/>'."\n";
|
|
|
|
|
print ' <link rel="alternate" href="'.$instanceurl.'group/'.$group_name.'/rss" type="application/rdf+xml" title="Notice feed for '.$group_id_or_name.' group (RSS 1.0)"/>'."\n";
|
|
|
|
|
print ' <link rel="alternate" href="'.$instanceurl.'api/statusnet/groups/timeline/'.$group_id.'.rss" type="application/rss+xml" title="Notice feed for '.$group_id_or_name.' group (RSS 2.0)"/>'."\n";
|
|
|
|
|
print ' <link rel="alternate" href="'.$instanceurl.'api/statusnet/groups/timeline/'.$group_id.'.atom" type="application/atom+xml" title="Notice feed for '.$group_id_or_name.' group (Atom)"/>'."\n";
|
|
|
|
|
print ' <link rel="meta" href="'.$instanceurl.'group/'.$group_name.'/foaf" type="application/rdf+xml" title="FOAF for '.$group_id_or_name.' group"/>'."\n";
|
|
|
|
|
}
|
|
|
|
|
}
|
2014-05-16 11:07:30 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-05-14 16:46:07 +09:00
|
|
|
|
?>
|
|
|
|
|
<script>
|
2014-05-28 03:40:51 +09:00
|
|
|
|
window.defaultAvatarStreamSize = <?php print json_encode(Avatar::defaultImage(AVATAR_STREAM_SIZE)) ?>;
|
2014-05-16 11:07:30 +09:00
|
|
|
|
window.textLimit = <?php print json_encode((int)common_config('site','textlimit')) ?>;
|
|
|
|
|
window.registrationsClosed = <?php print json_encode($registrationsclosed) ?>;
|
2014-05-15 03:57:16 +09:00
|
|
|
|
window.siteTitle = <?php print json_encode($sitetitle) ?>;
|
2014-05-16 11:07:30 +09:00
|
|
|
|
window.loggedIn = <?php print json_encode($logged_in_user_obj) ?>;
|
2014-05-14 16:46:07 +09:00
|
|
|
|
window.timeBetweenPolling = <?php print QvitterPlugin::settings("timebetweenpolling"); ?>;
|
2014-05-16 11:07:30 +09:00
|
|
|
|
window.apiRoot = '<?php print common_path("api/", true); ?>';
|
2014-05-28 03:40:51 +09:00
|
|
|
|
window.avatarRoot = '<?php print common_path("avatar/", true); ?>';
|
2014-05-14 16:46:07 +09:00
|
|
|
|
window.fullUrlToThisQvitterApp = '<?php print $qvitterpath; ?>';
|
|
|
|
|
window.siteRootDomain = '<?php print $siterootdomain; ?>';
|
|
|
|
|
window.siteInstanceURL = '<?php print $instanceurl; ?>';
|
|
|
|
|
window.defaultLinkColor = '<?php print QvitterPlugin::settings("defaultlinkcolor"); ?>';
|
|
|
|
|
window.defaultBackgroundColor = '<?php print QvitterPlugin::settings("defaultbackgroundcolor"); ?>';
|
|
|
|
|
</script>
|
|
|
|
|
<style>
|
|
|
|
|
a, a:visited, a:active,
|
|
|
|
|
ul.stats li:hover a,
|
|
|
|
|
ul.stats li:hover a strong,
|
|
|
|
|
#user-body a:hover div strong,
|
|
|
|
|
#user-body a:hover div div,
|
|
|
|
|
.permalink-link:hover,
|
|
|
|
|
.stream-item.expanded > .queet .stream-item-expand,
|
|
|
|
|
.stream-item-footer .with-icn .requeet-text a b:hover,
|
|
|
|
|
.queet-text span.attachment.more,
|
|
|
|
|
.stream-item-header .created-at a:hover,
|
|
|
|
|
.stream-item-header a.account-group:hover .name,
|
|
|
|
|
.queet:hover .stream-item-expand,
|
|
|
|
|
.show-full-conversation:hover,
|
|
|
|
|
#new-queets-bar,
|
|
|
|
|
.menu-container div,
|
|
|
|
|
#user-header:hover #user-name,
|
2014-05-28 03:40:51 +09:00
|
|
|
|
.cm-mention, .cm-tag, .cm-group, .cm-url, .cm-email,
|
|
|
|
|
div.syntax-middle span {
|
2014-05-14 16:46:07 +09:00
|
|
|
|
color:#0084B4;/*COLOREND*/
|
|
|
|
|
}
|
|
|
|
|
.topbar .global-nav,
|
|
|
|
|
.menu-container {
|
|
|
|
|
background-color:#0084B4;/*BACKGROUNDCOLOREND*/
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</head>
|
|
|
|
|
<body style="background-color:<?php print QvitterPlugin::settings("defaultbackgroundcolor"); ?>">
|
|
|
|
|
<div class="topbar">
|
|
|
|
|
<a href="<?php print $instanceurl; ?>"><div id="logo"></div></a>
|
|
|
|
|
<a id="settingslink">
|
|
|
|
|
<div class="dropdown-toggle">
|
|
|
|
|
<i class="nav-session"></i>
|
|
|
|
|
<b class="caret"></b>
|
|
|
|
|
</div>
|
|
|
|
|
</a>
|
|
|
|
|
<div id="top-compose" class="hidden"></div>
|
|
|
|
|
<ul class="quitter-settings dropdown-menu">
|
|
|
|
|
<li class="dropdown-caret right">
|
|
|
|
|
<span class="caret-outer"></span>
|
|
|
|
|
<span class="caret-inner"></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li><a id="settings"></a></li>
|
|
|
|
|
<?php
|
|
|
|
|
if($siterootdomain == 'quitter.se') { print '<li><a id="classic" href="https://old.quitter.se/">Classic Quitter</a></li>'; } // sry for this junk
|
|
|
|
|
?><li class="dropdown-divider"></li>
|
|
|
|
|
<li><a id="logout"></a></li>
|
|
|
|
|
<li class="language dropdown-divider"></li>
|
|
|
|
|
<li class="language"><a class="language-link" title="Arabic" data-lang-code="ar">العربيّة</a></li>
|
2014-05-28 03:40:51 +09:00
|
|
|
|
<li class="language"><a class="language-link" title="简体中文" data-lang-code="zh_cn">简体中文</a></li>
|
|
|
|
|
<li class="language"><a class="language-link" title="繁體中文" data-lang-code="zh_tw">繁體中文</a></li>
|
2014-05-14 16:46:07 +09:00
|
|
|
|
<li class="language"><a class="language-link" title="German" data-lang-code="de">Deutsch</a></li>
|
|
|
|
|
<li class="language"><a class="language-link" title="English" data-lang-code="en">English</a></li>
|
|
|
|
|
<li class="language"><a class="language-link" title="Spanish" data-lang-code="es">Español</a></li>
|
|
|
|
|
<li class="language"><a class="language-link" title="Esperanto" data-lang-code="eo">Esperanto</a></li>
|
|
|
|
|
<li class="language"><a class="language-link" title="Farsi" data-lang-code="fa">فارسی</a></li>
|
|
|
|
|
<li class="language"><a class="language-link" title="French" data-lang-code="fr">français</a></li>
|
2014-05-28 03:40:51 +09:00
|
|
|
|
<li class="language"><a class="language-link" title="Galego" data-lang-code="gl">Galego</a></li>
|
2014-05-14 16:46:07 +09:00
|
|
|
|
<li class="language"><a class="language-link" title="Italian" data-lang-code="it">Italiano</a></li>
|
|
|
|
|
<li class="language"><a class="language-link" title="Swedish" data-lang-code="sv">svenska</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<div id="birds-top"></div>
|
|
|
|
|
<div class="global-nav">
|
|
|
|
|
<div class="global-nav-inner">
|
|
|
|
|
<div class="container">
|
|
|
|
|
<div id="search">
|
|
|
|
|
<input type="text" spellcheck="false" autocomplete="off" name="q" placeholder="Sök" id="search-query" class="search-input">
|
|
|
|
|
<span class="search-icon">
|
|
|
|
|
<button class="icon nav-search" type="submit" tabindex="-1">
|
|
|
|
|
<span> Sök </span>
|
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" spellcheck="false" autocomplete="off" id="search-query-hint" class="search-input search-hinting-input" disabled="disabled">
|
|
|
|
|
</div>
|
|
|
|
|
<ul class="language-dropdown">
|
|
|
|
|
<li class="dropdown">
|
|
|
|
|
<a class="dropdown-toggle">
|
|
|
|
|
<small></small>
|
|
|
|
|
<span class="current-language"></span>
|
|
|
|
|
<b class="caret"></b>
|
|
|
|
|
</a>
|
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
|
<li class="dropdown-caret right">
|
|
|
|
|
<span class="caret-outer"></span>
|
|
|
|
|
<span class="caret-inner"></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li><a class="language-link" title="Arabic" data-lang-code="ar">العربيّة</a></li>
|
2014-05-28 03:40:51 +09:00
|
|
|
|
<li><a class="language-link" title="简体中文" data-lang-code="zh_cn">简体中文</a></li>
|
|
|
|
|
<li><a class="language-link" title="繁體中文" data-lang-code="zh_tw">繁體中文</a></li>
|
2014-05-14 16:46:07 +09:00
|
|
|
|
<li><a class="language-link" title="German" data-lang-code="de">Deutsch</a></li>
|
|
|
|
|
<li><a class="language-link" title="English" data-lang-code="en">English</a></li>
|
|
|
|
|
<li><a class="language-link" title="Spanish" data-lang-code="es">Español</a></li>
|
|
|
|
|
<li><a class="language-link" title="Esperanto" data-lang-code="eo">Esperanto</a></li>
|
|
|
|
|
<li><a class="language-link" title="Farsi" data-lang-code="fa">فارسی</a></li>
|
|
|
|
|
<li><a class="language-link" title="French" data-lang-code="fr">français</a></li>
|
2014-05-28 03:40:51 +09:00
|
|
|
|
<li><a class="language-link" title="Galego" data-lang-code="gl">Galego</a></li>
|
2014-05-14 16:46:07 +09:00
|
|
|
|
<li><a class="language-link" title="Italian" data-lang-code="it">Italiano</a></li>
|
|
|
|
|
<li><a class="language-link" title="Swedish" data-lang-code="sv">svenska</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="page-container">
|
|
|
|
|
<div class="front-welcome-text">
|
|
|
|
|
<h1></h1>
|
|
|
|
|
<p></p>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="user-container" style="display:none;">
|
|
|
|
|
<div id="login-content">
|
|
|
|
|
<form id="form_login" class="form_settings" action="<?php print common_local_url('qvitterlogin'); ?>" method="post">
|
|
|
|
|
<div id="username-container">
|
|
|
|
|
<input id="nickname" name="nickname" type="text" value="<?php print $logged_in_user_nickname ?>" tabindex="1" />
|
|
|
|
|
</div>
|
|
|
|
|
<table class="password-signin"><tbody><tr>
|
|
|
|
|
<td class="flex-table-primary">
|
|
|
|
|
<div class="placeholding-input">
|
|
|
|
|
<input id="password" name="password" type="password" tabindex="2" value="" />
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="flex-table-secondary">
|
|
|
|
|
<button class="submit" type="submit" id="submit-login" tabindex="4"></button>
|
|
|
|
|
</td>
|
|
|
|
|
</tr></tbody></table>
|
|
|
|
|
<div id="remember-forgot">
|
|
|
|
|
<input type="checkbox" id="rememberme" name="rememberme" value="yes" tabindex="3" checked="checked"> <span id="rememberme_label"></span> · <a href="<?php print $instanceurl ?>main/recoverpassword"></a>
|
|
|
|
|
<input type="hidden" id="token" name="token" value="<?php print common_session_token(); ?>">
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
2014-05-16 11:07:30 +09:00
|
|
|
|
<?php
|
|
|
|
|
if($registrationsclosed === false) {
|
|
|
|
|
?><div class="front-signup">
|
2014-05-14 16:46:07 +09:00
|
|
|
|
<h2></h2>
|
|
|
|
|
<div class="signup-input-container"><input placeholder="" type="text" name="user[name]" autocomplete="off" class="text-input" id="signup-user-name"></div>
|
|
|
|
|
<div class="signup-input-container"><input placeholder="" type="text" name="user[email]" autocomplete="off" id="signup-user-email"></div>
|
|
|
|
|
<div class="signup-input-container"><input placeholder="" type="password" name="user[user_password]" class="text-input" id="signup-user-password"></div>
|
|
|
|
|
<button id="signup-btn-step1" class="signup-btn" type="submit"></button>
|
|
|
|
|
<div id="other-servers-link"></div>
|
2014-05-16 11:07:30 +09:00
|
|
|
|
</div><?php } ?>
|
2014-05-14 16:46:07 +09:00
|
|
|
|
<div id="user-header">
|
|
|
|
|
<img id="user-avatar" src="" />
|
|
|
|
|
<div id="user-name"></div>
|
|
|
|
|
<div id="user-screen-name"></div>
|
|
|
|
|
<div id="user-profile-link"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="user-body">
|
|
|
|
|
<a><div id="user-queets"><strong></strong><div class="label"></div></div></a>
|
|
|
|
|
<a><div id="user-following"><strong></strong><div class="label"></div></div></a>
|
|
|
|
|
<a><div id="user-followers"><strong></strong><div class="label"></div></div></a>
|
|
|
|
|
<a><div id="user-groups"><strong></strong><div class="label"></div></div></a>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="user-footer">
|
2014-05-28 03:40:51 +09:00
|
|
|
|
<div id="queet-box" class="queet-box queet-box-syntax" data-start-text=""></div>
|
|
|
|
|
<div class="syntax-middle"></div>
|
|
|
|
|
<div class="syntax-two" contenteditable="true"></div>
|
|
|
|
|
<div class="mentions-suggestions"></div>
|
|
|
|
|
<div class="queet-toolbar">
|
|
|
|
|
<div class="queet-box-extras"></div>
|
|
|
|
|
<div class="queet-button">
|
|
|
|
|
<span class="queet-counter"></span>
|
|
|
|
|
<button></button>
|
2014-05-14 16:46:07 +09:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="menu-container">
|
2014-05-23 21:13:38 +09:00
|
|
|
|
<a class="stream-selection friends-timeline" data-stream-header="" data-stream-name="qvitter/statuses/friends_timeline.json"><i class="chev-right"></i></a>
|
|
|
|
|
<a class="stream-selection mentions" data-stream-header="" data-stream-name="qvitter/statuses/mentions.json"><i class="chev-right"></i></a>
|
2014-05-14 16:46:07 +09:00
|
|
|
|
<a class="stream-selection my-timeline" data-stream-header="@statuses/user_timeline.json" data-stream-name="statuses/user_timeline.json"><i class="chev-right"></i></a>
|
|
|
|
|
<a class="stream-selection favorites" data-stream-header="" data-stream-name="favorites.json"><i class="chev-right"></i></a>
|
|
|
|
|
<a href="<?php print $instanceurl ?>" class="stream-selection public-timeline" data-stream-header="" data-stream-name="statuses/public_timeline.json"><i class="chev-right"></i></a>
|
2014-05-16 11:07:30 +09:00
|
|
|
|
<a href="<?php print $instanceurl ?>main/all" class="stream-selection public-and-external-timeline" data-stream-header="" data-stream-name="statuses/public_and_external_timeline.json"><i class="chev-right"></i></a>
|
2014-05-14 16:46:07 +09:00
|
|
|
|
</div>
|
|
|
|
|
<div class="menu-container" id="history-container"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="feed">
|
|
|
|
|
<div id="feed-header">
|
|
|
|
|
<div id="feed-header-inner">
|
|
|
|
|
<h2></h2>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="new-queets-bar-container" class="hidden"><div id="new-queets-bar"></div></div>
|
|
|
|
|
<div id="feed-body"></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="footer"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/lib/jquery-2.0.2.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/lib/jquery-ui-1.10.3.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/lib/jquery.easing.1.3.js"></script>
|
|
|
|
|
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/lib/jquery.minicolors.min.js"></script>
|
2014-05-28 03:40:51 +09:00
|
|
|
|
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/dom-functions.js?v=20"></script>
|
|
|
|
|
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/misc-functions.js?v=14"></script>
|
|
|
|
|
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/ajax-functions.js?v=8"></script>
|
|
|
|
|
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/lan.js?v=17"></script>
|
|
|
|
|
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/qvitter.js?v=16"></script>
|
2014-05-14 16:46:07 +09:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
|
|
|
|
|
|
2014-05-15 20:25:18 +09:00
|
|
|
|
<?php
|
2014-05-14 16:46:07 +09:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
2014-05-16 11:07:30 +09:00
|
|
|
|
|