mirror of
https://github.com/humhub/humhub.git
synced 2025-02-12 03:26:25 +01:00
Added new disclaimer text
This commit is contained in:
parent
b5e0330468
commit
1ca7f477d8
@ -43,10 +43,9 @@ $isProOnly = ($isProFeature && $licence->type !== Licence::LICENCE_TYPE_PRO);
|
||||
style="font-size:12px;line-height:18px;background-color:#3F4B5A;color:white">
|
||||
<?php if ($isProOnly): ?><i class="fa fa-lock"></i><?php endif; ?>
|
||||
Professional Edition Feature
|
||||
</span>
|
||||
</span>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
|
||||
</h4>
|
||||
|
||||
<p><?= $module['description']; ?></p>
|
||||
@ -93,8 +92,11 @@ $isProOnly = ($isProFeature && $licence->type !== Licence::LICENCE_TYPE_PRO);
|
||||
' <i class="fa fa-external-link" aria-hidden="true"></i>'
|
||||
, $module['marketplaceUrl'], ['target' => '_blank']); ?>
|
||||
|
||||
<?php if (!empty($module['showDisclaimer'])): ?>
|
||||
<?php if (!empty($module['isThirdParty'])): ?>
|
||||
· <?= Html::a(Yii::t('MarketplaceModule.base', 'Third-party'), Url::to(['thirdparty-disclaimer']), ['data-target' => '#globalModal']); ?>
|
||||
<a href="<?= Url::to(['thirdparty-disclaimer']) ?>" data-target="#globalModal">
|
||||
- Community
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -8,12 +8,21 @@
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>
|
||||
<?= Yii::t('MarketplaceModule.base', 'The HumHub developers provide no support for third-party modules and neighter give any guarantee about the suitability, functionality or security of this module.'); ?>
|
||||
<?= Yii::t('MarketplaceModule.base', 'This Module was developed by a third-party.'); ?>
|
||||
<?= Yii::t('MarketplaceModule.base', 'The HumHub project does not guarantee the functionality, quality or the continuous development of this Module.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?= Yii::t('MarketplaceModule.base', 'Third-party Modules are not covered by Professional Edition agreements.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?= Yii::t('MarketplaceModule.base', 'If this Module is additionally marked as <strong>"Community"</strong> it is neither tested nor monitored by the HumHub project team.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary" data-dismiss="modal">
|
||||
<?= Yii::t('MarketplaceModule.base', 'Ok'); ?>
|
||||
<?= Yii::t('MarketplaceModule . base', 'Ok'); ?>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user