autoupdates

This commit is contained in:
Serghey Rodin 2014-04-16 02:26:45 +03:00
commit 44d907f202
8 changed files with 284 additions and 0 deletions

View file

@ -1,3 +1,4 @@
<table class="submenu">
<tr>
<td style="padding: 14px 10px">
@ -16,6 +17,19 @@
</select>
<input type="submit" name="ok" value="" class="submenu-button-select">
</div>
<div class="submenu-select-block">
<?php
if($autoupdate == 'Enabled') {
?>
<a class="submenu-select-link" href="/delete/cron/autoupdate/">[ <?php print __('disable autoupdate');?> ]</a>
<?php
} else {
?>
<a class="submenu-select-link" href="/add/cron/autoupdate/">[ <?php print __('enable autoupdate');?> ]</a>
<?php
}
?>
</div>
<?php display_error_block(); ?>
</td>
</tr>