permissions selector showing up for guests, testbubble and smoothly
This commit is contained in:
parent
ee5ed6b963
commit
2abbd1dc19
|
@ -663,7 +663,7 @@ function import_profile_photo($photo,$uid,$cid) {
|
||||||
intval($uid),
|
intval($uid),
|
||||||
intval($cid)
|
intval($cid)
|
||||||
);
|
);
|
||||||
if(count($r)) {
|
if(count($r) && strlen($r[0]['resource-id'])) {
|
||||||
$hash = $r[0]['resource-id'];
|
$hash = $r[0]['resource-id'];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
|
|
||||||
<div id="profile-jot-submit-wrapper" style="display:none;padding-left: 400px;">
|
<div id="profile-jot-submit-wrapper" style="display:none;padding-left: 400px;">
|
||||||
<input type="submit" id="profile-jot-submit" name="submit" value="$share" />
|
<input type="submit" id="profile-jot-submit" name="submit" value="$share" />
|
||||||
<div id="profile-jot-perms" class="profile-jot-perms" style="display: $visitor;" >
|
<div id="profile-jot-perms" class="profile-jot-perms" style="display: $pvisit;" >
|
||||||
<a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate sharePerms" title="$permset"></a>$bang</div>
|
<a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate sharePerms" title="$permset"></a>$bang</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
|
|
||||||
<div id="profile-jot-submit-wrapper" style="display:none;padding-left: 400px;">
|
<div id="profile-jot-submit-wrapper" style="display:none;padding-left: 400px;">
|
||||||
<input type="submit" id="profile-jot-submit" name="submit" value="$share" />
|
<input type="submit" id="profile-jot-submit" name="submit" value="$share" />
|
||||||
<div id="profile-jot-perms" class="profile-jot-perms" style="display: $visitor;" >
|
<div id="profile-jot-perms" class="profile-jot-perms" style="display: $pvisit;" >
|
||||||
<a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate sharePerms" title="$permset"></a>$bang</div>
|
<a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate sharePerms" title="$permset"></a>$bang</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue