Browse Source

Replace "Support" menu with single "Documentation" link

pull/4/head
falkTX 9 years ago
parent
commit
338241f1a8
3 changed files with 3 additions and 17 deletions
  1. +1
    -6
      News/themes/stardust/layouts/default.twig
  2. +1
    -10
      includes/header.php
  3. +1
    -1
      index.php

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

@@ -23,7 +23,6 @@ ${ trigger.call("head") }
function closeAllMenus(){
var objSoftwareMenu = document.getElementById("div_menuSoftware");
var objRepositoriesMenu = document.getElementById("div_menuRepositories");
var objSupportMenu = document.getElementById("div_menuSupport");
var objCommunityMenu = document.getElementById("div_menuCommunity");

if (objSoftwareMenu.style.visibility == "visible")
@@ -32,9 +31,6 @@ ${ trigger.call("head") }
if (objRepositoriesMenu.style.visibility == "visible")
objRepositoriesMenu.style.visibility = "hidden";

if (objSupportMenu.style.visibility == "visible")
objSupportMenu.style.visibility = "hidden";

if (objCommunityMenu.style.visibility == "visible")
objCommunityMenu.style.visibility = "hidden";
};
@@ -65,7 +61,6 @@ ${ trigger.call("head") }

function itemSoftwareClicked(event) { return menuItemClicked(event, document.getElementById("div_menuSoftware"), "item-soft"); };
function itemRepositoriesClicked(event){ return menuItemClicked(event, document.getElementById("div_menuRepositories"), "item-repos"); };
function itemSupportClicked(event) { return menuItemClicked(event, document.getElementById("div_menuSupport"), "item-support"); };
function itemCommunityClicked(event) { return menuItemClicked(event, document.getElementById("div_menuCommunity"), "item-community"); };

</script>
@@ -107,8 +102,8 @@ ${ trigger.call("head") }
<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-support"><a href="#" onClick="return itemSupportClicked(event);">Support &#9660;</a></li>
<li id="item-community"><a href="#" 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>
<li id="item-paste"><a href="/Paste">Paste</a></li>


+ 1
- 10
includes/header.php View File

@@ -75,7 +75,6 @@ if ($PAGE_TYPE != "PASTE" && $PAGE_TYPE != "DONATIONS" && $PAGE_TYPE != "NAMESPA
function closeAllMenus(){
var objSoftwareMenu = document.getElementById("div_menuSoftware");
var objRepositoriesMenu = document.getElementById("div_menuRepositories");
var objSupportMenu = document.getElementById("div_menuSupport");
var objCommunityMenu = document.getElementById("div_menuCommunity");

if (objSoftwareMenu.style.visibility == "visible")
@@ -84,9 +83,6 @@ if ($PAGE_TYPE != "PASTE" && $PAGE_TYPE != "DONATIONS" && $PAGE_TYPE != "NAMESPA
if (objRepositoriesMenu.style.visibility == "visible")
objRepositoriesMenu.style.visibility = "hidden";

if (objSupportMenu.style.visibility == "visible")
objSupportMenu.style.visibility = "hidden";

if (objCommunityMenu.style.visibility == "visible")
objCommunityMenu.style.visibility = "hidden";
};
@@ -117,7 +113,6 @@ if ($PAGE_TYPE != "PASTE" && $PAGE_TYPE != "DONATIONS" && $PAGE_TYPE != "NAMESPA

function itemSoftwareClicked(event) { return menuItemClicked(event, document.getElementById("div_menuSoftware"), "item-soft"); };
function itemRepositoriesClicked(event){ return menuItemClicked(event, document.getElementById("div_menuRepositories"), "item-repos"); };
function itemSupportClicked(event) { return menuItemClicked(event, document.getElementById("div_menuSupport"), "item-support"); };
function itemCommunityClicked(event) { return menuItemClicked(event, document.getElementById("div_menuCommunity"), "item-community"); };

</script>
@@ -178,10 +173,6 @@ if ($PAGE_TYPE != "PASTE" && $PAGE_TYPE != "DONATIONS" && $PAGE_TYPE != "NAMESPA
<p><a href="<?php echo $ROOT; ?>/Repositories:Applications">Applications (in Repo)</a></p>
<p><a href="<?php echo $ROOT; ?>/Repositories:Plugins">Plugins (in Repo)</a></p>
</div>
<!-- Support sub menu -->
<div id="div_menuSupport" class="div_menuDropdown">
<p><a href="<?php echo $ROOT; ?>/Documentation">Documentation</a></p>
</div>
<!-- Community sub menu -->
<div id="div_menuCommunity" class="div_menuDropdown">
<p><a href="http://webchat.freenode.net/?channels=#kxstudio,#opensourcemusicians"><img src="<?php echo $ROOT; ?>/images/ico_chat.png" class="external" rel="nofollow" target="_blank" alt=""/> &nbsp; Chat</a></p>
@@ -203,8 +194,8 @@ if ($PAGE_TYPE != "PASTE" && $PAGE_TYPE != "DONATIONS" && $PAGE_TYPE != "NAMESPA
<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-support"><a href="#" onClick="return itemSupportClicked(event);">Support &#9660;</a></li>
<li id="item-community"><a href="#" 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>
<li id="item-paste"><a href="<?php echo $ROOT; ?>/Paste">Paste</a></li>


+ 1
- 1
index.php View File

@@ -8,7 +8,7 @@ include_once("includes/header.php");

<p>
KXStudio is a collection of applications and plugins for professional audio production.<br/>
KXStudio provides Debian and Ubuntu compatible repositories and its own Linux Distribution currently based on Ubuntu 12.04.3 LTS.
KXStudio provides Debian and Ubuntu compatible repositories and its own Linux Distribution currently based on Ubuntu 14.04.2 LTS.
</p>

<p>


Loading…
Cancel
Save