Why I cannot delete monitors?
I am authenticaded as admin.
Is it a bug?
or has been disabled for security reasons?
thank you.
ZoneMinder is a great software!
/*************************************/
/* This little patch solves part of the problem */
/************************************/
--- old/zm/zm_html_view_console.php 2006-04-14 20:17:45.000000000 -0400
+++ new/zm/zm_html_view_console.php 2006-04-14 22:59:00.000000000 -0400
@@ -168,6 +168,7 @@
if ( form.elements[i].checked )
{
checked = true;
+ form.mid.value = form.elements[i].value
break;
}
}
@@ -224,6 +225,7 @@
<form name="monitor_form" method="get" action="<?= $PHP_SELF ?>" onSubmit="return(confirmDelete());">
<input type="hidden" name="view" value="<?= $view ?>">
<input type="hidden" name="action" value="delete">
+<input type="hidden" name="mid" value="">
<tr>
<td class="smallhead" align="left"><?= date( "D jS M, g:ia" ) ?></td>
<td class="bighead" align="center"><strong><a href="http://www.zoneminder.com" target="ZoneMinder">ZoneMinder</a> <?= $zmSlangConsole ?> - <?php if ( canEdit( 'System' ) ) { ?><a href="javascript: newWindow( '<?= $PHP_SELF ?>?view=state', 'zmState', <?= $jws['state']['w'] ?>, <?= $jws['state']['h'] ?> );"><?= $status ?></a> - <?php } ?><?= makeLink( "javascript: newWindow( '$PHP_SELF?view=version', 'zmVersion', ".$jws['version']['w'].", ".$jws['version']['h']." );", "v".ZM_VERSION, canEdit( 'System' ) ) ?></strong></td>
/********/
/* End */
/*******/