diff options
author | Angelo Cuccato <cuccato@web.de> | 2010-11-23 10:28:02 +0100 |
---|---|---|
committer | Angelo Cuccato <cuccato@web.de> | 2010-11-23 10:28:02 +0100 |
commit | 1e4779938497a580217cf0e082730c731282cd69 (patch) | |
tree | c39215b0c0beab7e099e276ffd6b0d6485d7075a /includes/funktion_xml_schudle.php | |
parent | 3b6e2b24b10ac6230f4f722e015b2c03b49e5dbb (diff) |
check link before show
Diffstat (limited to 'includes/funktion_xml_schudle.php')
-rwxr-xr-x | includes/funktion_xml_schudle.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/funktion_xml_schudle.php b/includes/funktion_xml_schudle.php index f6931301..4ef0a42f 100755 --- a/includes/funktion_xml_schudle.php +++ b/includes/funktion_xml_schudle.php @@ -259,7 +259,7 @@ foreach($XMLmain->sub as $EventKey => $Event) } else { - echo "\t<td><a href=\"./schichtplan.php?action=change&SID=$SIDDB\">edit</a></td>\n"; + echo "\t<td>". funktion_isLinkAllowed_addLink_OrLinkText("admin/schichtplan.php?action=change&SID=".$SIDDB, "edit"). "</td>\n"; $DS_OK++; } echo "\t</tr>\n"; @@ -299,7 +299,8 @@ if(mysql_num_rows($Erg2)>0 && $EnableSchudleDB ) "<input name=\"LenDB\" type=\"text\" value=\"$Len\" size=\"1\"readonly></td>\n"; echo "\t<td><input name=\"ManXML\" type=\"text\" value=\"\" size=\"40\"readonly>\n\t\t". "<input name=\"ManDB\" type=\"text\" value=\"$Man\" size=\"40\"readonly></td>\n"; - echo "\t<td><a href=\"./schichtplan.php?action=change&SID=$SID\">edit</a></td>\n"; + echo "\t<td>". funktion_isLinkAllowed_addLink_OrLinkText( "admin/schichtplan.php?action=change&SID=".$SID, "edit"). + "</td>\n"; echo "\t<tr>\n"; } echo "</table>"; |