~ubuntu-branches/ubuntu/lucid/mahara/lucid-security

« back to all changes in this revision

Viewing changes to htdocs/theme/raw/templates/user/view.tpl

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2009-11-27 22:09:03 UTC
  • mfrom: (6.3.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091127220903-aiigd3tr46z0rmcg
Tags: 1.2.0-2
Fix postrm script so that Mahara can be uninstalled

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{include file="header.tpl"}
 
2
                    <div id="userview">
 
3
                        <div class="user-icon right">
 
4
                            {$institutions}
 
5
{if $loginas}
 
6
                                                        <a href="{$WWWROOT}admin/users/changeuser.php?id={$USERID}" class="btn-loginas">{$loginas}</a>
 
7
    {if $USER->get('admin')}<a href="{$WWWROOT}admin/users/edit.php?id={$USERID}" class="btn-edit">{str tag=accountsettings section=admin}</a>{/if}
 
8
{/if}
 
9
{if $canmessage}
 
10
                                                        <a href="{$WWWROOT}user/sendmessage.php?id={$USERID}&amp;returnto=view" class="btn-msg">{str tag='sendmessage' section='group'}</a>
 
11
{/if}
 
12
{if $relationship == 'existingfriend'}
 
13
                            <a href="{$WWWROOT}user/removefriend.php?id={$USERID}&amp;returnto=view" class="btn-del">{str tag='removefromfriendslist' section='group'}</a>
 
14
{elseif $relationship == 'none' && $friendscontrol == 'auto'}
 
15
                            {$newfriendform}
 
16
{elseif $relationship == 'none' && $friendscontrol == 'auth'}
 
17
                            <a href="{$WWWROOT}user/requestfriendship.php?id={$USERID}&amp;returnto=view" class="btn-req">{str tag='requestfriendship' section='group'}</a>
 
18
{/if}
 
19
{if $invitedlist}
 
20
                                                        <div>{str tag=groupinvitesfrom section=group}{$invitedlist}</div>
 
21
{/if}
 
22
{if $inviteform}
 
23
                                                        <div class="btn-msg">{$inviteform}</div>
 
24
{/if}
 
25
{if $requestedlist}
 
26
                                                        <div>{str tag=requestedmembershipin section=group}{$requestedlist}</div>
 
27
{/if}
 
28
                            <div class="btn-add">{if $addform}{$addform}{/if}</div>
 
29
                            <div class="btn-bold btn-edit">{$togglepublic}</div>
 
30
                        </div>
 
31
{if $relationship == 'pending'}
 
32
                        <div class="message">
 
33
                                {str tag='whymakemeyourfriend' section='group'} {$message|escape}
 
34
                                {$requestform}
 
35
                        </div>
 
36
{/if}
 
37
                        </div>
 
38
                        <div id="view" class="cl">
 
39
                        <div id="bottom-pane">
 
40
                            <div id="column-container">
 
41
                                   {$viewcontent}
 
42
                                    <div class="cb"></div>
 
43
                                </div>
 
44
                        </div>
 
45
                    </div>
 
46
{include file="footer.tpl"}