function dfrn_poll_init(&$a) {
+ $dfrn_id = '';
+
if(x($_GET,'dfrn_id'))
$dfrn_id = $a->config['dfrn_poll_dfrn_id'] = $_GET['dfrn_id'];
if(x($_GET,'type'))
if(x($_GET,'last_update'))
$last_update = $a->config['dfrn_poll_last_update'] = $_GET['last_update'];
-
-
- if(! x($dfrn_id))
- return;
-
-
- if(($dfrn_id == '*') && ($a->argc > 1)) {
+ if(($dfrn_id == '') && ($a->argc > 1)) {
$o = get_feed_for($a,'*', $a->argv[1],$last_update);
echo $o;
killme();
function dfrn_poll_content(&$a) {
+
+ $dfrn_id = '';
+ $type = 'data';
+
if(x($_GET,'dfrn_id'))
$dfrn_id = $a->config['dfrn_poll_dfrn_id'] = $_GET['dfrn_id'];
if(x($_GET,'type'))
$last_update = $a->config['dfrn_poll_last_update'] = $_GET['last_update'];
- if($dfrn_id != '*') {
+ if($dfrn_id != '') {
// initial communication from external contact
$hash = random_string();
</div>\r
<?php } ?>\r
<?php if(strlen($profile['marital'])) { ?>\r
-<div class="marital"><span class="marital-label">Status: </span><span class="marital-text"><?php echo $profile['marital']; ?></span></div>\r
+<div class="marital"><span class="marital-label"><span class="heart">♥</span> Status: </span><span class="marital-text"><?php echo $profile['marital']; ?></span></div>\r
<?php } ?>\r
<?php if(strlen($profile['url'])) { ?>\r
<div class="homepage"><span class="homepage-label">Status: </span><span class="homepage-url"><?php echo $profile['homepage']; ?></span></div>\r