Location: PHPKode > projects > OpenCollab > openc/templates/tpl.container.php
<?php $idnr = $VAR['containerid'].'_'.$VAR['containernr']; ?>
<form method='post' target='formiframe' id='form_<?php echo $idnr;?>'>

<div id='c2_<?= $idnr; ?>' onMouseOver="if(!setEdit) { showEditButtons('<?= $idnr;?>'); }" style="border-bottom:1px solid white;">
<table width='100%' cellspacing=0 cellpadding=0><tr><td valign=top>
	<input type='hidden' name='sendform[id]' value='<?php echo $VAR['containerid'];?>'>
	<input type='hidden' name='sendform[nr]' value='<?php echo $VAR['containernr'];?>'>
	<input type='hidden' name='sendform[tpl]' value='<?php echo $VAR['containertpl'];?>'>
	
	<div style='' id='c_<?php echo $idnr;?>'>
	
	<?php echo $VAR['content'];?>
	
	</div>
</td>
<td align='right' valign='bottom'>

	<div style='height:20px;display:none;' id='c3_<?= $idnr; ?>'>
		<div style='display:block;' id='b1_<?php echo $idnr;?>'>
		<a href='#' onClick="setEdit=true;hideShow('b1_<?php echo $idnr;?>','b2_<?php echo $idnr;?>');xajax_doEdit('<?php echo $VAR['containerid'];?>', '<?php echo $VAR['containernr'];?>', '<?php echo $VAR['containertpl']; ?>');setCloseConfirmation(true);return(false);">[<?= language::trans('bearbeiten');?>]</a>
		<?php if($VAR['multiple']==1) { ?>
			<a href='#' onClick="xajax_doAdd('<?php echo $VAR['containerid'];?>', '<?php echo $VAR['containernr'];?>', '<?php echo $VAR['containertpl']; ?>');return(false);">[<?= language::trans('anf&uuml;gen');?>]</a>
		<?php } ?>
		<!--  <a href=''>[l&ouml;schen]</a> -->
		</div>
		<div style='display:none;' id='b2_<?php echo $idnr;?>'>
		<a href='#' onClick="setEdit=false;hideShow('b2_<?php echo $idnr;?>','b1_<?php echo $idnr;?>');document.getElementById('form_<?php echo $idnr;?>').submit();setCloseConfirmation(false);return(false);">[<?= language::trans('speichern');?>]</a> 
		<a href='#' onClick="setEdit=false;hideShow('b2_<?php echo $idnr;?>','b1_<?php echo $idnr;?>');xajax_cancelEdit('<?php echo $VAR['containerid'];?>', '<?php echo $VAR['containernr'];?>', '<?php echo $VAR['containertpl']; ?>');setCloseConfirmation(false);return(false);">[<?= language::trans('verwerfen');?>]</a>
		</div>
	</div>

</td></tr></table>
</div>
</form>

Return current item: OpenCollab