157 Zeilen
5,4 KiB
HTML
157 Zeilen
5,4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
"http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<title>{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" />
|
|
<script type="text/javascript" src="scripts/rowMark.js"></script>
|
|
<script type="text/javascript" src="scripts/general.js"></script>
|
|
<script type="text/javascript" src="scripts/messageBox.js.php?{SESSNAME}={SESSID}"></script>
|
|
<script type="text/javascript" src="scripts/articleObject.js.php?{SESSNAME}={SESSID}"></script>
|
|
<script type="text/javascript">
|
|
<!--
|
|
/* Contenido Session-ID */
|
|
var sid = "{SESSID}";
|
|
|
|
/* New messageBox instance */
|
|
box = new messageBox("", "", "", 0, 0);
|
|
|
|
/* Function for deleting articles */
|
|
function deleteArticle(idart, idcat) {
|
|
var url = "main.php?area=con&action=con_deleteart&frame=4&idcat="+idcat+"&idart="+idart+"&{SESSNAME}="+sid;
|
|
window.location.href = url;
|
|
}
|
|
|
|
function setUsershow() {
|
|
document.forms['showusers'].setAttribute('action', document.forms['showusers'].getAttribute('action')+'&usershow='+document.showusers.usershow.value);
|
|
}
|
|
//-->
|
|
</script>
|
|
|
|
</head>
|
|
<body style="margin: 10px;">
|
|
<div style="border: 1px solid #B3B3B3; background: #E2E2E2; margin: 0 0 10px 0; padding: 2px; vertical-ailgn:middle; line-height:20px;">
|
|
<div style="float:right; width:400px; text-align:right;">{USERSELECT}</div>
|
|
{PAGE_TITLE}
|
|
<div style="clear:both;"></div>
|
|
</div>
|
|
|
|
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="bordered" style="display:{DISPLAY}">
|
|
<tr>
|
|
<td width="1%" class="headerbordercell" nowrap="nowrap">{TH_START}</td>
|
|
<td width="100%" class="headerbordercell" nowrap="nowrap">{TH_TITLE}</td>
|
|
<td width="100%" class="headerbordercell" nowrap="nowrap">{TH_WORKFLOW_STEP}</td>
|
|
<td width="1%" class="headerbordercell" nowrap="nowrap">{TH_WORKFLOW_ACTION}</td>
|
|
<td width="1%" class="headerbordercell" nowrap="nowrap">{TH_WORKFLOW_EDITOR}</td>
|
|
<td width="1%" class="headerbordercell" nowrap="nowrap">{TH_LAST_STATUS}</td>
|
|
<td width="1%" class="headerbordercell" nowrap="nowrap">{TH_TEMPLATE}</td>
|
|
<td width="1%" class="headerbordercell" nowrap="nowrap">{TH_ACTIONS}</td>
|
|
</tr>
|
|
|
|
<!-- BEGIN:BLOCK -->
|
|
<tr id="{ROWID}" class="text_medium" style="{BGCOLOR}" onmouseover="artRow.over(this)" onmouseout="artRow.out(this)" onclick="artRow.click(this)">
|
|
<td nowrap="nowrap" class="bordercell">{START}</td>
|
|
<td nowrap="nowrap" class="bordercell">{TITLE}</td>
|
|
<td nowrap="nowrap" class="bordercell">{WORKFLOW_STEP}</td>
|
|
<td nowrap="nowrap" class="bordercell">{WORKFLOW_ACTION}</td>
|
|
<td nowrap="nowrap" class="bordercell">{WORKFLOW_EDITOR}</td>
|
|
<td nowrap="nowrap" class="bordercell">{LAST_STATUS}</td>
|
|
<td nowrap="nowrap" class="bordercell">{TEMPLATE}</td>
|
|
<td nowrap="nowrap" class="bordercell">{ACTIONS}</td>
|
|
</tr>
|
|
<!-- END:BLOCK -->
|
|
|
|
{NO_ARTICLES_ROW}
|
|
|
|
</table>
|
|
|
|
|
|
<script type="text/javascript">
|
|
<!--
|
|
rcount = 0;
|
|
|
|
/* Update frame right top for sub navigation */
|
|
{SUBNAVI}
|
|
|
|
/* Create a reference to the Article Object in frame 'right_top' */
|
|
artObj = parent.parent.frames["left"].frames["left_top"].artObj;
|
|
|
|
/* Reset article object
|
|
properties. e.g. Some article was edited and we are now back in the
|
|
overview mask. There is now no marked article, the articleObject data
|
|
should be reset. */
|
|
if ( artObj ) {
|
|
artObj.reset();
|
|
artObj.enable();
|
|
artObj.setHrefOverview(document.location.href);
|
|
}
|
|
|
|
/* Timeout to call the function afer 250ms */
|
|
window.setTimeout("createReference()", 250);
|
|
|
|
/* Javascript-Error work-around... try to create the reference after
|
|
250ms again... and hope it works.. */
|
|
function createReference() {
|
|
if( !artObj ) {
|
|
artObj=parent.parent.frames["left"].frames["left_top"].artObj;
|
|
if( artObj ) {
|
|
artObj.reset();
|
|
artObj.enable();
|
|
artObj.setHrefOverview(document.location.href);
|
|
}
|
|
}
|
|
if( !artObj ) {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
/* Extract data from the article grid and send
|
|
them to the articleObject Instance. The data is stored in the
|
|
attribute 'id' of the row object. */
|
|
function conArtOverviewExtractData( obj ) {
|
|
if( !artObj ) {
|
|
var rval=createReference();
|
|
if (rval== false) {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
var datastring=obj.id;
|
|
var data=datastring.split( "-" );
|
|
|
|
if ( data.length== 6 ) {
|
|
/* Send data to articleObject instance:
|
|
0: idart
|
|
1: idartlang
|
|
2: idcat
|
|
3: idcatlang
|
|
5: idcatart */
|
|
|
|
artObj.setProperties(data[0], data[1], data[2], data[3], data[4], data[5]);
|
|
}
|
|
return true;
|
|
}
|
|
|
|
/* Mark the first submenu item i.e. 'Overview' */
|
|
if( parent.parent.frames['right'].frames['right_top'].document.getElementById('c_0') ) {
|
|
menuItem=parent.parent.frames['right'].frames['right_top'].document.getElementById('c_0');
|
|
parent.parent.frames['right'].frames['right_top'].sub.click(menuItem);
|
|
}
|
|
|
|
function initTheOne() {
|
|
var theOne = document.getElementById("{FIRST_ROWID}");
|
|
artRow.reset();
|
|
artRow.over( theOne );
|
|
artRow.click( theOne )
|
|
}
|
|
initTheOne();
|
|
//-->
|
|
</script>
|
|
</body>
|
|
</html>
|