return;
}
+ if ($_GET['identity']) {
+ $_POST['identity'] = $_GET['identity'];
+ manage_post($a);
+ return;
+ }
+
$identities = $a->identities;
//getting additinal information for each identity
{{foreach $identities as $id}}
<div class="itentity-match-wrapper {{if $id.selected}}selected-identity{{/if}}" id="identity-match-{{$id.uid}}">
<div class="identity-match-photo" id="identity-match-photo-{{$id.uid}}">
- <button role="menuitem" name="identity" value="{{$id.uid}}" onclick="this.form.submit();" title="{{$id.username}}">
+ <button name="identity" value="{{$id.uid}}" onclick="this.form.submit();" title="{{$id.username}}">
<img src="{{$id.thumb}}" alt="{{$id.username}}" />
</button>
</div>
<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>