Modified:Displaying photos count only when photos are enabled
This commit is contained in:
parent
f9b9f72c11
commit
8b884b4139
1 changed files with 34 additions and 32 deletions
|
@ -189,11 +189,13 @@
|
||||||
<br>
|
<br>
|
||||||
<span class="line-height-1 smaller-90 new1"> {lang code='Videos'} </span>
|
<span class="line-height-1 smaller-90 new1"> {lang code='Videos'} </span>
|
||||||
</button>
|
</button>
|
||||||
|
{if $Cbucket->configs['photosSection']==yes}
|
||||||
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
|
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
|
||||||
<span class="line-height-1 bigger-170 blue">{$user.total_photos}</span>
|
<span class="line-height-1 bigger-170 blue">{$user.total_photos}</span>
|
||||||
<br>
|
<br>
|
||||||
<span class="line-height-1 smaller-90 new1"> {lang code="photos"} </span>
|
<span class="line-height-1 smaller-90 new1"> {lang code="photos"} </span>
|
||||||
</span>
|
</span>
|
||||||
|
{/if}
|
||||||
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
|
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
|
||||||
<span class="line-height-1 bigger-170 blue">{$user.num_visits|number_format}</span>
|
<span class="line-height-1 bigger-170 blue">{$user.num_visits|number_format}</span>
|
||||||
<br>
|
<br>
|
||||||
|
|
Loading…
Add table
Reference in a new issue