Esempio n. 1
0
      <h2 id="title"><a href="http://www.zoneminder.com" target="ZoneMinder">ZoneMinder</a> <?php 
echo translate('Console');
?>
 - <?php 
echo makePopupLink('?view=state', 'zmState', 'state', $status, canEdit('System'));
?>
 - <?php 
echo $run_state;
?>
 <?php 
echo makePopupLink('?view=version', 'zmVersion', 'version', '<span class="' . $versionClass . '">v' . ZM_VERSION . '</span>', canEdit('System'));
?>
</h2>
      <div class="clear"></div>
      <div id="monitorSummary"><?php 
echo makePopupLink('?view=groups', 'zmGroups', 'groups', sprintf($CLANG['MonitorCount'], count($displayMonitors), zmVlang($VLANG['Monitor'], count($displayMonitors))) . ($group ? ' (' . $group['Name'] . ')' : ''), canView('Groups'));
?>
</div>
<?php 
if (ZM_OPT_X10 && canView('Devices')) {
    ?>
      <div id="devices"><?php 
    echo makePopupLink('?view=devices', 'zmDevices', 'devices', translate('Devices'));
    ?>
</div>
<?php 
}
if (canView('System')) {
    ?>
      <div id="options"><?php 
    echo makePopupLink('?view=options', 'zmOptions', 'options', translate('Options'));
Esempio n. 2
0
        ?>
"><?php 
        echo translate('ViewPaged');
        ?>
</a>
<?php 
    }
}
?>
        <a href="#" onclick="closeWindows();"><?php 
echo translate('Close');
?>
</a>
      </div>
      <h2><?php 
echo sprintf($CLANG['EventCount'], $nEvents, zmVlang($VLANG['Event'], $nEvents));
?>
</h2>
    </div>
    <div id="content">
      <form name="contentForm" id="contentForm" method="post" action="">
        <input type="hidden" name="view" value="<?php 
echo $view;
?>
"/>
        <input type="hidden" name="action" value=""/>
        <input type="hidden" name="page" value="<?php 
echo $page;
?>
"/>
        <?php 
Esempio n. 3
0
      <h2 id="title"><a href="http://www.zoneminder.com" target="ZoneMinder">ZoneMinder</a> <?php 
echo translate('Console');
?>
 - <?php 
echo makePopupLink('?view=state', 'zmState', 'state', $status, canEdit('System'));
?>
 - <?php 
echo $run_state;
?>
 <?php 
echo makePopupLink('?view=version', 'zmVersion', 'version', '<span class="' . $versionClass . '">v' . ZM_VERSION . '</span>', canEdit('System'));
?>
</h2>
      <div class="clear"></div>
      <div id="monitorSummary"><?php 
echo makePopupLink('?view=groups', 'zmGroups', 'groups', translate('Group') . ': ' . ($group ? ' (' . $group['Name'] . ')' : 'All') . ': ' . sprintf($CLANG['MonitorCount'], count($displayMonitors), zmVlang($VLANG['Monitor'], count($displayMonitors))));
?>
</div>
<?php 
if (ZM_OPT_X10 && canView('Devices')) {
    ?>
      <div id="devices"><?php 
    echo makePopupLink('?view=devices', 'zmDevices', 'devices', translate('Devices'));
    ?>
</div>
<?php 
}
if (canView('System')) {
    ?>
      <div id="options"><?php 
    echo makePopupLink('?view=options', 'zmOptions', 'options', translate('Options'));