Move groups link to the console sidebar

This commit is contained in:
Kyle Johnson 2014-11-15 16:51:39 +00:00
parent a6027ccdca
commit 6911b99271
2 changed files with 2 additions and 3 deletions

View File

@ -22,9 +22,7 @@
<li><a href="?view=options"><?= $SLANG['Options'] ?></a></li> <li><a href="?view=options"><?= $SLANG['Options'] ?></a></li>
<?php if ( logToDatabase() > Logger::NOLOG ) { ?> <?php if ( logToDatabase() > Logger::NOLOG ) { ?>
<li><a href="?view=log"><span class="<?= logState(); ?>"><?= $SLANG['Log'] ?></span></a></li> <li><a href="?view=log"><span class="<?= logState(); ?>"><?= $SLANG['Log'] ?></span></a></li>
<?php } ?> <?php } if ( ZM_OPT_X10 && canView( 'Devices' ) ) { ?>
<li><a href="?view=groups"><?= sprintf( $CLANG['MonitorCount'], count($displayMonitors), zmVlang( $VLANG['Monitor'], count($displayMonitors) ) ).($group?' ('.$group['Name'].')':'')?></a></li>
<?php if ( ZM_OPT_X10 && canView( 'Devices' ) ) { ?>
<li><a href="?view=devices"><?= $SLANG['Devices'] ?></a></li> <li><a href="?view=devices"><?= $SLANG['Devices'] ?></a></li>
<?php } ?> <?php } ?>
<?php if ($running) ?> <?php if ($running) ?>

View File

@ -2,5 +2,6 @@
<li><a href="?view=monitor">Add New Monitor</a></li> <li><a href="?view=monitor">Add New Monitor</a></li>
<li><input class="btn btn-default btn-block" type="button" name="editBtn" value="<?= $SLANG['Edit'] ?>" onclick="editMonitor( this )" disabled="disabled"/></li> <li><input class="btn btn-default btn-block" type="button" name="editBtn" value="<?= $SLANG['Edit'] ?>" onclick="editMonitor( this )" disabled="disabled"/></li>
<li><input class="btn btn-default btn-block" type="button" name="deleteBtn" value="<?= $SLANG['Delete'] ?>" onclick="deleteMonitor( this )" disabled="disabled"/></li> <li><input class="btn btn-default btn-block" type="button" name="deleteBtn" value="<?= $SLANG['Delete'] ?>" onclick="deleteMonitor( this )" disabled="disabled"/></li>
<li><a href="?view=groups"><?= sprintf( $CLANG['MonitorCount'], count($displayMonitors), zmVlang( $VLANG['Monitor'], count($displayMonitors) ) ).($group?' ('.$group['Name'].')':'')?></a></li>
</ul> </ul>