Merge pull request #14785 from annando/accessibility-3

Accessibility: Widgets and other menues
This commit is contained in:
Hypolite Petovan 2025-02-05 22:38:54 -05:00 committed by GitHub
commit 91a145106d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 848 additions and 804 deletions

View file

@ -65,10 +65,12 @@ function openCloseWidget(inflated, deflated) {
elInf.style.display = "block"; elInf.style.display = "block";
elDef.style.display = "none"; elDef.style.display = "none";
localStorage.setItem(window.location.pathname.split("/")[1] + ":" + inflated, "block"); localStorage.setItem(window.location.pathname.split("/")[1] + ":" + inflated, "block");
elInf.querySelector("button").focus();
} else { } else {
elInf.style.display = "none"; elInf.style.display = "none";
elDef.style.display = "block"; elDef.style.display = "block";
localStorage.setItem(window.location.pathname.split("/")[1] + ":" + inflated, "none"); localStorage.setItem(window.location.pathname.split("/")[1] + ":" + inflated, "none");
elDef.querySelector("button").focus();
} }
} }
@ -251,7 +253,7 @@ $(function() {
$('#nav-notifications-menu, aside').perfectScrollbar(); $('#nav-notifications-menu, aside').perfectScrollbar();
/* nav update event */ /* nav update event */
$('nav').bind('nav-update', function(e, data) { $('#topbar-first').bind('nav-update', function(e, data) {
var invalid = data.invalid || 0; var invalid = data.invalid || 0;
if (invalid == 1) { if (invalid == 1) {
window.location.href=window.location.href window.location.href=window.location.href
@ -495,7 +497,7 @@ function NavUpdate() {
$.get(pingCmd, function(data) { $.get(pingCmd, function(data) {
if (data.result) { if (data.result) {
// send nav-update event // send nav-update event
$('nav').trigger('nav-update', data.result); $('#topbar-first').trigger('nav-update', data.result);
// start live update // start live update
['network', 'profile', 'channel', 'community', 'notes', 'display', 'contact'].forEach(function (src) { ['network', 'profile', 'channel', 'community', 'notes', 'display', 'contact'].forEach(function (src) {

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 2025.02-dev\n" "Project-Id-Version: 2025.02-dev\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-02-04 05:51+0000\n" "POT-Creation-Date: 2025-02-05 22:44+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -210,7 +210,7 @@ msgstr ""
msgid "Your password has been changed at %s" msgid "Your password has been changed at %s"
msgstr "" msgstr ""
#: mod/message.php:33 mod/message.php:115 src/Content/Nav.php:308 #: mod/message.php:33 mod/message.php:115 src/Content/Nav.php:317
msgid "New Message" msgid "New Message"
msgstr "" msgstr ""
@ -236,7 +236,7 @@ msgstr ""
msgid "Discard" msgid "Discard"
msgstr "" msgstr ""
#: mod/message.php:122 src/Content/Nav.php:305 view/theme/frio/theme.php:230 #: mod/message.php:122 src/Content/Nav.php:314 view/theme/frio/theme.php:230
msgid "Messages" msgid "Messages"
msgstr "" msgstr ""
@ -646,108 +646,108 @@ msgstr ""
msgid "Map" msgid "Map"
msgstr "" msgstr ""
#: src/App.php:415 #: src/App.php:442
msgid "Apologies but the website is unavailable at the moment." msgid "Apologies but the website is unavailable at the moment."
msgstr "" msgstr ""
#: src/App/Page.php:241 #: src/App/Page.php:247
msgid "Delete this item?" msgid "Delete this item?"
msgstr "" msgstr ""
#: src/App/Page.php:242 #: src/App/Page.php:248
msgid "Block this author? They won't be able to follow you nor see your public posts, and you won't be able to see their posts and their notifications." msgid "Block this author? They won't be able to follow you nor see your public posts, and you won't be able to see their posts and their notifications."
msgstr "" msgstr ""
#: src/App/Page.php:243 #: src/App/Page.php:249
msgid "Ignore this author? You won't be able to see their posts and their notifications." msgid "Ignore this author? You won't be able to see their posts and their notifications."
msgstr "" msgstr ""
#: src/App/Page.php:244 #: src/App/Page.php:250
msgid "Collapse this author's posts?" msgid "Collapse this author's posts?"
msgstr "" msgstr ""
#: src/App/Page.php:245 #: src/App/Page.php:251
msgid "Ignore this author's server?" msgid "Ignore this author's server?"
msgstr "" msgstr ""
#: src/App/Page.php:246 src/Module/Settings/Server/Action.php:47 #: src/App/Page.php:252 src/Module/Settings/Server/Action.php:47
#: src/Module/Settings/Server/Index.php:94 #: src/Module/Settings/Server/Index.php:94
msgid "You won't see any content from this server including reshares in your Network page, the community pages and individual conversations." msgid "You won't see any content from this server including reshares in your Network page, the community pages and individual conversations."
msgstr "" msgstr ""
#: src/App/Page.php:248 #: src/App/Page.php:254
msgid "Like not successful" msgid "Like not successful"
msgstr "" msgstr ""
#: src/App/Page.php:249 #: src/App/Page.php:255
msgid "Dislike not successful" msgid "Dislike not successful"
msgstr "" msgstr ""
#: src/App/Page.php:250 #: src/App/Page.php:256
msgid "Sharing not successful" msgid "Sharing not successful"
msgstr "" msgstr ""
#: src/App/Page.php:251 #: src/App/Page.php:257
msgid "Attendance unsuccessful" msgid "Attendance unsuccessful"
msgstr "" msgstr ""
#: src/App/Page.php:252 #: src/App/Page.php:258
msgid "Backend error" msgid "Backend error"
msgstr "" msgstr ""
#: src/App/Page.php:253 #: src/App/Page.php:259
msgid "Network error" msgid "Network error"
msgstr "" msgstr ""
#: src/App/Page.php:256 #: src/App/Page.php:262
msgid "Drop files here to upload" msgid "Drop files here to upload"
msgstr "" msgstr ""
#: src/App/Page.php:257 #: src/App/Page.php:263
msgid "Your browser does not support drag and drop file uploads." msgid "Your browser does not support drag and drop file uploads."
msgstr "" msgstr ""
#: src/App/Page.php:258 #: src/App/Page.php:264
msgid "Please use the fallback form below to upload your files like in the olden days." msgid "Please use the fallback form below to upload your files like in the olden days."
msgstr "" msgstr ""
#: src/App/Page.php:259 #: src/App/Page.php:265
msgid "File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB." msgid "File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB."
msgstr "" msgstr ""
#: src/App/Page.php:260 #: src/App/Page.php:266
msgid "You can't upload files of this type." msgid "You can't upload files of this type."
msgstr "" msgstr ""
#: src/App/Page.php:261 #: src/App/Page.php:267
msgid "Server responded with {{statusCode}} code." msgid "Server responded with {{statusCode}} code."
msgstr "" msgstr ""
#: src/App/Page.php:262 #: src/App/Page.php:268
msgid "Cancel upload" msgid "Cancel upload"
msgstr "" msgstr ""
#: src/App/Page.php:263 #: src/App/Page.php:269
msgid "Upload canceled." msgid "Upload canceled."
msgstr "" msgstr ""
#: src/App/Page.php:264 #: src/App/Page.php:270
msgid "Are you sure you want to cancel this upload?" msgid "Are you sure you want to cancel this upload?"
msgstr "" msgstr ""
#: src/App/Page.php:265 #: src/App/Page.php:271
msgid "Remove file" msgid "Remove file"
msgstr "" msgstr ""
#: src/App/Page.php:266 #: src/App/Page.php:272
msgid "You can't upload any more files." msgid "You can't upload any more files."
msgstr "" msgstr ""
#: src/App/Page.php:350 #: src/App/Page.php:356
msgid "toggle mobile" msgid "toggle mobile"
msgstr "" msgstr ""
#: src/App/Page.php:359 src/Module/Admin/Logs/View.php:92 #: src/App/Page.php:367 src/Module/Admin/Logs/View.php:92
#: view/theme/frio/php/minimal.php:39 view/theme/frio/php/standard.php:138 #: view/theme/frio/php/minimal.php:39 view/theme/frio/php/standard.php:138
msgid "Close" msgid "Close"
msgstr "" msgstr ""
@ -1645,178 +1645,178 @@ msgstr ""
msgid "Favourite Posts" msgid "Favourite Posts"
msgstr "" msgstr ""
#: src/Content/Feature.php:93 #: src/Content/Feature.php:104
msgid "General Features" msgid "General Features"
msgstr "" msgstr ""
#: src/Content/Feature.php:95 #: src/Content/Feature.php:106
msgid "Photo Location" msgid "Photo Location"
msgstr "" msgstr ""
#: src/Content/Feature.php:95 #: src/Content/Feature.php:106
msgid "Photo metadata is normally stripped. This extracts the location (if present) prior to stripping metadata and links it to a map." msgid "Photo metadata is normally stripped. This extracts the location (if present) prior to stripping metadata and links it to a map."
msgstr "" msgstr ""
#: src/Content/Feature.php:96 #: src/Content/Feature.php:107
msgid "Display the community in the navigation" msgid "Display the community in the navigation"
msgstr "" msgstr ""
#: src/Content/Feature.php:96 #: src/Content/Feature.php:107
msgid "If enabled, the community can be accessed via the navigation menu. Independent from this setting, the community timelines can always be accessed via the channels." msgid "If enabled, the community can be accessed via the navigation menu. Independent from this setting, the community timelines can always be accessed via the channels."
msgstr "" msgstr ""
#: src/Content/Feature.php:101 #: src/Content/Feature.php:112
msgid "Post Composition Features" msgid "Post Composition Features"
msgstr "" msgstr ""
#: src/Content/Feature.php:102 #: src/Content/Feature.php:113
msgid "Explicit Mentions" msgid "Explicit Mentions"
msgstr "" msgstr ""
#: src/Content/Feature.php:102 #: src/Content/Feature.php:113
msgid "Add explicit mentions to comment box for manual control over who gets mentioned in replies." msgid "Add explicit mentions to comment box for manual control over who gets mentioned in replies."
msgstr "" msgstr ""
#: src/Content/Feature.php:103 #: src/Content/Feature.php:114
msgid "Add an abstract from ActivityPub content warnings" msgid "Add an abstract from ActivityPub content warnings"
msgstr "" msgstr ""
#: src/Content/Feature.php:103 #: src/Content/Feature.php:114
msgid "Add an abstract when commenting on ActivityPub posts with a content warning. Abstracts are displayed as content warning on systems like Mastodon or Pleroma." msgid "Add an abstract when commenting on ActivityPub posts with a content warning. Abstracts are displayed as content warning on systems like Mastodon or Pleroma."
msgstr "" msgstr ""
#: src/Content/Feature.php:108 #: src/Content/Feature.php:119
msgid "Post/Comment Tools" msgid "Post/Comment Tools"
msgstr "" msgstr ""
#: src/Content/Feature.php:109 #: src/Content/Feature.php:120
msgid "Post Categories" msgid "Post Categories"
msgstr "" msgstr ""
#: src/Content/Feature.php:109 #: src/Content/Feature.php:120
msgid "Add categories to your posts" msgid "Add categories to your posts"
msgstr "" msgstr ""
#: src/Content/Feature.php:114 #: src/Content/Feature.php:125
msgid "Network Widgets" msgid "Network Widgets"
msgstr "" msgstr ""
#: src/Content/Feature.php:115 src/Content/Widget.php:230 #: src/Content/Feature.php:126 src/Content/Widget.php:230
#: src/Model/Circle.php:587 src/Module/Contact.php:380 #: src/Model/Circle.php:587 src/Module/Contact.php:380
#: src/Module/Welcome.php:62 #: src/Module/Welcome.php:62
msgid "Circles" msgid "Circles"
msgstr "" msgstr ""
#: src/Content/Feature.php:115 #: src/Content/Feature.php:126
msgid "Display posts that have been created by accounts of the selected circle." msgid "Display posts that have been created by accounts of the selected circle."
msgstr "" msgstr ""
#: src/Content/Feature.php:116 src/Content/GroupManager.php:128 #: src/Content/Feature.php:127 src/Content/GroupManager.php:128
#: src/Content/Nav.php:265 src/Content/Text/HTML.php:868 #: src/Content/Nav.php:274 src/Content/Text/HTML.php:868
#: src/Content/Widget.php:555 src/Model/User.php:1393 #: src/Content/Widget.php:555 src/Model/User.php:1393
msgid "Groups" msgid "Groups"
msgstr "" msgstr ""
#: src/Content/Feature.php:116 #: src/Content/Feature.php:127
msgid "Display posts that have been distributed by the selected group." msgid "Display posts that have been distributed by the selected group."
msgstr "" msgstr ""
#: src/Content/Feature.php:117 src/Content/Widget.php:524 #: src/Content/Feature.php:128 src/Content/Widget.php:524
msgid "Archives" msgid "Archives"
msgstr "" msgstr ""
#: src/Content/Feature.php:117 #: src/Content/Feature.php:128
msgid "Display an archive where posts can be selected by month and year." msgid "Display an archive where posts can be selected by month and year."
msgstr "" msgstr ""
#: src/Content/Feature.php:118 src/Content/Widget.php:303 #: src/Content/Feature.php:129 src/Content/Widget.php:303
msgid "Protocols" msgid "Protocols"
msgstr "" msgstr ""
#: src/Content/Feature.php:118 #: src/Content/Feature.php:129
msgid "Display posts with the selected protocols." msgid "Display posts with the selected protocols."
msgstr "" msgstr ""
#: src/Content/Feature.php:119 src/Content/Widget.php:561 #: src/Content/Feature.php:130 src/Content/Widget.php:561
#: src/Module/Settings/Account.php:391 #: src/Module/Settings/Account.php:391
msgid "Account Types" msgid "Account Types"
msgstr "" msgstr ""
#: src/Content/Feature.php:119 #: src/Content/Feature.php:130
msgid "Display posts done by accounts with the selected account type." msgid "Display posts done by accounts with the selected account type."
msgstr "" msgstr ""
#: src/Content/Feature.php:120 src/Content/Widget.php:610 #: src/Content/Feature.php:131 src/Content/Widget.php:610
#: src/Module/Admin/Site.php:463 src/Module/BaseSettings.php:113 #: src/Module/Admin/Site.php:463 src/Module/BaseSettings.php:113
#: src/Module/Settings/Channels.php:211 src/Module/Settings/Display.php:323 #: src/Module/Settings/Channels.php:211 src/Module/Settings/Display.php:323
msgid "Channels" msgid "Channels"
msgstr "" msgstr ""
#: src/Content/Feature.php:120 #: src/Content/Feature.php:131
msgid "Display posts in the system channels and user defined channels." msgid "Display posts in the system channels and user defined channels."
msgstr "" msgstr ""
#: src/Content/Feature.php:121 src/Content/Widget/SavedSearches.php:46 #: src/Content/Feature.php:132 src/Content/Widget/SavedSearches.php:46
msgid "Saved Searches" msgid "Saved Searches"
msgstr "" msgstr ""
#: src/Content/Feature.php:121 #: src/Content/Feature.php:132
msgid "Display posts that contain subscribed hashtags." msgid "Display posts that contain subscribed hashtags."
msgstr "" msgstr ""
#: src/Content/Feature.php:122 src/Content/Widget.php:333 #: src/Content/Feature.php:133 src/Content/Widget.php:333
msgid "Saved Folders" msgid "Saved Folders"
msgstr "" msgstr ""
#: src/Content/Feature.php:122 #: src/Content/Feature.php:133
msgid "Display a list of folders in which posts are stored." msgid "Display a list of folders in which posts are stored."
msgstr "" msgstr ""
#: src/Content/Feature.php:123 src/Module/Conversation/Timeline.php:189 #: src/Content/Feature.php:134 src/Module/Conversation/Timeline.php:189
msgid "Own Contacts" msgid "Own Contacts"
msgstr "" msgstr ""
#: src/Content/Feature.php:123 #: src/Content/Feature.php:134
msgid "Include or exclude posts from subscribed accounts. This widget is not visible on all channels." msgid "Include or exclude posts from subscribed accounts. This widget is not visible on all channels."
msgstr "" msgstr ""
#: src/Content/Feature.php:124 #: src/Content/Feature.php:135
msgid "Trending Tags" msgid "Trending Tags"
msgstr "" msgstr ""
#: src/Content/Feature.php:124 #: src/Content/Feature.php:135
msgid "Display a list of the most popular tags in recent public posts." msgid "Display a list of the most popular tags in recent public posts."
msgstr "" msgstr ""
#: src/Content/Feature.php:129 #: src/Content/Feature.php:140
msgid "Advanced Profile Settings" msgid "Advanced Profile Settings"
msgstr "" msgstr ""
#: src/Content/Feature.php:130 #: src/Content/Feature.php:141
msgid "Tag Cloud" msgid "Tag Cloud"
msgstr "" msgstr ""
#: src/Content/Feature.php:130 #: src/Content/Feature.php:141
msgid "Provide a personal tag cloud on your profile page" msgid "Provide a personal tag cloud on your profile page"
msgstr "" msgstr ""
#: src/Content/Feature.php:131 #: src/Content/Feature.php:142
msgid "Display Membership Date" msgid "Display Membership Date"
msgstr "" msgstr ""
#: src/Content/Feature.php:131 #: src/Content/Feature.php:142
msgid "Display membership date in profile" msgid "Display membership date in profile"
msgstr "" msgstr ""
#: src/Content/Feature.php:136 #: src/Content/Feature.php:147
msgid "Advanced Calendar Settings" msgid "Advanced Calendar Settings"
msgstr "" msgstr ""
#: src/Content/Feature.php:137 #: src/Content/Feature.php:148
msgid "Allow anonymous access to your calendar" msgid "Allow anonymous access to your calendar"
msgstr "" msgstr ""
#: src/Content/Feature.php:137 #: src/Content/Feature.php:148
msgid "Allows anonymous visitors to consult your calendar and your public events. Contact birthday events are private to you." msgid "Allows anonymous visitors to consult your calendar and your public events. Contact birthday events are private to you."
msgstr "" msgstr ""
@ -1932,83 +1932,83 @@ msgstr ""
msgid "Unable to fetch user." msgid "Unable to fetch user."
msgstr "" msgstr ""
#: src/Content/Nav.php:107 #: src/Content/Nav.php:112
msgid "Nothing new here" msgid "Nothing new here"
msgstr "" msgstr ""
#: src/Content/Nav.php:111 src/Content/Nav.php:238 src/Content/Nav.php:295 #: src/Content/Nav.php:116 src/Content/Nav.php:247 src/Content/Nav.php:304
msgid "Home" msgid "Home"
msgstr "" msgstr ""
#: src/Content/Nav.php:112 #: src/Content/Nav.php:117
msgid "Skip to main content" msgid "Skip to main content"
msgstr "" msgstr ""
#: src/Content/Nav.php:113 #: src/Content/Nav.php:118
msgid "Clear notifications" msgid "Clear notifications"
msgstr "" msgstr ""
#: src/Content/Nav.php:114 src/Content/Text/HTML.php:855 #: src/Content/Nav.php:119 src/Content/Text/HTML.php:855
msgid "@name, !group, #tags, content" msgid "@name, !group, #tags, content"
msgstr "" msgstr ""
#: src/Content/Nav.php:209 src/Module/Security/Login.php:146 #: src/Content/Nav.php:218 src/Module/Security/Login.php:146
msgid "Logout" msgid "Logout"
msgstr "" msgstr ""
#: src/Content/Nav.php:209 #: src/Content/Nav.php:218
msgid "End this session" msgid "End this session"
msgstr "" msgstr ""
#: src/Content/Nav.php:211 src/Module/Bookmarklet.php:30 #: src/Content/Nav.php:220 src/Module/Bookmarklet.php:30
#: src/Module/Security/Login.php:147 #: src/Module/Security/Login.php:147
msgid "Login" msgid "Login"
msgstr "" msgstr ""
#: src/Content/Nav.php:211 #: src/Content/Nav.php:220
msgid "Sign in" msgid "Sign in"
msgstr "" msgstr ""
#: src/Content/Nav.php:216 src/Module/BaseProfile.php:42 #: src/Content/Nav.php:225 src/Module/BaseProfile.php:42
#: src/Module/Contact.php:492 #: src/Module/Contact.php:492
msgid "Conversations" msgid "Conversations"
msgstr "" msgstr ""
#: src/Content/Nav.php:216 #: src/Content/Nav.php:225
msgid "Conversations you started" msgid "Conversations you started"
msgstr "" msgstr ""
#: src/Content/Nav.php:217 src/Module/BaseProfile.php:34 #: src/Content/Nav.php:226 src/Module/BaseProfile.php:34
#: src/Module/BaseSettings.php:86 src/Module/Contact.php:484 #: src/Module/BaseSettings.php:86 src/Module/Contact.php:484
#: src/Module/Contact/Profile.php:431 src/Module/Profile/Profile.php:259 #: src/Module/Contact/Profile.php:431 src/Module/Profile/Profile.php:259
#: src/Module/Welcome.php:43 view/theme/frio/theme.php:219 #: src/Module/Welcome.php:43 view/theme/frio/theme.php:219
msgid "Profile" msgid "Profile"
msgstr "" msgstr ""
#: src/Content/Nav.php:217 view/theme/frio/theme.php:219 #: src/Content/Nav.php:226 view/theme/frio/theme.php:219
msgid "Your profile page" msgid "Your profile page"
msgstr "" msgstr ""
#: src/Content/Nav.php:218 src/Module/BaseProfile.php:50 #: src/Content/Nav.php:227 src/Module/BaseProfile.php:50
#: src/Module/Media/Photo/Browser.php:62 view/theme/frio/theme.php:223 #: src/Module/Media/Photo/Browser.php:62 view/theme/frio/theme.php:223
msgid "Photos" msgid "Photos"
msgstr "" msgstr ""
#: src/Content/Nav.php:218 view/theme/frio/theme.php:223 #: src/Content/Nav.php:227 view/theme/frio/theme.php:223
msgid "Your photos" msgid "Your photos"
msgstr "" msgstr ""
#: src/Content/Nav.php:219 src/Module/BaseProfile.php:58 #: src/Content/Nav.php:228 src/Module/BaseProfile.php:58
#: src/Module/BaseProfile.php:61 src/Module/Contact.php:508 #: src/Module/BaseProfile.php:61 src/Module/Contact.php:508
#: view/theme/frio/theme.php:224 #: view/theme/frio/theme.php:224
msgid "Media" msgid "Media"
msgstr "" msgstr ""
#: src/Content/Nav.php:219 view/theme/frio/theme.php:224 #: src/Content/Nav.php:228 view/theme/frio/theme.php:224
msgid "Your postings with media" msgid "Your postings with media"
msgstr "" msgstr ""
#: src/Content/Nav.php:220 src/Content/Nav.php:280 #: src/Content/Nav.php:229 src/Content/Nav.php:289
#: src/Module/BaseProfile.php:70 src/Module/BaseProfile.php:73 #: src/Module/BaseProfile.php:70 src/Module/BaseProfile.php:73
#: src/Module/BaseProfile.php:81 src/Module/BaseProfile.php:84 #: src/Module/BaseProfile.php:81 src/Module/BaseProfile.php:84
#: src/Module/Settings/Display.php:324 view/theme/frio/theme.php:225 #: src/Module/Settings/Display.php:324 view/theme/frio/theme.php:225
@ -2016,32 +2016,32 @@ msgstr ""
msgid "Calendar" msgid "Calendar"
msgstr "" msgstr ""
#: src/Content/Nav.php:220 view/theme/frio/theme.php:225 #: src/Content/Nav.php:229 view/theme/frio/theme.php:225
msgid "Your calendar" msgid "Your calendar"
msgstr "" msgstr ""
#: src/Content/Nav.php:221 #: src/Content/Nav.php:230
msgid "Personal notes" msgid "Personal notes"
msgstr "" msgstr ""
#: src/Content/Nav.php:221 #: src/Content/Nav.php:230
msgid "Your personal notes" msgid "Your personal notes"
msgstr "" msgstr ""
#: src/Content/Nav.php:238 src/Module/Settings/OAuth.php:59 #: src/Content/Nav.php:247 src/Module/Settings/OAuth.php:59
msgid "Home Page" msgid "Home Page"
msgstr "" msgstr ""
#: src/Content/Nav.php:242 src/Module/Register.php:161 #: src/Content/Nav.php:251 src/Module/Register.php:161
#: src/Module/Security/Login.php:113 #: src/Module/Security/Login.php:113
msgid "Register" msgid "Register"
msgstr "" msgstr ""
#: src/Content/Nav.php:242 #: src/Content/Nav.php:251
msgid "Create an account" msgid "Create an account"
msgstr "" msgstr ""
#: src/Content/Nav.php:248 src/Module/Help.php:53 #: src/Content/Nav.php:257 src/Module/Help.php:53
#: src/Module/Settings/TwoFactor/AppSpecific.php:118 #: src/Module/Settings/TwoFactor/AppSpecific.php:118
#: src/Module/Settings/TwoFactor/Index.php:125 #: src/Module/Settings/TwoFactor/Index.php:125
#: src/Module/Settings/TwoFactor/Recovery.php:96 #: src/Module/Settings/TwoFactor/Recovery.php:96
@ -2049,158 +2049,158 @@ msgstr ""
msgid "Help" msgid "Help"
msgstr "" msgstr ""
#: src/Content/Nav.php:248 #: src/Content/Nav.php:257
msgid "Help and documentation" msgid "Help and documentation"
msgstr "" msgstr ""
#: src/Content/Nav.php:252 #: src/Content/Nav.php:261
msgid "Apps" msgid "Apps"
msgstr "" msgstr ""
#: src/Content/Nav.php:252 #: src/Content/Nav.php:261
msgid "Addon applications, utilities, games" msgid "Addon applications, utilities, games"
msgstr "" msgstr ""
#: src/Content/Nav.php:256 src/Content/Text/HTML.php:853 #: src/Content/Nav.php:265 src/Content/Text/HTML.php:853
#: src/Module/Admin/Logs/View.php:74 src/Module/Search/Index.php:99 #: src/Module/Admin/Logs/View.php:74 src/Module/Search/Index.php:99
msgid "Search" msgid "Search"
msgstr "" msgstr ""
#: src/Content/Nav.php:256 #: src/Content/Nav.php:265
msgid "Search site content" msgid "Search site content"
msgstr "" msgstr ""
#: src/Content/Nav.php:259 src/Content/Text/HTML.php:862 #: src/Content/Nav.php:268 src/Content/Text/HTML.php:862
msgid "Full Text" msgid "Full Text"
msgstr "" msgstr ""
#: src/Content/Nav.php:260 src/Content/Text/HTML.php:863 #: src/Content/Nav.php:269 src/Content/Text/HTML.php:863
#: src/Content/Widget/TagCloud.php:54 #: src/Content/Widget/TagCloud.php:54
msgid "Tags" msgid "Tags"
msgstr "" msgstr ""
#: src/Content/Nav.php:261 src/Content/Nav.php:316 #: src/Content/Nav.php:270 src/Content/Nav.php:325
#: src/Content/Text/HTML.php:864 src/Module/BaseProfile.php:112 #: src/Content/Text/HTML.php:864 src/Module/BaseProfile.php:112
#: src/Module/BaseProfile.php:115 src/Module/Contact.php:406 #: src/Module/BaseProfile.php:115 src/Module/Contact.php:406
#: src/Module/Contact.php:516 view/theme/frio/theme.php:232 #: src/Module/Contact.php:516 view/theme/frio/theme.php:232
msgid "Contacts" msgid "Contacts"
msgstr "" msgstr ""
#: src/Content/Nav.php:276 #: src/Content/Nav.php:285
msgid "Community" msgid "Community"
msgstr "" msgstr ""
#: src/Content/Nav.php:276 #: src/Content/Nav.php:285
msgid "Conversations on this and other servers" msgid "Conversations on this and other servers"
msgstr "" msgstr ""
#: src/Content/Nav.php:283 #: src/Content/Nav.php:292
msgid "Directory" msgid "Directory"
msgstr "" msgstr ""
#: src/Content/Nav.php:283 #: src/Content/Nav.php:292
msgid "People directory" msgid "People directory"
msgstr "" msgstr ""
#: src/Content/Nav.php:285 src/Module/BaseAdmin.php:71 #: src/Content/Nav.php:294 src/Module/BaseAdmin.php:71
#: src/Module/BaseModeration.php:97 #: src/Module/BaseModeration.php:97
msgid "Information" msgid "Information"
msgstr "" msgstr ""
#: src/Content/Nav.php:285 #: src/Content/Nav.php:294
msgid "Information about this friendica instance" msgid "Information about this friendica instance"
msgstr "" msgstr ""
#: src/Content/Nav.php:288 src/Module/Admin/Tos.php:64 #: src/Content/Nav.php:297 src/Module/Admin/Tos.php:64
#: src/Module/BaseAdmin.php:81 src/Module/Register.php:169 #: src/Module/BaseAdmin.php:81 src/Module/Register.php:169
#: src/Module/Tos.php:87 #: src/Module/Tos.php:87
msgid "Terms of Service" msgid "Terms of Service"
msgstr "" msgstr ""
#: src/Content/Nav.php:288 #: src/Content/Nav.php:297
msgid "Terms of Service of this Friendica instance" msgid "Terms of Service of this Friendica instance"
msgstr "" msgstr ""
#: src/Content/Nav.php:293 view/theme/frio/theme.php:228 #: src/Content/Nav.php:302 view/theme/frio/theme.php:228
msgid "Network" msgid "Network"
msgstr "" msgstr ""
#: src/Content/Nav.php:293 view/theme/frio/theme.php:228 #: src/Content/Nav.php:302 view/theme/frio/theme.php:228
msgid "Conversations from your friends" msgid "Conversations from your friends"
msgstr "" msgstr ""
#: src/Content/Nav.php:295 view/theme/frio/theme.php:218 #: src/Content/Nav.php:304 view/theme/frio/theme.php:218
msgid "Your posts and conversations" msgid "Your posts and conversations"
msgstr "" msgstr ""
#: src/Content/Nav.php:299 #: src/Content/Nav.php:308
msgid "Introductions" msgid "Introductions"
msgstr "" msgstr ""
#: src/Content/Nav.php:299 #: src/Content/Nav.php:308
msgid "Friend Requests" msgid "Friend Requests"
msgstr "" msgstr ""
#: src/Content/Nav.php:300 src/Module/BaseNotifications.php:134 #: src/Content/Nav.php:309 src/Module/BaseNotifications.php:134
#: src/Module/Notifications/Introductions.php:61 #: src/Module/Notifications/Introductions.php:61
msgid "Notifications" msgid "Notifications"
msgstr "" msgstr ""
#: src/Content/Nav.php:301 #: src/Content/Nav.php:310
msgid "See all notifications" msgid "See all notifications"
msgstr "" msgstr ""
#: src/Content/Nav.php:302 src/Module/Settings/Connectors.php:226 #: src/Content/Nav.php:311 src/Module/Settings/Connectors.php:226
msgid "Mark as seen" msgid "Mark as seen"
msgstr "" msgstr ""
#: src/Content/Nav.php:302 #: src/Content/Nav.php:311
msgid "Mark all system notifications as seen" msgid "Mark all system notifications as seen"
msgstr "" msgstr ""
#: src/Content/Nav.php:305 view/theme/frio/theme.php:230 #: src/Content/Nav.php:314 view/theme/frio/theme.php:230
msgid "Private mail" msgid "Private mail"
msgstr "" msgstr ""
#: src/Content/Nav.php:306 #: src/Content/Nav.php:315
msgid "Inbox" msgid "Inbox"
msgstr "" msgstr ""
#: src/Content/Nav.php:307 #: src/Content/Nav.php:316
msgid "Outbox" msgid "Outbox"
msgstr "" msgstr ""
#: src/Content/Nav.php:311 #: src/Content/Nav.php:320
msgid "Accounts" msgid "Accounts"
msgstr "" msgstr ""
#: src/Content/Nav.php:311 #: src/Content/Nav.php:320
msgid "Manage other pages" msgid "Manage other pages"
msgstr "" msgstr ""
#: src/Content/Nav.php:314 src/Module/Admin/Addons/Details.php:98 #: src/Content/Nav.php:323 src/Module/Admin/Addons/Details.php:98
#: src/Module/Admin/Themes/Details.php:85 src/Module/BaseSettings.php:177 #: src/Module/Admin/Themes/Details.php:85 src/Module/BaseSettings.php:177
#: src/Module/Welcome.php:38 view/theme/frio/theme.php:231 #: src/Module/Welcome.php:38 view/theme/frio/theme.php:231
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
#: src/Content/Nav.php:314 view/theme/frio/theme.php:231 #: src/Content/Nav.php:323 view/theme/frio/theme.php:231
msgid "Account settings" msgid "Account settings"
msgstr "" msgstr ""
#: src/Content/Nav.php:316 view/theme/frio/theme.php:232 #: src/Content/Nav.php:325 view/theme/frio/theme.php:232
msgid "Manage/edit friends and contacts" msgid "Manage/edit friends and contacts"
msgstr "" msgstr ""
#: src/Content/Nav.php:321 src/Module/BaseAdmin.php:105 #: src/Content/Nav.php:330 src/Module/BaseAdmin.php:105
msgid "Admin" msgid "Admin"
msgstr "" msgstr ""
#: src/Content/Nav.php:321 #: src/Content/Nav.php:330
msgid "Site setup and configuration" msgid "Site setup and configuration"
msgstr "" msgstr ""
#: src/Content/Nav.php:322 src/Module/BaseModeration.php:117 #: src/Content/Nav.php:331 src/Module/BaseModeration.php:117
#: src/Module/Moderation/Blocklist/Contact.php:98 #: src/Module/Moderation/Blocklist/Contact.php:98
#: src/Module/Moderation/Blocklist/Server/Add.php:110 #: src/Module/Moderation/Blocklist/Server/Add.php:110
#: src/Module/Moderation/Blocklist/Server/Import.php:105 #: src/Module/Moderation/Blocklist/Server/Import.php:105
@ -2214,15 +2214,15 @@ msgstr ""
msgid "Moderation" msgid "Moderation"
msgstr "" msgstr ""
#: src/Content/Nav.php:322 #: src/Content/Nav.php:331
msgid "Content and user moderation" msgid "Content and user moderation"
msgstr "" msgstr ""
#: src/Content/Nav.php:325 #: src/Content/Nav.php:334
msgid "Navigation" msgid "Navigation"
msgstr "" msgstr ""
#: src/Content/Nav.php:325 #: src/Content/Nav.php:334
msgid "Site map" msgid "Site map"
msgstr "" msgstr ""

View file

@ -6,43 +6,42 @@
*}} *}}
<script> <script>
// update pending count // // update pending count //
$(function(){ $(function() {
$("nav").bind('nav-update', function(e,data){ $('#topbar-first').bind('nav-update', function(e, data) {
var elm = $('#pending-update'); var elm = $('#pending-update');
var register = $(data).find('register').html(); var register = $(data).find('register').html();
if (register=="0") { register=""; elm.hide();} else { elm.show(); } if (register == "0") { register = "";
elm.hide(); } else { elm.show(); }
elm.html(register); elm.html(register);
}); });
}); });
</script> </script>
{{foreach $subpages as $page}} {{foreach $subpages as $page}}
<h4>{{$page.0}}</h4> <h4>{{$page.0}}</h4>
<ul class="admin linklist" role="menu"> <ul class="admin linklist" role="menu">
{{foreach $page.1 as $item}} {{foreach $page.1 as $item}}
<li class='admin link button {{$item.2}}' role="menuitem"><a href='{{$item.0}}'>{{$item.1}}</a></li> <li class='admin link button {{$item.2}}' role="menuitem"><a href='{{$item.0}}'>{{$item.1}}</a></li>
{{/foreach}} {{/foreach}}
</ul> </ul>
{{/foreach}} {{/foreach}}
{{if $admin.update}} {{if $admin.update}}
<ul class='admin linklist'> <ul class='admin linklist'>
<li class='admin link button {{$admin.update.2}}'><a href='{{$admin.update.0}}'>{{$admin.update.1}}</a></li> <li class='admin link button {{$admin.update.2}}'><a href='{{$admin.update.0}}'>{{$admin.update.1}}</a></li>
</ul> </ul>
{{/if}} {{/if}}
{{if $admin.addons_admin}}<h4>{{$plugadmtxt}}</h4> {{if $admin.addons_admin}}<h4>{{$plugadmtxt}}</h4>
<ul class='admin linklist'> <ul class='admin linklist'>
{{foreach $admin.addons_admin as $name => $item}} {{foreach $admin.addons_admin as $name => $item}}
<li role="menuitem" class="admin link button {{$item.class}}"> <li role="menuitem" class="admin link button {{$item.class}}">
<a href="{{$item.url}}">{{$item.name}}</a> <a href="{{$item.url}}">{{$item.name}}</a>
</li> </li>
{{/foreach}} {{/foreach}}
</ul> </ul>
{{/if}} {{/if}}

View file

@ -4,51 +4,51 @@
* *
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<span id="circle-sidebar-inflated" class="widget inflated fakelink" onclick="openCloseWidget('circle-sidebar', 'circle-sidebar-inflated');"> <nav>
<h3>{{$title}}</h3> <span id="circle-sidebar-inflated" class="widget inflated fakelink">
</span> <button class="fakelink" onclick="openCloseWidget('circle-sidebar', 'circle-sidebar-inflated');" aria-expanded="false">
<div class="widget" id="circle-sidebar"> <h3>{{$title}}</h3>
<span class="fakelink" onclick="openCloseWidget('circle-sidebar', 'circle-sidebar-inflated');"> </button>
<h3>{{$title}}</h3>
</span> </span>
<div class="widget" id="circle-sidebar">
<button class="fakelink" onclick="openCloseWidget('circle-sidebar', 'circle-sidebar-inflated');" aria-expanded="false">
<h3>{{$title}}</h3>
</button>
<div id="sidebar-circle-list"> <div id="sidebar-circle-list">
<ul role="menu" id="sidebar-circle-ul"> <ul id="sidebar-circle-ul">
{{foreach $circles as $circle}} {{foreach $circles as $circle}}
<li role="menuitem" class="sidebar-circle-li circle-{{$circle.id}}"> <li class="sidebar-circle-li circle-{{$circle.id}}">
{{if ! $new_circle}}<span class="notify badge pull-right"></span>{{/if}} {{if ! $new_circle}}<span class="notify badge pull-right"></span>{{/if}}
{{if $circle.cid}} {{if $circle.cid}}
<input type="checkbox" <input type="checkbox" class="{{if $circle.selected}}ticked{{else}}unticked {{/if}} action" onclick="return contactCircleChangeMember(this, '{{$circle.id}}','{{$circle.cid}}');" {{if $circle.ismember}}checked="checked" {{/if}} />
class="{{if $circle.selected}}ticked{{else}}unticked {{/if}} action" {{/if}}
onclick="return contactCircleChangeMember(this, '{{$circle.id}}','{{$circle.cid}}');" {{if $circle.edit}}
{{if $circle.ismember}}checked="checked"{{/if}} <a class="circlesideedit" href="{{$circle.edit.href}}" title="{{$edittext}}">
/> <span id="edit-sidebar-circle-element-{{$circle.id}}" class="circle-edit-icon iconspacer small-pencil"><span class="sr-only">{{$edittext}}</span></span>
{{/if}} </a>
{{if $circle.edit}} {{/if}}
<a class="circlesideedit" href="{{$circle.edit.href}}" title="{{$edittext}}"> <a id="sidebar-circle-element-{{$circle.id}}" class="sidebar-circle-element {{if $circle.selected}}circle-selected{{/if}}" href="{{$circle.href}}">{{$circle.text}}</a>
<span id="edit-sidebar-circle-element-{{$circle.id}}" class="circle-edit-icon iconspacer small-pencil"><span class="sr-only">{{$edittext}}</span></span> </li>
</a> {{/foreach}}
{{/if}} </ul>
<a id="sidebar-circle-element-{{$circle.id}}" class="sidebar-circle-element {{if $circle.selected}}circle-selected{{/if}}" href="{{$circle.href}}">{{$circle.text}}</a> </div>
</li>
{{/foreach}} {{if $new_circle}}
</ul> <div id="sidebar-new-circle">
<a onclick="javascript:$('#circle-new-form').fadeIn('fast');return false;">{{$createtext}}</a>
<form id="circle-new-form" action="circle/new" method="post" style="display:none;">
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
<input name="circle_name" id="id_circle_name" placeholder="{{$create_circle}}">
</form>
</div>
{{else}}
<div id="sidebar-edit-circles"><a href="{{$circle_page}}">{{$edit_circles_text}}</a></div>
{{/if}}
{{if $uncircled}}<div id="sidebar-uncircled"><a class="{{if $uncircled_selected}}circle-selected{{/if}}" href="nocircle">{{$uncircled}}</a></div>{{/if}}
</div> </div>
</nav>
{{if $new_circle}}
<div id="sidebar-new-circle">
<a onclick="javascript:$('#circle-new-form').fadeIn('fast');return false;">{{$createtext}}</a>
<form id="circle-new-form" action="circle/new" method="post" style="display:none;">
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
<input name="circle_name" id="id_circle_name" placeholder="{{$create_circle}}">
</form>
</div>
{{else}}
<div id="sidebar-edit-circles"><a href="{{$circle_page}}">{{$edit_circles_text}}</a></div>
{{/if}}
{{if $uncircled}}<div id="sidebar-uncircled"><a class="{{if $uncircled_selected}}circle-selected{{/if}}" href="nocircle">{{$uncircled}}</a></div>{{/if}}
</div>
<script> <script>
initWidget('circle-sidebar', 'circle-sidebar-inflated'); initWidget('circle-sidebar', 'circle-sidebar-inflated');
</script> </script>

View file

@ -5,14 +5,14 @@
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<div class="widget{{if $class}} {{$class}}{{/if}}"> <nav class="widget{{if $class}} {{$class}}{{/if}}">
{{if $title}}<h3>{{$title}}</h3>{{/if}} {{if $title}}<h3>{{$title}}</h3>{{/if}}
{{if $desc}}<div class="desc">{{$desc nofilter}}</div>{{/if}} {{if $desc}}<div class="desc">{{$desc nofilter}}</div>{{/if}}
<ul role="menu"> <ul>
{{foreach $items as $item}} {{foreach $items as $item}}
<li role="menuitem" class="tool"><a href="{{$item.url}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}"{{/if}} class="{{if $item.selected}}selected{{/if}}">{{$item.label}}</a></li> <li class="tool"><a href="{{$item.url}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}" {{/if}} class="{{if $item.selected}}selected{{/if}}">{{$item.label}}</a></li>
{{/foreach}} {{/foreach}}
</ul> </ul>
</div> </nav>

View file

@ -4,13 +4,13 @@
* *
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<div id="message-sidebar" class="widget"> <nav id="message-sidebar" class="widget">
<div id="message-new"><a href="{{$new.url}}" accesskey="m" class="{{if $new.sel}}newmessage-selected{{/if}}">{{$new.label}}</a> </div> <div id="message-new"><a href="{{$new.url}}" accesskey="m" class="{{if $new.sel}}newmessage-selected{{/if}}">{{$new.label}}</a> </div>
{{if $tabs}} {{if $tabs}}
<div id="message-preview"> <div id="message-preview">
{{$tabs nofilter}} {{$tabs nofilter}}
</div> </div>
{{/if}} {{/if}}
</div> </nav>

View file

@ -6,21 +6,22 @@
*}} *}}
<script> <script>
// update pending count // // update pending count //
$(function(){ $(function() {
$("nav").bind('nav-update', function(e,data){ $('#topbar-first').bind('nav-update', function(e, data) {
var elm = $('#pending-update'); var elm = $('#pending-update');
var register = $(data).find('register').html(); var register = $(data).find('register').html();
if (register=="0") { register=""; elm.hide();} else { elm.show(); } if (register == "0") { register = "";
elm.hide(); } else { elm.show(); }
elm.html(register); elm.html(register);
}); });
}); });
</script> </script>
{{foreach $subpages as $page}} {{foreach $subpages as $page}}
<h4>{{$page.0}}</h4> <h4>{{$page.0}}</h4>
<ul class="admin linklist" role="menu"> <ul class="admin linklist" role="menu">
{{foreach $page.1 as $item}} {{foreach $page.1 as $item}}
<li class="admin link button {{$item.2}}" role="menuitem"><a href="{{$item.0}}">{{$item.1}}</a></li> <li class="admin link button {{$item.2}}" role="menuitem"><a href="{{$item.0}}">{{$item.1}}</a></li>
{{/foreach}} {{/foreach}}
</ul> </ul>
{{/foreach}} {{/foreach}}

View file

@ -4,28 +4,28 @@
* *
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<div class="widget"> <nav class="widget">
<p><strong>{{$l10n.contact_title}}</strong></p> <p><strong>{{$l10n.contact_title}}</strong></p>
{{if $contact}} {{if $contact}}
{{include file="contact/entry.tpl"}} {{include file="contact/entry.tpl"}}
{{/if}} {{/if}}
<p><strong>{{$l10n.category_title}}</strong></p> <p><strong>{{$l10n.category_title}}</strong></p>
{{if $category}} {{if $category}}
<p>{{$category}}</p> <p>{{$category}}</p>
{{/if}} {{/if}}
{{if $rules}} {{if $rules}}
<p><strong>{{$l10n.rules_title}}</strong></p> <p><strong>{{$l10n.rules_title}}</strong></p>
<ol> <ol>
{{foreach $rules as $rule_id => $rule_text}} {{foreach $rules as $rule_id => $rule_text}}
<li value="{{$rule_id}}">{{$rule_text}}</li> <li value="{{$rule_id}}">{{$rule_text}}</li>
{{/foreach}} {{/foreach}}
</ol> </ol>
{{/if}} {{/if}}
{{if $comment}} {{if $comment}}
<p><strong>{{$l10n.comment_title}}</strong></p> <p><strong>{{$l10n.comment_title}}</strong></p>
<p>{{$comment nofilter}}</p> <p>{{$comment nofilter}}</p>
{{/if}} {{/if}}
{{if $posts}} {{if $posts}}
<p><strong>{{$l10n.posts_title}} ({{$posts}})</strong></p> <p><strong>{{$l10n.posts_title}} ({{$posts}})</strong></p>
{{/if}} {{/if}}
</div> </nav>

View file

@ -4,7 +4,7 @@
* *
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<div id="sidebar-photos-albums" class="widget"> <nav id="sidebar-photos-albums" class="widget">
<h3>{{$title}}</h3> <h3>{{$title}}</h3>
<ul role="menubar" class="sidebar-photos-albums-ul"> <ul role="menubar" class="sidebar-photos-albums-ul">
<li role="menuitem" class="sidebar-photos-albums-li"> <li role="menuitem" class="sidebar-photos-albums-li">
@ -12,19 +12,19 @@
</li> </li>
{{if $albums}} {{if $albums}}
{{foreach $albums as $al}} {{foreach $albums as $al}}
{{if $al.text}} {{if $al.text}}
<li role="menuitem" class="sidebar-photos-albums-li"> <li role="menuitem" class="sidebar-photos-albums-li">
<a href="photos/{{$nick}}/album/{{$al.bin2hex}}" class="sidebar-photos-albums-element"> <a href="photos/{{$nick}}/album/{{$al.bin2hex}}" class="sidebar-photos-albums-element">
<span class="badge pull-right">{{$al.total}}</span>{{$al.text}} <span class="badge pull-right">{{$al.total}}</span>{{$al.text}}
</a> </a>
</li> </li>
{{/if}} {{/if}}
{{/foreach}} {{/foreach}}
{{/if}} {{/if}}
</ul> </ul>
{{if $can_post}} {{if $can_post}}
<div class="photos-upload-link"><a href="{{$upload.1}}">{{$upload.0}}</a></div> <div class="photos-upload-link"><a href="{{$upload.1}}">{{$upload.0}}</a></div>
{{/if}} {{/if}}
</div> </nav>

View file

@ -7,7 +7,7 @@
<div class="shared-wrapper well well-sm"> <div class="shared-wrapper well well-sm">
<div class="shared_header"> <div class="shared_header">
{{if $avatar}} {{if $avatar}}
<a href="{{$profile}}" target="_blank" rel="noopener noreferrer" class="avatar shared-userinfo"> <a href="{{$profile}}" target="_blank" rel="noopener noreferrer" class="avatar shared-userinfo" aria-hidden="true">
<img src="{{$avatar}}" alt=""> <img src="{{$avatar}}" alt="">
</a> </a>
{{/if}} {{/if}}
@ -19,25 +19,25 @@
</p> </p>
<p class="shared-wall-item-ago"> <p class="shared-wall-item-ago">
{{if $guid}} {{if $guid}}
<a href="/display/{{$guid}}"> <a href="/display/{{$guid}}">
{{/if}} {{/if}}
<span class="shared-time">{{$posted}}</span> <span class="shared-time">{{$posted}}</span>
{{if $guid}} {{if $guid}}
</a> </a>
{{/if}} {{/if}}
</p> </p>
</div> </div>
<div class="preferences"> <div class="preferences">
{{if $network_svg && $link}} {{if $network_svg && $link}}
<span class="wall-item-network"><a href="{{$link}}" class="plink u-url" target="_blank"><img class="network-svg" src="{{$network_svg}}" alt="{{$network_name}} - {{$link_title}}" title="{{$network_name}} - {{$link_title}}" loading="lazy"/></a></span> <span class="wall-item-network"><a href="{{$link}}" class="plink u-url" target="_blank"><img class="network-svg" src="{{$network_svg}}" alt="{{$network_name}} - {{$link_title}}" title="{{$network_name}} - {{$link_title}}" loading="lazy" /></a></span>
{{elseif $link}} {{elseif $link}}
<a href="{{$link}}" class="plink u-url" aria-label="{{$link_title}}" title="{{$network_name}} - {{$link_title}}" target="_blank">{{$network_name}}</a> <a href="{{$link}}" class="plink u-url" aria-label="{{$link_title}}" title="{{$network_name}} - {{$link_title}}" target="_blank">{{$network_name}}</a>
{{elseif $network_svg}} {{elseif $network_svg}}
<span class="wall-item-network"><img class="network-svg" src="{{$network_svg}}" alt="{{$network_name}} - {{$link_title}}" title="{{$network_name}} - {{$link_title}}" loading="lazy"/></span> <span class="wall-item-network"><img class="network-svg" src="{{$network_svg}}" alt="{{$network_name}} - {{$link_title}}" title="{{$network_name}} - {{$link_title}}" loading="lazy" /></span>
{{else}} {{else}}
<span class="wall-item-network" title="{{$app}}">{{$network_name}}</span> <span class="wall-item-network" title="{{$app}}">{{$network_name}}</span>
{{/if}} {{/if}}
</div> </div>
</div> </div>
<blockquote class="shared_content" dir="auto">{{$content nofilter}}</blockquote> <blockquote class="shared_content" dir="auto">{{$content nofilter}}</blockquote>
</div> </div>

View file

@ -4,21 +4,25 @@
* *
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<span id="sidebar-accounts-inflated" class="widget inflated fakelink" onclick="openCloseWidget('sidebar-accounts', 'sidebar-accounts-inflated');"> <nav>
<h3>{{$title}}</h3> <span id="sidebar-accounts-inflated" class="widget inflated fakelink">
</span> <button class="fakelink" onclick="openCloseWidget('sidebar-accounts', 'sidebar-accounts-inflated');" aria-expanded="false">
<div id="sidebar-accounts" class="widget"> <h3>{{$title}}</h3>
<span class="fakelink" onclick="openCloseWidget('sidebar-accounts', 'sidebar-accounts-inflated');"> </button>
<h3>{{$title}}</h3>
</span> </span>
<ul class="sidebar-accounts-ul"> <div id="sidebar-accounts" class="widget">
<li role="menuitem" class="sidebar-accounts-li{{if !$accounttype}} selected{{/if}}"><a href="{{$content}}">{{$all}}</a></li> <button class="fakelink" onclick="openCloseWidget('sidebar-accounts', 'sidebar-accounts-inflated');" aria-expanded="true">
<li role="menuitem" class="sidebar-accounts-li{{if $accounttype == 'person'}} selected{{/if}}"><a href="{{$content}}/person">{{$person}}</a></li> <h3>{{$title}}</h3>
<li role="menuitem" class="sidebar-accounts-li{{if $accounttype == 'organisation'}} selected{{/if}}"><a href="{{$content}}/organisation">{{$organisation}}</a></li> </button>
<li role="menuitem" class="sidebar-accounts-li{{if $accounttype == 'news'}} selected{{/if}}"><a href="{{$content}}/news">{{$news}}</a></li> <ul class="sidebar-accounts-ul">
<li role="menuitem" class="sidebar-accounts-li{{if $accounttype == 'community'}} selected{{/if}}"><a href="{{$content}}/community">{{$community}}</a></li> <li class="sidebar-accounts-li{{if !$accounttype}} selected{{/if}}"><a href="{{$content}}">{{$all}}</a></li>
</ul> <li class="sidebar-accounts-li{{if $accounttype == 'person'}} selected{{/if}}"><a href="{{$content}}/person">{{$person}}</a></li>
</div> <li class="sidebar-accounts-li{{if $accounttype == 'organisation'}} selected{{/if}}"><a href="{{$content}}/organisation">{{$organisation}}</a></li>
<li class="sidebar-accounts-li{{if $accounttype == 'news'}} selected{{/if}}"><a href="{{$content}}/news">{{$news}}</a></li>
<li class="sidebar-accounts-li{{if $accounttype == 'community'}} selected{{/if}}"><a href="{{$content}}/community">{{$community}}</a></li>
</ul>
</div>
</nav>
<script> <script>
initWidget('sidebar-accounts', 'sidebar-accounts-inflated'); initWidget('sidebar-accounts', 'sidebar-accounts-inflated');
</script> </script>

View file

@ -4,18 +4,22 @@
* *
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<span id="sidebar-community-no-sharer-inflated" class="widget inflated fakelink" onclick="openCloseWidget('sidebar-community-no-sharer', 'sidebar-community-no-sharer-inflated');"> <nav>
<h3>{{$title}}</h3> <span id="sidebar-community-no-sharer-inflated" class="widget inflated fakelink">
</span> <button class="fakelink" onclick="openCloseWidget('sidebar-community-no-sharer', 'sidebar-community-no-sharer-inflated');" aria-expanded="false">
<div id="sidebar-community-no-sharer" class="widget"> <h3>{{$title}}</h3>
<span class="fakelink" onclick="openCloseWidget('sidebar-community-no-sharer', 'sidebar-community-no-sharer-inflated');"> </button>
<h3>{{$title}}</h3>
</span> </span>
<ul class="sidebar-community-no-sharer-ul"> <div id="sidebar-community-no-sharer" class="widget">
<li role="menuitem" class="sidebar-community-no-sharer-li{{if !$no_sharer}} selected{{/if}}"><a href="{{$base}}/{{$path_all}}">{{$all}}</a></li> <button class="fakelink" onclick="openCloseWidget('sidebar-community-no-sharer', 'sidebar-community-no-sharer-inflated');" aria-expanded="true">
<li role="menuitem" class="sidebar-community-no-sharer-li{{if $no_sharer}} selected{{/if}}"><a href="{{$base}}/{{$path_no_sharer}}">{{$no_sharer_label}}</a></li> <h3>{{$title}}</h3>
</ul> </button>
</div> <ul class="sidebar-community-no-sharer-ul">
<li class="sidebar-community-no-sharer-li{{if !$no_sharer}} selected{{/if}}"><a href="{{$base}}/{{$path_all}}">{{$all}}</a></li>
<li class="sidebar-community-no-sharer-li{{if $no_sharer}} selected{{/if}}"><a href="{{$base}}/{{$path_no_sharer}}">{{$no_sharer_label}}</a></li>
</ul>
</div>
</nav>
<script> <script>
initWidget('sidebar-community-no-sharer', 'sidebar-community-no-sharer-inflated'); initWidget('sidebar-community-no-sharer', 'sidebar-community-no-sharer-inflated');
</script> </script>

View file

@ -5,11 +5,11 @@
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<div id="sidebar-calendar" class="widget"> <nav id="sidebar-calendar" class="widget">
<h3>{{$etitle}}</h3> <h3>{{$etitle}}</h3>
<ul class="sidebar-calendar-export-ul"> <ul class="sidebar-calendar-export-ul">
<li role="menuitem" class="sidebar-calendar-export-li"><a href="calendar/export/{{$user}}/ical">{{$export_ical}}</a></li> <li class="sidebar-calendar-export-li"><a href="calendar/export/{{$user}}/ical">{{$export_ical}}</a></li>
<li role="menuitem" class="sidebar-calendar-export-li"><a href="calendar/export/{{$user}}/csv">{{$export_csv}}</a></li> <li class="sidebar-calendar-export-li"><a href="calendar/export/{{$user}}/csv">{{$export_csv}}</a></li>
</ul> </ul>
</div> </nav>

View file

@ -4,23 +4,29 @@
* *
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<span id="{{$type}}-sidebar-inflated" class="widget inflated fakelink" onclick="openCloseWidget('{{$type}}-sidebar', '{{$type}}-sidebar-inflated');"> <nav>
<h3>{{$title}}</h3> <span id="{{$type}}-sidebar-inflated" class="widget inflated fakelink">
</span> <button class="fakelink" onclick="openCloseWidget('{{$type}}-sidebar', '{{$type}}-sidebar-inflated');" aria-expanded="false">
<div id="{{$type}}-sidebar" class="widget"> <h3>{{$title}}</h3>
<span class="fakelink" onclick="openCloseWidget('{{$type}}-sidebar', '{{$type}}-sidebar-inflated');"> </button>
<h3>{{$title}}</h3>
</span> </span>
<div id="{{$type}}-desc">{{$desc nofilter}}</div> <div id="{{$type}}-sidebar" class="widget">
<ul role="menu" class="{{$type}}-ul"> <button class="fakelink" onclick="openCloseWidget('{{$type}}-sidebar', '{{$type}}-sidebar-inflated');" aria-expanded="true">
{{if $all_label}} <h3>{{$title}}</h3>
<li role="menuitem" {{if !is_null($selected) && !$selected}}class="selected"{{/if}}><a href="{{$base}}" class="{{$type}}-link{{if !$selected}} {{$type}}-selected{{/if}} {{$type}}-all">{{$all_label}}</a></li> </button>
{{/if}} <div id="{{$type}}-desc">{{$desc nofilter}}</div>
{{foreach $options as $option}} <ul class="{{$type}}-ul">
<li role="menuitem" {{if $selected == $option.ref}}class="selected"{{/if}}><a href="{{$base}}{{$type}}={{$option.ref}}" class="{{$type}}-link{{if $selected == $option.ref}} {{$type}}-selected{{/if}}">{{$option.name}}</a></li> {{if $all_label}}
{{/foreach}} <li {{if !is_null($selected) && !$selected}}class="selected" {{/if}}><a href="{{$base}}" class="{{$type}}-link{{if !$selected}} {{$type}}-selected{{/if}} {{$type}}-all">{{$all_label}}</a>
</ul> </li>
</div> {{/if}}
{{foreach $options as $option}}
<li {{if $selected == $option.ref}}class="selected" {{/if}}><a href="{{$base}}{{$type}}={{$option.ref}}" class="{{$type}}-link{{if $selected == $option.ref}} {{$type}}-selected{{/if}}">{{$option.name}}</a>
</li>
{{/foreach}}
</ul>
</div>
</nav>
<script> <script>
initWidget('{{$type}}-sidebar', '{{$type}}-sidebar-inflated'); initWidget('{{$type}}-sidebar', '{{$type}}-sidebar-inflated');
</script> </script>

View file

@ -5,11 +5,10 @@
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<div id="follow-sidebar" class="widget"> <nav id="follow-sidebar" class="widget">
<h3>{{$connect}}</h3> <h3>{{$connect}}</h3>
<div id="connect-desc">{{$desc nofilter}}</div> <div id="connect-desc">{{$desc nofilter}}</div>
<form action="contact/follow" method="post"> <form action="contact/follow" method="post">
<input id="side-follow-url" type="text" name="follow-url" value="{{$value}}" size="24" placeholder="{{$hint}}" title="{{$hint}}" /><input id="side-follow-submit" type="submit" name="submit" value="{{$follow}}" /> <input id="side-follow-url" type="text" name="follow-url" value="{{$value}}" size="24" placeholder="{{$hint}}" title="{{$hint}}" /><input id="side-follow-submit" type="submit" name="submit" value="{{$follow}}" />
</form> </form>
</div> </nav>

View file

@ -5,67 +5,66 @@
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<script> <script>
function showHideGroupList() { function showHideGroupList() {
if( $("li[id^='group-widget-entry-extended-']").is(':visible')) { if ($("li[id^='group-widget-entry-extended-']").is(':visible')) {
$("li[id^='group-widget-entry-extended-']").hide(); $("li[id^='group-widget-entry-extended-']").hide();
$("li#group-widget-collapse").html('{{$showmore}}'); $("li#group-widget-collapse").html('{{$showmore}}');
} else {
$("li[id^='group-widget-entry-extended-']").show();
$("li#group-widget-collapse").html('{{$showless}}');
}
} }
else {
$("li[id^='group-widget-entry-extended-']").show();
$("li#group-widget-collapse").html('{{$showless}}');
}
}
</script> </script>
<span id="group-list-sidebar-frame"> <nav id="group-list-sidebar-frame">
<span id="group-list-sidebar-inflated" class="widget inflated fakelink" onclick="openCloseWidget('group-list-sidebar', 'group-list-sidebar-inflated');"> <span id="group-list-sidebar-inflated" class="widget inflated fakelink">
<h3>{{$title}}</h3> <button class="fakelink" onclick="openCloseWidget('group-list-sidebar', 'group-list-sidebar-inflated');"
aria-expanded="false">
<h3>{{$title}}</h3>
</button>
</span> </span>
<div id="group-list-sidebar" class="widget"> <div id="group-list-sidebar" class="widget">
<div id="sidebar-group-header" class="sidebar-widget-header"> <div id="sidebar-group-header" class="sidebar-widget-header">
<span class="fakelink" onclick="openCloseWidget('group-list-sidebar', 'group-list-sidebar-inflated');"> <button class="fakelink" onclick="openCloseWidget('group-list-sidebar', 'group-list-sidebar-inflated');" aria-expanded="true">
<h3>{{$title}}</h3> <h3>{{$title}}</h3>
</span> </button>
{{if $groups}} <a class="group-new-tool pull-right widget-action faded-icon" id="sidebar-new-group"
<a class="group-new-tool pull-right widget-action faded-icon" id="sidebar-new-group" href="{{$new_group_page}}" data-toggle="tooltip" title="{{$create_new_group}}"> href="{{$new_group_page}}" data-toggle="tooltip" title="{{$create_new_group}}">
<i class="fa fa-plus" aria-hidden="true"></i> <i class="fa fa-plus" aria-hidden="true"></i>
</a> </a>
{{/if}}
</div> </div>
<div id="sidebar-group-list" class="sidebar-widget-list"> <div id="sidebar-group-list" class="sidebar-widget-list">
{{* The list of available groups *}} {{* The list of available groups *}}
<ul id="group-list-sidebar-ul" role="menu"> <ul id="group-list-sidebar-ul">
{{foreach $groups as $group}} {{foreach $groups as $group}}
{{if $group.id <= $visible_groups}} {{if $group.id <= $visible_groups}}
<li class="group-widget-entry group-{{$group.cid}}" id="group-widget-entry-{{$group.id}}" role="menuitem"> <li class="group-widget-entry group-{{$group.cid}}" id="group-widget-entry-{{$group.id}}">
<span class="notify badge pull-right"></span> <span class="notify badge pull-right"></span>
<a href="{{$group.external_url}}" title="{{$group.link_desc}}" class="label sparkle" target="_blank" rel="noopener noreferrer"> <a href="{{$group.external_url}}" title="{{$group.link_desc}}" class="label sparkle" target="_blank" rel="noopener noreferrer">
<img class="group-list-img" src="{{$group.micro}}" alt="{{$group.link_desc}}" /> <img class="group-list-img" src="{{$group.micro}}" alt="{{$group.link_desc}}" />
</a> </a>
<a class="group-widget-link" id="group-widget-link-{{$group.id}}" href="{{$group.url}}">{{$group.name}}</a> <a class="group-widget-link" id="group-widget-link-{{$group.id}}" href="{{$group.url}}">{{$group.name}}</a>
</li> </li>
{{/if}} {{/if}}
{{if $group.id > $visible_groups}} {{if $group.id > $visible_groups}}
<li class="group-widget-entry group-{{$group.cid}}" id="group-widget-entry-extended-{{$group.id}}" role="menuitem" style="display: none;"> <li class="group-widget-entry group-{{$group.cid}}" id="group-widget-entry-extended-{{$group.id}}" style="display: none;">
<span class="notify badge pull-right"></span> <span class="notify badge pull-right"></span>
<a href="{{$group.external_url}}" title="{{$group.link_desc}}" class="label sparkle" target="_blank" rel="noopener noreferrer"> <a href="{{$group.external_url}}" title="{{$group.link_desc}}" class="label sparkle" target="_blank" rel="noopener noreferrer">
<img class="group-list-img" src="{{$group.micro}}" alt="{{$group.link_desc}}" /> <img class="group-list-img" src="{{$group.micro}}" alt="{{$group.link_desc}}" />
</a> </a>
<a class="group-widget-link" id="group-widget-link-{{$group.id}}" href="{{$group.url}}">{{$group.name}}</a> <a class="group-widget-link" id="group-widget-link-{{$group.id}}" href="{{$group.url}}">{{$group.name}}</a>
</li> </li>
{{/if}} {{/if}}
{{foreachelse}}
<li><a href="{{$new_group_page}}"><i class="fa fa-plus" aria-hidden="true"></i> {{$create_new_group}}</a></li>
{{/foreach}} {{/foreach}}
{{if $total > $visible_groups }} {{if $total > $visible_groups }}
<li onclick="showHideGroupList(); return false;" id="group-widget-collapse" class="group-widget-link fakelink tool">{{$showmore}}</li> <li onclick="showHideGroupList(); return false;" id="group-widget-collapse" class="group-widget-link fakelink tool">{{$showmore}}</li>
{{/if}} {{/if}}
</ul> </ul>
</div> </div>
</div> </div>
</span> </nav>
<script> <script>
initWidget('group-list-sidebar', 'group-list-sidebar-inflated'); initWidget('group-list-sidebar', 'group-list-sidebar-inflated');
</script> </script>

View file

@ -5,19 +5,19 @@
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<div id="peoplefind-sidebar" class="widget"> <nav id="peoplefind-sidebar" class="widget">
<h3>{{$nv.findpeople}}</h3> <h3>{{$nv.findpeople}}</h3>
<div id="peoplefind-desc">{{$nv.desc}}</div> <div id="peoplefind-desc">{{$nv.desc}}</div>
<form action="dirfind" method="get" /> <form action="dirfind" method="get" />
<input id="side-peoplefind-url" type="text" name="search" size="24" title="{{$nv.hint}}" /><input id="side-peoplefind-submit" type="submit" name="submit" value="{{$nv.findthem}}" /> <input id="side-peoplefind-url" type="text" name="search" size="24" title="{{$nv.hint}}" /><input id="side-peoplefind-submit" type="submit" name="submit" value="{{$nv.findthem}}" />
</form> </form>
<div class="side-link" id="side-match-link"><a href="contact/match">{{$nv.similar}}</a></div> <div class="side-link" id="side-match-link"><a href="contact/match">{{$nv.similar}}</a></div>
<div class="side-link" id="side-suggest-link"><a href="contact/suggestions">{{$nv.suggest}}</a></div> <div class="side-link" id="side-suggest-link"><a href="contact/suggestions">{{$nv.suggest}}</a></div>
<div class="side-link" id="side-directory-link"><a href="directory">{{$nv.local_directory}}</a></div> <div class="side-link" id="side-directory-link"><a href="directory">{{$nv.local_directory}}</a></div>
<div class="side-link" id="side-directory-link"><a href="{{$nv.global_dir}}" target="extlink">{{$nv.directory}}</a></div> <div class="side-link" id="side-directory-link"><a href="{{$nv.global_dir}}" target="extlink">{{$nv.directory}}</a>
</div>
<div class="side-link" id="side-random-profile-link"><a href="randprof" target="extlink">{{$nv.random}}</a></div> <div class="side-link" id="side-random-profile-link"><a href="randprof" target="extlink">{{$nv.random}}</a></div>
{{if $nv.inv}} {{if $nv.inv}}
<div class="side-link" id="side-invite-link"><a href="invite">{{$nv.inv}}</a></div> <div class="side-link" id="side-invite-link"><a href="invite">{{$nv.inv}}</a></div>
{{/if}} {{/if}}
</div> </nav>

View file

@ -5,59 +5,64 @@
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<script> <script>
function showHideDates() { function showHideDates() {
if( $('#posted-date-selector-drop').is(':visible')) { if ($('#posted-date-selector-drop').is(':visible')) {
$('#posted-date-selector-drop').hide(); $('#posted-date-selector-drop').hide();
$('#posted-date-collapse').html('{{$showmore}}'); $('#posted-date-collapse').html('{{$showmore}}');
} else { } else {
$('#posted-date-selector-drop').show(); $('#posted-date-selector-drop').show();
$('#posted-date-collapse').html('{{$showless}}'); $('#posted-date-collapse').html('{{$showless}}');
}
} }
}
</script> </script>
<span id="datebrowse-sidebar-inflated" class="widget inflated fakelink" onclick="openCloseWidget('datebrowse-sidebar', 'datebrowse-sidebar-inflated');"> <nav>
<h3>{{$title}}</h3> <span id="datebrowse-sidebar-inflated" class="widget inflated fakelink">
</span> <button class="fakelink" onclick="openCloseWidget('datebrowse-sidebar', 'datebrowse-sidebar-inflated');" aria-expanded="false">
<div id="datebrowse-sidebar" class="widget"> <h3>{{$title}}</h3>
<span class="fakelink" onclick="openCloseWidget('datebrowse-sidebar', 'datebrowse-sidebar-inflated');"> </button>
<h3>{{$title}}</h3>
</span> </span>
<ul id="posted-date-selector" class="datebrowse-ul"> <div id="datebrowse-sidebar" class="widget">
{{foreach $dates as $y => $arr}} <button class="fakelink" onclick="openCloseWidget('datebrowse-sidebar', 'datebrowse-sidebar-inflated');" aria-expanded="false">
<h3>{{$title}}</h3>
</button>
<ul id="posted-date-selector" class="datebrowse-ul">
{{foreach $dates as $y => $arr}}
{{if $y == $cutoff_year}} {{if $y == $cutoff_year}}
</ul> </ul>
<ul id="posted-date-selector-drop" class="datebrowse-ul" style="display: none;"> <ul id="posted-date-selector-drop" class="datebrowse-ul" style="display: none;">
{{/if}}
<li id="posted-date-selector-year-{{$y}}" class="tool">
<a class="datebrowse-link" href="#" onclick="openClose('posted-date-selector-{{$y}}'); return false;">{{$y}}</a>
</li>
<li id="posted-date-selector-{{$y}}" class="tool posted-date-selector-months" style="display: none;">
<ul class="datebrowse-ul">
{{if $y|cat:$thisday >= $cutoffday}}
<li class="tool">
<a class="datebrowse-link" href="{{$url}}/{{$y|cat:$nextday}}/{{$y|cat:$thisday}}">{{$onthisdate}}</a>
</li>
{{/if}} {{/if}}
{{foreach $arr as $d}}
<li class="tool">
<a class="datebrowse-link" href="{{$url}}/{{$d.1}}/{{$d.2}}">{{$d.0}}</a>
</li>
{{/foreach}} <li id="posted-date-selector-year-{{$y}}" class="tool">
<a class="datebrowse-link" href="#" onclick="openClose('posted-date-selector-{{$y}}'); return false;">{{$y}}</a>
</li>
<li id="posted-date-selector-{{$y}}" class="tool posted-date-selector-months" style="display: none;">
<ul class="datebrowse-ul">
{{if $y|cat:$thisday >= $cutoffday}}
<li class="tool">
<a class="datebrowse-link" href="{{$url}}/{{$y|cat:$nextday}}/{{$y|cat:$thisday}}">{{$onthisdate}}</a>
</li>
{{/if}}
{{foreach $arr as $d}}
<li class="tool">
<a class="datebrowse-link" href="{{$url}}/{{$d.1}}/{{$d.2}}">{{$d.0}}</a>
</li>
{{/foreach}}
</ul>
</li>
{{/foreach}}
</ul>
{{if $cutoff}}
<ul class="datebrowse-ul">
<li onclick="showHideDates(); return false;" id="posted-date-collapse" class="fakelink tool">{{$showmore}}
</li>
</ul> </ul>
</li> {{/if}}
{{/foreach}} </div>
</ul> </nav>
{{if $cutoff}}
<ul class="datebrowse-ul">
<li onclick="showHideDates(); return false;" id="posted-date-collapse" class="fakelink tool">{{$showmore}}</li>
</ul>
{{/if}}
</div>
<script> <script>
initWidget('datebrowse-sidebar', 'datebrowse-sidebar-inflated'); initWidget('datebrowse-sidebar', 'datebrowse-sidebar-inflated');
</script> </script>

View file

@ -4,25 +4,29 @@
* *
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<span id="saved-search-list-inflated" class="widget inflated fakelink" onclick="openCloseWidget('saved-search-list', 'saved-search-list-inflated');"> <nav>
<h3>{{$title}}</h3> <span id="saved-search-list-inflated" class="widget inflated fakelink">
</span> <button class="fakelink" onclick="openCloseWidget('saved-search-list', 'saved-search-list-inflated');" aria-expanded="false">
<div class="widget" id="saved-search-list"> <h3>{{$title}}</h3>
<span class="fakelink" onclick="openCloseWidget('saved-search-list', 'saved-search-list-inflated');"> </button>
<h3 id="search">{{$title}}</h3>
</span> </span>
{{$searchbox nofilter}} <div class="widget" id="saved-search-list">
<button class="fakelink" onclick="openCloseWidget('saved-search-list', 'saved-search-list-inflated');" aria-expanded="true">
<h3 id="search">{{$title}}</h3>
</button>
{{$searchbox nofilter}}
<ul role="menu" id="saved-search-ul"> <ul id="saved-search-ul">
{{foreach $saved as $search}} {{foreach $saved as $search}}
<li role="menuitem" class="saved-search-li clear"> <li class="saved-search-li clear">
<a href="search/saved/remove?term={{$search.encodedterm}}&amp;return_url={{$return_url}}" title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" class="iconspacer savedsearchdrop"></a> <a href="search/saved/remove?term={{$search.encodedterm}}&amp;return_url={{$return_url}}" title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" class="iconspacer savedsearchdrop"></a>
<a href="{{$search.searchpath}}" id="saved-search-term-{{$search.id}}" class="savedsearchterm">{{$search.term}}</a> <a href="{{$search.searchpath}}" id="saved-search-term-{{$search.id}}" class="savedsearchterm">{{$search.term}}</a>
</li> </li>
{{/foreach}} {{/foreach}}
</ul> </ul>
<div class="clear"></div> <div class="clear"></div>
</div> </div>>
</nav>
<script> <script>
initWidget('saved-search-list', 'saved-search-list-inflated'); initWidget('saved-search-list', 'saved-search-list-inflated');
</script> </script>

View file

@ -4,23 +4,27 @@
* *
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<span id="tagblock-inflated" class="widget inflated fakelink" onclick="openCloseWidget('tagblock', 'tagblock-inflated');"> <nav>
<h3>{{$title}}</h3> <span id="tagblock-inflated" class="widget inflated fakelink">
</span> <button class="fakelink" onclick="openCloseWidget('tagblock', 'tagblock-inflated');" aria-expanded="false">
<div id="tagblock" class="tagblock widget"> <h3>{{$title}}</h3>
<span class="fakelink" onclick="openCloseWidget('tagblock', 'tagblock-inflated');"> </button>
<h3>{{$title}}</h3> </span>
</span> <div id="tagblock" class="tagblock widget">
<button class="fakelink" onclick="openCloseWidget('tagblock', 'tagblock-inflated');" aria-expanded="true">
<h3>{{$title}}</h3>
</button>
<div class="tag-cloud"> <div class="tag-cloud">
{{foreach $tags as $tag}} {{foreach $tags as $tag}}
<span class="tags"> <span class="tags">
<span class="tag{{$tag.level}}">#</span><a href="{{$tag.url}}" class="tag{{$tag.level}}">{{$tag.name}}</a> <span class="tag{{$tag.level}}">#</span><a href="{{$tag.url}}" class="tag{{$tag.level}}">{{$tag.name}}</a>
</span> </span>
{{/foreach}} {{/foreach}}
</div>
<div class="tagblock-widget-end clear"></div>
</div> </div>
<div class="tagblock-widget-end clear"></div> </nav>
</div>
<script> <script>
initWidget('tagblock', 'tagblock-inflated'); initWidget('tagblock', 'tagblock-inflated');
</script> </script>

View file

@ -4,66 +4,65 @@
* *
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<span id="trending-tags-sidebar-inflated" class="widget inflated fakelink" onclick="openCloseWidget('trending-tags-sidebar', 'trending-tags-sidebar-inflated');"> <nav>
<h3>{{$title}}</h3> <span id="trending-tags-sidebar-inflated" class="widget inflated fakelink">
</span> <button class="fakelink" onclick="openCloseWidget('trending-tags-sidebar', 'trending-tags-sidebar-inflated');" aria-expanded="false">
<div id="trending-tags-sidebar" class="widget"> <h3>{{$title}}</h3>
<span class="fakelink" onclick="openCloseWidget('trending-tags-sidebar', 'trending-tags-sidebar-inflated');"> </button>
<h3>{{$title}}</h3>
</span> </span>
<ul id="tags-list" style="list-style-type: none; padding: 0; margin: 0;"> <div id="trending-tags-sidebar" class="widget">
{{section name=ol loop=$tags max=10}} <button class="fakelink" onclick="openCloseWidget('trending-tags-sidebar', 'trending-tags-sidebar-inflated');">
<li style="margin-bottom: 5px;"> <h3>{{$title}}</h3>
<a href="search?tag={{$tags[ol].term}}" style="text-decoration: none; color: inherit;"> </button>
<i class="fa fa-hashtag" aria-hidden="true"></i> {{$tags[ol].term}} <ul id="tags-list" style="list-style-type: none; padding: 0; margin: 0;">
</a> {{section name=ol loop=$tags max=10}}
</li> <li style="margin-bottom: 5px;">
{{/section}} <a href="search?tag={{$tags[ol].term}}" style="text-decoration: none; color: inherit;">
</ul> <i class="fa fa-hashtag" aria-hidden="true"></i> {{$tags[ol].term}}
{{if $tags|count > 10}} </a>
<div style="text-align: left; margin-top: 10px;"> </li>
<a href="#" {{/section}}
onclick="toggleTags(event)" </ul>
role="button" {{if $tags|count > 10}}
aria-expanded="false" <div style="text-align: left; margin-top: 10px;">
aria-controls="more-tags" <a href="#" onclick="toggleTags(event)" role="button" aria-expanded="false" aria-controls="more-tags" style="text-decoration: none; color: inherit; cursor: pointer; display: inline-flex; align-items: center; font-weight: bold;">
style="text-decoration: none; color: inherit; cursor: pointer; display: inline-flex; align-items: center; font-weight: bold;"> <i id="caret-icon" class="fa fa-caret-right" aria-hidden="true" style="margin-right: 5px;"></i>
<i id="caret-icon" class="fa fa-caret-right" aria-hidden="true" style="margin-right: 5px;"></i> <span id="link-text">Show More</span>
<span id="link-text">Show More</span>
</a>
</div>
<ul id="more-tags" style="display:none; list-style-type: none; padding: 0; margin: 0;">
{{section name=ul loop=$tags start=10}}
<li style="margin-bottom: 5px;">
<a href="search?tag={{$tags[ul].term}}" style="text-decoration: none; color: inherit;">
<i class="fa fa-hashtag" aria-hidden="true"></i> {{$tags[ul].term}}
</a> </a>
</li> </div>
{{/section}} <ul id="more-tags" style="display:none; list-style-type: none; padding: 0; margin: 0;">
</ul> {{section name=ul loop=$tags start=10}}
{{/if}} <li style="margin-bottom: 5px;">
</div> <a href="search?tag={{$tags[ul].term}}" style="text-decoration: none; color: inherit;">
<i class="fa fa-hashtag" aria-hidden="true"></i> {{$tags[ul].term}}
</a>
</li>
{{/section}}
</ul>
{{/if}}
</div>
</nav>
<script> <script>
function toggleTags(event) { function toggleTags(event) {
event.preventDefault(); event.preventDefault();
var moreTags = document.getElementById('more-tags'); var moreTags = document.getElementById('more-tags');
var link = event.target.closest('a'); var link = event.target.closest('a');
var caretIcon = document.getElementById('caret-icon'); var caretIcon = document.getElementById('caret-icon');
var linkText = document.getElementById('link-text'); var linkText = document.getElementById('link-text');
if (moreTags.style.display === 'none') { if (moreTags.style.display === 'none') {
moreTags.style.display = 'block'; moreTags.style.display = 'block';
linkText.textContent = 'Show Less'; linkText.textContent = 'Show Less';
link.setAttribute('aria-expanded', 'true'); link.setAttribute('aria-expanded', 'true');
caretIcon.className = 'fa fa-caret-down'; caretIcon.className = 'fa fa-caret-down';
} else { } else {
moreTags.style.display = 'none'; moreTags.style.display = 'none';
linkText.textContent = 'Show More'; linkText.textContent = 'Show More';
link.setAttribute('aria-expanded', 'false'); link.setAttribute('aria-expanded', 'false');
caretIcon.className = 'fa fa-caret-right'; caretIcon.className = 'fa fa-caret-right';
}
} }
}
initWidget('trending-tags-sidebar', 'trending-tags-sidebar-inflated'); initWidget('trending-tags-sidebar', 'trending-tags-sidebar-inflated');
</script> </script>

View file

@ -3120,17 +3120,24 @@ details.profile-jot-net[open] summary:before {
.fakelink > h3:before { .fakelink > h3:before {
padding-right: 10px; padding-right: 10px;
} }
.widget.fakelink > h3:before { span.widget > .fakelink > h3:before {
font-family: ForkAwesome; font-family: ForkAwesome;
content: "\f0da"; /* Right Plain Pointer */ content: "\f0da"; /* Right Plain Pointer */
margin-left: 4px;
} }
.widget > .fakelink > h3:before, div.widget > .fakelink > h3:before,
#sidebar-circle-header > .fakelink > h3:before, #sidebar-circle-header > .fakelink > h3:before,
#sidebar-group-header > .fakelink > h3:before { #sidebar-group-header > .fakelink > h3:before {
font-family: ForkAwesome; font-family: ForkAwesome;
content: "\f0d7"; /* Bottom Plain Pointer */ content: "\f0d7"; /* Bottom Plain Pointer */
} }
.widget button.fakelink {
border-style: none;
background-color: transparent;
padding: 0px;
}
h3.connector { h3.connector {
line-height: 40px; line-height: 40px;
} }

View file

@ -109,7 +109,7 @@ if(!empty($page['content'])) {
<script> <script>
var pagetitle = null; var pagetitle = null;
$('nav').bind('nav-update', function(e,data) $('#topbar-first').bind('nav-update', function(e,data)
{ {
if (pagetitle==null) pagetitle = document.title; if (pagetitle==null) pagetitle = document.title;
var count = $(data).find('notif').attr('count'); var count = $(data).find('notif').attr('count');

View file

@ -6,8 +6,8 @@
*}} *}}
<script type="text/javascript"> <script type="text/javascript">
// update pending count // // update pending count //
$(function(){ $(function() {
$("nav").bind('nav-update', function(e,data){ $('#topbar-first').bind('nav-update', function(e, data) {
var elm = $('#pending-update'); var elm = $('#pending-update');
var register = parseInt($(data).find('register').text()); var register = parseInt($(data).find('register').text());
if (register > 0) { if (register > 0) {
@ -18,45 +18,44 @@
</script> </script>
{{foreach $subpages as $page}} {{foreach $subpages as $page}}
<nav class="widget"> <nav class="widget">
<h3>{{$page.0}}</h3> <h3>{{$page.0}}</h3>
<ul> <ul>
{{foreach $page.1 as $item}} {{foreach $page.1 as $item}}
<li class="{{$item.2}}"> <li class="{{$item.2}}">
<a href="{{$item.0}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}"{{/if}}> <a href="{{$item.0}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}" {{/if}}>
{{$item.1}} {{$item.1}}
{{if $name == "users"}} {{if $name == "users"}}
<span id="pending-update" class="badge pull-right"></span> <span id="pending-update" class="badge pull-right"></span>
{{/if}} {{/if}}
</a> </a>
</li> </li>
{{/foreach}} {{/foreach}}
</ul> </ul>
{{if $admin.update}} {{if $admin.update}}
<ul role="menu"> <ul>
<li role="menuitem" class="{{$admin.update.2}}"> <li class="{{$admin.update.2}}">
<a href="{{$admin.update.0}}" {{if $admin.update.accesskey}}accesskey="{{$admin.update.accesskey}}"{{/if}}> <a href="{{$admin.update.0}}" {{if $admin.update.accesskey}}accesskey="{{$admin.update.accesskey}}" {{/if}}>
{{$admin.update.1}} {{$admin.update.1}}
</a> </a>
</li> </li>
</ul> </ul>
{{/if}} {{/if}}
</nav> </nav>
{{/foreach}} {{/foreach}}
{{if $admin.addons_admin}} {{if $admin.addons_admin}}
<nav class="widget"> <nav class="widget">
<h3>{{$plugadmtxt}}</h3> <h3>{{$plugadmtxt}}</h3>
<ul role="menu"> <ul>
{{foreach $admin.addons_admin as $name => $item}} {{foreach $admin.addons_admin as $name => $item}}
<li role="menuitem" class="{{$item.class}}"> <li class="{{$item.class}}">
<a href="{{$item.url}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}"{{/if}}> <a href="{{$item.url}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}" {{/if}}>
{{$item.name}} {{$item.name}}
</a> </a>
</li> </li>
{{/foreach}} {{/foreach}}
</ul> </ul>
</nav> </nav>
{{/if}} {{/if}}

View file

@ -4,63 +4,62 @@
* *
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<span id="circle-sidebar-inflated" class="widget inflated fakelink" onclick="openCloseWidget('circle-sidebar', 'circle-sidebar-inflated');"> <nav>
<h3>{{$title}}</h3> <span id="circle-sidebar-inflated" class="widget inflated fakelink">
</span> <button class="fakelink" onclick="openCloseWidget('circle-sidebar', 'circle-sidebar-inflated');" aria-expanded="false">
<div class="widget" id="circle-sidebar">
<div id="sidebar-circle-header" class="sidebar-widget-header">
<span class="fakelink" onclick="openCloseWidget('circle-sidebar', 'circle-sidebar-inflated');">
<h3>{{$title}}</h3> <h3>{{$title}}</h3>
</span> </button>
{{if ! $new_circle}} </span>
<a class="circle-edit-tool pull-right widget-action faded-icon" id="sidebar-edit-circle" href="{{$circle_page}}" data-toggle="tooltip" title="{{$edit_circles_text}}"> <div class="widget" id="circle-sidebar">
<i class="fa fa-pencil" aria-hidden="true"></i> <div id="sidebar-circle-header" class="sidebar-widget-header">
</a> <button class="fakelink" onclick="openCloseWidget('circle-sidebar', 'circle-sidebar-inflated');" aria-expanded="true">
{{else}} <h3>{{$title}}</h3>
<a class="circle-edit-tool pull-right widget-action faded-icon" id="sidebar-new-circle" onclick="javascript:$('#circle-new-form').fadeIn('fast');" data-toggle="tooltip" title="{{$createtext}}"> </button>
<i class="fa fa-plus" aria-hidden="true"></i> {{if ! $new_circle}}
</a> <a class="circle-edit-tool pull-right widget-action faded-icon" id="sidebar-edit-circle" href="{{$circle_page}}" data-toggle="tooltip" title="{{$edit_circles_text}}">
<form id="circle-new-form" action="circle/new" method="post" style="display:none;"> <i class="fa fa-pencil" aria-hidden="true"></i>
<div class="form-group"> </a>
<input type="hidden" name="form_security_token" value="{{$form_security_token}}"> {{else}}
<input name="circle_name" id="id_circle_name" class="form-control input-sm" placeholder="{{$create_circle}}"> <a class="circle-edit-tool pull-right widget-action faded-icon" id="sidebar-new-circle"
</div> onclick="javascript:$('#circle-new-form').fadeIn('fast');" data-toggle="tooltip" title="{{$createtext}}">
</form> <i class="fa fa-plus" aria-hidden="true"></i>
{{/if}} </a>
</div> <form id="circle-new-form" action="circle/new" method="post" style="display:none;">
<div id="sidebar-circle-list" class="sidebar-widget-list"> <div class="form-group">
{{* The list of available circles *}} <input type="hidden" name="form_security_token" value="{{$form_security_token}}">
<ul role="menu" id="sidebar-circle-ul"> <input name="circle_name" id="id_circle_name" class="form-control input-sm" placeholder="{{$create_circle}}">
{{foreach $circles as $circle}} </div>
<li role="menuitem" class="sidebar-circle-li circle-{{$circle.id}} {{if $circle.selected}}selected{{/if}}"> </form>
{{if ! $new_circle}}<span class="notify badge pull-right"></span>{{/if}} {{/if}}
{{if $circle.cid}} </div>
<div class="checkbox pull-right circle-checkbox "> <div id="sidebar-circle-list" class="sidebar-widget-list">
<input type="checkbox" {{* The list of available circles *}}
id="sidebar-circle-checkbox-{{$circle.id}}" <ul id="sidebar-circle-ul">
class="{{if $circle.selected}}ticked{{else}}unticked {{/if}} action" {{foreach $circles as $circle}}
onclick="return contactCircleChangeMember(this, '{{$circle.id}}','{{$circle.cid}}');" <li class="sidebar-circle-li circle-{{$circle.id}} {{if $circle.selected}}selected{{/if}}">
{{if $circle.ismember}}checked="checked"{{/if}} {{if ! $new_circle}}<span class="notify badge pull-right"></span>{{/if}}
aria-checked="{{if $circle.ismember}}true{{else}}false{{/if}}" {{if $circle.cid}}
/> <div class="checkbox pull-right circle-checkbox ">
<label for="sidebar-circle-checkbox-{{$circle.id}}"></label> <input type="checkbox" id="sidebar-circle-checkbox-{{$circle.id}}" class="{{if $circle.selected}}ticked{{else}}unticked {{/if}} action" onclick="return contactCircleChangeMember(this, '{{$circle.id}}','{{$circle.cid}}');" {{if $circle.ismember}}checked="checked" {{/if}} aria-checked="{{if $circle.ismember}}true{{else}}false{{/if}}" />
<div class="clearfix"></div> <label for="sidebar-circle-checkbox-{{$circle.id}}"></label>
</div> <div class="clearfix"></div>
{{/if}} </div>
{{if $circle.edit}} {{/if}}
{{* if the circle is editable show a little pencil for editing *}} {{if $circle.edit}}
<a id="edit-sidebar-circle-element-{{$circle.id}}" class="circle-edit-tool pull-right faded-icon" href="{{$circle.edit.href}}" data-toggle="tooltip" title="{{$edittext}}"> {{* if the circle is editable show a little pencil for editing *}}
<i class="fa fa-pencil" aria-hidden="true"></i> <a id="edit-sidebar-circle-element-{{$circle.id}}" class="circle-edit-tool pull-right faded-icon" href="{{$circle.edit.href}}" data-toggle="tooltip" title="{{$edittext}}">
</a> <i class="fa fa-pencil" aria-hidden="true"></i>
{{/if}} </a>
<a id="sidebar-circle-element-{{$circle.id}}" class="sidebar-circle-element" href="{{$circle.href}}">{{$circle.text}}</a> {{/if}}
</li> <a id="sidebar-circle-element-{{$circle.id}}" class="sidebar-circle-element" href="{{$circle.href}}">{{$circle.text}}</a>
{{/foreach}} </li>
{{/foreach}}
{{if $uncircled}}<li class="{{if $uncircled_selected}}selected{{/if}} sidebar-circle-li" id="sidebar-uncircled"><a href="nocircle">{{$uncircled}}</a></li>{{/if}} {{if $uncircled}}<li class="{{if $uncircled_selected}}selected{{/if}} sidebar-circle-li" id="sidebar-uncircled"><a href="nocircle">{{$uncircled}}</a></li>{{/if}}
</ul> </ul>
</div>
</div> </div>
</div> </nav>
<script> <script>
initWidget('circle-sidebar', 'circle-sidebar-inflated'); initWidget('circle-sidebar', 'circle-sidebar-inflated');
</script> </script>

View file

@ -4,7 +4,7 @@
* *
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<div class="tabbar-wrapper" role="menubar" > <nav class="tabbar-wrapper" role="menubar">
{{* Tab navigation bar for tablets and computer *}} {{* Tab navigation bar for tablets and computer *}}
<ul class="tabbar list-inline visible-lg visible-md visible-sm hidden-xs"> <ul class="tabbar list-inline visible-lg visible-md visible-sm hidden-xs">
{{* The normal tabbar *}} {{* The normal tabbar *}}
@ -12,22 +12,22 @@
<ul class="tabs flex-nav"> <ul class="tabs flex-nav">
{{foreach $tabs as $tab}} {{foreach $tabs as $tab}}
<li id="{{$tab.id}}" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}> <li id="{{$tab.id}}" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}>
<a role="menuitem" class="tabbar-wrapper__link" href="{{$tab.url}}" {{if $tab.accesskey}}accesskey="{{$tab.accesskey}}" {{/if}} <a role="menuitem" class="tabbar-wrapper__link" href="{{$tab.url}}"
{{if $tab.title}} title="{{$tab.title}}" {{/if}}> {{if $tab.accesskey}}accesskey="{{$tab.accesskey}}" {{/if}} {{if $tab.title}}
{{$tab.label}} title="{{$tab.title}}" {{/if}}>
</a> {{$tab.label}}
</li> </a>
</li>
{{/foreach}} {{/foreach}}
</ul> </ul>
</li> </li>
{{* The extended dropdown menu - this would be shown if the tab menu points {{* The extended dropdown menu - this would be shown if the tab menu points
doesn't fit in the available space. This is done through flexMenu.js *}} doesn't fit in the available space. This is done through flexMenu.js *}}
<li class="pull-right"> <li class="pull-right">
<ul class="tabs tabs-extended" role="menu"> <ul class="tabs tabs-extended" role="menu">
<li class="dropdown flex-target"> <li class="dropdown flex-target">
<button type="button" class="btn-link dropdown-toggle" id="dropdownMenuTools" data-toggle="dropdown" <button type="button" class="btn-link dropdown-toggle" id="dropdownMenuTools" data-toggle="dropdown" aria-expanded="false" title="{{$more}}">
aria-expanded="false" title="{{$more}}">
<i class="fa fa-chevron-down" aria-hidden="true"></i> <i class="fa fa-chevron-down" aria-hidden="true"></i>
</button> </button>
</li> </li>
@ -58,8 +58,7 @@
<li> <li>
<ul class="tabs tabs-extended"> <ul class="tabs tabs-extended">
<li class="dropdown"> <li class="dropdown">
<button type="button" class="btn-link dropdown-toggle" id="dropdownMenuTools-xs" <button type="button" class="btn-link dropdown-toggle" id="dropdownMenuTools-xs" data-toggle="dropdown" aria-expanded="false" title="{{$more}}">
data-toggle="dropdown" aria-expanded="false" title="{{$more}}">
<i class="fa fa-chevron-down" aria-hidden="true"></i> <i class="fa fa-chevron-down" aria-hidden="true"></i>
</button> </button>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenuTools"> <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenuTools">
@ -75,4 +74,4 @@
</ul> </ul>
</li> </li>
</ul> </ul>
</div> </nav>

View file

@ -4,13 +4,13 @@
* *
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<div id="message-sidebar" class="widget"> <nav id="message-sidebar" class="widget">
{{if $tabs}} {{if $tabs}}
<div id="message-preview" class="panel panel-default"> <div id="message-preview" class="panel panel-default">
<ul class="media-list"> <ul class="media-list">
{{$tabs nofilter}} {{$tabs nofilter}}
</ul> </ul>
</div> </div>
{{/if}} {{/if}}
</div> </nav>

View file

@ -6,8 +6,8 @@
*}} *}}
<script type="text/javascript"> <script type="text/javascript">
// update pending count // // update pending count //
$(function(){ $(function() {
$("nav").bind('nav-update', function(e,data){ $('#topbar-first').bind('nav-update', function(e, data) {
var elm = $('#pending-update'); var elm = $('#pending-update');
var register = parseInt($(data).find('register').text()); var register = parseInt($(data).find('register').text());
if (register > 0) { if (register > 0) {
@ -18,19 +18,19 @@
</script> </script>
{{foreach $subpages as $page}} {{foreach $subpages as $page}}
<div class="widget"> <nav class="widget">
<h3>{{$page.0}}</h3> <h3>{{$page.0}}</h3>
<ul role="menu"> <ul>
{{foreach $page.1 as $item}} {{foreach $page.1 as $item}}
<li role="menuitem" class="{{$item.2}}"> <li class="{{$item.2}}">
<a href="{{$item.0}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}"{{/if}}> <a href="{{$item.0}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}" {{/if}}>
{{$item.1}} {{$item.1}}
{{if $name == "users"}} {{if $name == "users"}}
<span id="pending-update" class="badge pull-right"></span> <span id="pending-update" class="badge pull-right"></span>
{{/if}} {{/if}}
</a> </a>
</li> </li>
{{/foreach}} {{/foreach}}
</ul> </ul>
</div> </nav>
{{/foreach}} {{/foreach}}

View file

@ -31,7 +31,7 @@
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-padding"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-padding">
<!-- div for navbar width--> <!-- div for navbar width-->
<!-- Brand and toggle get grouped for better mobile display --> <!-- Brand and toggle get grouped for better mobile display -->
<nav class="topbar-nav"> <div class="topbar-nav">
{{* Buttons for the mobile view *}} {{* Buttons for the mobile view *}}
<button type="button" class="navbar-toggle offcanvas-right-toggle pull-right" <button type="button" class="navbar-toggle offcanvas-right-toggle pull-right"
@ -152,7 +152,7 @@
{{/if}} {{/if}}
</ul> </ul>
</nav> </div>
{{* This is the right part of the NavBar. It includes the search and the user menu *}} {{* This is the right part of the NavBar. It includes the search and the user menu *}}
<div class="topbar-actions pull-right"> <div class="topbar-actions pull-right">

View file

@ -4,18 +4,18 @@
* *
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<div id="sidebar-photos-albums" class="widget"> <nav id="sidebar-photos-albums" class="widget">
<div class="pull-left"> <div class="pull-left">
<h3>{{$title}}</h3> <h3>{{$title}}</h3>
</div> </div>
<div class="pull-right"> <div class="pull-right">
{{if $can_post}} {{if $can_post}}
<div class="photos-upload-link"> <div class="photos-upload-link">
<a href="{{$upload.1}}" title="{{$upload.0}}" class="widget-action faded-icon" data-toggle="tooltip"> <a href="{{$upload.1}}" title="{{$upload.0}}" class="widget-action faded-icon" data-toggle="tooltip">
<i class="fa fa-plus"></i> <i class="fa fa-plus"></i>
</a> </a>
</div> </div>
{{/if}} {{/if}}
</div> </div>
@ -25,15 +25,15 @@
</li> </li>
{{if $albums}} {{if $albums}}
{{foreach $albums as $al}} {{foreach $albums as $al}}
{{if $al.text}} {{if $al.text}}
<li role="menuitem" class="sidebar-photos-albums-li"> <li role="menuitem" class="sidebar-photos-albums-li">
<a href="photos/{{$nick}}/album/{{$al.bin2hex}}" class="sidebar-photos-albums-element"> <a href="photos/{{$nick}}/album/{{$al.bin2hex}}" class="sidebar-photos-albums-element">
<span class="badge pull-right">{{$al.total}}</span>{{$al.text}} <span class="badge pull-right">{{$al.total}}</span>{{$al.text}}
</a> </a>
</li> </li>
{{/if}} {{/if}}
{{/foreach}} {{/foreach}}
{{/if}} {{/if}}
</ul> </ul>
</div> </nav>

View file

@ -10,9 +10,10 @@
<a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}" alt="{{$profile.name}}" /></a> <a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}" alt="{{$profile.name}}" /></a>
<div class="tool visible-lg visible-md"> <div class="tool visible-lg visible-md">
{{if $profile.edit}} {{if $profile.edit}}
<div class="action"> <div class="action">
<a class="" href="{{$profile.edit.0}}" title="{{$profile.edit.3}}"><i class="fa fa-pencil-square-o"></i></a> <a class="" href="{{$profile.edit.0}}" title="{{$profile.edit.3}}"><i
</div> class="fa fa-pencil-square-o"></i></a>
</div>
{{/if}} {{/if}}
</div> </div>
@ -36,7 +37,8 @@
<div class="profile-header"> <div class="profile-header">
<h3 class="fn p-name" dir="auto">{{$profile.name}}</h3> <h3 class="fn p-name" dir="auto">{{$profile.name}}</h3>
{{if $profile.addr}}<div class="p-addr">{{include file="sub/punct_wrap.tpl" text=$profile.addr}}</div>{{/if}} {{if $profile.addr}}<div class="p-addr">{{include file="sub/punct_wrap.tpl" text=$profile.addr}}</div>
{{/if}}
{{if $profile.about}}<div class="title" dir="auto">{{$profile.about nofilter}}</div>{{/if}} {{if $profile.about}}<div class="title" dir="auto">{{$profile.about nofilter}}</div>{{/if}}
@ -44,81 +46,82 @@
</div> </div>
{{if $follow_link || $unfollow_link || $wallmessage_link}} {{if $follow_link || $unfollow_link || $wallmessage_link}}
<div id="profile-extra-links"> <div id="profile-extra-links">
{{if $follow_link || $unfollow_link}} {{if $follow_link || $unfollow_link}}
<div id="dfrn-request-link-button"> <div id="dfrn-request-link-button">
{{if $unfollow_link}} {{if $unfollow_link}}
<a id="dfrn-request-link" class="btn btn-labeled btn-primary" href="{{$unfollow_link}}"> <a id="dfrn-request-link" class="btn btn-labeled btn-primary" href="{{$unfollow_link}}">
<span class=""><i class="fa fa-user-times"></i></span> <span class=""><i class="fa fa-user-times"></i></span>
<span class="">{{$unfollow}}</span> <span class="">{{$unfollow}}</span>
</a> </a>
{{else}} {{else}}
<a id="dfrn-request-link" class="btn btn-labeled btn-primary" href="{{$follow_link}}"> <a id="dfrn-request-link" class="btn btn-labeled btn-primary" href="{{$follow_link}}">
<span class=""><i class="fa fa-user-plus"></i></span> <span class=""><i class="fa fa-user-plus"></i></span>
<span class="">{{$follow}}</span> <span class="">{{$follow}}</span>
</a> </a>
{{/if}}
</div>
{{/if}}
{{if $subscribe_feed_link}}
<div id="subscribe-feed-link-button">
<a id="subscribe-feed-link" class="btn btn-labeled btn-primary" href="{{$subscribe_feed_link}}">
<span class=""><i class="fa fa-rss"></i></span>
<span class="">{{$subscribe_feed}}</span>
</a>
</div>
{{/if}}
{{if $wallmessage_link}}
<div id="wallmessage-link-button">
<button type="button" id="wallmessage-link" class="btn btn-labeled btn-primary" onclick="openWallMessage('{{$wallmessage_link}}')">
<span class=""><i class="fa fa-envelope"></i></span>
<span class="">{{$wallmessage}}</span>
</button>
</div>
{{/if}}
{{if $profile.addr}}
<div id="mention-link-button">
<button type="button" id="mention-link" class="btn btn-labeled btn-primary" onclick="openWallMessage('{{$mention_url}}')">
<span class=""><i class="fa fa-pencil-square-o"></i></span>
<span class="">{{$mention_label}}</span>
</button>
</div>
{{/if}}
{{if $network_label}}
<div id="showgroup-button">
<a id="showgroup" class="btn btn-labeled btn-primary" href="{{$network_url}}">
<span class=""><i class="fa fa-group"></i></span>
<span class="">{{$network_label}}</span>
</a>
</div>
{{/if}} {{/if}}
</div> </div>
{{/if}}
{{if $subscribe_feed_link}}
<div id="subscribe-feed-link-button">
<a id="subscribe-feed-link" class="btn btn-labeled btn-primary" href="{{$subscribe_feed_link}}">
<span class=""><i class="fa fa-rss"></i></span>
<span class="">{{$subscribe_feed}}</span>
</a>
</div>
{{/if}}
{{if $wallmessage_link}}
<div id="wallmessage-link-button">
<button type="button" id="wallmessage-link" class="btn btn-labeled btn-primary" onclick="openWallMessage('{{$wallmessage_link}}')">
<span class=""><i class="fa fa-envelope"></i></span>
<span class="">{{$wallmessage}}</span>
</button>
</div>
{{/if}}
{{if $profile.addr}}
<div id="mention-link-button">
<button type="button" id="mention-link" class="btn btn-labeled btn-primary" onclick="openWallMessage('{{$mention_url}}')">
<span class=""><i class="fa fa-pencil-square-o"></i></span>
<span class="">{{$mention_label}}</span>
</button>
</div>
{{/if}}
{{if $network_label}}
<div id="showgroup-button">
<a id="showgroup" class="btn btn-labeled btn-primary" href="{{$network_url}}">
<span class=""><i class="fa fa-group"></i></span>
<span class="">{{$network_label}}</span>
</a>
</div>
{{/if}}
</div>
{{/if}} {{/if}}
<div class="clear"></div> <div class="clear"></div>
{{if $location}} {{if $location}}
<div class="location detail"> <div class="location detail">
<span class="location-label icon"><i class="fa fa-map-marker" title="{{$location}}"></i></span> <span class="location-label icon"><i class="fa fa-map-marker" title="{{$location}}"></i></span>
<span class="adr"> <span class="adr">
{{if $profile.address}}<p class="street-address p-street-address">{{$profile.address nofilter}}</p>{{/if}} {{if $profile.address}}<p class="street-address p-street-address">{{$profile.address nofilter}}</p>
{{if $profile.location}}<p class="p-location">{{$profile.location}}</p>{{/if}} {{/if}}
</span> {{if $profile.location}}<p class="p-location">{{$profile.location}}</p>{{/if}}
</div> </span>
</div>
{{/if}} {{/if}}
{{if $profile.xmpp}} {{if $profile.xmpp}}
<div class="xmpp"> <div class="xmpp">
<span class="xmpp-label icon"><i class="fa fa-xmpp" title="{{$xmpp}}"></i></span> <span class="xmpp-label icon"><i class="fa fa-xmpp" title="{{$xmpp}}"></i></span>
<span class="xmpp-data"><a href="xmpp:{{$profile.xmpp}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.xmpp}}</a></span> <span class="xmpp-data"><a href="xmpp:{{$profile.xmpp}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.xmpp}}</a></span>
</div> </div>
{{/if}} {{/if}}
{{if $profile.matrix}} {{if $profile.matrix}}
<div class="matrix"> <div class="matrix">
<span class="matrix-label icon"><i class="fa fa-matrix-org" title="{{$matrix}}"></i></span> <span class="matrix-label icon"><i class="fa fa-matrix-org" title="{{$matrix}}"></i></span>
<span class="matrix-data"><a href="matrix:{{$profile.matrix}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.matrix}}</a></span> <span class="matrix-data"><a href="matrix:{{$profile.matrix}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.matrix}}</a></span>
</div> </div>
{{/if}} {{/if}}
{{if $profile.upubkey}}<div class="key u-key" style="display:none;">{{$profile.upubkey}}</div>{{/if}} {{if $profile.upubkey}}<div class="key u-key" style="display:none;">{{$profile.upubkey}}</div>{{/if}}
@ -128,20 +131,24 @@
{{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}} {{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}}
{{if $homepage}} {{if $homepage}}
<div class="homepage detail"> <div class="homepage detail">
<span class="homepage-label icon"><i class="fa fa-external-link" title="{{$homepage}}"></i></span> <span class="homepage-label icon"><i class="fa fa-external-link" title="{{$homepage}}"></i></span>
<span class="homepage-url u-url"><a href="{{$profile.homepage}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.homepage}}</a>{{if $profile.homepage_verified}} <span title="{{$homepage_verified}}">✔</span>{{/if}}</span> <span class="homepage-url u-url"><a href="{{$profile.homepage}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.homepage}}</a>{{if $profile.homepage_verified}}
</div> <span title="{{$homepage_verified}}">✔</span>{{/if}}</span>
</div>
{{/if}} {{/if}}
{{if $about}}<dl class="about" style="display:none;"><dt class="about-label">{{$about}}</dt><dd class="x-network">{{$profile.about nofilter}}</dd></dl>{{/if}} {{if $about}}<dl class="about" style="display:none;">
<dt class="about-label">{{$about}}</dt>
<dd class="x-network">{{$profile.about nofilter}}</dd>
</dl>{{/if}}
{{include file="diaspora_vcard.tpl"}} {{include file="diaspora_vcard.tpl"}}
</div> </div>
</div> </div>
{{if $contact_block}} {{if $contact_block}}
<div class="widget" id="widget-contacts"> <nav class="widget" id="widget-contacts">
{{$contact_block nofilter}} {{$contact_block nofilter}}
</div> </nav>
{{/if}} {{/if}}

View file

@ -5,28 +5,28 @@
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
{{if $direction.direction > 0}} {{if $direction.direction > 0}}
<span class="direction"> <span class="direction" title="{{$direction.title}}">
<span aria-hidden="true">&bull;</span> <span aria-hidden="true">&bull;</span>
{{if $direction.direction == 1}} {{if $direction.direction == 1}}
<i class="fa fa-inbox" title="{{$direction.title}}"></i> <i class="fa fa-inbox"></i>
{{elseif $direction.direction == 2}} {{elseif $direction.direction == 2}}
<i class="fa fa-download" title="{{$direction.title}}"></i> <i class="fa fa-download"></i>
{{elseif $direction.direction == 3}} {{elseif $direction.direction == 3}}
<i class="fa fa-retweet" title="{{$direction.title}}"></i> <i class="fa fa-retweet"></i>
{{elseif $direction.direction == 4}} {{elseif $direction.direction == 4}}
<i class="fa fa-hashtag" title="{{$direction.title}}"></i> <i class="fa fa-hashtag"></i>
{{elseif $direction.direction == 5}} {{elseif $direction.direction == 5}}
<i class="fa fa-comment-o" title="{{$direction.title}}"></i> <i class="fa fa-comment-o"></i>
{{elseif $direction.direction == 6}} {{elseif $direction.direction == 6}}
<i class="fa fa-user" title="{{$direction.title}}"></i> <i class="fa fa-user"></i>
{{elseif $direction.direction == 7}} {{elseif $direction.direction == 7}}
<i class="fa fa-at" title="{{$direction.title}}"></i> <i class="fa fa-at"></i>
{{elseif $direction.direction == 8}} {{elseif $direction.direction == 8}}
<i class="fa fa-share" title="{{$direction.title}}"></i> <i class="fa fa-share"></i>
{{elseif $direction.direction == 9}} {{elseif $direction.direction == 9}}
<i class="fa fa-globe" title="{{$direction.title}}"></i> <i class="fa fa-globe"></i>
{{elseif $direction.direction == 10}} {{elseif $direction.direction == 10}}
<i class="fa fa-inbox" title="{{$direction.title}}"></i> <i class="fa fa-inbox"></i>
{{/if}} {{/if}}
</span> </span>
{{/if}} {{/if}}

View file

@ -203,7 +203,9 @@ as the value of $top_child_total (this is done at the end of this file)
{{/if}} {{/if}}
{{if $item.connector}} {{if $item.connector}}
<span aria-hidden="true">&bull;</span> <span aria-hidden="true">&bull;</span>
<i class="fa fa-plug" title="{{$item.connector}}"></i> <span title="{{$item.connector}}">
<i class="fa fa-plug" aria-hidden="true"></i>
</span>
{{else}} {{else}}
<span aria-hidden="true">&bull;</span> <span aria-hidden="true">&bull;</span>
<span class="navicon lock fakelink" onClick="lockview(event, 'item', {{$item.id}});" title="{{$item.privacy}}" data-toggle="tooltip"> <span class="navicon lock fakelink" onClick="lockview(event, 'item', {{$item.id}});" title="{{$item.privacy}}" data-toggle="tooltip">
@ -246,8 +248,10 @@ as the value of $top_child_total (this is done at the end of this file)
{{include file="sub/direction.tpl" direction=$item.direction}} {{include file="sub/direction.tpl" direction=$item.direction}}
{{/if}} {{/if}}
{{if $item.connector}} {{if $item.connector}}
<span aria-hidden="true">&bull;</span> <span title="{{$item.connector}}">
<i class="fa fa-plug" title="{{$item.connector}}"></i> <span aria-hidden="true">&bull;</span>
<i class="fa fa-plug" aria-hidden="true"></i>
</span>
{{else}} {{else}}
<span class="navicon lock fakelink" onClick="lockview(event, 'item', {{$item.id}});" title="{{$item.privacy}}" data-toggle="tooltip"> <span class="navicon lock fakelink" onClick="lockview(event, 'item', {{$item.id}});" title="{{$item.privacy}}" data-toggle="tooltip">
<span aria-hidden="true">&bull;</span> <span aria-hidden="true">&bull;</span>

View file

@ -5,7 +5,7 @@
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<div id="follow-sidebar" class="widget"> <nav id="follow-sidebar" class="widget">
<h3>{{$connect}}</h3> <h3>{{$connect}}</h3>
<form action="contact/follow" method="post"> <form action="contact/follow" method="post">
@ -15,5 +15,4 @@
<button id="side-follow-submit" class="btn btn-default btn-sm form-button-search" type="submit">{{$follow}}</button> <button id="side-follow-submit" class="btn btn-default btn-sm form-button-search" type="submit">{{$follow}}</button>
</div> </div>
</form> </form>
</div> </nav>

View file

@ -4,7 +4,7 @@
* *
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
<div id="peoplefind-sidebar" class="widget"> <nav id="peoplefind-sidebar" class="widget">
<h3>{{$nv.findpeople}}</h3> <h3>{{$nv.findpeople}}</h3>
<form action="dirfind" method="get"> <form action="dirfind" method="get">
@ -24,7 +24,7 @@
<div class="side-link" id="side-suggest-link"><a href="contact/suggestions" class="side-link-link">{{$nv.suggest}}</a></div> <div class="side-link" id="side-suggest-link"><a href="contact/suggestions" class="side-link-link">{{$nv.suggest}}</a></div>
<div class="side-link" id="side-random-profile-link"><a href="randprof" class="side-link-link" target="extlink">{{$nv.random}}</a></div> <div class="side-link" id="side-random-profile-link"><a href="randprof" class="side-link-link" target="extlink">{{$nv.random}}</a></div>
{{if $nv.inv}} {{if $nv.inv}}
<div class="side-link" id="side-invite-link"><button type="button" class="btn-link side-link-link" onclick="addToModal('invite'); return false;">{{$nv.inv}}</button></div> <div class="side-link" id="side-invite-link"><button type="button" class="btn-link side-link-link" onclick="addToModal('invite'); return false;">{{$nv.inv}}</button></div>
{{/if}} {{/if}}
</div> </nav>

View file

@ -5,26 +5,30 @@
* SPDX-License-Identifier: AGPL-3.0-or-later * SPDX-License-Identifier: AGPL-3.0-or-later
*}} *}}
{{if $saved}} {{if $saved}}
<span id="saved-search-list-inflated" class="widget inflated fakelink" onclick="openCloseWidget('saved-search-list', 'saved-search-list-inflated');"> <nav>
<h3>{{$title}}</h3> <span id="saved-search-list-inflated" class="widget inflated fakelink">
</span> <button class="fakelink" onclick="openCloseWidget('saved-search-list', 'saved-search-list-inflated');" aria-expanded="false">
<div class="widget" id="saved-search-list"> <h3>{{$title}}</h3>
<span class="fakelink" onclick="openCloseWidget('saved-search-list', 'saved-search-list-inflated');"> </button>
<h3 id="search">{{$title}}</h3> </span>
</span> <div class="widget" id="saved-search-list">
<ul role="menu" id="saved-search-ul"> <button class="fakelink" onclick="openCloseWidget('saved-search-list', 'saved-search-list-inflated');">
{{foreach $saved as $search}} <h3 id="search">{{$title}}</h3>
<li role="menuitem" class="saved-search-li clear"> </button>
<a href="search/saved/remove?term={{$search.encodedterm}}&amp;return_url={{$return_url}}" title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" class="savedsearchdrop pull-right widget-action faded-icon"> <ul id="saved-search-ul">
<i class="fa fa-trash" aria-hidden="true"></i> {{foreach $saved as $search}}
</a> <li class="saved-search-li clear">
<a href="{{$search.searchpath}}" id="saved-search-term-{{$search.id}}" class="savedsearchterm">{{$search.term}}</a> <a href="search/saved/remove?term={{$search.encodedterm}}&amp;return_url={{$return_url}}" title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" class="savedsearchdrop pull-right widget-action faded-icon">
</li> <i class="fa fa-trash" aria-hidden="true"></i>
{{/foreach}} </a>
</ul> <a href="{{$search.searchpath}}" id="saved-search-term-{{$search.id}}" class="savedsearchterm">{{$search.term}}</a>
<div class="clearfix"></div> </li>
</div> {{/foreach}}
<script> </ul>
initWidget('saved-search-list', 'saved-search-list-inflated'); <div class="clearfix"></div>
</script> </div>
{{/if}} </nav>
<script>
initWidget('saved-search-list', 'saved-search-list-inflated');
</script>
{{/if}}