Firefox microsummary
parent
8c5a6bd12b
commit
8345198de3
|
@ -35,6 +35,8 @@ $unread_count = fof_get_unread_count(fof_current_user());
|
|||
<title>Feed on Feeds<?php if($unread_count) echo " ($unread_count)";?></title>
|
||||
|
||||
<link rel="stylesheet" href="fof.css" media="screen" />
|
||||
|
||||
<link rel="microsummary" href="microsummary.php" />
|
||||
|
||||
<script src="prototype/prototype.js" type="text/javascript"></script>
|
||||
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
$fof_no_login = 1;
|
||||
require("fof-main.php");
|
||||
|
||||
if(isset($_COOKIE["user_name"]) && isset($_COOKIE["user_password_hash"]))
|
||||
{
|
||||
$user_name = $_COOKIE["user_name"];
|
||||
$user_password_hash = $_COOKIE["user_password_hash"];
|
||||
|
||||
if(fof_authenticate($user_name, $user_password_hash))
|
||||
{
|
||||
$unread = fof_get_unread_count(fof_current_user());
|
||||
}
|
||||
}
|
||||
|
||||
echo "Feed on Feeds";
|
||||
if($unread) echo " ($unread)";
|
||||
?>
|
||||
|
Loading…
Reference in New Issue