Browse Source

move public profile warning to top of page

pull/1/head
Friendika 10 years ago
parent
commit
1d659bd854
  1. 2
      mod/profiles.php
  2. 3
      view/profile_edit.tpl
  3. 5
      view/theme/duepuntozero/style.css

2
mod/profiles.php

@ -469,7 +469,7 @@ function profiles_content(&$a) {
'$id' => $rr['id'],
'$alt' => t('Profile Image'),
'$profile_name' => $rr['profile-name'],
'$visible' => (($rr['is-default']) ? '<strong>' . t('Visible to everybody') . '</strong>'
'$visible' => (($rr['is-default']) ? '<strong>' . t('visible to everybody') . '</strong>'
: '<a href="' . $a->get_baseurl() . '/profperm/' . $rr['id'] . '" />' . t('Edit visibility') . '</a>')
));
}

3
view/profile_edit.tpl

@ -1,3 +1,5 @@
$default
<h1>$banner</h1>
<div id="profile-edit-links">
@ -12,7 +14,6 @@
<div id="profile-edit-links-end"></div>
$default
<div id="profile-edit-wrapper" >
<form id="profile-edit-form" name="form1" action="profiles/$profile_id" method="post" >

5
view/theme/duepuntozero/style.css

@ -539,13 +539,12 @@ input#dfrn-url {
width: 300px;
}
#profile-edit-drop-link-wrapper {
float: left;
}
#profile-edit-links-end {
clear: both;
margin-bottom: 15px;
}
.profile-listing-photo {
border: none;
}

Loading…
Cancel
Save