]> git.mxchange.org Git - friendica.git/commitdiff
Restored tabs display until a more complete CSS solution is worked out
authorHypolite Petovan <ben.lort@gmail.com>
Thu, 16 Mar 2017 02:00:37 +0000 (22:00 -0400)
committerHypolite Petovan <ben.lort@gmail.com>
Thu, 16 Mar 2017 02:00:37 +0000 (22:00 -0400)
view/theme/frio/templates/event_form.tpl
view/theme/frio/templates/jot.tpl

index 749218e918f521c051de1fdb60fd3930a27ec554..d4b455b2345e9bbd63ae2c0c43b740e277612799 100644 (file)
@@ -8,23 +8,23 @@
                {{* 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 event_head.tpl *}}
                <li class="active" role="menuitem">
-                       <button type="button" class="btn btn-link" id="event-edit-lnk" onclick="eventEditActive();">{{$basic}}</button>
+                       <a id="event-edit-lnk" onclick="eventEditActive(); return false;">{{$basic}}</a>
                </li>
                <li role="menuitem">
-                       <button type="button" class="btn btn-link" id="event-desc-lnk" onclick="eventDescActive();">{{$advanced}}</button>
+                       <a id="event-desc-lnk" onclick="eventDescActive(); return false;">{{$advanced}}</a>
                </li>
                {{if $acl}}
                <li role="menuitem" {{if !$sh_checked}} style="display: none"{{/if}}>
-                       <button type="button" class="btn btn-link" id="event-perms-lnk" onclick="eventAclActive();">{{$permissions}}</button>
+                       <a id="event-perms-lnk" onclick="eventAclActive(); return false;">{{$permissions}}</a>
                </li>
                {{/if}}
                {{if $preview}}
                <li role="menuitem">
-                       <button type="button" class="btn btn-link" id="event-preview-lnk" onclick="eventPreviewActive();">{{$preview}}</button>
+                       <a id="event-preview-lnk" onclick="eventPreviewActive(); return false;">{{$preview}}</a>
                </li>
                {{/if}}
                {{* commented out because it isn't implemented yet
-               <li role="menuitem"><button type="button" class="btn btn-link" id="event-preview-link" onclick="fbrowserActive();"> Browser </button></li>
+               <li role="menuitem"><a id="event-preview-link" onclick="fbrowserActive(); return false;"> Browser </a></li>
                *}}
        </ul>
 
index f439f477ce3e686ce4122ff5902c236465d9af2e..71fdae7cd3433063db3045bee528a14a3d735d28 100644 (file)
                                </li>
                                {{if $acl}}
                                <li role="menuitem">
-                                       <a class="btn btn-link jot-perms-lnk" id="jot-perms-lnk" onclick="aclActive(); return false;">{{$shortpermset}}</a>
+                                       <a class="jot-perms-lnk" id="jot-perms-lnk" onclick="aclActive(); return false;">{{$shortpermset}}</a>
                                </li>
                                {{/if}}
                                {{if $preview}}
                                <li role="menuitem">
-                                       <a class="btn btn-link jot-preview-lnk" id="jot-preview-lnk" onclick="previewActive(); return false;">{{$preview}}</a>
+                                       <a class="jot-preview-lnk" id="jot-preview-lnk" onclick="previewActive(); return false;">{{$preview}}</a>
                                </li>
                                {{/if}}
                                <li role="menuitem">
-                                       <a class="btn btn-link" id="jot-browser-link" onclick="fbrowserActive(); return false;">{{$browser}}</a>
+                                       <a class="jot-browser-lnk" id="jot-browser-link" onclick="fbrowserActive(); return false;">{{$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="menuitem" style="display: none;">
-                                               <button type="button" class="btn btn-link jot-text-lnk" id="jot-text-lnk-mobile" onclick="jotActive();">{{$message}}</button>
+                                               <a class="jot-text-lnk" id="jot-text-lnk-mobile" onclick="jotActive(); return false;">{{$message}}</a>
                                        </li>
                                        {{if $acl}}
                                        <li role="menuitem">
-                                               <button type="button" class="btn btn-link jot-perms-lnk" id="jot-perms-lnk-mobile" onclick="aclActive();">{{$shortpermset}}</button>
+                                               <a class="jot-perms-lnk" id="jot-perms-lnk-mobile" onclick="aclActive(); return false;">{{$shortpermset}}</a>
                                        </li>
                                        {{/if}}
                                        {{if $preview}}
                                        <li role="menuitem">
-                                               <button type="button" class="btn btn-link jot-preview-lnk" id="jot-preview-lnk-mobile" onclick="previewActive();">{{$preview}}</button>
+                                               <a class="jot-preview-lnk" id="jot-preview-lnk-mobile" onclick="previewActive(); return false;">{{$preview}}</a>
                                        </li>
                                        {{/if}}
                                </ul>