diff options
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/direntry.tpl | 15 | ||||
-rw-r--r-- | view/tpl/prep.tpl | 5 | ||||
-rwxr-xr-x | view/tpl/xchan_vcard.tpl | 11 |
3 files changed, 8 insertions, 23 deletions
diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl index 6ba86a085..1761ed12d 100755 --- a/view/tpl/direntry.tpl +++ b/view/tpl/direntry.tpl @@ -15,18 +15,11 @@ <div class='contact-info'> <div class="contact-name" id="directory-name-{{$entry.id}}" ><a href='{{$entry.profile_link}}' >{{$entry.name}}</a>{{if $entry.online}} <i class="icon-asterisk online-now" title="{{$entry.online}}"></i>{{/if}}</div> -{{if $entry.rateme}} -<div id="dir-rating-wrapper-{{$entry.id}}" style="float:right; width: 20%;"> -62 ratings<br /> -<div id="dir-rating-slider-{{$entry.id}}" class="dir-slider" style="height: 32px; margin-right:10px;"> -<input id="dir-rating-range-{{$entry.id}}" type="text" value="0" name="fake-rating-{{$entry.id}}" style="display: none;"> +{{*if $entry.rateme*}} +<div id="dir-rating-wrapper-{{$entry.id}}" class="directory-rating" >{{if $entry.total_ratings}}<a href="ratings/{{$entry.hash}}"><button class="btn btn-default">{{$entry.total_ratings}}</button></a>{{/if}} +<button class="btn btn-default"><i class="icon-pencil"></i></button> </div> -</div> -<div class="clear"></div> -<script> -$("#dir-rating-range-{{$entry.id}}").jRange({ from: -10, to: 10, step: 1, width:'100%', showLabels: false, showScale: true, scale : [ '-10','-5','0','5','10' ], onstatechange: function(v) { $("#contact-rating-mirror").val(v); } }); -</script> -{{/if}} +{{*/if*}} {{if $entry.public_forum}} <div class="contact-forum"> {{$entry.forum_label}} @{{$entry.nickname}}+ diff --git a/view/tpl/prep.tpl b/view/tpl/prep.tpl index 49dea7d72..924bea252 100644 --- a/view/tpl/prep.tpl +++ b/view/tpl/prep.tpl @@ -12,9 +12,10 @@ </div> <div class="prep-details"> <a href="{{$r.xchan_url}}" class="directory-profile-link" id="directory-profile-link-{{$r.xchan_hash}}" ><div class="contact-name">{{$r.xchan_name}}</div></a> -{{$rating_lbl}} {{$r.xlink_rating}} +<div class="rating-value">{{$rating_lbl}} {{$r.xlink_rating}}</div> {{if $r.xlink_rating_text}} -{{$rating_text_label}} {{$r.xlink_rating_text}} +<div class="rating-text">{{$rating_text_label}} {{$r.xlink_rating_text}} +</div> {{/if}} </div> <div class="clear"></div> diff --git a/view/tpl/xchan_vcard.tpl b/view/tpl/xchan_vcard.tpl index b72250bec..ca0fe76be 100755 --- a/view/tpl/xchan_vcard.tpl +++ b/view/tpl/xchan_vcard.tpl @@ -5,16 +5,7 @@ {{if $mode != 'mail'}} -<div id="profile-extra-links"> -<ul> {{if $connect}} - <li><a id="follow-link" href="follow?f=&url={{$follow}}">{{$connect}}</a></li> + <a href="follow?f=&url={{$follow}}" class="rconnect"><i class="icon-plus connect-icon"></i> {{$connect}}</a> {{/if}} -{{if $newwin}} - <li><a id="visit-chan-link" href="{{$url}}" title="{{$newtit}}" target="_blank" >{{$newwin}}</a></li> -{{/if}} -</ul> - - -</div> {{/if}} |