Merging in conflict
This commit is contained in:
commit
b0dc9f13ed
@ -181,6 +181,13 @@ class Conversation extends BaseObject {
|
||||
$item->set_commentable(can_comment_on_post($this->observer['xchan_hash'],$item->data));
|
||||
}
|
||||
|
||||
require_once('include/identity.php');
|
||||
$sys = get_sys_channel();
|
||||
|
||||
if($sys && $item->get_data_value('uid') == $sys['channel_id']) {
|
||||
$item->set_commentable(false);
|
||||
}
|
||||
|
||||
$item->set_conversation($this);
|
||||
$this->threads[] = $item;
|
||||
return end($this->threads);
|
||||
|
@ -583,14 +583,16 @@ function profile_load(&$a, $nickname, $profile = '') {
|
||||
|
||||
}
|
||||
|
||||
$a->profile = $p[0];
|
||||
$a->profile_uid = $p[0]['profile_uid'];
|
||||
$a->page['title'] = $a->profile['channel_name'] . " - " . $a->profile['channel_address'] . "@" . $a->get_hostname();
|
||||
|
||||
$a->profile['permission_to_view'] = $can_view_profile;
|
||||
|
||||
if($can_view_profile) {
|
||||
$a->profile = $p[0];
|
||||
$online = get_online_status($nickname);
|
||||
$a->profile['online_status'] = $online['result'];
|
||||
|
||||
$a->profile_uid = $p[0]['profile_uid'];
|
||||
|
||||
$a->page['title'] = $a->profile['channel_name'] . " - " . $a->profile['channel_address'] . "@" . $a->get_hostname();
|
||||
}
|
||||
|
||||
if(local_user()) {
|
||||
@ -604,18 +606,12 @@ function profile_load(&$a, $nickname, $profile = '') {
|
||||
|
||||
$_SESSION['theme'] = $p[0]['channel_theme'];
|
||||
|
||||
$a->set_template_engine(); // reset the template engine to the default in case the user's theme doesn't specify one
|
||||
// $a->set_template_engine(); // reset the template engine to the default in case the user's theme doesn't specify one
|
||||
|
||||
$theme_info_file = "view/theme/".current_theme()."/php/theme.php";
|
||||
if (file_exists($theme_info_file)){
|
||||
require_once($theme_info_file);
|
||||
}
|
||||
|
||||
if(! $can_view_profile) {
|
||||
// permission denied
|
||||
notice( t(' Sorry, you don\'t have the permission to view this profile. ') . EOL);
|
||||
return;
|
||||
}
|
||||
// $theme_info_file = "view/theme/".current_theme()."/php/theme.php";
|
||||
// if (file_exists($theme_info_file)){
|
||||
// require_once($theme_info_file);
|
||||
// }
|
||||
|
||||
return;
|
||||
}
|
||||
@ -739,7 +735,7 @@ logger('online: ' . $profile['online']);
|
||||
$block = true;
|
||||
}
|
||||
|
||||
if(($profile['hidewall'] || $block) && (! local_user()) && (! remote_user())) {
|
||||
if(($profile['hidewall'] && (! local_user()) && (! remote_user())) || $block ) {
|
||||
$location = $pdesc = $gender = $marital = $homepage = $online = False;
|
||||
}
|
||||
|
||||
@ -751,7 +747,7 @@ logger('online: ' . $profile['online']);
|
||||
|
||||
$channel_menu = false;
|
||||
$menu = get_pconfig($profile['uid'],'system','channel_menu');
|
||||
if($menu) {
|
||||
if($menu && ! $block) {
|
||||
require_once('include/menu.php');
|
||||
$m = menu_fetch($menu,$profile['uid'],$observer['xchan_hash']);
|
||||
if($m)
|
||||
|
@ -616,7 +616,7 @@ function import_profile_photo($photo,$xchan,$thing = false) {
|
||||
$type = 'image/jpeg';
|
||||
}
|
||||
|
||||
return(array($photo,$thumb,$micro,$type));
|
||||
return(array($photo,$thumb,$micro,$type,$photo_failure));
|
||||
|
||||
}
|
||||
|
||||
|
@ -707,11 +707,10 @@ function contact_block() {
|
||||
|
||||
if((! is_array($a->profile)) || ($a->profile['hide_friends']))
|
||||
return $o;
|
||||
$r = q("SELECT COUNT(abook_id) AS total FROM abook left join xchan on abook_xchan = xchan_hash WHERE abook_channel = %d and abook_flags = 0 and not (xchan_flags & %d) and not (xchan_flags & %d) and not (xchan_flags & %d)",
|
||||
$r = q("SELECT COUNT(abook_id) AS total FROM abook left join xchan on abook_xchan = xchan_hash WHERE abook_channel = %d and not ( abook_flags & %d ) and not (xchan_flags & %d)",
|
||||
intval($a->profile['uid']),
|
||||
intval(XCHAN_FLAGS_HIDDEN),
|
||||
intval(XCHAN_FLAGS_ORPHAN),
|
||||
intval(XCHAN_FLAGS_DELETED)
|
||||
intval(ABOOK_FLAG_HIDDEN|ABOOK_FLAG_PENDING|ABOOK_FLAG_SELF),
|
||||
intval(XCHAN_FLAGS_HIDDEN|XCHAN_FLAGS_ORPHAN|XCHAN_FLAGS_DELETED)
|
||||
);
|
||||
if(count($r)) {
|
||||
$total = intval($r[0]['total']);
|
||||
@ -722,11 +721,10 @@ function contact_block() {
|
||||
|
||||
} else {
|
||||
|
||||
$r = q("SELECT abook.*, xchan.* FROM abook left join xchan on abook.abook_xchan = xchan.xchan_hash WHERE abook_channel = %d AND abook_flags = 0 and not (xchan_flags & %d ) and not (xchan_flags & %d ) and not (xchan_flags & %d ) ORDER BY RAND() LIMIT %d",
|
||||
$r = q("SELECT abook.*, xchan.* FROM abook left join xchan on abook.abook_xchan = xchan.xchan_hash WHERE abook_channel = %d AND not ( abook_flags & %d) and not (xchan_flags & %d ) ORDER BY RAND() LIMIT %d",
|
||||
intval($a->profile['uid']),
|
||||
intval(XCHAN_FLAGS_HIDDEN),
|
||||
intval(XCHAN_FLAGS_ORPHAN),
|
||||
intval(XCHAN_FLAGS_DELETED),
|
||||
intval(ABOOK_FLAG_HIDDEN|ABOOK_FLAG_PENDING|ABOOK_FLAG_SELF),
|
||||
intval(XCHAN_FLAGS_HIDDEN|XCHAN_FLAGS_ORPHAN|XCHAN_FLAGS_DELETED),
|
||||
intval($shown)
|
||||
);
|
||||
|
||||
|
@ -304,6 +304,9 @@ function widget_archive($arr) {
|
||||
if(! feature_enabled($uid,'archives'))
|
||||
return '';
|
||||
|
||||
if(! perm_is_allowed($uid,get_observer_hash(),'view_stream'))
|
||||
return '';
|
||||
|
||||
|
||||
$wall = ((array_key_exists('wall', $arr)) ? intval($arr['wall']) : 0);
|
||||
$style = ((array_key_exists('style', $arr)) ? $arr['style'] : 'select');
|
||||
@ -338,6 +341,12 @@ function widget_fullprofile($arr) {
|
||||
|
||||
function widget_categories($arr) {
|
||||
$a = get_app();
|
||||
|
||||
|
||||
if($a->profile['profile_uid'] && (! perm_is_allowed($a->profile['profile_uid'],get_observer_hash(),'view_stream')))
|
||||
return '';
|
||||
|
||||
|
||||
$cat = ((x($_REQUEST,'cat')) ? htmlspecialchars($_REQUEST['cat'],ENT_COMPAT,'UTF-8') : '');
|
||||
$srchurl = $a->query_string;
|
||||
$srchurl = rtrim(preg_replace('/cat\=[^\&].*?(\&|$)/is','',$srchurl),'&');
|
||||
@ -350,6 +359,9 @@ function widget_tagcloud_wall($arr) {
|
||||
$a = get_app();
|
||||
if((! $a->profile['profile_uid']) || (! $a->profile['channel_hash']))
|
||||
return '';
|
||||
if(! perm_is_allowed($a->profile['profile_uid'],get_observer_hash(),'view_stream'))
|
||||
return '';
|
||||
|
||||
$limit = ((array_key_exists('limit',$arr)) ? intval($arr['limit']) : 50);
|
||||
if(feature_enabled($a->profile['profile_uid'],'tagadelic'))
|
||||
return tagblock('search',$a->profile['profile_uid'],$limit,$a->profile['channel_hash'],ITEM_WALL);
|
||||
|
@ -728,7 +728,8 @@ function import_xchan($arr,$ud_flags = UPDATE_FLAGS_UPDATED) {
|
||||
z_root() . '/photo/profile/l/' . $local[0]['channel_id'],
|
||||
z_root() . '/photo/profile/m/' . $local[0]['channel_id'],
|
||||
z_root() . '/photo/profile/s/' . $local[0]['channel_id'],
|
||||
$arr['photo_mimetype']
|
||||
$arr['photo_mimetype'],
|
||||
false
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -736,16 +737,29 @@ function import_xchan($arr,$ud_flags = UPDATE_FLAGS_UPDATED) {
|
||||
$photos = import_profile_photo($arr['photo'],$xchan_hash);
|
||||
}
|
||||
if($photos) {
|
||||
$r = q("update xchan set xchan_photo_date = '%s', xchan_photo_l = '%s', xchan_photo_m = '%s', xchan_photo_s = '%s', xchan_photo_mimetype = '%s'
|
||||
where xchan_hash = '%s' limit 1",
|
||||
dbesc(datetime_convert('UTC','UTC',$arr['photo_updated'])),
|
||||
dbesc($photos[0]),
|
||||
dbesc($photos[1]),
|
||||
dbesc($photos[2]),
|
||||
dbesc($photos[3]),
|
||||
dbesc($xchan_hash)
|
||||
);
|
||||
|
||||
if($photos[4]) {
|
||||
// importing the photo failed somehow. Leave the photo_date alone so we can try again at a later date.
|
||||
// This often happens when somebody joins the matrix with a bad cert.
|
||||
$r = q("update xchan set xchan_photo_l = '%s', xchan_photo_m = '%s', xchan_photo_s = '%s', xchan_photo_mimetype = '%s'
|
||||
where xchan_hash = '%s' limit 1",
|
||||
dbesc($photos[0]),
|
||||
dbesc($photos[1]),
|
||||
dbesc($photos[2]),
|
||||
dbesc($photos[3]),
|
||||
dbesc($xchan_hash)
|
||||
);
|
||||
}
|
||||
else {
|
||||
$r = q("update xchan set xchan_photo_date = '%s', xchan_photo_l = '%s', xchan_photo_m = '%s', xchan_photo_s = '%s', xchan_photo_mimetype = '%s'
|
||||
where xchan_hash = '%s' limit 1",
|
||||
dbesc(datetime_convert('UTC','UTC',$arr['photo_updated'])),
|
||||
dbesc($photos[0]),
|
||||
dbesc($photos[1]),
|
||||
dbesc($photos[2]),
|
||||
dbesc($photos[3]),
|
||||
dbesc($xchan_hash)
|
||||
);
|
||||
}
|
||||
$what .= 'photo ';
|
||||
$changed = true;
|
||||
}
|
||||
|
@ -206,7 +206,7 @@ function acl_init(&$a){
|
||||
|
||||
if(count($r)) {
|
||||
foreach($r as $g){
|
||||
if($g['abook_their_perms'] & PERMS_W_TAGWALL) {
|
||||
if(($g['abook_their_perms'] & PERMS_W_TAGWALL) && $type == 'c') {
|
||||
$contacts[] = array(
|
||||
"type" => "c",
|
||||
"photo" => "images/twopeople.png",
|
||||
|
@ -213,12 +213,10 @@ function connections_content(&$a) {
|
||||
nav_set_selected('intros');
|
||||
break;
|
||||
case 'ifpending':
|
||||
$r = q("SELECT COUNT(abook.abook_id) AS total FROM abook left join xchan on abook.abook_xchan = xchan.xchan_hash where abook_channel = %d and not (abook_flags & %d) and not (xchan_flags & %d ) and (abook_flags & %d) and not (abook_flags & %d)",
|
||||
$r = q("SELECT COUNT(abook.abook_id) AS total FROM abook left join xchan on abook.abook_xchan = xchan.xchan_hash where abook_channel = %d and not (abook_flags & %d) and not (xchan_flags & %d )",
|
||||
intval(local_user()),
|
||||
intval(ABOOK_FLAG_SELF),
|
||||
intval(XCHAN_FLAGS_DELETED),
|
||||
intval(ABOOK_FLAG_PENDING),
|
||||
intval(ABOOK_FLAG_IGNORED)
|
||||
intval(ABOOK_FLAG_SELF|ABOOK_FLAG_PENDING|ABOOK_FLAG_IGNORED),
|
||||
intval(XCHAN_FLAGS_DELETED|XCHAN_FLAGS_ORPHAN)
|
||||
);
|
||||
if($r && $r[0]['total']) {
|
||||
$search_flags = ABOOK_FLAG_PENDING;
|
||||
@ -342,7 +340,7 @@ function connections_content(&$a) {
|
||||
where abook_channel = %d and not (abook_flags & %d) and not (xchan_flags & %d ) $sql_extra $sql_extra2 ",
|
||||
intval(local_user()),
|
||||
intval(ABOOK_FLAG_SELF),
|
||||
intval(XCHAN_FLAGS_DELETED)
|
||||
intval(XCHAN_FLAGS_DELETED|XCHAN_FLAGS_ORPHAN)
|
||||
);
|
||||
if($r) {
|
||||
$a->set_pager_total($r[0]['total']);
|
||||
@ -353,7 +351,7 @@ function connections_content(&$a) {
|
||||
WHERE abook_channel = %d and not (abook_flags & %d) and not ( xchan_flags & %d) $sql_extra $sql_extra2 ORDER BY xchan_name LIMIT %d , %d ",
|
||||
intval(local_user()),
|
||||
intval(ABOOK_FLAG_SELF),
|
||||
intval(XCHAN_FLAGS_DELETED),
|
||||
intval(XCHAN_FLAGS_DELETED|XCHAN_FLAGS_ORPHAN),
|
||||
intval($a->pager['start']),
|
||||
intval($a->pager['itemspage'])
|
||||
);
|
||||
|
@ -61,7 +61,7 @@ function profile_content(&$a, $update = 0) {
|
||||
$o = '';
|
||||
|
||||
if(! (perm_is_allowed($a->profile['profile_uid'],get_observer_hash(), 'view_profile'))) {
|
||||
notice( t('Access to this profile has been restricted.') . EOL);
|
||||
notice( t('Permission denied.') . EOL);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -69,11 +69,10 @@ function profile_content(&$a, $update = 0) {
|
||||
$is_owner = ((local_user()) && (local_user() == $a->profile['profile_uid']) ? true : false);
|
||||
|
||||
if($a->profile['hidewall'] && (! $is_owner) && (! remote_user())) {
|
||||
notice( t('Access to this profile has been restricted.') . EOL);
|
||||
notice( t('Permission denied.') . EOL);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
$o .= profile_tabs($a, $is_owner, $a->profile['channel_address']);
|
||||
|
||||
|
||||
|
@ -1,20 +1,30 @@
|
||||
<?php
|
||||
|
||||
/* @file profile_photo.php
|
||||
@brief Module-file with functions for handling of profile-photos
|
||||
|
||||
*/
|
||||
|
||||
require_once('include/photo/photo_driver.php');
|
||||
|
||||
/* @brief Function for sync'ing permissions of profile-photos and their profile
|
||||
*
|
||||
* @param $profileid The id number of the profile to sync
|
||||
* @return void
|
||||
*/
|
||||
|
||||
function profile_photo_set_profile_perms($profileid) {
|
||||
|
||||
$allowcid = '';
|
||||
$r = q("SELECT photo, profile_guid, id FROM profile WHERE profile.id = %d LIMIT 1", intval($profileid));
|
||||
$profile = $r[0];
|
||||
|
||||
if(x($profile['photo'])) {
|
||||
preg_match("@\w*(?=-\d*$)@i", $profile['photo'], $resource_id);
|
||||
$resource_id = $resource_id[0];
|
||||
if (x($profileid)) {
|
||||
|
||||
if(x($profileid)) {
|
||||
$r = q("SELECT photo, profile_guid, id, is_default FROM profile WHERE profile.id = %d LIMIT 1", intval($profileid));
|
||||
$profile = $r[0];
|
||||
if(x($profile['id']) && x($profile['photo']) && intval($profile['is_default']) != 1) { //Only set perms when query suceeded and when we are not on the default profile
|
||||
preg_match("@\w*(?=-\d*$)@i", $profile['photo'], $resource_id);
|
||||
$resource_id = $resource_id[0];
|
||||
|
||||
$r1 = q("SELECT abook.abook_xchan FROM abook WHERE abook_profile = %d ", intval($profile['id']));
|
||||
$r1 = q("SELECT abook.abook_xchan FROM abook WHERE abook_profile = %d ", intval($profile['id'])); //Should not be needed in future. Catches old int-profile-ids.
|
||||
$r2 = q("SELECT abook.abook_xchan FROM abook WHERE abook_profile = '%s'", dbesc($profile['profile_guid']));
|
||||
foreach ($r1 as $entry) {
|
||||
$allowcid .= "<" . $entry['abook_xchan'] . ">";
|
||||
@ -23,7 +33,7 @@ function profile_photo_set_profile_perms($profileid) {
|
||||
$allowcid .= "<" . $entry['abook_xchan'] . ">";
|
||||
}
|
||||
if(x($allowcid)) {
|
||||
q("UPDATE `photo` SET allow_cid = '%s' WHERE resource_id = '%s'",dbesc($allowcid),dbesc($resource_id));
|
||||
q("UPDATE `photo` SET allow_cid = '%s' WHERE resource_id = '%s' AND uid = %d",dbesc($allowcid),dbesc($resource_id),intval($profile['id']));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -61,9 +61,9 @@ function profperm_content(&$a) {
|
||||
|
||||
$profile = $r[0];
|
||||
|
||||
$r = q("SELECT * FROM abook left join xchan on abook_xchan = xchan_hash WHERE abook_channel = %d AND abook_profile = %d",
|
||||
$r = q("SELECT * FROM abook left join xchan on abook_xchan = xchan_hash WHERE abook_channel = %d AND abook_profile = '%s'",
|
||||
intval(local_user()),
|
||||
intval(argv(1))
|
||||
dbesc($profile['profile_guid'])
|
||||
);
|
||||
|
||||
$ingroup = array();
|
||||
@ -75,27 +75,29 @@ function profperm_content(&$a) {
|
||||
|
||||
if($change) {
|
||||
if(in_array($change,$ingroup)) {
|
||||
q("UPDATE abook SET abook_profile = 0 WHERE abook_id = %d AND abook_channel = %d LIMIT 1",
|
||||
q("UPDATE abook SET abook_profile = '' WHERE abook_id = %d AND abook_channel = %d LIMIT 1",
|
||||
intval($change),
|
||||
intval(local_user())
|
||||
);
|
||||
}
|
||||
else {
|
||||
q("UPDATE abook SET abook_profile = %d WHERE abook_id = %d AND abook_channel = %d LIMIT 1",
|
||||
intval(argv(1)),
|
||||
q("UPDATE abook SET abook_profile = '%s' WHERE abook_id = %d AND abook_channel = %d LIMIT 1",
|
||||
dbesc($profile['profile_guid']),
|
||||
intval($change),
|
||||
intval(local_user())
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
||||
//Time to update the permissions on the profile-pictures as well
|
||||
require_once('mod/profile_photo.php');
|
||||
profile_photo_set_profile_perms($profile['id']);
|
||||
|
||||
$r = q("SELECT * FROM abook left join xchan on abook_xchan = xchan_hash WHERE abook_channel = %d AND abook_profile = %d",
|
||||
$r = q("SELECT * FROM abook left join xchan on abook_xchan = xchan_hash WHERE abook_channel = %d AND abook_profile = '%s'",
|
||||
|
||||
intval(local_user()),
|
||||
intval(argv(1))
|
||||
dbesc($profile['profile_guid'])
|
||||
);
|
||||
|
||||
$members = $r;
|
||||
|
@ -29,21 +29,19 @@ function viewconnections_content(&$a) {
|
||||
}
|
||||
|
||||
|
||||
$r = q("SELECT count(*) as total FROM abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and abook_flags = 0 and not ( xchan_flags & %d ) and not ( xchan_flags & %d ) and not ( xchan_flags & %d ) ",
|
||||
$r = q("SELECT count(*) as total FROM abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and not (abook_flags & %d ) and not ( xchan_flags & %d ) ",
|
||||
intval($a->profile['uid']),
|
||||
intval(XCHAN_FLAGS_HIDDEN),
|
||||
intval(XCHAN_FLAGS_ORPHAN),
|
||||
intval(XCHAN_FLAGS_DELETED)
|
||||
intval(ABOOK_FLAG_HIDDEN|ABOOK_FLAG_PENDING|ABOOK_FLAG_SELF),
|
||||
intval(XCHAN_FLAGS_HIDDEN|XCHAN_FLAGS_ORPHAN|XCHAN_FLAGS_DELETED)
|
||||
);
|
||||
if($r) {
|
||||
$a->set_pager_total($r[0]['total']);
|
||||
}
|
||||
|
||||
$r = q("SELECT * FROM abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and abook_flags = 0 and not ( xchan_flags & %d ) and not ( xchan_flags & %d ) and not ( xchan_flags & %d ) order by xchan_name LIMIT %d , %d ",
|
||||
$r = q("SELECT * FROM abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and not ( abook_flags & %d ) and not ( xchan_flags & %d ) order by xchan_name LIMIT %d , %d ",
|
||||
intval($a->profile['uid']),
|
||||
intval(XCHAN_FLAGS_HIDDEN),
|
||||
intval(XCHAN_FLAGS_ORPHAN),
|
||||
intval(XCHAN_FLAGS_DELETED),
|
||||
intval(ABOOK_FLAG_HIDDEN|ABOOK_FLAG_PENDING|ABOOK_FLAG_SELF),
|
||||
intval(XCHAN_FLAGS_HIDDEN|XCHAN_FLAGS_ORPHAN|XCHAN_FLAGS_DELETED),
|
||||
intval($a->pager['start']),
|
||||
intval($a->pager['itemspage'])
|
||||
);
|
||||
|
@ -1 +1 @@
|
||||
2014-04-11.644
|
||||
2014-04-14.646
|
||||
|
@ -82,7 +82,7 @@
|
||||
.wall-item-info {
|
||||
display: block;
|
||||
float: left;
|
||||
margin-right: 20px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.wallwall .wwto {
|
||||
@ -272,7 +272,7 @@
|
||||
}
|
||||
|
||||
.comment-edit-photo {
|
||||
margin: 10px 20px 10px 10px;
|
||||
margin: 10px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
@ -285,13 +285,16 @@ footer {
|
||||
|
||||
#login-extra-links {
|
||||
clear: both;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
#register-link,
|
||||
#lost-password-link {
|
||||
#register-link {
|
||||
float: left;
|
||||
margin-left: 100px;
|
||||
}
|
||||
#lost-password-link {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#login-standard-end {
|
||||
clear: both;
|
||||
@ -694,18 +697,18 @@ footer {
|
||||
|
||||
.rconnect {
|
||||
display: block;
|
||||
color: #FFFFFF;
|
||||
color: $nav_active_icon_colour;
|
||||
margin-top: 15px;
|
||||
background-color: $nav_bg;
|
||||
-webkit-border-radius: $radiuspx ;
|
||||
-moz-border-radius: $radiuspx;
|
||||
border-radius: $radiuspx;
|
||||
border: 1px solid $nav_bd;
|
||||
padding: 5px;
|
||||
font-weight: bold;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
||||
#pause {
|
||||
position: fixed;
|
||||
bottom: 5px;
|
||||
@ -828,15 +831,17 @@ footer {
|
||||
|
||||
.location-label, .gender-label, .marital-label, .homepage-label {
|
||||
float: left;
|
||||
text-align: right;
|
||||
display: block;
|
||||
width: 65px;
|
||||
width: 70px;
|
||||
|
||||
}
|
||||
|
||||
.adr, .x-gender, .marital-text, .homepage-url {
|
||||
float: left;
|
||||
display: block;
|
||||
margin-left: 8px;
|
||||
width: 130px;
|
||||
height: 18px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.profile-clear {
|
||||
@ -1496,7 +1501,7 @@ div.jGrowl div.jGrowl-notification {
|
||||
}
|
||||
|
||||
a.rconnect {
|
||||
color: #ffffff;
|
||||
color: $nav_active_icon_colour;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
}
|
||||
@ -2234,18 +2239,10 @@ blockquote {
|
||||
margin-left: 24px;
|
||||
}
|
||||
|
||||
.wall-item-info {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.hide-comments-outer {
|
||||
margin-left: 24px;
|
||||
}
|
||||
|
||||
.comment-edit-photo {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.wall-item-photo {
|
||||
width: 48px !important;
|
||||
height: 48px !important;
|
||||
|
@ -18,3 +18,5 @@
|
||||
$nav_active_icon_colour = "#555";
|
||||
if (! $radius)
|
||||
$radius = "4";
|
||||
if (! $banner_colour)
|
||||
$banner_colour = "#777";
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
<div class="contact-name" id="directory-name-{{$entry.id}}" ><span onclick="dirdetails('{{$entry.hash}}');" class="fakelink" >{{$entry.name}}</span></div>
|
||||
{{if $entry.connect}}
|
||||
<div class="directory-connect"><a href="{{$entry.connect}}">{{$entry.conn_label}}</a></div>
|
||||
<div class="directory-connect btn btn-default"><a href="{{$entry.connect}}">{{$entry.conn_label}}</a></div>
|
||||
{{/if}}
|
||||
<div class="contact-details">{{$entry.details}}</div>
|
||||
</div>
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
<div class="contact-name" id="directory-name-{{$id}}" >{{$name}}{{if $online}} <i class="icon-asterisk online-now" title="{{$online}}"></i>{{/if}}</div>
|
||||
{{if $connect}}
|
||||
<div class="directory-connect"><a href="{{$connect}}">{{$conn_label}}</a></div>
|
||||
<div class="directory-connect btn btn-default"><a href="{{$connect}}">{{$conn_label}}</a></div>
|
||||
{{/if}}
|
||||
|
||||
<div class="contact-webbie">{{$address}}</div>
|
||||
|
@ -11,12 +11,14 @@
|
||||
<a href="lostpass" title="{{$lostpass}}" id="lost-password-link" >{{$lostlink}}</a>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
{{include file="field_checkbox.tpl" field=$remember}}
|
||||
|
||||
<div id="login-standard-end"></div>
|
||||
|
||||
<div id="login-submit-wrapper" >
|
||||
<input type="submit" name="submit" id="login-submit-button" value="{{$login}}" />
|
||||
<input type="submit" name="submit" id="login-submit-button" class="btn btn-default" value="{{$login}}" />
|
||||
</div>
|
||||
|
||||
{{foreach $hiddens as $k=>$v}}
|
||||
|
Reference in New Issue
Block a user