diff --git a/src/structure/components/com_sportsmanager/views/sportsmanager/view_tools.php b/src/structure/components/com_sportsmanager/views/sportsmanager/view_tools.php
index f582203..81c2765 100644
--- a/src/structure/components/com_sportsmanager/views/sportsmanager/view_tools.php
+++ b/src/structure/components/com_sportsmanager/views/sportsmanager/view_tools.php
@@ -17,22 +17,22 @@ function htmlentities_noquotes_utf8($s) {
function addOnLoad($function) {
?>
1 ? $typ_exploded[1] : "";
- $pfad = $sportsmanager_joomla_path . "/images/sportsmanager/" . $typ . "/" . $typ_prefix . $id . ".";
-
- if (is_file($pfad . "png"))
- $ext = "png";
- else if (is_file($pfad . "jpg"))
- $ext = "jpg";
- else if (!empty($alternativ)) {
- $id = $alternativ;
- $pfad = $sportsmanager_joomla_path . "/images/sportsmanager/" . $typ . "/" . $typ_prefix . $id . ".";
- if (is_file($pfad . "png"))
- $ext = "png";
- else if (is_file($pfad . "jpg"))
- $ext = "jpg";
- else
- return null;
- }
- else
- return null;
-
- $time = filemtime($pfad . $ext);
-
- $bildpfad = "images/sportsmanager/" . $typ . "/" . $typ_prefix . $id . "." . $ext;
-
-
- return '
';
-}
-
-function bildHTML($typ, $id, $fixed_width = 0, $fixed_height = 0, $max_width = 0, $max_height = 0, $zusatz = "", $alternativ = "") {
$typ_exploded = explode("/", $typ);
$typ = $typ_exploded[0];
$typ_prefix = count($typ_exploded) > 1 ? $typ_exploded[1] : "";
@@ -525,22 +481,22 @@ function lightBoxHeader($lightbox_class = "lightbox") {