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

« back to all changes in this revision

Viewing changes to htdocs/theme/default/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
 
{include file="sidebar.tpl"}
3
 
 
4
 
{include file="columnleftstart.tpl"}
5
 
        <div id="userview">
6
 
            <div>
7
 
                <div class="user-icon">
8
 
                    {if !empty($loginas)}
9
 
                      <div class="center"><strong><a href="{$WWWROOT}admin/users/changeuser.php?id={$USERID}">{$loginas}</a></strong></div>
10
 
                    {/if}
11
 
                    {if $institutions}{$institutions}<br>{/if}
12
 
                    {if $canmessage}
13
 
                        <a href="{$WWWROOT}user/sendmessage.php?id={$USERID}&amp;returnto=view" id="btn-sendmessage">{str tag='sendmessage' section='group'}</a>
14
 
                    {/if}
15
 
                    {if $relationship == 'existingfriend'}
16
 
                        <br>
17
 
                        <a href="{$WWWROOT}user/removefriend.php?id={$USERID}&amp;returnto=view" id="btn-delete">{str tag='removefromfriendslist' section='group'}</a>
18
 
                    {elseif $relationship == 'none' && $friendscontrol == 'auto'}
19
 
                        {$newfriendform}
20
 
                    {elseif $relationship == 'none' && $friendscontrol == 'auth'}
21
 
                        <br>
22
 
                        <a href="{$WWWROOT}user/requestfriendship.php?id={$USERID}&amp;returnto=view" class="btn-request">{str tag='requestfriendship' section='group'}</a>
23
 
                    {/if}
24
 
                    {if $invitedlist}<div>{str tag=groupinvitesfrom section=group}{$invitedlist}</div>{/if}
25
 
                    {if $inviteform}
26
 
                        {$inviteform}
27
 
                    {/if}
28
 
                    {if $requestedlist}<div>{str tag=requestedmembershipin section=group}{$requestedlist}</div>{/if}
29
 
                    {if $addform}
30
 
                        {$addform}
31
 
                    {/if}
32
 
                    {if $togglepublic}
33
 
                        {$togglepublic}
34
 
                    {/if}
35
 
                    </div>
36
 
                </div>
37
 
                {if $relationship == 'pending'}
38
 
                    <div class="message">
39
 
                        {str tag='whymakemeyourfriend' section='group'} {$message|escape}
40
 
                        {$requestform}
41
 
                    </div>
42
 
                {/if}
43
 
            </div>
44
 
    <div id="view" class="cl">
45
 
        <div id="bottom-pane">
46
 
            <div id="column-container">
47
 
               {$viewcontent}
48
 
                <div class="cb">
49
 
                </div>
50
 
            </div>
51
 
        </div>
52
 
    </div>
53
 
</div>
54
 
{include file="columnleftend.tpl"}
55
 
 
56
 
{include file="footer.tpl"}