Fixed broken Archive/Unarchive links.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@961 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
537070a5db
commit
c3cf441bbe
|
@ -166,9 +166,9 @@ Learn Pref: <select name="learn_state" class="form" onChange="learn_form.su
|
|||
<?php } ?>
|
||||
<td align="center" class="text"><?php if ( canEdit( 'Events' ) ) { ?><a href="<?= $PHP_SELF ?>?view=none&action=delete&mark_eid=<?= $eid ?>"><?= $zmSlangDelete ?></a><?php } else { ?> <?php } ?></td>
|
||||
<?php if ( $event['Archived'] ) { ?>
|
||||
<td align="center" class="text"><?php if ( canEdit( 'Events' ) ) { ?><a href="<?= $PHP_SELF ?>?view=<?= $view ?>&action=unarchive&eid=<?= $eid ?>"><?= $zmSlangUnarchive ?></a><?php } else { ?> <?php } ?></td>
|
||||
<td align="center" class="text"><?php if ( canEdit( 'Events' ) ) { ?><a href="<?= $PHP_SELF ?>?view=<?= $view ?>&action=unarchive&eid=<?= $eid ?><?= $filter_query ?><?= $sort_query ?>"><?= $zmSlangUnarchive ?></a><?php } else { ?> <?php } ?></td>
|
||||
<?php } else { ?>
|
||||
<td align="center" class="text"><?php if ( canEdit( 'Events' ) ) { ?><a href="<?= $PHP_SELF ?>?view=<?= $view ?>&action=archive&eid=<?= $eid ?>"><?= $zmSlangArchive ?></a><?php } else { ?> <?php } ?></td>
|
||||
<td align="center" class="text"><?php if ( canEdit( 'Events' ) ) { ?><a href="<?= $PHP_SELF ?>?view=<?= $view ?>&action=archive&eid=<?= $eid ?><?= $filter_query ?><?= $sort_query ?>"><?= $zmSlangArchive ?></a><?php } else { ?> <?php } ?></td>
|
||||
<?php } ?>
|
||||
<?php if ( $mode == "stream" ) { ?>
|
||||
<td align="center" class="text"><a href="<?= $PHP_SELF ?>?view=event&mode=still&eid=<?= $eid ?><?= $filter_query ?><?= $sort_query ?>&page=1"><?= $zmSlangStills ?></a></td>
|
||||
|
|
Loading…
Reference in New Issue