generated from seqan/app-template
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin | ||
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
/* SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin | ||
SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik | ||
SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
/* Jongkyu Kim ([email protected]), 2016.01.12 | ||
Adaptations by Enrico Seiler ([email protected]), 2020 */ | ||
|
||
|
@@ -47,7 +47,7 @@ function addVersionSelection(arr) | |
version_select.addEventListener("change", function(){changeVersion(this.id);}, false); | ||
|
||
// current selection is.. | ||
cur_sel = window.location.pathname.split("/")[2]; | ||
cur_sel = window.location.pathname.split("/").at(-2); | ||
|
||
for(i=0; i < arr.length; ++i) | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<?php | ||
|
||
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin | ||
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
/* | ||
SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin | ||
SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik | ||
SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
/* Jongkyu Kim([email protected]), 2016.01.12 | ||
Adaptations by Enrico Seiler ([email protected]), 2020 */ | ||
$LOCALDIR = "../"; | ||
|
@@ -12,6 +12,10 @@ | |
$list = array(); | ||
foreach( $files as $file ) | ||
{ | ||
if( !is_dir("$LOCALDIR/$file") ) // Skip files | ||
continue; | ||
if( strpos($file, "hidden_") !== FALSE ) // Skip directories starting with "hidden_" | ||
continue; | ||
if( $file[0] == "." ) // Skip current directory | ||
continue; | ||
|
||
|