Browse Source

Merge pull request #1987 from annando/1510-manage-enhancements

Some small optical and structural changes to the manage template
pull/1990/head
Tobias Diekershoff 6 years ago
parent
commit
367699f785
  1. 6
      mod/manage.php
  2. 1
      view/global.css
  3. 10
      view/templates/manage.tpl

6
mod/manage.php

@ -97,6 +97,12 @@ function manage_content(&$a) {
return;
}
if ($_GET['identity']) {
$_POST['identity'] = $_GET['identity'];
manage_post($a);
return;
}
$identities = $a->identities;
//getting additinal information for each identity

1
view/global.css

@ -252,6 +252,7 @@ a {
background: none;
height: 80px;
width: 80px;
cursor: pointer;
}
.selected-identity img {

10
view/templates/manage.tpl

@ -3,7 +3,7 @@
<div id="identity-manage-desc">{{$desc}}</div>
<div id="identity-manage-choose">{{$choose}}</div>
<div id="identity-selector-wrapper">
<div id="identity-selector-wrapper" role="menu">
<form action="manage" method="post" >
{{foreach $identities as $id}}
@ -17,7 +17,9 @@
<div class="identity-match-break"></div>
<div class="identity-match-desc">
<div class="identity-match-name" id="identity-match-name-{{$id.uid}}">{{$id.username}}</div>
<div class="identity-match-name" id="identity-match-name-{{$id.uid}}">
{{if $id.selected}}{{$id.username}}{{else}}<a role="menuitem" href="manage?identity={{$id.uid}}">{{$id.username}}</a>{{/if}}
</div>
<div class="identity-match-details" id="identity-match-nick-{{$id.uid}}">({{$id.nickname}})</div>
</div>
@ -25,7 +27,7 @@
</div>
{{/foreach}}
<div class="identity-match-break"></div>
</form>
</div>
Loading…
Cancel
Save