-19 Removals
+40 Additions

Created by:phpboost

1<section id="module-user-home"> 1<section id="module-user-home">
2 <header> 2 <header>
3 <h1>{@dashboard}</h1> 3 <h1>{@dashboard}</h1>
4 </header> 4 </header>
5 <div class="content"> 5 <div class="content">
6 <p class="center text-strong">{@welcome} {PSEUDO}</p> 6 <p class="center text-strong">{@welcome} {PSEUDO}</p>
7 7 <p class="center">
8 # IF C_AVATAR_IMG #
9 <img src="{U_AVATAR_IMG}" alt="{@avatar}" />
10 # ELSE #
11 <img src="{PATH_TO_ROOT}/templates/{THEME}/images/no_avatar.png" alt="{@avatar}" />
12 # ENDIF #
13 </p>
14
8 <ul id="profile-container" class="elements-container columns-3"> 15 <ul id="profile-container" class="elements-container columns-3">
9 <li class="block"> 16 <li class="block">
10 <a href="{U_VIEW_PROFILE}" title=""><i class="fa fa-user fa-2x"></i><span class="profile-element-title">${LangLoader::get_message('my_private_profile', 'main')}</span></a> 17 <a href="{U_VIEW_PROFILE}" title=""><i class="fa fa-user fa-2x"></i><span class="profile-element-title">${LangLoader::get_message('my_private_profile', 'main')}</span></a>
11 </li> 18 </li>
12 <li class="block"> 19 <li class="block">
13 <a href="{U_USER_PM}"> 20 <a href="{U_USER_PM}">
14 # IF C_HAS_PM # 21 # IF C_HAS_PM #
15 <span class="fa fa-stack"><i class="fa fa-circle blink fa-circle-alert"><span>{NUMBER_PM}</span></i><i class="fa fa-envelope-o fa-stack-2x"></i></span><!-- 22 <span class="fa fa-stack"><i class="fa fa-circle blink fa-circle-alert"><span>{NUMBER_PM}</span></i><i class="fa fa-envelope fa-stack-2x"></i></span>
16 --># ELSE #<!-- 23 # ELSE #
17 --><i class="fa fa-envelope-o fa-2x"></i><!-- 24 <i class="fa fa-envelope fa-2x"></i>
18 --># END IF #<!-- 25 # END IF #
19 --><span class="profile-element-title">${LangLoader::get_message('private_message', 'main')}</span> 26 <span class="profile-element-title">${LangLoader::get_message('private_message', 'main')}</span>
20 </a> 27 </a>
21 </li> 28 </li>
22 # IF C_USER_AUTH_FILES # 29 # IF C_USER_AUTH_FILES #
23 <li class="block"> 30 <li class="block">
24 <a href="{U_UPLOAD}"> 31 <a href="{U_UPLOAD}">
25 <i class="fa fa-cloud-upload fa-2x"></i><span class="profile-element-title">${LangLoader::get_message('files_management', 'main')}</span> 32 <i class="fa fa-cloud-upload fa-2x"></i><span class="profile-element-title">${LangLoader::get_message('files_management', 'main')}</span>
26 </a> 33 </a>
27 </li> 34 </li>
28 # ENDIF # 35 # ENDIF #
29 # IF IS_ADMIN # 36 # IF IS_ADMIN #
30 <li class="block"> 37 <li class="block">
31 <a href="{PATH_TO_ROOT}/admin/"> 38 <a href="{PATH_TO_ROOT}/admin/">
32 # IF C_UNREAD_ALERT # 39 # IF C_UNREAD_ALERT #
33 <span class="fa fa-stack"><i class="fa fa-circle blink fa-circle-alert"><span>{NUMBER_UNREAD_ALERTS}</span></i><i class="fa fa-wrench fa-stack-2x"></i></span><!-- 40 <span class="fa fa-stack"><i class="fa fa-circle blink fa-circle-alert"><span>{NUMBER_UNREAD_ALERTS}</span></i><i class="fa fa-wrench fa-stack-2x"></i></span>
34 --># ELSE #<!-- 41 # ELSE #
35 --><i class="fa fa-wrench fa-2x"></i><!-- 42 <i class="fa fa-wrench fa-2x"></i>
36 --># ENDIF #<!-- 43 # ENDIF #
37 --><span class="profile-element-title">${LangLoader::get_message('admin_panel', 'main')}</span> 44 <span class="profile-element-title">${LangLoader::get_message('admin_panel', 'main')}</span>
38 </a> 45 </a>
39 </li> 46 </li>
40 # ENDIF # 47 # ENDIF #
41 # IF C_IS_MODERATOR # 48 # IF C_IS_MODERATOR #
42 <li class="block"> 49 <li class="block">
43 <a href="{U_MODERATION_PANEL}"> 50 <a href="{U_MODERATION_PANEL}">
44 <i class="fa fa-gavel fa-2x"></i><span class="profile-element-title">${LangLoader::get_message('moderation_panel', 'main')}</span> 51 <i class="fa fa-gavel fa-2x"></i><span class="profile-element-title">${LangLoader::get_message('moderation_panel', 'main')}</span>
45 </a> 52 </a>
46 </li> 53 </li>
47 # ENDIF # 54 # ENDIF #
48 <li class="block"> 55 <li class="block">
49 <a href="{U_CONTRIBUTION_PANEL}"> 56 <a href="{U_CONTRIBUTION_PANEL}">
50 # IF C_KNOWN_NUMBER_OF_UNREAD_CONTRIBUTION # 57 # IF C_KNOWN_NUMBER_OF_UNREAD_CONTRIBUTION #
51 <span class="fa fa-stack"><i class="fa fa-circle blink fa-circle-alert"><span>{NUMBER_UNREAD_CONTRIBUTIONS}</span></i><i class="fa fa-file-text-o fa-stack-2x"></i></span><!-- 58 <span class="fa fa-stack"><i class="fa fa-circle blink fa-circle-alert"><span>{NUMBER_UNREAD_CONTRIBUTIONS}</span></i><i class="fa fa-file-alt fa-stack-2x"></i></span>
52 --># ELSE #<!-- 59 # ELSE #
53 --><i class="fa fa-file-text-o fa-2x"></i><!-- 60 <i class="fa fa-file-alt fa-2x"></i>
54 --># ENDIF #<!-- 61 # ENDIF #
55 --><span class="profile-element-title">${LangLoader::get_message('contribution_panel', 'main')}</span> 62 <span class="profile-element-title">${LangLoader::get_message('contribution_panel', 'main')}</span>
63 </a>
64 </li>
65 # START modules_messages #
66 <li class="block">
67 <a href="{modules_messages.U_LINK_USER_MSG}">
68 # IF modules_messages.C_IMG_USER_MSG #<i class="{modules_messages.IMG_USER_MSG} fa-2x" aria-hidden="true"></i># ENDIF #
69 <span class="profile-element-title">{modules_messages.NAME_USER_MSG} : {modules_messages.NUMBER_MESSAGES}</span>
70 </a>
71 </li>
72 # END modules_messages #
73 <li class="block">
74 <a href="${relative_url(UserUrlBuilder::disconnect())}">
75 <i class="fa fa-sign-out fa-2x" aria-hidden="true"></i>
76 <span class="profile-element-title">{@disconnect}</span>
56 </a> 77 </a>
57 </li> 78 </li>
58 </ul> 79 </ul>
59 <div class="spacer"></div> 80 <div class="spacer"></div>
60 {MSG_MBR} 81 {MSG_MBR}
61 </div> 82 </div>
62 <footer></footer> 83 <footer></footer>
63</section>84</section>
Editor
Original Text
Changed Text
Recommended videos