]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/diabook/profile_vcard.tpl
simplify by making Smarty include directives behave like Friendica native ones
[friendica.git] / view / theme / diabook / profile_vcard.tpl
index 3a545f9ba624ca3f60cafc6556f867f1c3ef6e3b..ccde72af964483b1360378e91fdefb71522e733c 100644 (file)
@@ -21,9 +21,9 @@
        </div>
                                
        
-       {{ if $pdesc }}<div class="title">$profile.pdesc</div>{{ endif }}
-       <div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="$profile.photo?rev=$profile.picdate" alt="$profile.name" /></div>
 
+       <div id="profile-photo-wrapper"><img class="photo" src="$profile.photo?rev=$profile.picdate" alt="$profile.name" /></div>
+       {{ if $pdesc }}<div class="title">$profile.pdesc</div>{{ endif }}
 
 
        {{ if $location }}
@@ -48,7 +48,7 @@
 
        {{ if $homepage }}<dl class="homepage"><dt class="homepage-label">$homepage</dt><dd class="homepage-url"><a href="$profile.homepage" target="external-link">$profile.homepage</a></dd></dl>{{ endif }}
 
-       {{ inc diaspora_vcard.tpl }}{{ endinc }}
+       {{ inc diaspora_vcard.tpl with $diaspora=$diaspora_info }}{{ endinc }}
        
        <div id="profile-extra-links">
                <ul>