Remove the use of `WCF::getAnchor()` in examples
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 22 Nov 2021 12:56:33 +0000 (13:56 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 22 Nov 2021 12:56:33 +0000 (13:56 +0100)
see WoltLab/WCF#4580

docs/view/templates.md

index 8fc29e58c9735ab9f0b539b8a331ecad2fa32440..dc244e66c7cb0e919f210a1b6f8bd2ab6016cae3 100644 (file)
@@ -126,8 +126,8 @@ More information about installing templates can be found on those pages.
 <div class="section tabMenuContainer">
        <nav class="tabMenu">
                <ul>
-                       <li><a href="{@$__wcf->getAnchor('tab1')}">Tab 1</a></li>
-                       <li><a href="{@$__wcf->getAnchor('tab2')}">Tab 2</a></li>
+                       <li><a href="#tab1">Tab 1</a></li>
+                       <li><a href="#tab2">Tab 2</a></li>
                        
                        {event name='tabMenuTabs'}
                </ul>
@@ -142,8 +142,8 @@ More information about installing templates can be found on those pages.
        <div id="tab2" class="tabMenuContainer tabMenuContent">
                <nav class="menu">
                        <ul>
-                               <li><a href="{@$__wcf->getAnchor('tab2A')}">Tab 2A</a></li>
-                               <li><a href="{@$__wcf->getAnchor('tab2B')}">Tab 2B</a></li>
+                               <li><a href="#tab2A">Tab 2A</a></li>
+                               <li><a href="#tab2B">Tab 2B</a></li>
                                
                                {event name='tabMenuTab2Subtabs'}
                        </ul>