-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from AlexanderKaschta/development
Version 1.1.0
- Loading branch information
Showing
25 changed files
with
269 additions
and
101 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
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
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 +1,5 @@ | ||
Options -Indexes | ||
Options -Indexes | ||
|
||
<Files config.php> | ||
Require all denied | ||
</Files> |
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
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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Options -Indexes | ||
|
||
Require all denied | ||
|
||
<Files action_page.php> | ||
Require all granted | ||
</Files> |
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?php | ||
require_once("core/config.php"); | ||
$creation_year = RELEASE_YEAR; | ||
$current_year = date("Y"); | ||
|
||
$anzahl = 0; | ||
|
||
if (SHOW_GITHUB) { | ||
$anzahl++; | ||
} | ||
|
||
if (SHOW_IMPRINT) { | ||
$anzahl++; | ||
} | ||
|
||
if (SHOW_DSGVO) { | ||
$anzahl++; | ||
} | ||
|
||
if (SHOW_SCHOOL_LINK) { | ||
$anzahl++; | ||
} | ||
|
||
$width = 12 / $anzahl; | ||
|
||
?> | ||
|
||
<footer class="text-muted"> | ||
<div class="container"> | ||
<p><b>WeidigWahl | Ein Wahlsystem für die <?php echo SCHOOL; ?></b></p> | ||
<p>© <?php echo $creation_year . (($creation_year != $current_year) ? '-' . $current_year : '') . " " . SCHOOL; ?></p> | ||
<hr class="col-xs-12"> | ||
<div class="row"> | ||
<?php | ||
|
||
if (SHOW_SCHOOL_LINK) { | ||
echo '<div class="col-md-'.$width.'"><a href="'.SCHOOL_LINK.'" class="text-muted">Schule</a></div>'; | ||
} | ||
if (SHOW_GITHUB) { | ||
echo '<div class="col-md-'.$width.'"><a href="'.GITHUB_LINK.'" class="text-muted">GitHub</a></div>'; | ||
} | ||
if (SHOW_IMPRINT) { | ||
echo '<div class="col-md-'.$width.'"><a href="'.IMPRINT_LINK.'" class="text-muted">Impressum</a></div>'; | ||
} | ||
if (SHOW_DSGVO) { | ||
echo '<div class="col-md-'.$width.'"><a href="'.DSGVO_LINK.'" class="text-muted">Datenschutz</a></div>'; | ||
} | ||
|
||
?> | ||
</div> | ||
</div> | ||
</footer> |
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
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
Binary file not shown.
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
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
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
Oops, something went wrong.