Browse Source

Make menus clickable without JS

pull/12/head
falkTX 3 years ago
parent
commit
c6e1210c10
4 changed files with 10 additions and 8 deletions
  1. +2
    -1
      Applications.php
  2. +3
    -3
      News/themes/stardust/layouts/default.twig
  3. +2
    -1
      Plugins.php
  4. +3
    -3
      includes/header.php

+ 2
- 1
Applications.php View File

@@ -19,7 +19,8 @@ include_once("includes/header.php");
You might also want to check:
</p>
<ul>
<li><a href="<?php echo $ROOT; ?>/Repositories:Applications">Applications in the repositories</a></li>
<li><a href="<?php echo $ROOT; ?>/Plugins">Plugins from the KXStudio Team</a></li>
<li><a href="<?php echo $ROOT; ?>/Repositories:Applications">Applications in the KXStudio repositories</a></li>
</ul>
<br/>
</div>


+ 3
- 3
News/themes/stardust/layouts/default.twig View File

@@ -101,9 +101,9 @@ ${ trigger.call("head") }
<a id="header-home" href="/" style="font-size:1.2em">Home</a>
<ul id="global-navigation">
<li id="item-news"><a href="/News">News</a></li>
<li id="item-soft"><a href="#" onClick="return itemSoftwareClicked(event);">Software &#9660;</a></li>
<li id="item-repos"><a href="#" onClick="return itemRepositoriesClicked(event);">Repositories &#9660;</a></li>
<li id="item-community"><a href="#" onClick="return itemCommunityClicked(event);">Community &#9660;</a></li>
<li id="item-soft"><a href="/Applications" onClick="return itemSoftwareClicked(event);">Software &#9660;</a></li>
<li id="item-repos"><a href="/Repositories" onClick="return itemRepositoriesClicked(event);">Repositories &#9660;</a></li>
<li id="item-community"><a href="/Documentation" onClick="return itemCommunityClicked(event);">Community &#9660;</a></li>
<li id="item-documentation"><a href="/Documentation">Documentation</a></li>
<li id="item-donate"><a href="/Donations">Donations</a></li>
<li id="item-downloads"><a href="/Downloads">Downloads</a></li>


+ 2
- 1
Plugins.php View File

@@ -15,7 +15,8 @@ include_once("includes/header.php");
You might also want to check:
</p>
<ul>
<li><a href="<?php echo $ROOT; ?>/Repositories:Plugins">Plugins in the repositories</a></li>
<li><a href="<?php echo $ROOT; ?>/Applications">Applications from the KXStudio Team</a></li>
<li><a href="<?php echo $ROOT; ?>/Repositories:Plugins">Plugins in the KXStudio repositories</a></li>
</ul>
<br/>
</div>


+ 3
- 3
includes/header.php View File

@@ -187,9 +187,9 @@ if ($PAGE_TYPE != "PASTE" && $PAGE_TYPE != "DONATIONS" && $PAGE_TYPE != "NAMESPA
<a id="header-home" href="<?php echo $ROOT; ?>/" style="font-size:1.2em">Home</a>
<ul id="global-navigation">
<li id="item-news"><a href="<?php echo $ROOT; ?>/News">News</a></li>
<li id="item-soft"><a href="#" onClick="return itemSoftwareClicked(event);">Software &#9660;</a></li>
<li id="item-repos"><a href="#" onClick="return itemRepositoriesClicked(event);">Repositories &#9660;</a></li>
<li id="item-community"><a href="#" onClick="return itemCommunityClicked(event);">Community &#9660;</a></li>
<li id="item-soft"><a href="<?php echo $ROOT; ?>/Applications" onClick="return itemSoftwareClicked(event);">Software &#9660;</a></li>
<li id="item-repos"><a href="<?php echo $ROOT; ?>/Repositories" onClick="return itemRepositoriesClicked(event);">Repositories &#9660;</a></li>
<li id="item-community"><a href="<?php echo $ROOT; ?>/Documentation" onClick="return itemCommunityClicked(event);">Community &#9660;</a></li>
<li id="item-documentation"><a href="<?php echo $ROOT; ?>/Documentation">Documentation</a></li>
<li id="item-donate"><a href="<?php echo $ROOT; ?>/Donations">Donations</a></li>
<li id="item-downloads"><a href="<?php echo $ROOT; ?>/Downloads">Downloads</a></li>


Loading…
Cancel
Save