]> git.mxchange.org Git - friendica.git/commitdiff
fix some HTML violations in frio
authorrabuzarus <>
Fri, 20 Oct 2017 13:21:42 +0000 (15:21 +0200)
committerrabuzarus <>
Fri, 20 Oct 2017 13:21:42 +0000 (15:21 +0200)
45 files changed:
include/contact_selectors.php
include/conversation.php
mod/contacts.php
view/templates/field_radio.tpl
view/templates/photo_albums.tpl
view/templates/photo_edit.tpl
view/templates/suggestions.tpl
view/theme/frio/css/style.css
view/theme/frio/php/default.php
view/theme/frio/php/standard.php
view/theme/frio/templates/acl_selector.tpl
view/theme/frio/templates/admin_aside.tpl
view/theme/frio/templates/common_tabs.tpl
view/theme/frio/templates/contact_edit.tpl
view/theme/frio/templates/contact_template.tpl
view/theme/frio/templates/contacts-head.tpl
view/theme/frio/templates/contacts-template.tpl
view/theme/frio/templates/event_form.tpl
view/theme/frio/templates/event_head.tpl
view/theme/frio/templates/events_js.tpl
view/theme/frio/templates/field_radio.tpl
view/theme/frio/templates/field_themeselect.tpl
view/theme/frio/templates/follow.tpl
view/theme/frio/templates/group_side.tpl
view/theme/frio/templates/head.tpl
view/theme/frio/templates/jot.tpl
view/theme/frio/templates/js_strings.tpl
view/theme/frio/templates/mail_display.tpl
view/theme/frio/templates/msg-header.tpl
view/theme/frio/templates/nav.tpl
view/theme/frio/templates/notifications.tpl
view/theme/frio/templates/peoplefind.tpl
view/theme/frio/templates/photo_album.tpl
view/theme/frio/templates/photo_item.tpl
view/theme/frio/templates/photo_view.tpl
view/theme/frio/templates/photos_recent.tpl
view/theme/frio/templates/profile_edit.tpl
view/theme/frio/templates/prv_message.tpl
view/theme/frio/templates/search_item.tpl
view/theme/frio/templates/settings.tpl
view/theme/frio/templates/settings_display.tpl
view/theme/frio/templates/settings_features.tpl
view/theme/frio/templates/theme_settings.tpl
view/theme/frio/templates/wall_thread.tpl
view/theme/frio/theme.php

index 05059e3358abcfc92170569b8905979ddf4bb606..48f2fb005ee542b1e8d172043ed9ec7fed886f3f 100644 (file)
@@ -7,7 +7,7 @@ function contact_profile_assign($current,$foreign_net) {
 
        $disabled = (($foreign_net) ? ' disabled="true" ' : '');
 
-       $o .= "<select id=\"contact-profile-selector\" class=\"form-control\" $disabled name=\"profile-assign\" />\r\n";
+       $o .= "<select id=\"contact-profile-selector\" class=\"form-control\" $disabled name=\"profile-assign\" >\r\n";
 
        $r = q("SELECT `id`, `profile-name`, `is-default` FROM `profile` WHERE `uid` = %d",
                        intval($_SESSION['uid']));
index 05c41e6d27d08a87b39a1881512cfeb0cf35fa97..bc227d97729fb0ac1a2251f2bab3ce48e310f3eb 100644 (file)
@@ -800,6 +800,7 @@ function conversation(App $a, $items, $mode, $update, $preview = false) {
                                $tmp_item = array(
                                        'template' => $tpl,
                                        'id' => (($preview) ? 'P0' : $item['item_id']),
+                                       'guid' => (($preview) ? 'Q0' : $item['guid']),
                                        'network' => $item['item_network'],
                                        'network_name' => network_to_name($item['item_network'], $profile_link),
                                        'linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['author-link'])) ? $item['author-link'] : $item['url'])),
index a129a665d131d67f2e55ab020218e01d2d22e1ef..93013972f1c583e5ec3986b96a9367c0af834df0 100644 (file)
@@ -871,7 +871,7 @@ function contacts_tab($a, $contact_id, $active_tab) {
                        'url' => "contacts/".$contact_id,
                        'sel' => (($active_tab == 2)?'active':''),
                        'title' => t('Profile Details'),
-                       'id' => 'status-tab',
+                       'id' => 'profile-tab',
                        'accesskey' => 'o',
                )
        );
index 72228a1c209f73ae7a35efa0918c7bdbb7730c9b..6b880ed9975097f469cc488cedcd1ef7268eb5cc 100644 (file)
@@ -1,5 +1,5 @@
        <div class='field radio'>
                <label for='id_{{$field.0}}_{{$field.2}}'>{{$field.1}}</label>
-               <input type="radio" name='{{$field.0}}' id='id_{{$field.0}}_{{$field.2}}' value="{{$field.2|escape:'html'}}" {{if $field.4}}checked="true"{{/if}} aria-describedby={{$field.0}}_tip'>
-               <span class='field_help' role='tooltip' id='{{$field.0}}_tip'>{{$field.3}}</span>
+               <input type="radio" name='{{$field.0}}' id='id_{{$field.0}}_{{$field.2}}' value="{{$field.2|escape:'html'}}" {{if $field.4}}checked{{/if}} aria-describedby={{$field.0}}_{{$field.2}}_tip'>
+               <span class='field_help' role='tooltip' id='{{$field.0}}_{{$field.2}}_tip'>{{$field.3}}</span>
        </div>
index 0a086751e32ee14cb0cf8a570a2a4668c6fd125c..934e818ec460cf6b7f3e41b657e33615e10f9254 100644 (file)
@@ -1,6 +1,6 @@
 <div id="sidebar-photos-albums" class="widget">
        <h3>{{$title}}</h3>
-       <ul role=menu" class="sidebar-photos-albums-ul">
+       <ul role="menubar" class="sidebar-photos-albums-ul">
                <li role="menuitem" class="sidebar-photos-albums-li">
                        <a href="{{$baseurl}}/photos/{{$nick}}" class="sidebar-photos-albums-element" title="{{$title}}" >{{$recent}}</a>
                </li>
index 714a97dce5dbbbf45cf8c29e5a4366fe871ba9de..8bad963020dd40327436173c4fee6aecba2dd53b 100644 (file)
@@ -14,7 +14,7 @@
        {{include file="field_radio.tpl" field=$rotate_ccw}}
 
        <div id="photo-edit-perms" class="photo-edit-perms" >
-               <a href="#photo-edit-perms-select" id="photo-edit-perms-menu" class="button popupbox" title="{{$permissions}}"/>
+               <a href="#photo-edit-perms-select" id="photo-edit-perms-menu" class="button popupbox" title="{{$permissions}}">
                        <span id="jot-perms-icon" class="icon {{$lockstate}}" ></span>{{$permissions}}
                </a>
                <div id="photo-edit-perms-menu-end"></div>
@@ -28,7 +28,7 @@
        <div id="photo-edit-perms-end"></div>
 
        <input id="photo-edit-submit-button" type="submit" name="submit" value="{{$submit|escape:'html'}}" />
-       <input id="photo-edit-delete-button" type="submit" name="delete" value="{{$delete|escape:'html'}}" onclick="return confirmDelete()"; />
+       <input id="photo-edit-delete-button" type="submit" name="delete" value="{{$delete|escape:'html'}}" onclick="return confirmDelete();" />
 
        <div id="photo-edit-end"></div>
 </form>
index e2acaa59248d515433636bbb9b1d2cebbc09b609..9be529cf7f790205a4664302705bf542555ae62d 100644 (file)
@@ -5,7 +5,7 @@
 <p class="intro-desc">{{$str_notifytype}} {{$notify_type}}</p>
 <div class="intro-madeby">{{$madeby}}</div>
 <div class="intro-fullname" >{{$fullname}}</div>
-<a class="intro-url-link" href="{{$url}}" ><img class="intro-photo lframe" src="{{$photo}}" width="175" height=175" title="{{$fullname|escape:'html'}}" alt="{{$fullname|escape:'html'}}" /></a>
+<a class="intro-url-link" href="{{$url}}" ><img class="intro-photo lframe" src="{{$photo}}" width="175" height="175" title="{{$fullname|escape:'html'}}" alt="{{$fullname|escape:'html'}}" /></a>
 <div class="intro-note" >{{$note}}</div>
 <div class="intro-wrapper-end"></div>
 <form class="intro-form" action="notifications/{{$intro_id}}" method="post">
index eb8910701c511377b774b449fcad1e7d430f82ba..26e5bed2d3b365f4e050d8766a47d6ded18fca8b 100644 (file)
@@ -1178,6 +1178,10 @@ aside #follow-sidebar input {
     height: 30px;
     background-position: 10px 5px;
 }
+aside #peoplefind-sidebar label,
+aside #follow-sidebar label {
+    font-weight: normal;
+}
 aside #peoplefind-sidebar .form-group-search .form-button-search,
 aside #follow-sidebar .form-group-search .form-button-search {
     padding: 2px 8px;
@@ -1263,7 +1267,7 @@ section #jotOpen {
 #jot-text-wrap textarea {
     min-height: 100px;
 }
-#profile-jot-wrapper button#jot-submit {
+#profile-jot-wrapper button#profile-jot-submit {
     margin-top: 5px;
 }
 #profile-jot-wrapper #character-counter {
index 8a7668cf7db9411f17dc1820a36cd76c1b64afbf..b3fc189cc8aa4524c07551c7de62db8dc3607b72 100644 (file)
@@ -17,8 +17,8 @@
 <head>
        <title><?php if(x($page,'title')) echo $page['title'] ?></title>
        <meta request="<?php echo htmlspecialchars($_REQUEST['pagename']) ?>">
-       <script>var baseurl="<?php echo Friendica\Core\System::baseUrl() ?>";</script>
-       <script>var frio="<?php echo "view/theme/frio"; ?>";</script>
+       <script  type="text/javascript">var baseurl="<?php echo Friendica\Core\System::baseUrl() ?>";</script>
+       <script type="text/javascript">var frio="<?php echo "view/theme/frio"; ?>";</script>
        <?php $baseurl = Friendica\Core\System::baseUrl(); ?>
        <?php $frio = "view/theme/frio"; ?>
        <?php
index ae4cfacc6137d7a277f303faba0d07e0fbd2f5e7..535988b85b42914bcd820c172708da07d94f1d24 100644 (file)
@@ -10,8 +10,8 @@
        <title><?php if(x($page,'title')) echo $page['title'] ?></title>
        <meta name="viewport" content="initial-scale=1.0">
        <meta request="<?php echo htmlspecialchars($_REQUEST['pagename']) ?>">
-       <script>var baseurl="<?php echo Friendica\Core\System::baseUrl() ?>";</script>
-       <script>var frio="<?php echo "view/theme/frio"; ?>";</script>
+       <script type="text/javascript">var baseurl="<?php echo Friendica\Core\System::baseUrl() ?>";</script>
+       <script type="text/javascript">var frio="<?php echo "view/theme/frio"; ?>";</script>
        <?php $baseurl = Friendica\Core\System::baseUrl(); ?>
        <?php $frio = "view/theme/frio"; ?>
        <?php if(x($page,'htmlhead')) echo $page['htmlhead']; ?>
index c935f99f81895aff31094367557fa5839c5cf631..9ccd5326c18358231a53071991fe094608422808 100644 (file)
@@ -2,7 +2,7 @@
 <div id="acl-wrapper">
        <button id="acl-showall" class="btn btn-block btn-default"><i class="fa fa-globe"></i> {{$showall}}</button>
        <div class="form-group form-group-search">
-       <input type="text" id="acl-search" class="form-control form-search">
+               <input type="text" id="acl-search" class="form-control form-search">
        </div>
        <div id="acl-list">
                <div id="acl-list-content"></div>
@@ -11,7 +11,7 @@
 </div>
 
 <div class="acl-list-item" rel="acl-template" style="display:none">
-       <img data-src="{0}"><p>{1}</p>
+       <img data-src="{0}" alt="{1}"><p>{1}</p>
        <button class='acl-button-hide btn btn-sm btn-default'>{{$hide}}</button>
        <button class='acl-button-show btn btn-sm btn-default'>{{$show}}</button>
 </div>
@@ -28,7 +28,7 @@
 {{$jotnets}}
 {{/if}}{{/if}}
 
