コード例 #1
0
ファイル: index.php プロジェクト: webhacking/Textcube
									</div>
									
									<hr class="hidden" />
									
									<div id="feed-section" class="section">
										<h3><?php 
echo _t('현재 그룹 내의 피드 목록');
?>
</h3>
									
										<div id="feedBox" class="section" style="height: <?php 
echo Setting::getBlogSettingGlobal('readerPannelHeight', 150);
?>
px;">
<?php 
printFeeds($blogid);
?>
										</div>
									</div>
								</div>
							</div>
							
							<hr class="hidden" />
							
							<div id="configure" class="part" style="display: none;">
								<h2 class="caption"><span class="main-text"><?php 
echo _t('설정');
?>
</span></h2>
								
								<div class="data-inbox">
コード例 #2
0
ファイル: index.php プロジェクト: ragi79/Textcube
<?php

/// Copyright (c) 2004-2012, Needlworks  / Tatter Network Foundation
/// All rights reserved. Licensed under the GPL.
/// See the GNU General Public License for more details. (/documents/LICENSE, /documents/COPYRIGHT)
$IV = array('POST' => array('group' => array('int'), 'url' => array('url')));
require ROOT . '/library/preprocessor.php';
requireStrictRoute();
if (strpos($_POST['url'], 'http://') !== 0) {
    $_POST['url'] = 'http://' . $_POST['url'];
}
$result = array('error' => addFeed(getBlogId(), $_POST['group'], $_POST['url']));
ob_start();
printFeeds($blogid, $_POST['group']);
$result['view'] = escapeCData(ob_get_contents());
ob_end_clean();
Respond::PrintResult($result);
コード例 #3
0
ファイル: index.php プロジェクト: webhacking/Textcube
<?php

/// Copyright (c) 2004-2016, Needlworks  / Tatter Network Foundation
/// All rights reserved. Licensed under the GPL.
/// See the GNU General Public License for more details. (/documents/LICENSE, /documents/COPYRIGHT)
$IV = array('POST' => array('group' => array('int', 0, 'default' => 0), 'starred' => array(array('0', '1'), 'default' => '0'), 'keyword' => array('string', 'default' => '')));
require ROOT . '/library/preprocessor.php';
$result = array('error' => '0');
ob_start();
printFeeds($blogid, $_POST['group'], $_POST['starred'] == '1', $_POST['keyword'] == '' ? null : $_POST['keyword']);
$result['view'] = escapeCData(ob_get_contents());
ob_end_clean();
Respond::PrintResult($result);