Browse Source

Add a link to user photos in Upload Profile Photo page

pull/1/head
Fabio Comuni 12 years ago
parent
commit
fb7959cfc0
  1. 2
      mod/profile_photo.php
  2. 6
      view/de/profile_photo.tpl
  3. 6
      view/en/profile_photo.tpl
  4. 6
      view/fr/profile_photo.tpl
  5. 4
      view/it/profile_photo.tpl
  6. 4
      view/theme/default/style.css
  7. 6
      view/theme/duepuntozero/style.css

2
mod/profile_photo.php

@ -188,7 +188,7 @@ function profile_photo_content(&$a) {
$tpl = load_view_file('view/profile_photo.tpl');
$o .= replace_macros($tpl,array(
'$user' => $a->user['nickname']
));
return $o;

6
view/de/profile_photo.tpl

@ -11,4 +11,8 @@
<input type="submit" name="submit" id="profile-photo-submit" value="Upload">
</div>
</form>
</form>
<div id="profile-photo-link-select-wrapper">
or <a href='photos/$user'>select a photo from albums</a>
</div>

6
view/en/profile_photo.tpl

@ -11,4 +11,8 @@
<input type="submit" name="submit" id="profile-photo-submit" value="Upload">
</div>
</form>
</form>
<div id="profile-photo-link-select-wrapper">
or <a href='photos/$user'>select a photo from albums</a>
</div>

6
view/fr/profile_photo.tpl

@ -11,4 +11,8 @@
<input type="submit" name="submit" id="profile-photo-submit" value="Upload">
</div>
</form>
</form>
<div id="profile-photo-link-select-wrapper">
or <a href='photos/$user'>select a photo from albums</a>
</div>

4
view/it/profile_photo.tpl

@ -12,3 +12,7 @@
</div>
</form>
<div id="profile-photo-link-select-wrapper">
o <a href='photos/$user'>seleziona una foto da un album</a>
</div>

4
view/theme/default/style.css

@ -734,6 +734,10 @@ input#dfrn-url {
margin-bottom: 20px;
}
#profile-photo-link-select-wrapper {
margin-top: 2em;
}
#profile-edit-profile-name-label,
#profile-edit-name-label,
#profile-edit-pdesc-label,

6
view/theme/duepuntozero/style.css

@ -602,6 +602,10 @@ input#dfrn-url {
margin-bottom: 20px;
}
#profile-photo-link-select-wrapper {
margin-top: 2em;
}
#profile-edit-profile-name-label,
#profile-edit-name-label,
#profile-edit-pdesc-label,
@ -1853,8 +1857,6 @@ a.mail-list-link {
margin-bottom: 25px;
}
/* end from defautlt */

Loading…
Cancel
Save