Merge branch 'pull'
This commit is contained in:
commit
a2b1aca27c
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<div id="close_helpers">
|
<div id="close_helpers">
|
||||||
{{ if $lastusers_title }}
|
{{ if $lastusers_title }}
|
||||||
<h3 style="margin-top:0px;">Help or @NewHere ?<a id="close_helpers_icon" onClick="close_helpers()" class="icon close_box"></a></h3>
|
<h3 style="margin-top:0px;">Help or @NewHere ?<a id="close_helpers_icon" onClick="close_helpers()" class="icon close_box" title="close"></a></h3>
|
||||||
<a href="https://helpers.pyxis.uberspace.de/profile/helpers" style="margin-left: 10px; " title="Friendica Support" target="blank">Friendica Support</a><br>
|
<a href="https://helpers.pyxis.uberspace.de/profile/helpers" style="margin-left: 10px; " title="Friendica Support" target="blank">Friendica Support</a><br>
|
||||||
<a href="https://letstalk.pyxis.uberspace.de/profile/letstalk" style="margin-left: 10px; " title="Let's talk" target="blank">Let's talk</a><br>
|
<a href="https://letstalk.pyxis.uberspace.de/profile/letstalk" style="margin-left: 10px; " title="Let's talk" target="blank">Let's talk</a><br>
|
||||||
<a href="http://newzot.hydra.uberspace.de/profile/newzot" title="Local Friendica" style="margin-left: 10px; " target="blank">Local Friendica</a>
|
<a href="http://newzot.hydra.uberspace.de/profile/newzot" title="Local Friendica" style="margin-left: 10px; " target="blank">Local Friendica</a>
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
<div id="close_services">
|
<div id="close_services">
|
||||||
{{ if $lastusers_title }}
|
{{ if $lastusers_title }}
|
||||||
<h3>Connectable Services<a id="close_services_icon" onClick="close_services()" class="icon close_box"></a></h3>
|
<h3>Connectable Services<a id="close_services_icon" onClick="close_services()" class="icon close_box" title="close"></a></h3>
|
||||||
<div id="right_service_icons" style="margin-left: 11px; margin-top: 5px;">
|
<div id="right_service_icons" style="margin-left: 11px; margin-top: 5px;">
|
||||||
<a href="$url/facebook"><img alt="Facebook" src="view/theme/diabook-blue/icons/facebook.png" title="Facebook"></a>
|
<a href="$url/facebook"><img alt="Facebook" src="view/theme/diabook-blue/icons/facebook.png" title="Facebook"></a>
|
||||||
<a href="$url/settings/connectors"><img alt="StatusNet" src="view/theme/diabook-blue/icons/StatusNet.png?" title="StatusNet"></a>
|
<a href="$url/settings/connectors"><img alt="StatusNet" src="view/theme/diabook-blue/icons/StatusNet.png?" title="StatusNet"></a>
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
<div id="close_friends">
|
<div id="close_friends">
|
||||||
{{ if $nv }}
|
{{ if $nv }}
|
||||||
<h3>Find Friends<a id="close_friends_icon" onClick="close_friends()" class="icon close_box"></a></h3>
|
<h3>Find Friends<a id="close_friends_icon" onClick="close_friends()" class="icon close_box" title="close"></a></h3>
|
||||||
<a class="$nv.directory.2" href="$nv.directory.0" style="margin-left: 10px; " title="$nv.directory.3" >$nv.directory.1</a><br>
|
<a class="$nv.directory.2" href="$nv.directory.0" style="margin-left: 10px; " title="$nv.directory.3" >$nv.directory.1</a><br>
|
||||||
<a class="$nv.match.2" href="$nv.match.0" style="margin-left: 10px; " title="$nv.match.3" >$nv.match.1</a><br>
|
<a class="$nv.match.2" href="$nv.match.0" style="margin-left: 10px; " title="$nv.match.3" >$nv.match.1</a><br>
|
||||||
<a class="$nv.suggest.2" href="$nv.suggest.0" style="margin-left: 10px; " title="$nv.suggest.3" >$nv.suggest.1</a>
|
<a class="$nv.suggest.2" href="$nv.suggest.0" style="margin-left: 10px; " title="$nv.suggest.3" >$nv.suggest.1</a>
|
||||||
|
@ -42,14 +42,14 @@
|
||||||
|
|
||||||
<div id="close_postit">
|
<div id="close_postit">
|
||||||
{{ if $lastusers_title }}
|
{{ if $lastusers_title }}
|
||||||
<h3>PostIt to Friendica<a id="close_postit_icon" onClick="close_postit()" class="icon close_box"></a></h3>
|
<h3>PostIt to Friendica<a id="close_postit_icon" onClick="close_postit()" class="icon close_box" title="close"></a></h3>
|
||||||
<div style="padding-left: 8px;"><span ><a href="$fostitJS" title="PostIt">Post to Friendica</a> from anywhere by bookmarking the Link.</span></div>
|
<div style="padding-left: 8px;"><span ><a href="$fostitJS" title="PostIt">Post to Friendica</a> from anywhere by bookmarking the Link.</span></div>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="close_lastusers">
|
<div id="close_lastusers">
|
||||||
{{ if $lastusers_title }}
|
{{ if $lastusers_title }}
|
||||||
<h3>$lastusers_title<a id="close_lastusers_icon" onClick="close_lastusers()" class="icon close_box"></a></h3>
|
<h3>$lastusers_title<a id="close_lastusers_icon" onClick="close_lastusers()" class="icon close_box" title="close"></a></h3>
|
||||||
<div id='lastusers-wrapper' class='items-wrapper'>
|
<div id='lastusers-wrapper' class='items-wrapper'>
|
||||||
{{ for $lastusers_items as $i }}
|
{{ for $lastusers_items as $i }}
|
||||||
$i
|
$i
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
|
|
||||||
<div id="close_lastphotos">
|
<div id="close_lastphotos">
|
||||||
{{ if $photos_title }}
|
{{ if $photos_title }}
|
||||||
<h3>$photos_title<a id="close_photos_icon" onClick="close_lastphotos()" class="icon close_box"></a></h3>
|
<h3>$photos_title<a id="close_photos_icon" onClick="close_lastphotos()" class="icon close_box" title="close"></a></h3>
|
||||||
<div id='ra-photos-wrapper' class='items-wrapper'>
|
<div id='ra-photos-wrapper' class='items-wrapper'>
|
||||||
{{ for $photos_items as $i }}
|
{{ for $photos_items as $i }}
|
||||||
$i
|
$i
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
|
|
||||||
<div id="close_lastlikes">
|
<div id="close_lastlikes">
|
||||||
{{ if $like_title }}
|
{{ if $like_title }}
|
||||||
<h3>$like_title<a id="close_lastlikes_icon" onClick="close_lastlikes()" class="icon close_box"></a></h3>
|
<h3>$like_title<a id="close_lastlikes_icon" onClick="close_lastlikes()" class="icon close_box" title="close"></a></h3>
|
||||||
<ul id='likes'>
|
<ul id='likes'>
|
||||||
{{ for $like_items as $i }}
|
{{ for $like_items as $i }}
|
||||||
<li id='ra-photos-wrapper'>$i</li>
|
<li id='ra-photos-wrapper'>$i</li>
|
||||||
|
|
|
@ -1197,6 +1197,18 @@ right_aside .icon {width: 10px; height: 10px;}
|
||||||
background-image: url("../../../view/theme/diabook-blue/icons/close_box.png");
|
background-image: url("../../../view/theme/diabook-blue/icons/close_box.png");
|
||||||
float: right;
|
float: right;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
opacity: 0.1;
|
||||||
|
}
|
||||||
|
.close_box:hover {
|
||||||
|
background-image: url("../../../view/theme/diabook-blue/icons/close_box.png");
|
||||||
|
float: right;
|
||||||
|
cursor: pointer;
|
||||||
|
opacity: 1;
|
||||||
|
-webkit-transition: all 0.2s ease-in-out;
|
||||||
|
-moz-transition: all 0.2s ease-in-out;
|
||||||
|
-o-transition: all 0.2s ease-in-out;
|
||||||
|
-ms-transition: all 0.2s ease-in-out;
|
||||||
|
transition: all 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* wall item */
|
/* wall item */
|
||||||
|
@ -1279,7 +1291,7 @@ right_aside .icon {width: 10px; height: 10px;}
|
||||||
}
|
}
|
||||||
|
|
||||||
.wall-item-container .wall-item-content img {
|
.wall-item-container .wall-item-content img {
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
}
|
}
|
||||||
.wall-item-container .wall-item-links, .wall-item-container .wall-item-actions {
|
.wall-item-container .wall-item-links, .wall-item-container .wall-item-actions {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
|
|
|
@ -1196,6 +1196,18 @@ right_aside .icon {width: 10px; height: 10px;}
|
||||||
background-image: url("../../../view/theme/diabook-blue/icons/close_box.png");
|
background-image: url("../../../view/theme/diabook-blue/icons/close_box.png");
|
||||||
float: right;
|
float: right;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
opacity: 0.1;
|
||||||
|
}
|
||||||
|
.close_box:hover {
|
||||||
|
background-image: url("../../../view/theme/diabook-blue/icons/close_box.png");
|
||||||
|
float: right;
|
||||||
|
cursor: pointer;
|
||||||
|
opacity: 1;
|
||||||
|
-webkit-transition: all 0.2s ease-in-out;
|
||||||
|
-moz-transition: all 0.2s ease-in-out;
|
||||||
|
-o-transition: all 0.2s ease-in-out;
|
||||||
|
-ms-transition: all 0.2s ease-in-out;
|
||||||
|
transition: all 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
/* wall item */
|
/* wall item */
|
||||||
.tread-wrapper {
|
.tread-wrapper {
|
||||||
|
|
|
@ -150,7 +150,7 @@ function diabook_blue_community_info(){
|
||||||
if(local_user()) {
|
if(local_user()) {
|
||||||
$page = '<div id="page-sidebar-right_aside" class="widget">
|
$page = '<div id="page-sidebar-right_aside" class="widget">
|
||||||
<div class="title tool">
|
<div class="title tool">
|
||||||
<h3>'.t("Community Pages").'<a id="close_pages_icon" onClick="close_pages()" class="icon close_box"></a></h3></div>
|
<h3>'.t("Community Pages").'<a id="close_pages_icon" onClick="close_pages()" class="icon close_box" title="close"></a></h3></div>
|
||||||
<div id="sidebar-page-list"><ul>';
|
<div id="sidebar-page-list"><ul>';
|
||||||
|
|
||||||
$pagelist = array();
|
$pagelist = array();
|
||||||
|
@ -212,7 +212,7 @@ if ($a->argv[0] === "network" && local_user()){
|
||||||
$ps['usermenu']['events'] = Array('events/', t('Events'), "", t('Your events'));
|
$ps['usermenu']['events'] = Array('events/', t('Events'), "", t('Your events'));
|
||||||
$ps['usermenu']['notes'] = Array('notes/', t('Personal notes'), "", t('Your personal photos'));
|
$ps['usermenu']['notes'] = Array('notes/', t('Personal notes'), "", t('Your personal photos'));
|
||||||
$ps['usermenu']['community'] = Array('community/', t('Community'), "", "");
|
$ps['usermenu']['community'] = Array('community/', t('Community'), "", "");
|
||||||
$ps['usermenu']['pgroups'] = Array('http://dir.friendika.com/directory/forum', t('Public Groups'), "", "");
|
$ps['usermenu']['pgroups'] = Array('http://dir.friendika.com/directory/forum', t('Community Pages'), "", "");
|
||||||
|
|
||||||
$tpl = get_markup_template('profile_side.tpl');
|
$tpl = get_markup_template('profile_side.tpl');
|
||||||
|
|
||||||
|
@ -237,7 +237,7 @@ if ($a->argv[0] === "network" && local_user()){
|
||||||
|
|
||||||
|
|
||||||
//right_aside at profile pages
|
//right_aside at profile pages
|
||||||
if ($a->argv[0] === "profile"){
|
if ($a->argv[0].$a->argv[1] === "profile".$a->user['nickname']){
|
||||||
if($ccCookie != "8") {
|
if($ccCookie != "8") {
|
||||||
// COMMUNITY
|
// COMMUNITY
|
||||||
diabook_blue_community_info();
|
diabook_blue_community_info();
|
||||||
|
|
|
@ -30,13 +30,14 @@
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="close_friends">
|
<div id="close_friends" style="margin-bottom:53px;">
|
||||||
{{ if $nv }}
|
{{ if $nv }}
|
||||||
<h3>Find Friends<a id="close_friends_icon" onClick="close_friends()" class="icon close_box" title="close"></a></h3>
|
<h3>Find Friends<a id="close_friends_icon" onClick="close_friends()" class="icon close_box" title="close"></a></h3>
|
||||||
<a class="$nv.directory.2" href="$nv.directory.0" style="margin-left: 10px; " title="$nv.directory.3" >$nv.directory.1</a><br>
|
<a class="$nv.directory.2" href="$nv.directory.0" style="margin-left: 10px; " title="$nv.directory.3" >$nv.directory.1</a><br>
|
||||||
<a class="$nv.match.2" href="$nv.match.0" style="margin-left: 10px; " title="$nv.match.3" >$nv.match.1</a><br>
|
<a class="$nv.match.2" href="$nv.match.0" style="margin-left: 10px; " title="$nv.match.3" >$nv.match.1</a><br>
|
||||||
<a class="$nv.suggest.2" href="$nv.suggest.0" style="margin-left: 10px; " title="$nv.suggest.3" >$nv.suggest.1</a>
|
<a class="$nv.suggest.2" href="$nv.suggest.0" style="margin-left: 10px; " title="$nv.suggest.3" >$nv.suggest.1</a><br>
|
||||||
<a class="$nv.invite.2" href="$nv.invite.0" style="margin-left: 10px; " title="$nav.invite.3" >$nv.invite.1</a>
|
<a class="$nv.invite.2" href="$nv.invite.0" style="margin-left: 10px; " title="$nav.invite.3" >$nv.invite.1</a>
|
||||||
|
$nv.search
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
BIN
view/theme/diabook/icons/srch_bg.gif
Normal file
BIN
view/theme/diabook/icons/srch_bg.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 65 B |
BIN
view/theme/diabook/icons/srch_l.gif
Normal file
BIN
view/theme/diabook/icons/srch_l.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 303 B |
BIN
view/theme/diabook/icons/srch_r.gif
Normal file
BIN
view/theme/diabook/icons/srch_r.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 227 B |
BIN
view/theme/diabook/icons/srch_r_f2.gif
Normal file
BIN
view/theme/diabook/icons/srch_r_f2.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 278 B |
|
@ -1095,6 +1095,32 @@ aside #side-peoplefind-url {
|
||||||
background: url("../../../view/theme/diabook/icons/selected.png") no-repeat left center;
|
background: url("../../../view/theme/diabook/icons/selected.png") no-repeat left center;
|
||||||
}
|
}
|
||||||
/* widget: search */
|
/* widget: search */
|
||||||
|
span.sbox_l {
|
||||||
|
background: white url('../../../view/theme/diabook/icons/srch_l.gif') no-repeat top left;
|
||||||
|
float: left;
|
||||||
|
width: 19px; height: 19px;
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-top: 5px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
span.sbox_r {
|
||||||
|
background: white url('../../../view/theme/diabook/icons/srch_r.gif') no-repeat top left;
|
||||||
|
float: left;
|
||||||
|
width: 19px; height: 19px;
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.sbox input {
|
||||||
|
background: white url('../../../view/theme/diabook/icons/srch_bg.gif') repeat-x top left;
|
||||||
|
float: left;
|
||||||
|
margin-top: 5px;
|
||||||
|
border: 0;
|
||||||
|
height: 13px; width: 100px;
|
||||||
|
padding: 3px;
|
||||||
|
font: 11px/13px arial;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
#add-search-popup {
|
#add-search-popup {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
top: 18px;
|
top: 18px;
|
||||||
|
@ -1725,12 +1751,13 @@ transition: all 0.2s ease-in-out;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
/*input[type="submit"] {
|
/*input[type="submit"] {
|
||||||
border: 0px;
|
background-color: #33ACFF;
|
||||||
background-color: @ButtonBackgroundColor;
|
background-image: -moz-linear-gradient(center top , #66C1FF 0%, #0097FF 100%);
|
||||||
color: @ButtonColor;
|
border: 1px solid #777777;
|
||||||
padding: 0px 10px;
|
color: white;
|
||||||
.rounded(5px);
|
border-radius: 3px 3px 3px 3px;
|
||||||
height: 18px;
|
box-shadow: 0 1px 1px #CFCFCF;
|
||||||
|
margin-left: 5px;
|
||||||
}*/
|
}*/
|
||||||
/** acl **/
|
/** acl **/
|
||||||
#photo-edit-perms-select, #photos-upload-permissions-wrapper, #profile-jot-acl-wrapper {
|
#photo-edit-perms-select, #photos-upload-permissions-wrapper, #profile-jot-acl-wrapper {
|
||||||
|
|
|
@ -1090,6 +1090,32 @@ aside #side-peoplefind-url {
|
||||||
background: url("../../../view/theme/diabook/icons/selected.png") no-repeat left center;
|
background: url("../../../view/theme/diabook/icons/selected.png") no-repeat left center;
|
||||||
}
|
}
|
||||||
/* widget: search */
|
/* widget: search */
|
||||||
|
span.sbox_l {
|
||||||
|
background: white url('../../../view/theme/diabook/icons/srch_l.gif') no-repeat top left;
|
||||||
|
float: left;
|
||||||
|
width: 19px; height: 19px;
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-top: 5px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
span.sbox_r {
|
||||||
|
background: white url('../../../view/theme/diabook/icons/srch_r.gif') no-repeat top left;
|
||||||
|
float: left;
|
||||||
|
width: 19px; height: 19px;
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.sbox input {
|
||||||
|
background: white url('../../../view/theme/diabook/icons/srch_bg.gif') repeat-x top left;
|
||||||
|
float: left;
|
||||||
|
margin-top: 5px;
|
||||||
|
border: 0;
|
||||||
|
height: 13px; width: 100px;
|
||||||
|
padding: 3px;
|
||||||
|
font: 11px/13px arial;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
#add-search-popup {
|
#add-search-popup {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
top: 18px;
|
top: 18px;
|
||||||
|
|
|
@ -147,6 +147,13 @@ function diabook_community_info(){
|
||||||
$nv['suggest'] = Array('suggest', t('Friend Suggestions'), "", "");
|
$nv['suggest'] = Array('suggest', t('Friend Suggestions'), "", "");
|
||||||
$nv['invite'] = Array('invite', t('Invite Friends'), "", "");
|
$nv['invite'] = Array('invite', t('Invite Friends'), "", "");
|
||||||
|
|
||||||
|
$nv['search'] = '<form name="simple_bar" method="get" action="http://dir.friendika.com/directory">
|
||||||
|
<span class="sbox_l"></span>
|
||||||
|
<span class="sbox">
|
||||||
|
<input type="text" name="search" size="13" maxlength="50">
|
||||||
|
</span>
|
||||||
|
<span class="sbox_r" id="srch_clear"></span>';
|
||||||
|
|
||||||
$aside['$nv'] = $nv;
|
$aside['$nv'] = $nv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -243,17 +250,18 @@ if ($a->argv[0] === "network" && local_user()){
|
||||||
|
|
||||||
|
|
||||||
//right_aside at profile pages
|
//right_aside at profile pages
|
||||||
if ($a->argv[0] === "profile"){
|
if ($a->argv[0].$a->argv[1] === "profile".$a->user['nickname']){
|
||||||
if($ccCookie != "8") {
|
if($ccCookie != "8") {
|
||||||
// COMMUNITY
|
// COMMUNITY
|
||||||
diabook_community_info();
|
diabook_community_info();
|
||||||
|
|
||||||
// CUSTOM CSS
|
// CUSTOM CSS
|
||||||
$cssFile = $a->get_baseurl($ssl_state)."/view/theme/diabook/style-profile.css";
|
$cssFile = $a->get_baseurl($ssl_state)."/view/theme/diabook/style-profile.css";
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// custom css
|
// custom css
|
||||||
if (!is_null($cssFile)) $a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);
|
if (!is_null($cssFile)) $a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue