parent
8a06c55f75
commit
50553924d4
@ -1,106 +0,0 @@
|
||||
var display_url;
|
||||
function createMenu (menuname, items, links)
|
||||
{
|
||||
document.writeln('<div id="' + menuname + '" class="skin0" onMouseover="highlightie5(event)" onMouseout="lowlightie5(event)" onClick="jumptoie5(event)" display:none>');
|
||||
document.writeln('<div class="skin1">Context Menu</div>');
|
||||
for (var i = 0; i < items.length; i++)
|
||||
{
|
||||
if (items[i] == "--")
|
||||
{
|
||||
document.writeln('<hr style="line-height:4px;border: 0px;border-bottom:1px;border-color: black; border-style: solid;">');
|
||||
} else {
|
||||
document.writeln('<div class="menuitems" url="' + links[i] + '">' + items[i] + '</div>');
|
||||
}
|
||||
}
|
||||
|
||||
document.writeln('</div>');
|
||||
document.getElementById(menuname).style.display = '';
|
||||
}
|
||||
|
||||
var ie5 = document.all && document.getElementById
|
||||
var ns6 = document.getElementById && !document.all
|
||||
if (ie5 || ns6)
|
||||
//var menuobj=document.getElementById("ie5menu")
|
||||
|
||||
function showmenuie5(e){
|
||||
|
||||
if (ie5)
|
||||
{
|
||||
menuobj = document.getElementById(window.event.srcElement.getAttribute("helpid"));
|
||||
} else
|
||||
{
|
||||
menuobj = document.getElementById(e.target.getAttribute("helpid"));
|
||||
}
|
||||
|
||||
|
||||
//Find out how close the mouse is to the corner of the window
|
||||
var rightedge = ie5? document.body.clientWidth - event.clientX : window.innerWidth - e.clientX
|
||||
var bottomedge = ie5? document.body.clientHeight - event.clientY : window.innerHeight - e.clientY
|
||||
|
||||
//if the horizontal distance isn't enough to accomodate the width of the context menu
|
||||
if (rightedge < menuobj.offsetWidth)
|
||||
//move the horizontal position of the menu to the left by it's width
|
||||
menuobj.style.left = ie5? document.body.scrollLeft + event.clientX - menuobj.offsetWidth : window.pageXOffset + e.clientX - menuobj.offsetWidth
|
||||
else
|
||||
//position the horizontal position of the menu where the mouse was clicked
|
||||
menuobj.style.left = ie5? document.body.scrollLeft + event.clientX : window.pageXOffset + e.clientX
|
||||
|
||||
//same concept with the vertical position
|
||||
if (bottomedge < menuobj.offsetHeight)
|
||||
menuobj.style.top = ie5? document.body.scrollTop + event.clientY - menuobj.offsetHeight : window.pageYOffset + e.clientY - menuobj.offsetHeight
|
||||
else
|
||||
menuobj.style.top = ie5? document.body.scrollTop + event.clientY : window.pageYOffset + e.clientY
|
||||
|
||||
menuobj.style.visibility = "visible"
|
||||
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
function hidemenuie5(e){
|
||||
if (typeof menuobj == "object")
|
||||
{
|
||||
menuobj.style.visibility = "hidden"
|
||||
}
|
||||
}
|
||||
|
||||
function highlightie5(e){
|
||||
var firingobj = ie5? event.srcElement : e.target
|
||||
if (firingobj.className == "menuitems" || ns6 && firingobj.parentNode.className == "menuitems"){
|
||||
if (ns6 && firingobj.parentNode.className == "menuitems") firingobj = firingobj.parentNode //up one node
|
||||
firingobj.style.backgroundColor = "#F4F8BD"
|
||||
firingobj.style.color = "black"
|
||||
firingobj.style.cursor = "pointer"
|
||||
if (display_url == 1)
|
||||
window.status = event.srcElement.url
|
||||
}
|
||||
}
|
||||
|
||||
function lowlightie5(e){
|
||||
var firingobj = ie5? event.srcElement : e.target
|
||||
if (firingobj.className == "menuitems" || ns6 && firingobj.parentNode.className == "menuitems"){
|
||||
if (ns6 && firingobj.parentNode.className == "menuitems") firingobj = firingobj.parentNode //up one node
|
||||
firingobj.style.backgroundColor = ""
|
||||
firingobj.style.color = "black"
|
||||
window.status = ''
|
||||
}
|
||||
}
|
||||
|
||||
function jumptoie5(e){
|
||||
var firingobj = ie5? event.srcElement : e.target
|
||||
if (firingobj.className == "menuitems" || ns6 && firingobj.parentNode.className == "menuitems"){
|
||||
if (ns6 && firingobj.parentNode.className == "menuitems") firingobj = firingobj.parentNode
|
||||
if (firingobj.getAttribute("target"))
|
||||
window.open(firingobj.getAttribute("url"), firingobj.getAttribute("target"))
|
||||
else
|
||||
window.location = firingobj.getAttribute("url")
|
||||
}
|
||||
}
|
||||
|
||||
var menuobj;
|
||||
if (ie5 || ns6){
|
||||
//menuobj.style.display=''
|
||||
document.oncontextmenu = showmenuie5
|
||||
document.onclick = hidemenuie5
|
||||
}
|
@ -1,227 +1,229 @@
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<link rel="stylesheet" type="text/css" href="styles/contenido.css">
|
||||
|
||||
<style type="text/css">@import url(scripts/jscalendar/calendar-contenido.css);</style>
|
||||
<script type="text/javascript" src="scripts/jscalendar/calendar.js"></script>
|
||||
<script type="text/javascript" src="scripts/jscalendar/lang/calendar-{CAL_LANG}.js"></script>
|
||||
<script type="text/javascript" src="scripts/jscalendar/calendar-setup.js"></script>
|
||||
|
||||
<script type="text/javascript" src="scripts/messageBox.js.php?contenido={SID}"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var sid = "{SID}";
|
||||
box = new messageBox("", "", "", 0, 0);
|
||||
|
||||
function removeAssignments(idart, idcat) {
|
||||
url = 'main.php?area=con_editart';
|
||||
url += '&action=remove_assignments';
|
||||
url += '&frame=4';
|
||||
url += '&idart=' + idart;
|
||||
url += '&idcat=' + idcat;
|
||||
url += '&contenido=' + sid;
|
||||
window.location.href = url;
|
||||
}
|
||||
|
||||
function disableFunctionsOnTimeControl()
|
||||
{
|
||||
// Timecontrol enabled => disable Online and Startaticle
|
||||
if(document.getElementById("timemgmt").checked == true)
|
||||
{
|
||||
document.getElementById("is_start").checked = false;
|
||||
document.getElementById("is_start").disabled = true;
|
||||
<head>
|
||||
<title></title>
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<link rel="stylesheet" type="text/css" href="styles/contenido.css">
|
||||
|
||||
<style type="text/css">@import url(scripts/jscalendar/calendar-contenido.css);</style>
|
||||
<script type="text/javascript" src="scripts/jscalendar/calendar.js"></script>
|
||||
<script type="text/javascript" src="scripts/jscalendar/lang/calendar-{CAL_LANG}.js"></script>
|
||||
<script type="text/javascript" src="scripts/jscalendar/calendar-setup.js"></script>
|
||||
|
||||
<script type="text/javascript" src="scripts/messageBox.js.php?contenido={SID}"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var sid = "{SID}";
|
||||
box = new messageBox("", "", "", 0, 0);
|
||||
|
||||
function removeAssignments(idart, idcat) {
|
||||
url = 'main.php?area=con_editart';
|
||||
url += '&action=remove_assignments';
|
||||
url += '&frame=4';
|
||||
url += '&idart=' + idart;
|
||||
url += '&idcat=' + idcat;
|
||||
url += '&contenido=' + sid;
|
||||
window.location.href = url;
|
||||
}
|
||||
|
||||
function disableFunctionsOnTimeControl()
|
||||
{
|
||||
// Timecontrol enabled => disable Online and Startaticle
|
||||
if (document.getElementById("timemgmt").checked == true)
|
||||
{
|
||||
document.getElementById("is_start").checked = false;
|
||||
document.getElementById("is_start").disabled = true;
|
||||
if (document.getElementById("datestart").value != '') {
|
||||
document.getElementById("online").checked = false;
|
||||
document.getElementById("online").disabled = true;
|
||||
}
|
||||
}
|
||||
// Timecontrol disable => enable Online and Startarticle
|
||||
else
|
||||
{
|
||||
document.getElementById("is_start").disabled = false;
|
||||
}
|
||||
// Timecontrol disable => enable Online and Startarticle
|
||||
else
|
||||
{
|
||||
document.getElementById("is_start").disabled = false;
|
||||
document.getElementById("online").disabled = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (document.getElementById("datestart").value == '') {
|
||||
document.getElementById("online").disabled = false;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body style="margin: 10px" onload="disableFunctionsOnTimeControl()">
|
||||
|
||||
<div class="categorypath">{CATEGORY}</div>
|
||||
|
||||
<form method="post" name="art_props" action="{ACTION}">
|
||||
|
||||
<input type="hidden" name="action" value="con_saveart">
|
||||
{HIDDENSESSION}
|
||||
{HIDDENFIELDS}
|
||||
<input type="hidden" name="tmp_firstedit" value="{TMP_FIRSTEDIT}">
|
||||
<input type="hidden" name="idart" value="{IDART}">
|
||||
<input type="hidden" name="idcat" value="{IDCAT}">
|
||||
<input type="hidden" name="idartlang" value="{IDARTLANG}">
|
||||
|
||||
<table cellspacing="0" cellpadding="2" border="0">
|
||||
|
||||
{NOTIFICATION}
|
||||
|
||||
<tr valign="top">
|
||||
<td class="text_medium" style="border: 1px;border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{TITEL}</td>
|
||||
<td colspan="3" class="text_medium" style="border: 1px; border-left:0px; border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{TITEL-FIELD}</td>
|
||||
</tr>
|
||||
|
||||
<!-- plugin Advanced Mod Rewrite - edit by stese //-->
|
||||
<tr valign="top">
|
||||
<td class="text_medium" style="border:1px; border-top:0px; border-color:#B3B3B3; border-style:solid; background-color:#fff">{URLNAME}</td>
|
||||
<td colspan="3" class="text_medium" style="border: 1px; border-top:0px; border-left:0px; border-color: #B3B3B3; border-style: solid; background-color:#fff">{URLNAME-FIELD}</td>
|
||||
</tr>
|
||||
<!-- end plugin Advanced Mod Rewrite //-->
|
||||
|
||||
<tr valign="top">
|
||||
<td width="25%" class="text_medium" style="border: 1px; border-top: 0px; border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{DIRECTLINKTEXT}</td>
|
||||
<td width="75%" colspan="3" class="text_medium" style="border: 1px; border-top: 0px; border-left:0px; border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{DIRECTLINK}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr valign="top">
|
||||
<td width="25%" class="text_medium" style="border: 1px;border-top: 0px; border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{ARTIKELART}</td>
|
||||
<td width="75%" colspan="3" class="text_medium" style="border: 1px; border-top: 0px; border-left:0px; border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{ARTIKELARTSELECT}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr valign="top">
|
||||
<td width="25%" class="text_medium" style="border: 1px; border-top: 0px; border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{ARTIKELID}</td>
|
||||
<td width="25%" class="text_medium" style="border: 1px; border-top: 0px; border-left:0px; border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{ARTID}</td>
|
||||
<td width="25%" class="text_medium" style="border: 1px;border-top: 0px; border-left:0px; border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{ZUORDNUNGSID}</td>
|
||||
<td width="25%" class="text_medium" style="border: 1px; border-top: 0px; border-left:0px;border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{ALLOCID}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr valign="top">
|
||||
<td width="25%" class="text_medium" style="border: 1px; border-top: 0px; border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{ERSTELLT}</td>
|
||||
<td width="25%" class="text_medium" style="border: 1px; border-top: 0px; border-left:0px; border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{ERSTELLUNGS-DATUM}</td>
|
||||
<td width="25%" class="text_medium" style="border: 1px;border-top: 0px; border-left:0px; border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{AUTHOR_CREATOR}</td>
|
||||
<td width="25%" class="text_medium" style="border: 1px; border-top: 0px; border-left:0px;border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{AUTOR-ERSTELLUNGS-NAME}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr valign="top">
|
||||
<td class="text_medium" style="border: 1px;border-top: 0px; border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{LETZTE-AENDERUNG}</td>
|
||||
<td class="text_medium" style="border: 1px; border-top: 0px; border-left:0px;border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{AENDERUNGS-DATUM}</td>
|
||||
<td class="text_medium" style="border: 1px; border-top: 0px; border-left:0px;border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{AUTHOR_MODIFIER}</td>
|
||||
<td class="text_medium" style="border: 1px; border-top: 0px; border-left:0px;border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{AUTOR-AENDERUNG-NAME}</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td class="text_medium" style="border: 1px;border-top: 0px; border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{PUBLISHING_DATE_LABEL}</td>
|
||||
<td class="text_medium" style="border: 1px; border-top: 0px; border-left:0px;border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{PUBLISHING_DATE}</td>
|
||||
<td class="text_medium" style="border: 1px; border-top: 0px; border-left:0px;border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{PUBLISHER}</td>
|
||||
<td class="text_medium" style="border: 1px; border-top: 0px; border-left:0px;border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{PUBLISHER_NAME}</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td class="text_medium" style="border: 1px;border-top: 0px; border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">{WEITERLEITUNG}</td>
|
||||
<td valign="bottom" colspan="3" class="text_medium" style="border: 1px; border-top: 0px; border-left:0px;border-color: #B3B3B3; border-style: solid; background-color: #FFFFFF">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body style="margin: 10px" onload="disableFunctionsOnTimeControl()">
|
||||
|
||||
<div class="categorypath">{CATEGORY}</div>
|
||||
|
||||
<form method="post" name="art_props" action="{ACTION}">
|
||||
|
||||
<input type="hidden" name="action" value="con_saveart">
|
||||
{HIDDENSESSION}
|
||||
{HIDDENFIELDS}
|
||||
<input type="hidden" name="tmp_firstedit" value="{TMP_FIRSTEDIT}">
|
||||
<input type="hidden" name="idart" value="{IDART}">
|
||||
<input type="hidden" name="idcat" value="{IDCAT}">
|
||||
<input type="hidden" name="idartlang" value="{IDARTLANG}">
|
||||
|
||||
<table cellspacing="0" cellpadding="2" border="0">
|
||||
|
||||