-<script>
+<script type="text/javascript">
 $(document).ready(function() {
        if(typeof acl=="undefined"){
                acl = new ACL(
index ec19ec92e9f374c2e59a9e5a6e6caea64c43a8b4..a90ec69163a92fba3f332a20adca3bdb17bfea87 100644 (file)
@@ -1,4 +1,4 @@
-<script>
+<script type="text/javascript">
        // update pending count //
        $(function(){
                $("nav").bind('nav-update', function(e,data){
index f0885efa25002fb7eb7b6b5b0c45d7d2d1e9bd89..3936e469be2b75b237085ae2d8b3c5499c8e6bed 100644 (file)
@@ -6,7 +6,7 @@
                <li>
                        <ul class="tabs  flex-nav" role="menu" >
                        {{foreach $tabs as $tab}}
-                               <li id="{{$tab.id}}" role="menuitem" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}><a href="{{$tab.url}}" {{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li>
+                               <li id="{{$tab.id}}" role="presentation" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}><a role="menuitem" href="{{$tab.url}}" {{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li>
                        {{/foreach}}
                        </ul>
                </li>
@@ -15,9 +15,9 @@
                        doesn't fit in the available space. This is done through flexMenu.js *}}
                <li class="pull-right">
                        <ul class="tabs tabs-extended" role="menu">
-                               <li role="menuitem" class="dropdown flex-target">
-                                       <button type="button" class="btn-link dropdown-toggle" id="dropdownMenuTools" data-toggle="dropdown" aria-expanded="true">
-                                               <i class="fa fa-chevron-down"></i>
+                               <li role="presentation" class="dropdown flex-target">
+                                       <button type="button" class="btn-link dropdown-toggle" id="dropdownMenuTools" data-toggle="dropdown" aria-expanded="false">
+                                               <i class="fa fa-chevron-down" aria-hidden="true"></i>
                                        </button>
                                </li>
                         </ul>
@@ -31,7 +31,7 @@
                        <ul class="tabs" role="menu">
                                {{foreach $tabs as $tab}}
                                        {{if $tab.sel}}
-                                       <li id="{{$tab.id}}-xs" role="menuitem" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}><a href="{{$tab.url}}" {{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li>
+                                       <li id="{{$tab.id}}-xs" role="presentation" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}><a role="menuitem" href="{{$tab.url}}" {{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li>
                                        {{else}}
                                        {{$exttabs[]=$tab}}
                                        {{/if}}
                <li class="pull-right">
                        <ul class="tabs tabs-extended">
                                <li class="dropdown">
-                                       <button type="button" class="btn-link dropdown-toggle" id="dropdownMenuTools-xs" data-toggle="dropdown" aria-expanded="true">
-                                               <i class="fa fa-chevron-down"></i>
+                                       <button type="button" class="btn-link dropdown-toggle" id="dropdownMenuTools-xs" data-toggle="dropdown" aria-expanded="false">
+                                               <i class="fa fa-chevron-down" aria-hidden="true"></i>
                                        </button>
                                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="dropdownMenuTools">
                                                {{foreach $exttabs as $tab}}
-                                               <li id="{{$tab.id}}-xs" role="menuitem" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}><a href="{{$tab.url}}" {{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li>
+                                               <li id="{{$tab.id}}-xs" role="presentation" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}><a role="menuitem" href="{{$tab.url}}" {{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li>
                                                {{/foreach}}
                                        </ul>
                                </li>
index 1173830f723064044640d4964caad4ab594f30b2..540aebef5465c8211bd7c4a135a15a90b876221c 100644 (file)
                                {{* This is the Action menu where contact related actions like 'ignore', 'hide' can be performed *}}
                                <ul id="contact-edit-actions" class="nav nav-pills preferences">
                                        <li class="dropdown pull-right">
-                                               <button type="button" class="btn btn-link btn-sm dropdown-toggle" id="contact-edit-actions-button" data-toggle="dropdown" aria-expanded="true">
-                                                       <i class="fa fa-angle-down"></i>&nbsp;{{$contact_action_button}}
+                                               <button type="button" class="btn btn-link btn-sm dropdown-toggle" id="contact-edit-actions-button" data-toggle="dropdown" aria-expanded="false">
+                                                       <i class="fa fa-angle-down" aria-hidden="true"></i>&nbsp;{{$contact_action_button}}
                                                </button>
 
                                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="contact-edit-actions-button" aria-haspopup="true" id="contact-actions-menu" >
-                                                       {{if $lblsuggest}}<li role="menuitem"><a href="{{$contact_actions.suggest.url}}" title="{{$contact_actions.suggest.title}}">{{$contact_actions.suggest.label}}</a></li>{{/if}}
-                                                       {{if $poll_enabled}}<li role="menuitem"><a href="{{$contact_actions.update.url}}" title="{{$contact_actions.update.title}}">{{$contact_actions.update.label}}</a></li>{{/if}}
+                                                       {{if $lblsuggest}}<li role="presentation"><a role="menuitem" href="{{$contact_actions.suggest.url}}" title="{{$contact_actions.suggest.title}}">{{$contact_actions.suggest.label}}</a></li>{{/if}}
+                                                       {{if $poll_enabled}}<li role="presentation"><a role="menuitem" href="{{$contact_actions.update.url}}" title="{{$contact_actions.update.title}}">{{$contact_actions.update.label}}</a></li>{{/if}}
                                                        {{if $lblsuggest || $poll_enabled}}
-                                                       <li class="divider"></li>
+                                                       <li role="presentation" class="divider"></li>
                                                        {{/if}}
-                                                       <li role="menuitem"><a href="{{$contact_actions.block.url}}" title="{{$contact_actions.block.title}}">{{$contact_actions.block.label}}</a></li>
-                                                       <li role="menuitem"><a href="{{$contact_actions.ignore.url}}" title="{{$contact_actions.ignore.title}}">{{$contact_actions.ignore.label}}</a></li>
-                                                       <li role="menuitem"><a href="{{$contact_actions.archive.url}}" title="{{$contact_actions.archive.title}}">{{$contact_actions.archive.label}}</a></li>
-                                                       <li role="menuitem"><button type="button" class="btn-link" title="{{$contact_actions.delete.title}}" onclick="addToModal('{{$contact_actions.delete.url}}?confirm=1');">{{$contact_actions.delete.label}}</button></li>
+                                                       <li role="presentation"><a role="menuitem" href="{{$contact_actions.block.url}}" title="{{$contact_actions.block.title}}">{{$contact_actions.block.label}}</a></li>
+                                                       <li role="presentation"><a role="menuitem" href="{{$contact_actions.ignore.url}}" title="{{$contact_actions.ignore.title}}">{{$contact_actions.ignore.label}}</a></li>
+                                                       <li role="presentation"><a role="menuitem" href="{{$contact_actions.archive.url}}" title="{{$contact_actions.archive.title}}">{{$contact_actions.archive.label}}</a></li>
+                                                       <li role="presentation"><button role="menuitem" type="button" class="btn-link" title="{{$contact_actions.delete.title}}" onclick="addToModal('{{$contact_actions.delete.url}}?confirm=1');">{{$contact_actions.delete.label}}</button></li>
                                                </ul>
                                        </li>
                                </ul>
@@ -79,7 +79,7 @@
                                                <div id="contact-edit-profile-collapse" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="contact-edit-profile">
                                                        <div class="section-content-tools-wrapper">
                                                                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
-                                                                       <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 text-muted">{{$profileurllabel}}</div><a target="blank" href="{{$url}}">{{$profileurl}}</a></dd></dl>
+                                                                       <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 text-muted">{{$profileurllabel}}</div><a target="blank" href="{{$url}}">{{$profileurl}}</a>
                                                                </div>
 
                                                                {{if $location}}
                                        <div class="panel">
                                                <div class="section-subtitle-wrapper" role="tab" id="contact-edit-settings">
                                                        <h4>
-                                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#contact-edit-tools" href="#contact-edit-settings-collapse" aria-expanded="true" aria-controls="contact-edit-settings-collapse">
+                                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#contact-edit-tools" href="#contact-edit-settings-collapse" aria-expanded="false" aria-controls="contact-edit-settings-collapse">
                                                                        {{$contact_settings_label}}
                                                                </a>
                                                        </h4>
                                        <div class="panel">
                                                <div class="section-subtitle-wrapper" role="tab" id="contact-edit-info">
                                                        <h4>
-                                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#contact-edit-tools" href="#contact-edit-info-collapse" aria-expanded="true" aria-controls="contact-edit-info-collapse">
+                                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#contact-edit-tools" href="#contact-edit-info-collapse" aria-expanded="false" aria-controls="contact-edit-info-collapse">
                                                                        {{$lbl_info1}}
                                                                </a>
                                                        </h4>
                                        <div class="panel">
                                                <div class="section-subtitle-wrapper" role="tab" id="contact-edit-profile-select">
                                                        <h4>
-                                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#contact-edit-tools" href="#contact-edit-profile-select-collapse" aria-expanded="true" aria-controls="contact-edit-profile-select-collapse">
+                                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#contact-edit-tools" href="#contact-edit-profile-select-collapse" aria-expanded="false" aria-controls="contact-edit-profile-select-collapse">
                                                                        {{$lbl_vis1}}
                                                                </a>
                                                        </h4>
                                                </div>
                                                <div id="contact-edit-profile-select-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="contact-edit-profile-select">
+                                                       <div class="section-content-tools-wrapper">
                                                                {{if $profile_select}}
                                                                        <div id="contact-edit-profile-select-text">
                                                                                <p>{{$lbl_vis2}}</p>
index e1c059eddf8dfdf3838390c965f70d1c273e7517..4d3be769ba7b2a10535e18858fb3f3744ec34d4b 100644 (file)
@@ -11,7 +11,7 @@
 
                                                {{* Overlay background on hover the avatar picture *}}
                                                <div class="contact-photo-overlay">
-                                                       <span class="contact-photo-overlay-content xl"><i class="fa fa-angle-down"></i></span>
+                                                       <span class="contact-photo-overlay-content xl"><i class="fa fa-angle-down" aria-hidden="true"></i></span>
                                                </div>
                                        </div>
 
@@ -21,7 +21,7 @@
 
                                                {{* Overlay background on hover the avatar picture *}}
                                                <div class="contact-photo-overlay">
-                                                       <span class="contact-photo-overlay-content overlay-xs"><i class="fa fa-angle-down"></i></span>
+                                                       <span class="contact-photo-overlay-content overlay-xs"><i class="fa fa-angle-down" aria-hidden="true"></i></span>
                                                </div>
                                        </div>
                                </button>
                                <ul class="contact-photo-menu menu-popup dropdown-menu " id="contact-photo-menu-{{$contact.id}}" role="menu" aria-labelledby="contact-photo-menu-{{$contact.id}}">
                                        {{foreach $contact.photo_menu as $c}}
                                        {{if $c.2}}
-                                       <li role="menuitem"><a target="redir" href="{{$c.1}}">{{$c.0}}</a></li>
+                                       <li role="presentation"><a role="menuitem" target="redir" href="{{$c.1}}">{{$c.0}}</a></li>
                                        {{elseif $c.3}}
-                                       <li role="menuitem"><button type="button" class="btn-link" onclick="addToModal('{{$c.1}}')">{{$c.0}}</button></li>
+                                       <li role="presentation"><button role="menuitem" type="button" class="btn-link" onclick="addToModal('{{$c.1}}')">{{$c.0}}</button></li>
                                        {{else}}
-                                       <li role="menuitem"><a href="{{$c.1}}">{{$c.0}}</a></li>
+                                       <li role="presentation"><a role="menuitem" href="{{$c.1}}">{{$c.0}}</a></li>
                                        {{/if}}
                                        {{/foreach}}
                                </ul>
@@ -143,7 +143,7 @@ We use this part to filter the contacts with jquery.textcomplete *}}
 
                                                        {{* Overlay background on hover the avatar picture *}}
                                                        <div class="contact-photo-overlay">
-                                                               <span class="contact-photo-overlay-content xl"><i class="fa fa-angle-down"></i></span>
+                                                               <span class="contact-photo-overlay-content xl"><i class="fa fa-angle-down"  aria-hidden="true"></i></span>
                                                        </div>
                                                </div>
 
@@ -153,7 +153,7 @@ We use this part to filter the contacts with jquery.textcomplete *}}
 
                                                        {{* Overlay background on hover the avatar picture *}}
                                                        <div class="contact-photo-overlay">
-                                                               <span class="contact-photo-overlay-content overlay-xs"><i class="fa fa-angle-down"></i></span>
+                                                               <span class="contact-photo-overlay-content overlay-xs"><i class="fa fa-angle-down" aria-hidden="true"></i></span>
                                                        </div>
                                                </div>
                                        </button>
@@ -163,11 +163,11 @@ We use this part to filter the contacts with jquery.textcomplete *}}
                                        <ul class="contact-photo-menu menu-popup dropdown-menu " id="contact-photo-menu-{$id}" role="menu" aria-labelledby="contact-photo-menu-{$id}">
                                                {foreach $photo_menu as $c}
                                                {if $c.2}
-                                               <li role="menuitem"><a target="redir" href="{$c.1}">{$c.0}</a></li>
+                                               <li role="presentation"><a role="menuitem" target="redir" href="{$c.1}">{$c.0}</a></li>
                                                {elseif $c.3}
-                                               <li role="menuitem"><button type="button" class="btn-link" onclick="addToModal('{$c.1}')">{$c.0}</button></li>
+                                               <li role="presentation"><button role="menuitem" type="button" class="btn-link" onclick="addToModal('{$c.1}')">{$c.0}</button></li>
                                                {else}
-                                               <li role="menuitem"><a href="{$c.1}">{$c.0}</a></li>
+                                               <li role="presentation"><a role="menuitem" href="{$c.1}">{$c.0}</a></li>
                                                {/if}
                                                {/foreach}
                                        </ul>
index 5e159ea182c8a8aef91c64768f211edcd9bf1023..7c7d85cbe3938b4b5a61baebb96d322e32907203 100644 (file)
@@ -1,5 +1,5 @@
 
-<script language="javascript" type="text/javascript">
+<script type="text/javascript">
 $(document).ready(function() {
        // Add contact_filter autocompletion to the search field
        $("#contacts-search").contact_filter(baseurl + '/acl', 'r', true);
index 43330edc95a96b16aeb281c5cbebea308785759e..68f2c2882c1e520afd964eab1774845b76d7773e 100644 (file)
@@ -36,7 +36,7 @@
                {{* We put the contact batch actions in a dropdown menu *}}
                <ul class="nav nav-pills preferences">
                        <li class="dropdown pull-right">
-                               <button type="button" class="btn btn-link btn-sm dropdown-toggle" id="BatchActionDropdownMenuTools" data-toggle="dropdown" aria-expanded="true">
+                               <button type="button" class="btn btn-link btn-sm dropdown-toggle" id="BatchActionDropdownMenuTools" data-toggle="dropdown" aria-expanded="false">
                                        <i class="fa fa-angle-down"></i>&nbsp;{{$h_batch_actions}}
                                </button>
                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="BatchActionDropdownMenuTools">
@@ -64,7 +64,7 @@
        {{$paginate}}
 </div>
 
-<script>
+<script type="text/javascript">
  $(document).ready(function() {
   // javascript dialog to batch actions
   $(".batch-action").click(function(e){
index e1012e3ae8f12d3ea63633acf555b4476b3ad941..39b08a7b0216ecea1785637cc66740bef5b62826 100644 (file)
@@ -1,5 +1,6 @@
-<script language="javascript" type="text/javascript"
-         src="{{$baseurl}}/view/theme/frio/js/event_edit.js"></script>
+
+<script type="text/javascript" src="{{$baseurl}}/view/theme/frio/js/event_edit.js"></script>
+
 <div id="event-form-wrapper">
        <h3 class="heading">{{$title}}</h3>
 
        </div>
 </div>
 
-<script language="javascript" type="text/javascript">
+<script type="text/javascript">
        $(document).ready( function() {
                // disable finish date input if it isn't available
                enableDisableFinishDate();
                // initiale autosize for the textareas
                autosize($("textarea.text-autosize"));
        });
-</script>
\ No newline at end of file
+</script>
index 4069b887741e8b6a6faddf91f8f4940af36670d2..ba90da2a848c20a56aedfb41e287d8ca1e1977d9 100644 (file)
@@ -6,7 +6,7 @@
 <script type="text/javascript" src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script>
 <script type="text/javascript" src="view/theme/frio/js/mod_events.js"></script>
 
-<script language="javascript" type="text/javascript">
+<script type="text/javascript">
        // pass php translation strings to js variables/arrays so we can make use of it in js files
        aStr.monthNames = [
                '{{$i18n.January|escape:'quotes'}}',
@@ -71,8 +71,7 @@
        var moduleUrl = '{{$module_url}}';
        var modparams = {{$modparams}}
 
-</script>
-<script language="javascript" type="text/javascript">
+
        $(document).ready(function() {
                $("#comment-edit-text-desc").bbco_autocomplete('bbcode');
        });
index 48a75639a22043b5d472f7bbda84bb57a3610730..76394fe408f368fdaa18d6eb053c1ee26b1854c2 100644 (file)
                        {{* The dropdown to change the callendar view *}}
                        <ul class="nav nav-pills">
                                <li class="dropdown pull-right">
-                                       <button type="button" class="btn btn-link btn-sm dropdown-toggle" type="button" id="event-calendar-views" data-toggle="dropdown" aria-expanded="true">
-                                               <i class="fa fa-angle-down"></i> {{$view}}
+                                       <button class="btn btn-link btn-sm dropdown-toggle" type="button" id="event-calendar-views" data-toggle="dropdown" aria-expanded="false">
+                                               <i class="fa fa-angle-down" aria-hidden="true"></i> {{$view}}
                                        </button>
                                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="event-calendar-views">
-                                               <li role="menuitem">
-                                                       <button type="button" class="btn-link" onclick="changeView('changeView', 'month');$('#events-calendar').fullCalendar('option', {contentHeight: '', aspectRatio: 1});">{{$month}}</button>
+                                               <li role="presentation">
+                                                       <button role="menuitem" type="button" class="btn-link" onclick="changeView('changeView', 'month');$('#events-calendar').fullCalendar('option', {contentHeight: '', aspectRatio: 1});">{{$month}}</button>
                                                </li>
-                                               <li role="menuitem">
-                                                       <button type="button" class="btn-link" onclick="changeView('changeView', 'agendaWeek');$('#events-calendar').fullCalendar('option', 'contentHeight', 'auto');">{{$week}}</button>
+                                               <li role="presentation">
+                                                       <button role="menuitem" type="button" class="btn-link" onclick="changeView('changeView', 'agendaWeek');$('#events-calendar').fullCalendar('option', 'contentHeight', 'auto');">{{$week}}</button>
                                                </li>
-                                               <li role="menuitem">
-                                                       <button type="button" class="btn-link" onclick="changeView('changeView', 'agendaDay');$('#events-calendar').fullCalendar('option', 'contentHeight', 'auto');">{{$day}}</button>
+                                               <li role="presentation">
+                                                       <button role="menuitem" type="button" class="btn-link" onclick="changeView('changeView', 'agendaDay');$('#events-calendar').fullCalendar('option', 'contentHeight', 'auto');">{{$day}}</button>
                                                </li>
-                                               <li role="menuitem">
-                                                       <button type="button" class="btn-link" onclick="changeView('changeView', 'listMonth');$('#events-calendar').fullCalendar('option', 'contentHeight', 'auto');">{{$list}}</button>
+                                               <li role="presentation">
+                                                       <button role="menuitem" type="button" class="btn-link" onclick="changeView('changeView', 'listMonth');$('#events-calendar').fullCalendar('option', 'contentHeight', 'auto');">{{$list}}</button>
                                                </li>
                                        </ul>
                                </li>
@@ -34,9 +34,9 @@
 
                {{* The buttons to change the month/weeks/days *}}
                <div id="fc-fc-header-left" class="btn-group">
-                       <button class="btn btn-eventnav" onclick="changeView('prev', false);" title="{{$previous.1}}"><i class="fa fa-angle-up" aria-hidden="true"></i></i></button>
-                       <button class="btn btn-eventnav btn-separator" onclick="changeView('next', false);" title="{{$next.1}}"><i class="fa fa-angle-down" aria-hidden="true"></i></i></button>
-                       <button class="btn btn-eventnav btn-separator" onclick="changeView('today', false);" title="{{$today}}"><i class="fa fa-bullseye"></i></button>
+                       <button class="btn btn-eventnav" onclick="changeView('prev', false);" title="{{$previous.1}}"><i class="fa fa-angle-up" aria-hidden="true"></i></button>
+                       <button class="btn btn-eventnav btn-separator" onclick="changeView('next', false);" title="{{$next.1}}"><i class="fa fa-angle-down" aria-hidden="true"></i></button>
+                       <button class="btn btn-eventnav btn-separator" onclick="changeView('today', false);" title="{{$today}}"><i class="fa fa-bullseye" aria-hidden="true"></i></button>
                </div>
 
                {{* The title (e.g. name of the mont/week/day) *}}
index 970e25000b428e1b8f757f3d1c7fd0a9c077a646..42c145e3a89ee3b701ff38fe3dccb2c8c97ac6a7 100644 (file)
@@ -1,10 +1,10 @@
 
        <div class="field radio">
                <div class="radio">
-                       <input type="radio" name="{{$field.0}}" id="id_{{$field.0}}_{{$field.2}}" value="{{$field.2}}" {{if $field.4}}checked="true"{{/if}} aria-checked="{{if $field.4}}true{{else}}false{{/if}}" aria-describedby="{{$field.0}}_tip">
+                       <input type="radio" name="{{$field.0}}" id="id_{{$field.0}}_{{$field.2}}" value="{{$field.2}}" {{if $field.4}}checked{{/if}} aria-checked="{{if $field.4}}true{{else}}false{{/if}}" aria-describedby="{{$field.0}}_{{$field.2}}_tip">
                        <label for="id_{{$field.0}}_{{$field.2}}">
                                {{$field.1}}
-                               <span class="help-block" id="{{$field.0}}_tip" role="tooltip">{{$field.3}}</span>
+                               <span class="help-block" id="{{$field.0}}_{{$field.2}}_tip" role="tooltip">{{$field.3}}</span>
                        </label>
                </div>
        </div>
\ No newline at end of file
index 7ecdf57e6483a8c8bb65badfaeb281403ab6281e..3b2cb780c89193a0d21b9fdfaa63736d685f516b 100644 (file)
@@ -1,5 +1,5 @@
 
-{{if $field.5=="preview"}}<script>$(document).ready(function(){ previewTheme($("#id_{{$field.0}}")[0]); });</script>{{/if}}
+{{if $field.5=="preview"}}<script type="text/javascript">$(document).ready(function(){ previewTheme($("#id_{{$field.0}}")[0]); });</script>{{/if}}
 <div class="form-group field select">
        <label for="id_{{$field.0}}">{{$field.1}}</label>
        <select class="form-control" name="{{$field.0}}" id="id_{{$field.0}}" {{if $field.5=="preview"}}onchange="previewTheme(this);"{{/if}} aria-describedby="{{$field.0}}_tip" >
index a37ca854b2ab6ee621ea34f12202abe54bbab23a..99ab29ac35627d4a705ebf9d68fdd2c8cafe329f 100644 (file)
@@ -2,8 +2,8 @@
 <div id="follow-sidebar" class="widget">
        <h3>{{$connect}}</h3>
 
-       <div id="connect-desc">{{$desc}}</div> {{* The description *}}
-       <form action="follow" method="get" >
+       <form action="follow" method="get">
+               <label for="side-follow-url" id="connect-desc">{{$desc}}</label>
                {{* The input field - For visual consistence we are using a search input field*}}
                <div class="form-group form-group-search">
                        <input id="side-follow-url" class="search-input form-control form-search" type="text" name="url" value="{{$value|escape:'html'}}" placeholder="{{$hint|escape:'html'}}" data-toggle="tooltip" title="{{$hint|escape:'html'}}" />
index 2f8c6a148030969cd1986abfc771d3313ca5a673..6a77a0ed93927e20355e6d8ab5690b24f0d0e8a8 100644 (file)
                                        {{if $group.cid}}
                                                <div class="checkbox pull-right group-checkbox ">
                                                        <input type="checkbox"
+                                                               id="sidebar-group-checkbox-{{$group.id}}"
                                                                class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action"
                                                                onclick="contactgroupChangeMember('{{$group.id}}','{{$group.cid}}');return true;"
                                                                {{if $group.ismember}}checked="checked"{{/if}}
                                                                aria-checked="{{if $group.ismember}}true{{else}}false{{/if}}"
                                                        />
-                                                       <label for="group-{{$group.id}}"></label>
+                                                       <label for="sidebar-group-checkbox-{{$group.id}}"></label>
                                                        <div class="clearfix"></div>
                                                </div>
                                        {{/if}}
index 2cf71da03575c3af72eae4ccfc9e6cba364c24ca..31a0bd0af3dd24c075ba07fa75c640c390947089 100644 (file)
@@ -42,7 +42,7 @@
 
 <meta name="apple-mobile-web-app-capable" content="yes" />
 <link rel="manifest" href="{{$baseurl}}/manifest" />
-<script>
+<script type="text/javascript">
 // Prevents links to switch to Safari in a home screen app - see https://gist.github.com/irae/1042167
 (function(a,b,c){if(c in b&&b[c]){var d,e=a.location,f=/^(a|html)$/i;a.addEventListener("click",function(a){d=a.target;while(!f.test(d.nodeName))d=d.parentNode;"href"in d&&(chref=d.href).replace(e.href,"").indexOf("#")&&(!/^[a-z\+\.\-]+:/i.test(chref)||chref.indexOf(e.protocol+"//"+e.host)===0)&&(a.preventDefault(),e.href=d.href)},!1)}})(document,window.navigator,"standalone");
 </script>
@@ -90,7 +90,7 @@
 <script type="text/javascript" src="view/theme/frio/js/hovercard.js"></script>
 <script type="text/javascript" src="view/theme/frio/js/textedit.js"></script>
 
-<script language="javascript" type="text/javascript">
+<script type="text/javascript">
        window.showMore = "{{$showmore}}";
        window.showFewer = "{{$showfewer}}";
 </script>
index 8e1f3bf5d62f523f5d8b6d826153431fa0c42741..84f9a81a985380945da5326aa0ded6de8db59f9c 100644 (file)
                                {{* Mark the first list entry as active because it is the first which is active after opening
                                        the modal. Changing of the activity status is done by js in jot.tpl-header *}}
                                <li class="active" role="presentation">
-                                       <a href="#profile-jot-wrapper" class="jot-text-lnk jot-nav-lnk" id="jot-text-lnk" role="tab" aria-controls="profile-jot-wrapper" aria-selected="true">{{$message}}</a>
+                                       <a href="#profile-jot-wrapper" class="jot-text-lnk jot-nav-lnk" id="jot-text-lnk" role="tab" aria-controls="profile-jot-wrapper">{{$message}}</a>
                                </li>
                                {{if $acl}}
                                <li role="presentation">
-                                       <a href="#profile-jot-acl-wrapper" class="jot-perms-lnk jot-nav-lnk" id="jot-perms-lnk" role="tab" aria-controls="profile-jot-acl-wrapper" aria-selected="false">{{$shortpermset}}</a>
+                                       <a href="#profile-jot-acl-wrapper" class="jot-perms-lnk jot-nav-lnk" id="jot-perms-lnk" role="tab" aria-controls="profile-jot-acl-wrapper">{{$shortpermset}}</a>
                                </li>
                                {{/if}}
                                {{if $preview}}
                                <li role="presentation">
-                                       <a href="#jot-preview-content" class="jot-preview-lnk jot-nav-lnk" id="jot-preview-lnk" role="tab" aria-controls="jot-preview-content" aria-selected="false">{{$preview}}</a>
+                                       <a href="#jot-preview-content" class="jot-preview-lnk jot-nav-lnk" id="jot-preview-lnk" role="tab" aria-controls="jot-preview-content">{{$preview}}</a>
                                </li>
                                {{/if}}
                                <li role="presentation">
-                                       <a href="#jot-fbrowser-wrapper" class="jot-browser-lnk jot-nav-lnk" id="jot-browser-link" role="tab" aria-controls="jot-fbrowser-wrapper" aria-selected="false">{{$browser}}</a>
+                                       <a href="#jot-fbrowser-wrapper" class="jot-browser-lnk jot-nav-lnk" id="jot-browser-link" role="tab" aria-controls="jot-fbrowser-wrapper">{{$browser}}</a>
                                </li>
                        </ul>
 
                                        {{* mark the first list entry as active because it is the first which is active after opening
                                        the modal. Changing of the activity status is done by js in jot.tpl-header *}}
                                        <li role="presentation" style="display: none;">
-                                               <button class="jot-text-lnk btn-link jot-nav-lnk jot-nav-lnk-mobile" id="jot-text-lnk-mobile" aria-controls="profile-jot-wrapper" role="menuitem" aria-selected="true">{{$message}}</button>
+                                               <button class="jot-text-lnk btn-link jot-nav-lnk jot-nav-lnk-mobile" id="jot-text-lnk-mobile" aria-controls="profile-jot-wrapper" role="menuitem">{{$message}}</button>
                                        </li>
                                        {{if $acl}}
                                        <li role="presentation">
-                                               <button class="jot-perms-lnk btn-link jot-nav-lnk jot-nav-lnk-mobile" id="jot-perms-lnk-mobile" aria-controls="profile-jot-acl-wrapper" role="menuitem" aria-selected="false">{{$shortpermset}}</button>
+                                               <button class="jot-perms-lnk btn-link jot-nav-lnk jot-nav-lnk-mobile" id="jot-perms-lnk-mobile" aria-controls="profile-jot-acl-wrapper" role="menuitem">{{$shortpermset}}</button>
                                        </li>
                                        {{/if}}
                                        {{if $preview}}
                                        <li role="presentation">
-                                               <button class="jot-preview-lnk btn-link jot-nav-lnk jot-nav-lnk-mobile" id="jot-preview-lnk-mobile" aria-controls="jot-preview-content" role="menuitem" aria-selected="false">{{$preview}}</button>
+                                               <button class="jot-preview-lnk btn-link jot-nav-lnk jot-nav-lnk-mobile" id="jot-preview-lnk-mobile" aria-controls="jot-preview-content" role="menuitem">{{$preview}}</button>
                                        </li>
                                        {{/if}}
                                        <li role="presentation">
-                                               <button class="jot-browser-lnk-mobile btn-link jot-nav-lnk jot-nav-lnk-mobile" id="jot-browser-lnk-mobile" aria-controls="jot-fbrowser-wrapper" role="menuitem" aria-selected="false">{{$browser}}</button>
+                                               <button class="jot-browser-lnk-mobile btn-link jot-nav-lnk jot-nav-lnk-mobile" id="jot-browser-lnk-mobile" aria-controls="jot-fbrowser-wrapper" role="menuitem">{{$browser}}</button>
                                        </li>
                                </ul>
                        </div>
 
                                        {{* The jot text field in which the post text is inserted *}}
                                        <div id="jot-text-wrap">
-                                       <textarea rows="2" cols="64" class="profile-jot-text form-control text-autosize" id="profile-jot-text" name="body" placeholder="{{$share}}" onFocus="jotTextOpenUI(this);" onBlur="jotTextCloseUI(this);" style="min-width:100%; max-width:100%;">{{if $content}}{{$content}}{{/if}}</textarea>
+                                               <textarea rows="2" cols="64" class="profile-jot-text form-control text-autosize" id="profile-jot-text" name="body" placeholder="{{$share}}" onFocus="jotTextOpenUI(this);" onBlur="jotTextCloseUI(this);" style="min-width:100%; max-width:100%;">{{if $content}}{{$content}}{{/if}}</textarea>
                                        </div>
 
                                        <ul id="profile-jot-submit-wrapper" class="jothidden nav nav-pills">
-                                               <li><button type="button" class="btn-link" id="profile-link"  ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink();" title="{{$weblink}}"><i class="fa fa-link"></i></button></li>
-                                               <li><button type="button" class="btn-link" id="profile-video" onclick="jotVideoURL();" title="{{$video}}"><i class="fa fa-film"></i></button></li>
-                                               <li><button type="button" class="btn-link" id="profile-audio" onclick="jotAudioURL();" title="{{$audio}}"><i class="fa fa-music"></i></button></li>
-                                               <li><button type="button" class="btn-link" id="profile-location" onclick="jotGetLocation();" title="{{$setloc}}"><i class="fa fa-map-marker"></i></button></li>
+                                               <li role="presentation"><button type="button" class="btn-link" id="profile-link"  ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink();" title="{{$weblink}}"><i class="fa fa-link"></i></button></li>
+                                               <li role="presentation"><button type="button" class="btn-link" id="profile-video" onclick="jotVideoURL();" title="{{$video}}"><i class="fa fa-film" aria-hidden="true"></i></button></li>
+                                               <li role="presentation"><button type="button" class="btn-link" id="profile-audio" onclick="jotAudioURL();" title="{{$audio}}"><i class="fa fa-music" aria-hidden="true"></i></button></li>
+                                               <li role="presentation"><button type="button" class="btn-link" id="profile-location" onclick="jotGetLocation();" title="{{$setloc}}"><i class="fa fa-map-marker" aria-hidden="true"></i></button></li>
                                                <!-- TODO: waiting for a better placement
                                                <li><button type="button" class="btn-link" id="profile-nolocation" onclick="jotClearLocation();" title="{{$noloc}}">{{$shortnoloc}}</button></li>
                                                -->
 
-                                               <li class="pull-right"><button class="btn btn-primary" id="jot-submit" type="submit" id="profile-jot-submit" name="submit" ><i class="fa fa-slideshare fa-fw"></i> {{$share}}</button></li>
-                                               <li id="character-counter" class="grey jothidden text-info pull-right"></li>
-                                               <div id="profile-rotator-wrapper" style="display: {{$visitor}};" >
-                                                       <img id="profile-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
-                                               </div>
-                                               <div id="profile-jot-plugin-wrapper">
+                                               <li role="presentation" class="pull-right"><button class="btn btn-primary" type="submit" id="profile-jot-submit" name="submit" ><i class="fa fa-slideshare fa-fw" aria-hidden="true"></i> {{$share}}</button></li>
+                                               <li role="presentation" id="character-counter" class="grey jothidden text-info pull-right"></li>
+                                               <li role="presentation" id="profile-rotator-wrapper" class="pull-right" style="display: {{$visitor}};" >
+                                                       <img role="presentation" id="profile-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
+                                               </li>
+                                               <li role="presentation" id="profile-jot-plugin-wrapper">
                                                        {{$jotplugins}}
-                                               </div>
+                                               </li>
                                        </ul>
 
                                </div>
 
                        <div id="jot-fbrowser-wrapper" class="minimize" aria-labelledby="jot-browser-link" role="tabpanel" aria-hidden="true"></div>
 
-                       {{if $content}}<script>initEditor();</script>{{/if}}
+                       {{if $content}}<script type="text/javascript">initEditor();</script>{{/if}}
                </div>
        </div>
 </div>
@@ -141,7 +141,7 @@ can load different content into the jot moadl (e.g. the item edit jot)
 </div>
 
 
-<script language="javascript" type="text/javascript">
+<script type="text/javascript">
        $('iframe').load(function() {
                this.style.height = this.contentWindow.document.body.offsetHeight + 'px';
        });
index 2576cede75bc7e8c6cb8a3b6ca2a7a23f9cb7b79..c4173197aa0682b3c672e61c9a38c61b0afe7f5b 100644 (file)
@@ -2,7 +2,7 @@
 
 {{* Strings which are needed for some js functions (e.g. translation or the interval for page update)
 They are loaded into the html <head> so that js functions can use them *}}
-<script>
+<script type="text/javascript">
        var updateInterval = {{$update_interval}};
 
        var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
index 6511bd70462590e7adeaa1f0e4eb966dae5e21fd..c7507a5da7b5e586dde99a3b14fdcfccd4a1a919 100644 (file)
@@ -1,7 +1,7 @@
 
 <div id="mail-thread-{{$thread_id}}" class="mail-thread">
        {{$brauchenwas}}
-       <h4 class="heading">{{$thread_subject}}</h3>
+       <h4 class="heading">{{$thread_subject}}</h4>
 
        <div id="mail-conversation" class="panel panel-default {{if $canreply }}can-reply{{/if}}">
        {{foreach $mails as $mail}}
index 2d927081d1d85755ce9180d370d805d227830626..97aa5a64fc9bf96df6ebf19a5a6769078deca502 100644 (file)
@@ -1,14 +1,12 @@
 
-<script language="javascript" type="text/javascript">
+<script type="text/javascript">
        $("#comment-edit-text-input").editor_autocomplete(baseurl+"/acl");
-</script>
 
-<script>
        $(document).ready(function() {
                $("#comment-edit-text-input").bbco_autocomplete('bbcode');
                $('#mail-conversation').perfectScrollbar();
                $('#message-preview').perfectScrollbar();
+               // Scroll to the bottom of the mail conversation.
                $('#mail-conversation').scrollTop($('#mail-conversation')[0].scrollHeight);
        });
 </script>
-
index 3a0da9c5f3157a80ec1fa8015a927b105a6c4d01..2fab6235307c8741656fb29d2cde888e230f727c 100644 (file)
                        <div class="topbar-nav" role="navigation">
 
                                {{* Buttons for the mobile view *}}
-                               <button role="menu" type="button" class="navbar-toggle collapsed pull-right" data-toggle="offcanvas" data-target="#myNavmenu">
+                               <button type="button" class="navbar-toggle collapsed pull-right" data-toggle="offcanvas" data-target="#myNavmenu" aria-controls="myNavmenu" aria-haspopup="true">
                                        <span class="sr-only">Toggle navigation</span>
-                                       <i class="fa fa-ellipsis-v"></i>
+                                       <i class="fa fa-ellipsis-v" aria-hidden="true"></i>
                                </button>
-                               <button type="button" class="navbar-toggle collapsed pull-right" data-toggle="collapse" data-target="#search-mobile" aria-expanded="false" aria-controls="navbar">
+                               <button type="button" class="navbar-toggle collapsed pull-right" data-toggle="collapse" data-target="#search-mobile" aria-expanded="false" aria-controls="search-mobile">
                                        <span class="sr-only">Toggle Search</span>
-                                       <i class="fa fa-search" style="color:#FFF;"></i>
+                                       <i class="fa fa-search" aria-hidden="true" style="color:#FFF;"></i>
                                </button>
-                               <button type="button" class="navbar-toggle collapsed pull-left visible-sm visible-xs" data-toggle="offcanvas" data-target="aside"  >
+                               <button type="button" class="navbar-toggle collapsed pull-left visible-sm visible-xs" data-toggle="offcanvas" data-target="aside" aria-haspopup="true">
                                        <span class="sr-only">Toggle navigation</span>
-                                       <i class="fa fa-ellipsis-v"></i>
+                                       <i class="fa fa-ellipsis-v" aria-hidden="true"></i>
                                </button>
 
                                {{* Left section of the NavBar with navigation shortcuts/icons *}}
                                <ul class="nav navbar-nav navbar-left" role="menubar">
                                        <li id="nav-communication" class="nav-segment" role="presentation">
                                                {{if $nav.network}}
-                                               <a role="menuitem" class="nav-menu {{$sel.network}}" href="{{$nav.network.0}}" data-toggle="tooltip" title="{{$nav.network.3}}"><i class="fa fa-lg fa-th"></i><span id="net-update" class="nav-network-badge badge nav-notify"></span></a>
+                                               <a role="menuitem" class="nav-menu {{$sel.network}}" href="{{$nav.network.0}}" data-toggle="tooltip" title="{{$nav.network.3}}"><i class="fa fa-lg fa-th" aria-hidden="true"></i><span id="net-update" class="nav-network-badge badge nav-notify"></span></a>
                                                {{/if}}
 
                                                {{if $nav.home}}
-                                               <a role="menuitem" class="nav-menu {{$sel.home}}" href="{{$nav.home.0}}" data-toggle="tooltip" title="{{$nav.home.3}}"><i class="fa fa-lg fa-home"></i><span id="home-update" class="nav-home-badge badge nav-notify"></span></a>
+                                               <a role="menuitem" class="nav-menu {{$sel.home}}" href="{{$nav.home.0}}" data-toggle="tooltip" title="{{$nav.home.3}}"><i class="fa fa-lg fa-home" aria-hidden="true"></i><span id="home-update" class="nav-home-badge badge nav-notify"></span></a>
                                                {{/if}}
 
                                                {{if $nav.community}}
-                                               <a role="menuitem" class="nav-menu {{$sel.community}}" href="{{$nav.community.0}}" data-toggle="tooltip" title="{{$nav.community.3}}"><i class="fa fa-lg fa-bullseye"></i></a>
+                                               <a role="menuitem" class="nav-menu {{$sel.community}}" href="{{$nav.community.0}}" data-toggle="tooltip" title="{{$nav.community.3}}"><i class="fa fa-lg fa-bullseye" aria-hidden="true"></i></a>
                                                {{/if}}
                                        </li>
 
                                        <li id="nav-personal" class="nav-segment hidden-xs" role="presentation">
                                                {{if $nav.messages}}
-                                               <a role="menuitem" id="nav-messages-link" href="{{$nav.messages.0}}" data-toggle="tooltip" title="{{$nav.messages.1}}" class="nav-menu {{$sel.messages}}"><i class="fa fa-envelope fa-lg"></i><span id="mail-update" class="nav-mail-badge badge nav-notify"></span></a>
+                                               <a role="menuitem" id="nav-messages-link" href="{{$nav.messages.0}}" data-toggle="tooltip" title="{{$nav.messages.1}}" class="nav-menu {{$sel.messages}}"><i class="fa fa-envelope fa-lg" aria-hidden="true"></i><span id="mail-update" class="nav-mail-badge badge nav-notify"></span></a>
                                                {{/if}}
 
                                                {{if $nav.events}}
-                                               <a role="menuitem" id="nav-events-link" href="{{$nav.events.0}}" data-toggle="tooltip" data-toggle="tooltip" title="{{$nav.events.1}}" class="nav-menu"><i class="fa fa-lg fa-calendar"></i></a>
+                                               <a role="menuitem" id="nav-events-link" href="{{$nav.events.0}}" data-toggle="tooltip" title="{{$nav.events.1}}" class="nav-menu"><i class="fa fa-lg fa-calendar"></i></a>
                                                {{/if}}
 
                                                {{if $nav.contacts}}
-                                               <a role="menuitem" id="nav-contacts-link" class="nav-menu {{$sel.contacts}} {{$nav.contacts.2}}" href="{{$nav.contacts.0}}" data-toggle="tooltip" title="{{$nav.contacts.1}}" ><i class="fa fa-users fa-lg"></i></a>
-                                               <span id="intro-update" class="nav-intro-badge badge nav-notify" href="#" onclick="window.location.href = '{{$nav.introductions.0}}' " data-toggle="tooltip" title="{{$nav.introductions.3}}"></span>
+                                               <a role="menuitem" id="nav-contacts-link" class="nav-menu {{$sel.contacts}} {{$nav.contacts.2}}" href="{{$nav.contacts.0}}" data-toggle="tooltip" title="{{$nav.contacts.1}}" ><i class="fa fa-users fa-lg" aria-hidden="true"></i></a>
+                                               <span id="intro-update" class="nav-intro-badge badge nav-notify" onclick="window.location.href = '{{$nav.introductions.0}}' " data-toggle="tooltip" title="{{$nav.introductions.3}}"></span>
                                                {{/if}}
                                        </li>
 
                                        {{* The notifications dropdown *}}
                                        {{if $nav.notifications}}
                                                <li id="nav-notification" class="nav-segment hidden-xs" role="presentation">
-                                                       <a role="menuitem" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" data-toggle="tooltip" data-toggle="tooltip" title="{{$nav.notifications.1}}" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
-                                                               <i class="fa fa-exclamation-circle fa-lg"></i>
-                                                               <span class="sr-only">{{$nav.notifications.1}}</span>
+                                                       <a href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" data-toggle="tooltip" title="{{$nav.notifications.1}}" role="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+                                                               <i class="fa fa-exclamation-circle fa-lg" aria-hidden="true"></i>
+                                                               <span role="menuitem" class="sr-only">{{$nav.notifications.1}}</span>
                                                                <span id="notify-update" class="nav-notify-badge badge nav-notify dropdown" data-toggle="dropdown"></span>
                                                        </a>
 
                                                        <ul id="nav-notifications-menu" class="dropdown-menu menu-popup" role="menu" aria-labelledby="dropdownMenu1" style="display: none;">
 
                                                                {{* the following list entry must have the id "nav-notificaionts-mark-all". Without it this isn't visable. ....strange behavior :-/ *}}
-                                                               <li role="menuitem" id="nav-notifications-mark-all" class="dropdown-header">
+                                                               <li role="presentation" id="nav-notifications-mark-all" class="dropdown-header">
                                                                        <div class="arrow"></div>
                                                                        {{$nav.notifications.1}}
                                                                        <div class="dropdown-header-link">
-                                                                               <button type="button" class="btn-link" onclick="notifyMarkAll();" data-toggle="tooltip" title="{{$nav.notifications.mark.3}}">{{$nav.notifications.mark.1}}</button>
+                                                                               <button role="menuitem" type="button" class="btn-link" onclick="notifyMarkAll();" data-toggle="tooltip" title="{{$nav.notifications.mark.3}}">{{$nav.notifications.mark.1}}</button>
                                                                        </div>
 
                                                                </li>
 
-                                                               <li role="menuitem">
-                                                                       <p class="text-muted"><i>{{$emptynotifications}}</i></p>
+                                                               <li role="presentation">
+                                                                       <p role="menuitem" class="text-muted"><i>{{$emptynotifications}}</i></p>
                                                                </li>
                                                        </ul>
                                                </li>
 
                                        {{* The user dropdown menu *}}
                                        {{if $nav.userinfo}}
-                                       <li role="menu" id="nav-user-linkmenu" class="dropdown account nav-menu hidden-xs">
-                                               <button id="main-menu" class="btn-link dropdown-toggle nav-avatar" data-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false">
+                                       <li id="nav-user-linkmenu" class="dropdown account nav-menu hidden-xs">
+                                               <button id="main-menu" class="btn-link dropdown-toggle nav-avatar" data-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false" aria-controls="nav-user-menu">
                                                        <div class="user-title pull-left hidden-xs hidden-sm hidden-md">
                                                                <strong>{{$nav.userinfo.name}}</strong><br>
                                                                {{if $nav.remote}}<span class="trunctate">{{$nav.remote}}</span>{{/if}}
                                                </button>
 
                                                {{* The list of available usermenu links *}}
-                                               <ul id="nav-user-menu" class="dropdown-menu pull-right menu-popup" role="group" aria-labelledby="main-menu">
+                                               <ul id="nav-user-menu" class="dropdown-menu pull-right menu-popup" role="menu" aria-labelledby="main-menu">
                                                        {{if $nav.remote}}{{if $nav.sitename}}
                                                        <li id="nav-sitename" role="menuitem">{{$nav.sitename}}</li>
-                                                       <li role="separator" class="divider"></li>
+                                                       <li role="presentation" class="divider"></li>
                                                        {{/if}}{{/if}}
                                                        {{foreach $nav.usermenu as $usermenu}}
-                                                       <li role="menuitem"><a class="{{$usermenu.2}}" href="{{$usermenu.0}}" title="{{$usermenu.3}}">{{$usermenu.1}}</a></li>
+                                                       <li role="presentation"><a role="menuitem" class="{{$usermenu.2}}" href="{{$usermenu.0}}" title="{{$usermenu.3}}">{{$usermenu.1}}</a></li>
                                                        {{/foreach}}
-                                                       <li role="separator" class="divider"></li>
+                                                       <li role="presentation" class="divider"></li>
                                                        {{if $nav.notifications}}
-                                                       <li role="menuitem"><a href="{{$nav.notifications.all.0}}" title="{{$nav.notifications.1}}"><i class="fa fa-exclamation-circle fa-fw"></i> {{$nav.notifications.1}}</a></li>
+                                                       <li role="presentation"><a role="menuitem" href="{{$nav.notifications.all.0}}" title="{{$nav.notifications.1}}"><i class="fa fa-exclamation-circle fa-fw" aria-hidden="true"></i> {{$nav.notifications.1}}</a></li>
                                                        {{/if}}
                                                        {{if $nav.messages}}
-                                                       <li role="menuitem"><a class="nav-commlink {{$nav.messages.2}} {{$sel.messages}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" ><i class="fa fa-envelope fa-fw"></i> {{$nav.messages.1}} <span id="mail-update-li" class="nav-mail-badge badge nav-notify"></span></a></li>
+                                                       <li role="presentation"><a role="menuitem" class="nav-commlink {{$nav.messages.2}} {{$sel.messages}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" ><i class="fa fa-envelope fa-fw" aria-hidden="true"></i> {{$nav.messages.1}} <span id="mail-update-li" class="nav-mail-badge badge nav-notify"></span></a></li>
                                                        {{/if}}
-                                                       <li role="separator" class="divider"></li>
+                                                       <li role="presentation" class="divider"></li>
                                                        {{if $nav.contacts}}
-                                                       <li role="menuitem"><a id="nav-contacts-link" class="nav-link {{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}"><i class="fa fa-users fa-fw"></i> {{$nav.contacts.1}}</a><span id="intro-update-li" class="nav-intro-badge badge nav-notify"></span></li>
+                                                       <li role="presentation"><a role="menuitem" id="nav-menu-contacts-link" class="nav-link {{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}"><i class="fa fa-users fa-fw" aria-hidden="true"></i> {{$nav.contacts.1}}</a><span id="intro-update-li" class="nav-intro-badge badge nav-notify"></span></li>
                                                        {{/if}}
                                                        {{if $nav.manage}}
-                                                       <li role="menuitem"><a id="nav-manage-link" class="nav-commlink {{$nav.manage.2}} {{$sel.manage}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}"><i class="fa fa-flag fa-fw"></i> {{$nav.manage.1}}</a></li>
+                                                       <li role="presentation"><a role="menuitem" id="nav-manage-link" class="nav-commlink {{$nav.manage.2}} {{$sel.manage}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}"><i class="fa fa-flag fa-fw" aria-hidden="true"></i> {{$nav.manage.1}}</a></li>
                                                        {{/if}}
-                                                       <li role="menuitem"><a id="nav-directory-link" class="nav-link {{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}"><i class="fa fa-sitemap fa-fw"></i>{{$nav.directory.1}}</a></li>
-                                                       <li role="separator" class="divider"></li>
+                                                       <li role="presentation"><a role="menuitem" id="nav-directory-link" class="nav-link {{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}"><i class="fa fa-sitemap fa-fw" aria-hidden="true"></i>{{$nav.directory.1}}</a></li>
+                                                       <li role="presentation" class="divider"></li>
                                                        {{if $nav.apps}}
-                                                       <li role="menuitem"><a id="nav-apps-link" class="nav-link {{$nav.apps.2}} {{$sel.manage}}" href="{{$nav.apps.0}}" title="{{$nav.apps.3}}" ><i class="fa fa-puzzle-piece fa-fw"></i> {{$nav.apps.1}}</a>
-                                                       <li role="separator" class="divider"></li>
+                                                       <li role="presentation"><a role="menuitem" id="nav-apps-link" class="nav-link {{$nav.apps.2}} {{$sel.manage}}" href="{{$nav.apps.0}}" title="{{$nav.apps.3}}" ><i class="fa fa-puzzle-piece fa-fw" aria-hidden="true"></i> {{$nav.apps.1}}</a>
+                                                       <li role="presentation" class="divider"></li>
                                                        {{/if}}
                                                        {{if $nav.help}}
-                                                       <li role="menuitem"><a id="nav-help-link" class="nav-link {{$nav.help.2}}" href="{{$nav.help.0}}" title="{{$nav.help.3}}" ><i class="fa fa-question-circle fa-fw"></i> {{$nav.help.1}}</a></li>
+                                                       <li role="presentation"><a role="menuitem" id="nav-help-link" class="nav-link {{$nav.help.2}}" href="{{$nav.help.0}}" title="{{$nav.help.3}}" ><i class="fa fa-question-circle fa-fw" aria-hidden="true"></i> {{$nav.help.1}}</a></li>
                                                        {{/if}}
                                                        {{if $nav.settings}}
-                                                       <li role="menuitem"><a id="nav-settings-link" class="nav-link {{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}"><i class="fa fa-cog fa-fw"></i> {{$nav.settings.1}}</a></li>
+                                                       <li role="presentation"><a role="menuitem" id="nav-settings-link" class="nav-link {{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}"><i class="fa fa-cog fa-fw" aria-hidden="true"></i> {{$nav.settings.1}}</a></li>
                                                        {{/if}}
                                                        {{if $nav.admin}}
-                                                       <li role="menuitem"><a id="nav-admin-link" class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" ><i class="fa fa-user-secret fa-fw"></i> {{$nav.admin.1}}</a></li>
+                                                       <li role="presentation"><a role="menuitem" id="nav-admin-link" class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" ><i class="fa fa-user-secret fa-fw" aria-hidden="true"></i> {{$nav.admin.1}}</a></li>
                                                        {{/if}}
-                                                       <li role="separator" class="divider"></li>
+                                                       <li role="presentation" class="divider"></li>
                                                        {{if $nav.logout}}
-                                                       <li role="menuitem"><a id="nav-logout-link" class="nav-link {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" ><i class="fa fa fa-sign-out fa-fw"></i> {{$nav.logout.1}}</a></li>
+                                                       <li role="presentation"><a role="menuitem" id="nav-logout-link" class="nav-link {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" ><i class="fa fa fa-sign-out fa-fw" aria-hidden="true"></i> {{$nav.logout.1}}</a></li>
                                                        {{else}}
-                                                       <li role="menuitem"><a id="nav-login-link" class="nav-login-link {{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" ><i class="fa fa-power-off fa-fw"></i> {{$nav.login.1}}</a></li>
+                                                       <li role="presentation"><a role="menuitem" id="nav-login-link" class="nav-login-link {{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" ><i class="fa fa-power-off fa-fw" aria-hidden="true"></i> {{$nav.login.1}}</a></li>
                                                        {{/if}}
                                                </ul>
                                        </li>{{* End of userinfo dropdown menu *}}
                        {{* The usermenu dropdown for the mobile view. It is called via the buttons. Have a look at the top of this file *}}
                        <div id="myNavmenu" class="navmenu navmenu-default navmenu-fixed-right offcanvas">
                                <div class="nav-container">
-                                       <div class="list-group">
+                                       <ul role="menu" class="list-group">
                                                {{if $nav.remote}}{{if $nav.sitename}}
-                                               <li role="menuitem" class="nav-sitename list-group-item" role="menuitem">{{$nav.sitename}}</li>
+                                               <li role="menuitem" class="nav-sitename list-group-item">{{$nav.sitename}}</li>
                                                {{/if}}{{/if}}
-                                               <li role="menuitem" class="list-group-item"><img src="{{$nav.userinfo.icon}}" alt="{{$nav.userinfo.name}}" style="max-width:15px; max-height:15px; min-width:15px; min-height:15px; width:15px; height:15px;"> {{$nav.userinfo.name}}{{if $nav.remote}} ({{$nav.remote}}){{/if}}</li>
+                                               <li role="presentation" class="list-group-item"><img src="{{$nav.userinfo.icon}}" alt="{{$nav.userinfo.name}}" style="max-width:15px; max-height:15px; min-width:15px; min-height:15px; width:15px; height:15px;"> {{$nav.userinfo.name}}{{if $nav.remote}} ({{$nav.remote}}){{/if}}</li>
                                                {{foreach $nav.usermenu as $usermenu}}
-                                               <a role="menuitem" class="{{$usermenu.2}} list-group-item" href="{{$usermenu.0}}" title="{{$usermenu.3}}">{{$usermenu.1}}</a>
+                                               <li role="menuitem" class="list-group-item"><a role="menuitem" class="{{$usermenu.2}}" href="{{$usermenu.0}}" title="{{$usermenu.3}}">{{$usermenu.1}}</a></li>
                                                {{/foreach}}
                                                {{if $nav.notifications}}
-                                               <a role="menuitem" href="{{$nav.notifications.all.0}}" title="{{$nav.notifications.1}}" class="list-group-item"><i class="fa fa-exclamation-circle fa-fw"></i> {{$nav.notifications.1}}</a>
+                                               <li role="presentation" class="list-group-item"><a role="menuitem" href="{{$nav.notifications.all.0}}" title="{{$nav.notifications.1}}"><i class="fa fa-exclamation-circle fa-fw" aria-hidden="true"></i> {{$nav.notifications.1}}</a></li>
                                                {{/if}}
                                                {{if $nav.contacts}}
-                                               <a role="menuitem" class="nav-link {{$nav.contacts.2}} list-group-item" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}"><i class="fa fa-users fa-fw"></i> {{$nav.contacts.1}}</a>
+                                               <li role="presentation" class="list-group-item"><a role="menuitem" class="nav-link {{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}"><i class="fa fa-users fa-fw" aria-hidden="true"></i> {{$nav.contacts.1}}</a></li>
                                                {{/if}}
                                                {{if $nav.messages}}
-                                               <a role="menuitem" class="nav-link {{$nav.messages.2}} {{$sel.messages}} list-group-item" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" ><i class="fa fa-envelope fa-fw"></i> {{$nav.messages.1}}</a>
+                                               <li role="presentation" class="list-group-item"><a role="menuitem" class="nav-link {{$nav.messages.2}} {{$sel.messages}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" ><i class="fa fa-envelope fa-fw" aria-hidden="true"></i> {{$nav.messages.1}}</a></li>
                                                {{/if}}
                                                {{if $nav.manage}}
-                                               <a role="menuitem" class="nav-commlink {{$nav.manage.2}} {{$sel.manage}} list-group-item" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}"><i class="fa fa-flag fa-fw"></i> {{$nav.manage.1}}</a>
+                                               <li role="presentation" class="list-group-item"><a role="menuitem" class="nav-commlink {{$nav.manage.2}} {{$sel.manage}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}"><i class="fa fa-flag fa-fw" aria-hidden="true"></i> {{$nav.manage.1}}</a></li>
                                                {{/if}}
                                                {{if $nav.settings}}
-                                               <a role="menuitem" class="nav-link {{$nav.settings.2}} list-group-item" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}"><i class="fa fa-cog fa-fw"></i> {{$nav.settings.1}}</a>
+                                               <li role="presentation" class="list-group-item"><a role="menuitem" class="nav-link {{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}"><i class="fa fa-cog fa-fw" aria-hidden="true"></i> {{$nav.settings.1}}</a></li>
                                                {{/if}}
                                                {{if $nav.admin}}
-                                               <a role="menuitem" class="nav-link {{$nav.admin.2}} list-group-item" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" ><i class="fa fa-user-secret fa-fw"></i> {{$nav.admin.1}}</a>
+                                               <li role="presentation" class="list-group-item"><a role="menuitem" class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" ><i class="fa fa-user-secret fa-fw" aria-hidden="true"></i> {{$nav.admin.1}}</a></li>
                                                {{/if}}
                                                {{if $nav.logout}}
-                                               <a role="menuitem" class="nav-link {{$nav.logout.2}} list-group-item" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" ><i class="fa fa fa-sign-out fa-fw"></i> {{$nav.logout.1}}</a>
+                                               <li role="presentation" class="list-group-item"><a role="menuitem" class="nav-link {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" ><i class="fa fa fa-sign-out fa-fw" aria-hidden="true"></i> {{$nav.logout.1}}</a></li>
                                                {{else}}
-                                               <a role="menuitem" class="nav-login-link {{$nav.login.2}} list-group-item" href="{{$nav.login.0}}" title="{{$nav.login.3}}" ><i class="fa fa-power-off fa-fw"></i> {{$nav.login.1}}</a>
+                                               <li role="presentation" class="list-group-item"><a role="menuitem" class="nav-login-link {{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" ><i class="fa fa-power-off fa-fw" aria-hidden="true"></i> {{$nav.login.1}}</a></li>
                                                {{/if}}
-                                       </div>
+                                       </ul>
                                </div>
                        </div><!--/.sidebar-offcanvas-->
                </div><!-- end of div for navbar width-->
                </div>
                <div class="pull-right">
                        <ul class="nav navbar-nav navbar-right">
-                               {{if $nav.register}}<li><a href="register" data-toggle="tooltip" title="{{$nav.register.3}}"><i class="fa fa-street-view fa-fw"></i></a></li>{{/if}}
+                               {{if $nav.register}}<li><a href="register" data-toggle="tooltip" title="{{$nav.register.3}}"><i class="fa fa-street-view fa-fw" aria-hidden="true"></i></a></li>{{/if}}
                                <li>
                                        <a href="login?mode=none" id="nav-login"
                                                data-toggle="tooltip" title="{{$nav.login.3}}">
-                                                       <i class="fa fa-sign-in fa-fw"></i>
+                                                       <i class="fa fa-sign-in fa-fw" aria-hidden="true"></i>
                                        </a>
                                </li>
                        </ul>
index 126001e93329a1f60ad3ea4d91eba3302766092c..dcea0b85fafbe57757f680f6c037b7cc1bdd5d33 100644 (file)
@@ -29,7 +29,7 @@
 
 {{* Since only the DIV's inside the notification-list are marked with the class "unseen",
 we need some js to transfer this class to the parent li list-elements *}}
-<script>
+<script type="text/javascript">
 $(document).ready(function(){
        if( $(".notif-item").hasClass("unseen")) {
                $(".notif-item.unseen").parent("li").addClass("unseen");
index f84a094507ca0a554c365fa848beaecf4050bd8b..5a84f26c8f09e061a284f58b699f2c19ebd53349 100644 (file)
@@ -2,10 +2,9 @@
 <div id="peoplefind-sidebar" class="widget">
        <h3>{{$findpeople}}</h3>
 
-       <div id="peoplefind-desc">{{$desc}}</div> {{* The description *}}
-
-       <form action="dirfind" method="get" />
+       <form action="dirfind" method="get">
                {{* The search field *}}
+               <label for="side-peoplefind-url" id="peoplefind-desc">{{$desc}}</label>
                <div class="form-group form-group-search">
                        <input id="side-peoplefind-url" class="search-input form-control form-search" type="text" name="search" data-toggle="tooltip" title="{{$hint|escape:'html'}}" />
                        <button id="side-peoplefind-submit" class="btn btn-default btn-sm form-button-search" type="submit">{{$findthem}}</button>
index 48471601609643dc166e3312651da776a7553c8d..f3dee65a4c2db5b1193ccd67c9ecf1e0e734a89f 100644 (file)
@@ -26,4 +26,4 @@
        {{$paginate}}
 </div>
 
-<script>$(document).ready(function() { loadingPage = false; justifyPhotos('photo-album-contents-{{$album_id}}'); });</script>
+<script type="text/javascript">$(document).ready(function() { loadingPage = false; justifyPhotos('photo-album-contents-{{$album_id}}'); });</script>
index 27cd5219f7d3ef008ff737673ce7c3dce0a74791..935e6288b3ef8bd344fe7a0739b049138a08bf1e 100644 (file)
@@ -8,11 +8,11 @@
                {{* Dropdown menu with actions (e.g. delete comment) *}}
                {{if $drop.dropping }}
                <li class="dropdown">
-                       <a class="dropdown-toggle" data-toggle="dropdown" id="dropdownMenuTools-{{$id}}" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-angle-down"></i></a>
+                       <a class="dropdown-toggle" data-toggle="dropdown" id="dropdownMenuTools-{{$id}}" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-angle-down" aria-hidden="true"></i></a>
 
                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="dropdownMenuTools-{{$id}}">
                                <li role="menuitem">
-                                       <a onclick="dropItem('item/drop/{{$id}}', '#wall-item-outside-wrapper-{{$id}}'); return false;" class="delete" title="{{$drop.delete}}"><i class="fa fa-trash"></i>&nbsp;{{$drop.delete}}</a>
+                                       <a onclick="dropItem('item/drop/{{$id}}', '#wall-item-outside-wrapper-{{$id}}'); return false;" class="delete" title="{{$drop.delete}}"><i class="fa fa-trash" aria-hidden="true"></i>&nbsp;{{$drop.delete}}</a>
                                </li>
                        </ul>
                </li>
@@ -23,7 +23,7 @@
        <div class="contact-photo-wrapper mframe p-author h-card pull-left">
                <a class="userinfo u-url" id="wall-item-photo-menu-{{$id}}" href="{{$profile_url}}">
                        <div class="contact-photo-image-wrapper">
-                               <img src="{{$thumb}}" class="contact-photo-xs media-object p-name u-photo" id="wall-item-photo-{{$item.id}}" alt="{{$name}}" />
+                               <img src="{{$thumb}}" class="contact-photo-xs media-object p-name u-photo" id="wall-item-photo-{{$id}}" alt="{{$name}}" />
                        </div>
                </a>
        </div>
@@ -38,7 +38,7 @@
                </div>
 
                {{* comment content *}}
-               <div itemprop="description" class="wall-item-content" id="wall-item-content-{{$id}}">
+               <div class="wall-item-content" id="wall-item-content-{{$id}}">
                        {{if $title}}
                        <div class="wall-item-title" id="wall-item-title-{{$id}}">{{$title}}</div>
                        {{/if}}
index 17edb858bc27e4f1d5be3d2391510ad7cd37d878..fd47097a5c03ae5dfb39b49f314cae734d0196b5 100644 (file)
@@ -19,7 +19,7 @@
                <div id="photo-photo">
                        {{* The photo *}}
                        <div class="photo-container">
-                               <a href="{{$photo.href}}" title="{{$photo.title}}"><img src="{{$photo.src}}" /></a>
+                               <a href="{{$photo.href}}" title="{{$photo.title}}"><img src="{{$photo.src}}" alt="{{$photo.filename}}"/></a>
                        </div>
 
                        {{* Overlay buttons for previous and next photo *}}
index 683ef544a3b73a410996a007002984fa359d6487..894121fab0d7d98fc5785ebc5f6eea0746936ce6 100644 (file)
@@ -17,4 +17,4 @@
        {{$paginate}}
 </div>
 
-<script>$(document).ready(function() { loadingPage = false; justifyPhotos(); });</script>
+<script type="text/javascript">$(document).ready(function() { loadingPage = false; justifyPhotos(); });</script>
index 0e20bf21357df17f22e0b62a375d765f203cac6a..12ec570370ed10337c9febf2eddf0f94b674bdbd 100644 (file)
@@ -6,25 +6,25 @@
        <div id="profile-edit-links">
                <ul class="nav nav-pills preferences">
                        <li class="dropdown pull-right">
-                               <button type="button" class="btn btn-link btn-sm dropdown-toggle" id="profile-edit-links-dropdown" data-toggle="dropdown" aria-expanded="true">
+                               <button type="button" class="btn btn-link btn-sm dropdown-toggle" id="profile-edit-links-dropdown" data-toggle="dropdown" aria-expanded="false">
                                        <i class="fa fa-angle-down"  aria-hidden="true"></i>&nbsp;{{$profile_action}}
                                </button>
                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="profile-edit-links-dropdown">
-                                       <li role="menuitem"><a href="profile_photo" id="profile-photo_upload-link" title="{{$profpic|escape:'html'}}"><i class="fa fa-user"  aria-hidden="true"></i>&nbsp;{{$profpic}}</a></li>
-                                       <li role="menuitem"><button type="button" class="btn-link" id="profile-photo_upload-link" title="{{$profpic|escape:'html'}}" onclick="openClose('profile-photo-upload-section');"><i class="fa fa-user" aria-hidden="true"></i>&nbsp;{{$profpic}}</button></li>
+                                       <li role="presentation"><a role="menuitem" href="profile_photo" id="profile-photo_upload-link" title="{{$profpic|escape:'html'}}"><i class="fa fa-user" aria-hidden="true"></i>&nbsp;{{$profpic}}</a></li>
+                                       <li role="presentation"><button role="menuitem" type="button" class="btn-link" id="profile-photo_upload-link-new" title="{{$profpic|escape:'html'}}" onclick="openClose('profile-photo-upload-section');"><i class="fa fa-user" aria-hidden="true"></i>&nbsp;{{$profpic}}</button></li>
                                        {{if ! $is_default}}
-                                       <li class="nav-item"><a href="profperm/{{$profile_id}}" id="profile-edit-visibility-link" title="{{$editvis}}"><i class="fa fa-pencil"  aria-hidden="true"></i>&nbsp;{{$editvis}}</a>
+                                       <li role="presentation" class="nav-item"><a role="menuitem" href="profperm/{{$profile_id}}" id="profile-edit-visibility-link" title="{{$editvis}}"><i class="fa fa-pencil" aria-hidden="true"></i>&nbsp;{{$editvis}}</a>
                                        </li>
                                        {{/if}}
-                                       <li role="separator" class="divider"></li>
-                                       <li role="menuitem"><a href="profile/{{$profile_id}}/view?tab=profile" id="profile-edit-view-link" title="{{$viewprof|escape:'html'}}">{{$viewprof}}</a></li>
+                                       <li role="presentation" class="divider"></li>
+                                       <li role="presentation"><a role="menuitem" href="profile/{{$profile_id}}/view?tab=profile" id="profile-edit-view-link" title="{{$viewprof|escape:'html'}}">{{$viewprof}}</a></li>
                                        {{if $profile_clone_link}}
-                                       <li role="separator"class="divider"></li>
-                                       <li role="menuitem"><a href="{{$profile_clone_link}}" id="profile-edit-clone-link" title="{{$cr_prof|escape:'html'}}">{{$cl_prof}}</a></li>
+                                       <li role="presentation" class="divider"></li>
+                                       <li role="presentation"><a role="menuitem" href="{{$profile_clone_link}}" id="profile-edit-clone-link" title="{{$cr_prof|escape:'html'}}">{{$cl_prof}}</a></li>
                                        {{/if}}
                                        {{if !$is_default}}
-                                       <li role="separator" class="divider"></li>
-                                       <li role="menuitem"><a href="{{$profile_drop_link}}" id="profile-edit-drop-link" title="{{$del_prof|escape:'html'}}"><i class="fa fa-trash" aria-hidden="true"></i>&nbsp;{{$del_prof}}</a></li>
+                                       <li role="presentation" class="divider"></li>
+                                       <li role="presentation"><a role="menuitem" href="{{$profile_drop_link}}" id="profile-edit-drop-link" title="{{$del_prof|escape:'html'}}"><i class="fa fa-trash" aria-hidden="true"></i>&nbsp;{{$del_prof}}</a></li>
                                        {{/if}}
                                </ul>
                        </li>
                        <div class="panel">
                                <div class="section-subtitle-wrapper" role="tab" id="location">
                                        <h4>
-                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#profile-edit-wrapper" href="#location-collapse" aria-expanded="true" aria-controls="location-collapse">
+                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#profile-edit-wrapper" href="#location-collapse" aria-expanded="false" aria-controls="location-collapse">
                                                        {{$lbl_location_section}}
                                                </a>
                                        </h4>
                        <div class="panel">
                                <div class="section-subtitle-wrapper" role="tab" id="relation">
                                        <h4>
-                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#profile-edit-wrapper" href="#relation-collapse" aria-expanded="true" aria-controls="relation-collapse">
+                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#profile-edit-wrapper" href="#relation-collapse" aria-expanded="false" aria-controls="relation-collapse">
                                                        {{$lbl_relation_section}}
                                                </a>
                                        </h4>
                        <div class="panel">
                                <div class="section-subtitle-wrapper" role="tab" id="miscellaneous">
                                        <h4>
-                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#profile-edit-wrapper" href="#miscellaneous-collapse" aria-expanded="true" aria-controls="miscellaneous-collapse">
+                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#profile-edit-wrapper" href="#miscellaneous-collapse" aria-expanded="false" aria-controls="miscellaneous-collapse">
                                                        {{$lbl_miscellaneous_section}}
                                                </a>
                                        </h4>
        </form>
 </div>
 
-<script language="javascript" type="text/javascript">
+<script type="text/javascript">
        Fill_Country('{{$country_name.2}}');
        Fill_States('{{$region.2}}');
 
index 4079bb39262549223070f268429ce2bd813a9f5a..d80fcf6a12f71e1db4424f05f5e3f1d1c3c47fc8 100644 (file)
@@ -10,7 +10,7 @@
 
        {{* The To: form-group which contains the message recipient *}}
        <div id="prvmail-to-label" class="form-group">
-               <label for="message-to-select">{{$to}}</label><br>
+               <label for="recip">{{$to}}</label><br>
                {{if $showinputs}}
                <input type="text" id="recip" class="form-control" name="messagerecip" value="{{$prefill}}" tabindex="10" {{if $prefill}}disabled{{else}}aria-required="true"{{/if}} />
                <input type="hidden" id="recip-complete" name="messageto" value="{{$preid}}">
 
        {{* The message input field which contains the message text *}}
        <div id="prvmail-message-label" class="form-group">
-               <label for="prvmail-text">{{$yourmessage}}</label>
+               <label for="comment-edit-text-input">{{$yourmessage}}</label>
                <textarea rows="8" cols="72" class="prvmail-text form-control text-autosize" id="comment-edit-text-input" name="body" tabindex="12">{{$text}}</textarea>
        </div>
 
        <ul id="prvmail-text-edit-bb" class="comment-edit-bb comment-icon-list nav nav-pills hidden-xs pull-left">
                                <li>
                                        <button type="button" class="btn-link icon" style="cursor: pointer;" title="{{$edimg|escape:'html'}}" data-role="insert-formatting" data-comment=" " data-bbcode="img" data-id="input">
-                                               <i class="fa fa-picture-o"></i>
+                                               <i class="fa fa-picture-o" aria-hidden="true"></i>
                                        </button>
                                </li>
                                <li>
                                        <button type="button" class="btn-link icon bb-url" style="cursor: pointer;" title="{{$edurl|escape:'html'}}" data-role="insert-formatting" data-comment=" " data-bbcode="url" data-id="input">
-                                               <i class="fa fa-link"></i>
+                                               <i class="fa fa-link" aria-hidden="true"></i>
                                        </button>
                                </li>
                                <li>
                                        <button type="button" class="btn-link icon bb-video" style="cursor: pointer;" title="{{$edvideo|escape:'html'}}" data-role="insert-formatting" data-comment=" " data-bbcode="video" data-id="input">
-                                               <i class="fa fa-video-camera"></i>
+                                               <i class="fa fa-video-camera" aria-hidden="true"></i>
                                        </button>
                                </li>
 
                                <li>
                                        <button type="button" class="btn-link icon underline" style="cursor: pointer;" title="{{$eduline|escape:'html'}}" data-role="insert-formatting" data-comment=" " data-bbcode="u" data-id="input">
-                                               <i class="fa fa-underline"></i>
+                                               <i class="fa fa-underline" aria-hidden="true"></i>
                                        </button>
                                </li>
                                <li>
                                        <button type="button" class="btn-link icon italic" style="cursor: pointer;" title="{{$editalic|escape:'html'}}" data-role="insert-formatting" data-comment=" " data-bbcode="i" data-id="input">
-                                               <i class="fa fa-italic"></i>
+                                               <i class="fa fa-italic" aria-hidden="true"></i>
                                        </button>
                                </li>
                                <li>
                                        <button type="button" class="btn-link icon bold" style="cursor: pointer;"  title="{{$edbold|escape:'html'}}" data-role="insert-formatting" data-comment=" " data-bbcode="b" data-id="input">
-                                               <i class="fa fa-bold"></i>
+                                               <i class="fa fa-bold" aria-hidden="true"></i>
                                        </button>
                                </li>
                                <li>
                                        <button type="button" class="btn-link icon quote" style="cursor: pointer;" title="{{$edquote|escape:'html'}}" data-role="insert-formatting" data-comment=" " data-bbcode="quote" data-id="input">
-                                               <i class="fa fa-quote-left"></i>
+                                               <i class="fa fa-quote-left" aria-hidden="true"></i>
                                        </button>
                                </li>
                        </ul>
@@ -75,7 +75,7 @@
        {{* The submit button *}}
        <div id="prvmail-submit-wrapper">
                <button type="submit" id="prvmail-submit" name="submit" value="{{$submit|escape:'html'}}" class="btn btn-primary pull-right"  tabindex="13">
-                       <i class="fa fa-slideshare fa-fw"></i>
+                       <i class="fa fa-slideshare fa-fw" aria-hidden="true"></i>
                        {{$submit|escape:'html'}}
                </button>
        </div>
@@ -85,7 +85,7 @@
 </form>
 </div>
 
-<script language="javascript" type="text/javascript">
+<script type="text/javascript">
        $(document).ready( function() {
                // initiale autosize for the textareas
                autosize($("textarea.text-autosize"));
index 0d25bd9b26aabf69f671f568d2ac5f35c82475fd..c8c702b6a8195314b5f1ae0ce8e59acba1219a38 100644 (file)
 
 
                        {{* item content *}}
-                       <div itemprop="description" class="wall-item-content {{$item.type}}" id="wall-item-content-{{$item.id}}">
+                       <div class="wall-item-content {{$item.type}}" id="wall-item-content-{{$item.id}}">
                                {{* insert some space if it's an top-level post *}}
                                {{if $item.thread_level==1}}
                                <div style="height:10px;">&nbsp;</div> <!-- use padding/margin instead-->
index 7197067dd6eaf5c12209c9db68359df76a457973..efb426f111a2cc6683ffb118028792565d726a2d 100644 (file)
@@ -13,7 +13,7 @@
                        <div class="panel">
                                <div class="section-subtitle-wrapper" role="tab" id="password-settings">
                                        <h4>
-                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#password-settings-collapse" aria-expanded="true" aria-controls="basic-settings-collapse">
+                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#password-settings-collapse" aria-expanded="false" aria-controls="password-settings-collapse">
                                                        {{$h_pass}}
                                                </a>
                                        </h4>
@@ -40,7 +40,7 @@
                        <div class="panel">
                                <div class="section-subtitle-wrapper" role="tab" id="basic-settings">
                                        <h4>
-                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#basic-settings-collapse" aria-expanded="true" aria-controls="basic-settings-collapse">
+                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#basic-settings-collapse" aria-expanded="false" aria-controls="basic-settings-collapse">
                                                        {{$h_basic}}
                                                </a>
                                        </h4>
@@ -68,7 +68,7 @@
                        <div class="panel">
                                <div class="section-subtitle-wrapper" role="tab" id="privacy-settings">
                                        <h4>
-                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#privacy-settings-collapse" aria-expanded="true" aria-controls="privacy-settings-collapse">
+                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#privacy-settings-collapse" aria-expanded="false" aria-controls="privacy-settings-collapse">
                                                        {{$h_prv}}
                                                </a>
                                        </h4>
                        <div class="panel">
                                <div class="section-subtitle-wrapper" role="tab" id="notification-settings">
                                        <h4>
-                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#notification-settings-collapse" aria-expanded="true" aria-controls="notification-settings-collapse">
+                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#notification-settings-collapse" aria-expanded="false" aria-controls="notification-settings-collapse">
                                                        {{$h_not}}
                                                </a>
                                        </h4>
                                                        *}}
 
                                                        {{include file="field_yesno.tpl" field=$desktop_notifications}}
-                                                       <script>
+                                                       <script type="text/javascript">
                                                                (function(){
                                                                        var elm = $("#id_{{$desktop_notifications.0}}_onoff");
                                                                        var ckbox = $("#id_{{$desktop_notifications.0}}");
                        <div class="panel">
                                <div class="section-subtitle-wrapper" role="tab" id="additional-account-settings">
                                        <h4>
-                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#additional-account-settings-collapse" aria-expanded="true" aria-controls="additional-account-settings-collapse">
+                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#additional-account-settings-collapse" aria-expanded="false" aria-controls="additional-account-settings-collapse">
                                                        {{$h_advn}}
                                                </a>
                                        </h4>
                        <div class="panel">
                                <div class="section-subtitle-wrapper" role="tab" id="relocate-settings">
                                        <h4>
-                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#relocate-settings-collapse" aria-expanded="true" aria-controls="relocate-settings-collapse">
+                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#relocate-settings-collapse" aria-expanded="false" aria-controls="relocate-settings-collapse">
                                                        {{$relocate}}
                                                </a>
                                        </h4>
                                <div id="relocate-settings-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="relocate-settings">
                                        <div class="section-content-tools-wrapper">
 
-                                               <div id="settings-pagetype-desc">{{$relocate_text}}</div>
+                                               <div id="settings-relocate-desc">{{$relocate_text}}</div>
 
                                                <br/>
                                                <div class="form-group pull-right settings-submit-wrapper" >
                </div>
        </form>
 </div>
-
index e2b84fc34bf6bd28788747ecab797e7b1e81faa6..177fa6311701f8c6a1b6eaa5df6b2c4a7c7eafc9 100644 (file)
@@ -39,7 +39,7 @@
                        <div class="panel">
                                <div class="section-subtitle-wrapper" role="tab" id="custom-settings-title">
                                        <h4>
-                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#custom-settings-content" aria-expanded="true" aria-controls="custom-settings-content">
+                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#custom-settings-content" aria-expanded="false" aria-controls="custom-settings-content">
                                                        {{$d_ctset}}
                                                </a>
                                        </h4>
@@ -58,7 +58,7 @@
                        <div class="panel">
                                <div class="section-subtitle-wrapper" role="tab" id="content-settings-title">
                                        <h4>
-                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#content-settings-content" aria-expanded="true" aria-controls="content-settings-content">
+                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#content-settings-content" aria-expanded="false" aria-controls="content-settings-content">
                                                        {{$d_cset}}
                                                </a>
                                        </h4>
@@ -87,7 +87,7 @@
                        <div class="panel">
                                <div class="section-subtitle-wrapper" role="tab" id="calendar-settings-title">
                                        <h4>
-                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#calendar-settings-content" aria-expanded="true" aria-controls="calendar-settings-content">
+                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#calendar-settings-content" aria-expanded="false" aria-controls="calendar-settings-content">
                                                        {{$calendar_title}}
                                                </a>
                                        </h4>
index 6d7ec79f9a218b0a732f83fb6982b9ebbbe345a5..c811b8cf3e24ed3f6538b19f619e9cb2dd97ab32 100644 (file)
@@ -11,7 +11,7 @@
                        <div class="panel">
                                <div class="section-subtitle-wrapper" role="tab" id="{{$g}}-settings-title">
                                        <h4>
-                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#{{$g}}-settings-content" aria-expanded="true" aria-controls="{{$g}}-settings-collapse">
+                                               <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#{{$g}}-settings-content" aria-expanded="true" aria-controls="{{$g}}-settings-content">
                                                        {{$f.0}}
                                                </a>
                                        </h4>
index 83b466b73b292d38bb71df70f49033c60879f5fb..d4438caa8cb213453145264612518d86794e9197 100644 (file)
@@ -30,7 +30,7 @@
 {{/foreach}}
 </div>
 
-<script>
+<script type="text/javascript">
        $(function(){
                $("#frio_nav_bg, #frio_nav_icon_color, #frio_background_color, #frio_link_color").colorpicker({format: 'hex', align: 'left'});
 
@@ -68,6 +68,6 @@
 </div>
 <div class="clearfix"></div>
 
-<script>
+<script type="text/javascript">
     $(".inputRange").rangeinput();
 </script>
index 877d04e880be3b04fef7abbf9888544899af6ab5..94ff531294b2fc245f354655759d19da2a3062ee 100644 (file)
@@ -245,7 +245,7 @@ as the value of $top_child_total (this is done at the end of this file)
                {{if $item.thread_level==1}}<hr />{{/if}}
 
                {{* item content *}}
-               <div itemprop="description" class="wall-item-content {{$item.type}}" id="wall-item-content-{{$item.id}}">
+               <div class="wall-item-content {{$item.type}}" id="wall-item-content-{{$item.id}}">
                        {{* insert some space if it's an top-level post *}}
                        {{if $item.thread_level==1}}
                        <div style="height:10px;">&nbsp;</div> <!-- use padding/margin instead-->
@@ -323,7 +323,7 @@ as the value of $top_child_total (this is done at the end of this file)
                                                {{if $item.vote.like OR $item.vote.dislike OR $item.comment}}
                                        <span role="presentation" class="separator">•</span>
                                                {{/if}}
-                                       <button type="button" class="btn-link button-votes" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}});"><i class="fa fa-retweet" aria-hidden="true"></i>&nbsp;{{$item.vote.share.1}}</a>
+                                       <button type="button" class="btn-link button-votes" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}});"><i class="fa fa-retweet" aria-hidden="true"></i>&nbsp;{{$item.vote.share.1}}</button>
                                        {{/if}}
                                {{/if}}
                                <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
index 5104c44b60f5d1e4d569d7e2b9a71b35bca5d0b2..a9423e09d570055f97a6e9dc4f10ef6f314cac66 100644 (file)
@@ -33,7 +33,7 @@ function frio_init(App $a) {
        // variable so the js scripts can use this information
        if($a->is_mobile || $a->is_tablet) {
                $a->page["htmlhead"] .= <<< EOT
-                       <script>
+                       <script type="text/javascript">
                                var is_mobile = 1;
                        </script>
 EOT;