]> git.mxchange.org Git - friendica.git/commitdiff
notifications.php: unify label strings
authorrabuzarus <>
Sat, 30 Jul 2016 09:03:21 +0000 (11:03 +0200)
committerrabuzarus <>
Sat, 30 Jul 2016 09:03:21 +0000 (11:03 +0200)
mod/notifications.php
view/templates/intros.tpl
view/theme/frio/templates/intros.tpl

index fa2c78cf67358d55f1298f7fac032ea46897415a..f3e7c564abdfbf5ca88d253d57c05d5244132d4f 100644 (file)
@@ -205,18 +205,18 @@ function notifications_content(&$a) {
                                        '$photo' => ((x($rr,'photo')) ? proxy_url($rr['photo'], false, PROXY_SIZE_SMALL) : "images/person-175.jpg"),
                                        '$fullname' => $rr['name'],
                                        '$location' => bbcode($rr['glocation'], false, false),
-                                       '$location_label' => t('Location:'),
+                                       '$lbl_location' => t('Location:'),
                                        '$about' => bbcode($rr['gabout'], false, false),
-                                       '$about_label' => t('About:'),
+                                       '$lbl_about' => t('About:'),
                                        '$keywords' => $rr['gkeywords'],
-                                       '$keywords_label' => t('Tags:'),
+                                       '$lbl_keywords' => t('Tags:'),
                                        '$gender' => $rr['ggender'],
-                                       '$gender_label' => t('Gender:'),
+                                       '$lbl_gender' => t('Gender:'),
                                        '$hidden' => array('hidden', t('Hide this contact from others'), ($rr['hidden'] == 1), ''),
                                        '$activity' => array('activity', t('Post a new friend activity'), (intval(get_pconfig(local_user(),'system','post_newfriend')) ? '1' : 0), t('if applicable')),
                                        '$url' => $rr['url'],
                                        '$zrl' => zrl($rr['url']),
-                                       '$url_label' => t('Profile URL'),
+                                       '$lbl_url' => t('Profile URL'),
                                        '$addr' => $rr['addr'],
                                        '$lbl_knowyou' => $lbl_knowyou,
                                        '$lbl_network' => t('Network:'),
index fa823ca71a54134b5580523c6cf75f98597948e3..e3933e3815cdd48ddac9f2f38b3f7ac79ac499df 100644 (file)
@@ -4,11 +4,11 @@
 
 <p class="intro-desc">{{$str_notifytype}} {{$notify_type}}</p>
 <img id="photo-{{$contact_id}}" class="intro-photo" src="{{$photo}}" width="175" height=175" title="{{$fullname|escape:'html'}}" alt="{{$fullname|escape:'html'}}" />
-<dl><dt>{{$url_label}}</dt><dd><a target="blank" href="{{$zrl}}">{{$url}}</a></dd></dl>
-{{if $location}}<dl><dt>{{$location_label}}</dt><dd>{{$location}}</dd></dl>{{/if}}
-{{if $gender}}<dl><dt>{{$gender_label}}</dt><dd>{{$gender}}</dd></dl>{{/if}}
-{{if $keywords}}<dl><dt>{{$keywords_label}}</dt><dd>{{$keywords}}</dd></dl>{{/if}}
-{{if $about}}<dl><dt>{{$about_label}}</dt><dd>{{$about}}</dd></dl>{{/if}}
+<dl><dt>{{$lbl_url}}</dt><dd><a target="blank" href="{{$zrl}}">{{$url}}</a></dd></dl>
+{{if $location}}<dl><dt>{{$lbl_location}}</dt><dd>{{$location}}</dd></dl>{{/if}}
+{{if $gender}}<dl><dt>{{$lbl_gender}}</dt><dd>{{$gender}}</dd></dl>{{/if}}
+{{if $keywords}}<dl><dt>{{$lbl_keywords}}</dt><dd>{{$keywords}}</dd></dl>{{/if}}
+{{if $about}}<dl><dt>{{$lbl_about}}</dt><dd>{{$about}}</dd></dl>{{/if}}
 <div class="intro-knowyou">{{$lbl_knowyou}} {{$knowyou}}</div>
 <div class="intro-note" id="intro-note-{{$contact_id}}">{{$note}}</div>
 <div class="intro-wrapper-end" id="intro-wrapper-end-{{$contact_id}}"></div>
index 0b09c2dccb90bd16326894bde6e14dbf0aef80c9..86c7fc342cdca3f10f5629c4c56a0ff8a2b8add1 100644 (file)
                <div class="intro-desc"><span class="intro-desc-label">{{$str_notifytype}}</span>{{$notify_type}}</div>
 
                {{* Additional information of the contact *}}
-               <div class="intro-url"><span class="intro-url-label">{{$url_label}}:&nbsp;</span><a href="{{$zrl}}">{{$url}}</a></div>
+               <div class="intro-url"><span class="intro-url-label">{{$lbl_url}}:&nbsp;</span><a href="{{$zrl}}">{{$url}}</a></div>
                {{if $network}}<div class="intro-network"><span class="intro-network-label">{{$lbl_network}}</span>&nbsp;{{$network}}</div>{{/if}}
-               {{if $location}}<div class="intro-location"><span class="intro-location-label">{{$location_label}}</span>&nbsp;{{$location}}</div>{{/if}}
-               {{if $gender}}<div class="intro-gender"><span class="intro-gender-label">{{$gender_label}}</span>&nbsp;{{$gender}}</div>{{/if}}
-               {{if $keywords}}<div class="intro-keywords"><span class="intro-keywords-label">{{$keywords_label}}</span>&nbsp;{{$keywords}}</div>{{/if}}
-               {{if $about}}<div class="intro-about"><span class="intro-about-label">{{$about_label}}</span>&nbsp;{{$about}}</div>{{/if}}
+               {{if $location}}<div class="intro-location"><span class="intro-location-label">{{$lbl_location}}</span>&nbsp;{{$location}}</div>{{/if}}
+               {{if $gender}}<div class="intro-gender"><span class="intro-gender-label">{{$lbl_gender}}</span>&nbsp;{{$gender}}</div>{{/if}}
+               {{if $keywords}}<div class="intro-keywords"><span class="intro-keywords-label">{{$lbl_keywords}}</span>&nbsp;{{$keywords}}</div>{{/if}}
+               {{if $about}}<div class="intro-about"><span class="intro-about-label">{{$lbl_about}}</span>&nbsp;{{$about}}</div>{{/if}}
                <div class="intro-knowyou"><span class="intro-knowyou-label">{{$lbl_knowyou}}</span>{{$knowyou}}</div>
                <div class="intro-note" id="intro-note-{{$contact_id}}">{{$note}}</div>