mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
autoupdates
This commit is contained in:
parent
83bd13f199
commit
44d907f202
8 changed files with 284 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue