|
@@ -14,7 +14,7 @@
|
|
|
<?php $name_encoded = urlencode($ext->getName()); ?>
|
|
<?php $name_encoded = urlencode($ext->getName()); ?>
|
|
|
<div class="stick">
|
|
<div class="stick">
|
|
|
<a class="btn open-slider" href="<?php echo _url('extension', 'configure', 'e', $name_encoded); ?>"><?php echo _i('configure'); ?> <?php echo _t('gen.action.manage'); ?></a>
|
|
<a class="btn open-slider" href="<?php echo _url('extension', 'configure', 'e', $name_encoded); ?>"><?php echo _i('configure'); ?> <?php echo _t('gen.action.manage'); ?></a>
|
|
|
- <?php if ($ext->is_enabled()) { ?>
|
|
|
|
|
|
|
+ <?php if ($ext->isEnabled()) { ?>
|
|
|
<button class="btn active" form="form-extension" formaction="<?php echo _url('extension', 'disable', 'e', $name_encoded); ?>"><?php echo _t('gen.action.disable'); ?></button>
|
|
<button class="btn active" form="form-extension" formaction="<?php echo _url('extension', 'disable', 'e', $name_encoded); ?>"><?php echo _t('gen.action.disable'); ?></button>
|
|
|
<?php } else { ?>
|
|
<?php } else { ?>
|
|
|
<button class="btn" form="form-extension" formaction="<?php echo _url('extension', 'enable', 'e', $name_encoded); ?>"><?php echo _t('gen.action.enable'); ?></button>
|
|
<button class="btn" form="form-extension" formaction="<?php echo _url('extension', 'enable', 'e', $name_encoded); ?>"><?php echo _t('gen.action.enable'); ?></button>
|