]> git.mxchange.org Git - friendica.git/commitdiff
added hearts
authorMike Macgirvin <mike@macgirvin.com>
Sat, 7 Aug 2010 00:02:05 +0000 (17:02 -0700)
committerMike Macgirvin <mike@macgirvin.com>
Sat, 7 Aug 2010 00:02:05 +0000 (17:02 -0700)
mod/dfrn_poll.php
view/profile.php
view/style.css

index 8d93700d6a7b61b66c3da9113fe13f2c491a544c..409ffce56cc2357e746841826e9481824638be94 100644 (file)
@@ -6,6 +6,8 @@ require_once('include/auth.php');
 
 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'))
@@ -13,13 +15,7 @@ function dfrn_poll_init(&$a) {
        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();
@@ -140,6 +136,10 @@ function dfrn_poll_post(&$a) {
 
 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'))
@@ -148,7 +148,7 @@ function dfrn_poll_content(&$a) {
                $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();
 
index 8ec9ab599e1ca525d00c6eecfac38e2e64caa9fa..57130c0732d7660a0e6bdde9428bcf2e3049dae8 100644 (file)
@@ -53,7 +53,7 @@
 </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">&hearts;</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
index 77f3d12c913b98d7f9b7a1bd0c581e366e2d5f8f..fa7fa58c043dd80dcb1a7bf770d435af1fcde528 100644 (file)
@@ -39,6 +39,11 @@ img.photo {
        margin-left: 280px;
 }
 
+.heart {
+       color: #FF0000;
+       font-size: 120%;
+}
+
 aside {
        position: absolute;
        left: 0px;