-
-
Notifications
You must be signed in to change notification settings - Fork 580
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #869 from pH7Software/integrated-premium-theme
Integrated the pH7Builder's Premium theme as part of the default themes
- Loading branch information
Showing
125 changed files
with
2,872 additions
and
2 deletions.
There are no files selected for viewing
Empty file.
12 changes: 12 additions & 0 deletions
12
_protected/app/system/modules/birthday/views/premium/tpl/user/index.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<div class="center"> | ||
{if !empty($births)} | ||
{each $birth in $births} | ||
<div class="s_photo"> | ||
{{ $avatarDesign->get($birth->username, $birth->firstName, $birth->sex, 64) }} | ||
</div> | ||
{/each} | ||
{main_include 'page_nav.inc.tpl'} | ||
{else} | ||
<p>{lang}No users who have a birthday today. Come back tomorrow! 😉{/lang}</p> | ||
{/if} | ||
</div> |
Empty file.
8 changes: 8 additions & 0 deletions
8
_protected/app/system/modules/contact/views/premium/tpl/contact/index.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<div class="left col-md-6"> | ||
{{ ContactForm::display() }} | ||
<p class="italic red">{lang 'Your IP is: %0%', $ip}</p> | ||
</div> | ||
|
||
<div role="banner" class="right col-md-2 col-md-offset-4 ad_160_600"> | ||
{designModel.ad(160, 600)} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* @title Profile Controller | ||
* | ||
* @author Pierre-Henry Soria <[email protected]> | ||
* @copyright (c) 2012-2019, Pierre-Henry Soria. All Rights Reserved. | ||
* @copyright (c) 2012-2021, Pierre-Henry Soria. All Rights Reserved. | ||
* @license GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. | ||
* @package PH7 / App / System / Module / Cool Profile Page / Controller | ||
*/ | ||
|
Empty file.
246 changes: 246 additions & 0 deletions
246
_protected/app/system/modules/cool-profile-page/views/premium/tpl/main/index.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,246 @@ | ||
<div class="col-md-11 col-sm-11 col-xs-12 col-md-offset-1 col-sm-offset-1" itemscope="itemscope" | ||
itemtype="http://schema.org/Person"> | ||
|
||
<div class="row"> | ||
<div class="col-md-4 col-sm-3 col-xs-12 animated fadeInLeftBig"> | ||
{if !empty($punchline)} | ||
<div class="row"> | ||
<div class="card shadow"> | ||
<h3 class="cinnabar-red italic center">{punchline}</h3> | ||
</div> | ||
</div> | ||
{/if} | ||
|
||
{if !empty($description)} | ||
<div class="row"> | ||
<div class="card shadow"> | ||
<h2>{lang 'A Little About Me'}</h2> | ||
<div itemprop="description" class="quote italic center">{description}</div> | ||
</div> | ||
</div> | ||
{/if} | ||
|
||
<div class="row"> | ||
<div class="card shadow"> | ||
<h2 itemprop="name"> | ||
<span itemprop="name">{first_name}</span> {middle_name} <span | ||
itemprop="familyName">{last_name}</span> | ||
{if empty($last_name) OR empty($middle_name)} | ||
{* Display the username if middle or last name is empty *} | ||
<span itemprop="additionalName" class="irelatedtalic">({username})</span> | ||
{/if} | ||
{{ $design->report($id, $username, $first_name, $sex) }} | ||
</h2> | ||
|
||
<div class="center img-rounded"> | ||
{{ (new AvatarDesignCore)->lightBox($username, $first_name, $sex, 400) }} | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="card shadow center"> | ||
<h2>{lang 'Like / Share'}</h2> | ||
{{ $design->like($username, $first_name, $sex) }} | ||
{{ $design->socialMediaWidgets() }} | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="col-md-8 col-sm-9 col-xs-12 animated fadeInRightBig"> | ||
<div class="row"> | ||
<div class="card shadow center"> | ||
<h2>{lang 'Information'}</h2> | ||
<p> | ||
<i class="fa fa-{sex}"></i> | ||
<span class="bold">{lang 'I am a:'}</span> | ||
<span class="italic"> | ||
<a itemprop="gender" | ||
href="{{ $design->url('user','browse','index', '?country='.$country_code.'&match_sex='.$sex) }}"> | ||
{lang $sex} | ||
</a> | ||
</span> | ||
</p> | ||
|
||
{if !empty($match_sex)} | ||
<p> | ||
<i class="fa fa-{match_sex}"></i> | ||
<span class="bold">{lang 'Looking for a:'}</span> | ||
<span class="italic"> | ||
<a href="{{ $design->url('user','browse','index', '?country='.$country_code) }}{match_sex_search}"> | ||
{lang $match_sex} | ||
</a> | ||
</span> | ||
</p> | ||
{/if} | ||
|
||
{if !empty($age)} | ||
<p> | ||
<span class="bold">{lang 'Age:'}</span> | ||
<span class="italic"> | ||
<a itemprop="birthDate" | ||
href="{{ $design->url('user','browse','index', '?country='.$country_code.'&age='.$birth_date) }}"> | ||
{age} | ||
</a> | ||
<span class="gray">({birth_date_formatted})</span> | ||
</span> | ||
</p> | ||
{/if} | ||
|
||
{* Profile's Fields *} | ||
{each $key => $val in $fields} | ||
{if $key != 'description' AND $key != 'middleName' AND $key != 'punchline' AND !empty($val)} | ||
{{ $val = escape($val, true) }} | ||
|
||
{if stripos($key, 'height') !== false} | ||
<p> | ||
<span class="bold">{lang 'Height:'}</span> | ||
<span class="italic"> | ||
<a itemprop="height" | ||
href="{{ $design->url('user','browse','index', '?country='.$country_code.'&height='.$val) }}"> | ||
{{ (new Framework\Math\Measure\Height($val))->display(true) }} | ||
</a> | ||
</span> | ||
</p> | ||
{elseif stripos($key, 'weight') !== false} | ||
<p> | ||
<span class="bold">{lang 'Weight:'}</span> | ||
<span class="italic"> | ||
<a itemprop="weight" | ||
href="{{ $design->url('user','browse','index', '?country='.$country_code.'&weight='.$val) }}"> | ||
{{ (new Framework\Math\Measure\Weight($val))->display(true) }} | ||
</a> | ||
</span> | ||
</p> | ||
{elseif $key == 'country'} | ||
<p> | ||
<span class="bold">{lang 'Country:'}</span> | ||
<span class="italic"> | ||
<a itemprop="nationality" | ||
href="{{ $design->url('user','browse','index', '?country='.$country_code) }}"> | ||
{country} | ||
</a> | ||
</span> <img src="{{ $design->getSmallFlagIcon($country_code) }}" title="{country}" | ||
alt="{country}"/> | ||
</p> | ||
{elseif $key == 'city'} | ||
<p> | ||
<span class="bold">{lang 'City/Town:'}</span> | ||
<span class="italic"> | ||
<a itemprop="homeLocation" | ||
href="{{ $design->url('user','browse','index', '?country='.$country_code.'&city='.$city) }}"> | ||
{city} | ||
</a> | ||
</span> | ||
</p> | ||
{elseif $key == 'state'} | ||
<p> | ||
<span class="bold">{lang 'State/Province:'}</span> | ||
<span class="italic"> | ||
<a href="{{ $design->url('user','browse','index', '?country='.$country_code.'&state='.$state) }}"> | ||
{state} | ||
</a> | ||
</span> | ||
</p> | ||
{elseif $key == 'zipCode'} | ||
<p> | ||
<span class="bold">{lang 'Postal Code:'}</span> | ||
<span class="italic"> | ||
<a href="{{ $design->url('user','browse','index', '?country='.$country_code.'&zip_code='.$val) }}"> | ||
{val} | ||
</a> | ||
</span> | ||
</p> | ||
{elseif stripos($key, 'website') !== false} | ||
<p> | ||
{{ $design->favicon($val) }} <span class="bold">{lang 'Site/Blog:'}</span> | ||
<span class="italic">{{ $design->urlTag($val) }}</span> | ||
</p> | ||
{elseif stripos($key, 'socialNetworkSite') !== false} | ||
<p> | ||
{{ $design->favicon($val) }} <span class="bold">{lang 'Social Profile:'}</span> | ||
<span class="italic">{{ $design->urlTag($val) }}</span> | ||
</p> | ||
{else} | ||
{{ $lang_key = strtolower($key) }} | ||
|
||
{if strstr($key, 'url') OR stristr($val, 'http')} | ||
<p> | ||
{{ $design->favicon($val) }} <span class="bold">{lang $lang_key}</span> | ||
<span class="italic">{{ $design->urlTag($val) }}</span> | ||
</p> | ||
{else} | ||
<p> | ||
<span class="bold">{lang $lang_key}</span> | ||
<span class="italic">{val}</span> | ||
</p> | ||
{/if} | ||
{/if} | ||
{/if} | ||
{/each} | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="card shadow center"> | ||
{manual_include 'interested_or_not.buttons.inc.tpl'} | ||
{manual_include 'profile_links.inc.tpl'} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="col-md-12 col-sm-12 col-xs-12 animated fadeInUp"> | ||
{if $is_map_enabled} | ||
<div class="row"> | ||
<div class="card shadow s_bMarg"> | ||
<h2>{lang 'Location'}</h2> | ||
{map} | ||
</div> | ||
</div> | ||
{/if} | ||
|
||
{if $is_picture_enabled} | ||
<div class="row"> | ||
<div class="card shadow"> | ||
<h2 class="center">{lang 'Photos'}</h2> | ||
<div class="content" id="picture"> | ||
<script> | ||
var url_picture_block = '{{ $design->url('picture','main','albums',$username.'?show_add_album_btn='.((int)$is_own_profile)) }}'; | ||
$('#picture').load(url_picture_block + ' #picture_block'); | ||
</script> | ||
</div> | ||
</div> | ||
</div> | ||
{/if} | ||
|
||
{if $is_video_enabled} | ||
<div class="row"> | ||
<div class="card shadow"> | ||
<h2 class="center">{lang 'Videos'}</h2> | ||
<div class="content" id="video"> | ||
<script> | ||
var url_video_block = '{{ $design->url('video','main','albums',$username.'?show_add_album_btn='.((int)$is_own_profile)) }}'; | ||
$('#video').load(url_video_block + ' #video_block'); | ||
</script> | ||
</div> | ||
</div> | ||
</div> | ||
{/if} | ||
|
||
{if $is_relatedprofile_enabled} | ||
<div class="row"> | ||
<div class="card shadow"> | ||
<h2>{lang 'Related Profiles'}</h2> | ||
<div class="content" id="related_profile"> | ||
<script> | ||
var url_related_profile_block = '{{ $design->url('related-profile','main','index',$id) }}'; | ||
$('#related_profile').load(url_related_profile_block + ' #related_profile_block'); | ||
</script> | ||
</div> | ||
</div> | ||
</div> | ||
{/if} | ||
</div> | ||
</div> | ||
</div> |
19 changes: 19 additions & 0 deletions
19
...system/modules/cool-profile-page/views/premium/tpl/main/interested_or_not.buttons.inc.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{if !$is_own_profile} | ||
<div class="center"> | ||
{if $is_mail_enabled} | ||
<a class="s_tMarg btn btn-success btn-lg" rel="nofollow" href="{mail_link}"> | ||
{lang '👍 Wanna Meet 😍'} | ||
</a> | ||
{elseif $is_im_enabled} | ||
<a class="s_tMarg btn btn-success btn-lg" rel="nofollow" href="{messenger_link}"> | ||
{lang '👍 Wanna Speak 💬'} | ||
</a> | ||
{/if} | ||
|
||
{if $is_mail_enabled OR $is_im_enabled} | ||
<a class="s_tMarg btn btn-danger btn-lg" href="{{ $design->url('user', 'browse', 'index', '?country='.$country_code.'&sex='.$sex) }}"> | ||
{lang ' 👎 Not Interested'} | ||
</a> | ||
{/if} | ||
</div> | ||
{/if} |
35 changes: 35 additions & 0 deletions
35
_protected/app/system/modules/cool-profile-page/views/premium/tpl/main/profile_links.inc.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<h2>{lang "Let's Speak"}</h2> | ||
|
||
<div class="row"> | ||
{if $is_im_enabled} | ||
<a class="vs_marg" rel="nofollow" href="{messenger_link}" title="{lang 'Chat'}"> | ||
<i class="fa fa-comment-o chat"></i> | ||
</a> | ||
{/if} | ||
|
||
{if $is_lovecalculator_enabled} | ||
<a class="vs_marg" href="{{ $design->url('love-calculator','main','index',$username) }}" title="{lang 'Match'}"> | ||
<i class="fa fa-heart-o heart"></i> | ||
</a> | ||
{/if} | ||
</div> | ||
|
||
<div class="row"> | ||
{if $is_mail_enabled} | ||
<a class="vs_marg" rel="nofollow" href="{mail_link}" title="{lang 'Send Message'}"> | ||
<li class="fa fa-envelope-o message"></li> | ||
</a> | ||
{/if} | ||
|
||
{if $is_friend_enabled} | ||
<a class="vs_marg" rel="nofollow" href="{friend_link}"> | ||
{if $is_approved_friend} | ||
<i class="fa fa-user-times friend"></i> | ||
{elseif $is_pending_friend} | ||
<i class="fa fa-users friend"></i> | ||
{else} | ||
<i class="fa fa-user-plus friend"></i> | ||
{/if} | ||
</a> | ||
{/if} | ||
</div> |
Empty file.
34 changes: 34 additions & 0 deletions
34
_protected/app/system/modules/friend/views/premium/tpl/main/index.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<div class="center" id="friend_block"> | ||
{if empty($error)} | ||
<p class="italic underline"> | ||
<strong><a href="{{ $design->url('friend','main','index',$username) }}">{friend_number}</a></strong> | ||
</p> | ||
<br /> | ||
|
||
{each $f in $friends} | ||
<div class="s_photo" id="friend_{% $f->fdId %}"> | ||
{{ $avatarDesign->get($f->username, $f->firstName, $f->sex, 64) }} | ||
<em><abbr title="{% $f->firstName %}">{% $f->username %}</abbr></em><br /> | ||
|
||
{if $is_user_auth AND $sess_member_id == $member_id} | ||
{if $sess_member_id == $f->friendId AND $f->pending == FriendCoreModel::PENDING_REQUEST} | ||
<small>{lang 'Pending...'}</small> <a href="javascript:void(0)" onclick="friend('approval',{% $f->fdId %},'{csrf_token}')">{lang 'Approve'}</a> | ||
{/if} | ||
<a href="javascript:void(0)" onclick="friend('delete',{% $f->fdId %},'{csrf_token}')"> | ||
{lang 'Delete'} | ||
</a> | ||
{/if} | ||
</div> | ||
{/each} | ||
|
||
{main_include 'page_nav.inc.tpl'} | ||
<br /> | ||
<p class="center bottom"> | ||
<a class="btn btn-default btn-md" href="{{ $design->url('friend','main','search',"$username,$action") }}"> | ||
{lang 'Search for a friend of %0%', $username} | ||
</a> | ||
</p> | ||
{else} | ||
<p>{error}</p> | ||
{/if} | ||
</div> |
7 changes: 7 additions & 0 deletions
7
_protected/app/system/modules/friend/views/premium/tpl/main/search.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div class="left col-md-8"> | ||
{{ SearchFriendForm::display() }} | ||
</div> | ||
|
||
<div class="right col-md-4 ad_336_280"> | ||
{designModel.ad(336, 280)} | ||
</div> |
Empty file.
7 changes: 7 additions & 0 deletions
7
_protected/app/system/modules/picture/views/premium/tpl/main/addalbum.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div class="pull-left col-xs-11 col-sm-6"> | ||
{{ AlbumForm::display() }} | ||
</div> | ||
|
||
<div class="pull-right col-xs-11 col-sm-4 col-sm-offset-1 ad_336_280"> | ||
{designModel.ad(336, 280)} | ||
</div> |
7 changes: 7 additions & 0 deletions
7
_protected/app/system/modules/picture/views/premium/tpl/main/addphoto.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div class="pull-left col-xs-11 col-sm-6 animated fadeInDownBig"> | ||
{{ PictureForm::display() }} | ||
</div> | ||
|
||
<div class="pull-right col-xs-11 col-sm-4 col-sm-offset-1 ad_336_280"> | ||
{designModel.ad(336, 280)} | ||
</div> |
Oops, something went wrong.