diff --git a/web/zm.php b/web/zm.php index a8673710a..9138775f2 100644 --- a/web/zm.php +++ b/web/zm.php @@ -109,6 +109,12 @@ if ( $action ) if ( !$result ) die( mysql_error() ); } + elseif ( $action == "unarchive" && $eid ) + { + $result = mysql_query( "update Events set Archived = 0 where Id = '$eid'" ); + if ( !$result ) + die( mysql_error() ); + } elseif ( $action == "delete" ) { if ( !$delete_eids && $delete_eid ) @@ -951,7 +957,11 @@ function newWindow(Url,Name,Width,Height) { Refresh Delete + +Unarchive + Archive + Stills