This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/_sakura/templates/yuuno/elements/settingsNav.tpl

42 lines
2 KiB
Smarty
Raw Normal View History

2015-05-11 22:20:19 +00:00
<div class="head">
Navigation
</div>
<div class="right-menu-nav">
<div>General</div>
<a href="/settings/">Home</a>
<a href="/settings/profile">Edit Profile</a>
2015-08-21 22:07:45 +00:00
<a href="/settings/options">Site Options</a>
2015-06-22 17:44:14 +00:00
<a href="/settings/groups">Groups</a>
2015-07-31 21:18:14 +00:00
<div>Friends</div>
2015-08-09 18:26:01 +00:00
<a href="/settings/friendlisting">List</a>
2015-07-31 21:18:14 +00:00
<a href="/settings/friendrequests">Requests</a>
2015-05-11 22:20:19 +00:00
<div>Messages</div>
<a href="/messages/inbox">Inbox</a>
<a href="/messages/sent">Sent</a>
<a href="/messages/compose">Compose</a>
<div>Notifications</div>
<a href="/settings/notifications">History</a>
2015-08-21 22:07:45 +00:00
{% if ((user.data.userData.userPage is defined and user.checkPermission('SITE', 'CHANGE_USERPAGE')) or user.checkPermission('SITE', 'CREATE_USERPAGE')) or user.checkPermission('SITE', 'CHANGE_AVATAR') or ((user.data.userData.userPage is defined and user.checkPermission('SITE', 'CHANGE_USERPAGE')) or user.checkPermission('SITE', 'CREATE_USERPAGE')) %}
2015-05-11 22:20:19 +00:00
<div>Aesthetics</div>
2015-08-21 22:07:45 +00:00
{% if user.checkPermission('SITE', 'CHANGE_AVATAR') %}
<a href="/settings/avatar">Avatar</a>
{% endif %}
{% if (user.data.userData.profileBackground is defined and user.checkPermission('SITE', 'CHANGE_BACKGROUND')) or user.checkPermission('SITE', 'CREATE_BACKGROUND') %}
<a href="/settings/background">Background</a>
{% endif %}
{% if (user.data.userData.userPage is defined and user.checkPermission('SITE', 'CHANGE_USERPAGE')) or user.checkPermission('SITE', 'CREATE_USERPAGE') %}
<a href="/settings/userpage">Userpage</a>
{% endif %}
{% endif %}
2015-05-11 22:20:19 +00:00
<div>Account</div>
2015-06-19 16:12:44 +00:00
<a href="/settings/email">E-mail Address</a>
2015-05-11 22:20:19 +00:00
<a href="/settings/username">Username</a>
<a href="/settings/usertitle">User Title</a>
<a href="/settings/password">Password</a>
<a href="/settings/ranks">Ranks</a>
<div>Danger zone</div>
<a href="/settings/sessions">Sessions</a>
<a href="/settings/regkeys">Registration Keys</a>
<a href="/settings/deactivate">Deactivate Account</a>
</div>