1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-20 16:21:28 +00:00

Merge branch 'master' of /home/fox/public_html/testbox/tt-rss

This commit is contained in:
Andrew Dolgov
2009-12-15 13:37:13 +03:00
3 changed files with 9 additions and 3 deletions

View File

@@ -4709,6 +4709,9 @@
onclick=\"publishWithNote($id, '$note_escaped')\" onclick=\"publishWithNote($id, '$note_escaped')\"
alt='PubNote' title='".__('Publish article with a note')."'>"; alt='PubNote' title='".__('Publish article with a note')."'>";
} else {
$tags_str = strip_tags($tags_str);
print "<span id=\"ATSTR-$id\">$tags_str</span>";
} }
print "</div>"; print "</div>";
print "<div clear='both'>$entry_comments</div>"; print "<div clear='both'>$entry_comments</div>";

View File

@@ -56,7 +56,7 @@ window.onload = init;
<?php } ?> <?php } ?>
<table> <table>
<tr><td align='right'><?php echo __("Login:") ?></td><td><input name="login"></td> <tr><td align='right'><?php echo __("Login:") ?></td><td><input type="text" name="login"></td>
<tr><td align='right'><?php echo __("Password:") ?></td><td><input type="password" name="password"></tr> <tr><td align='right'><?php echo __("Password:") ?></td><td><input type="password" name="password"></tr>
<tr><td align="right"><?php echo __("Language:") ?></td> <tr><td align="right"><?php echo __("Language:") ?></td>

View File

@@ -9,6 +9,8 @@
require_once "db-prefs.php"; require_once "db-prefs.php";
require_once "functions.php"; require_once "functions.php";
$GLOBALS['xmlrpc_internalencoding'] = "UTF-8";
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
if (!$link) { if (!$link) {
@@ -91,12 +93,13 @@
while ($line = db_fetch_assoc($result)) { while ($line = db_fetch_assoc($result)) {
$unread = getFeedUnread($link, $line["id"]); $unread = getFeedUnread($link, $line["id"], true);
$line_struct = new xmlrpcval( $line_struct = new xmlrpcval(
array( array(
"title" => new xmlrpcval($line["title"]), "title" => new xmlrpcval($line["title"]),
"id" => new xmlrpcval($line["id"], "int") "id" => new xmlrpcval($line["id"], "int"),
"unread" => new xmlrpcval($unread, "int")
), ),
"struct"); "struct");