<!-- Open Module -->
<h4><br><div class='well clearfix text-uppercase text-bold'></div></h4>
<div class='list-group-item'>
<!-- Display Own Collection Buttons -->
<hr/>
<!-- Display Message, if no Users have this Figure in Collection -->
<div class="text-center"></div>
<!-- Close Module -->
</div>
// Render User Collection
if (!function_exists("renderFigurelibFigureDetailsUsers")) {
function renderFigurelibFigureDetailsUsers($info) {
// Locale
$locale = fusion_get_locale("", FIGURELIB_LOCALE);
// Display User Gallery if Module active
if ($info['figure']['settings']['show-collection'] && $info['settings']['figure_show_collection_global']) { ?>
<!-- Open Module -->
<?php openside("<br><div class='well clearfix text-uppercase text-bold'>".$locale['userfigure_007']."</div>"); ?>
<!-- Display Own Collection Buttons -->
<?= figures_displayMyCollectionForm($info['figure']['general']['id'], FUSION_REQUEST, "big"); ?>
<hr/>
<!-- Display Message, if no Users have this Figure in Collection -->
<?php if (empty($info['users'])) { ?>
<div class="text-center"><?= $locale['userfigure_004']; ?></div>
<?php } else { ?>
<!-- Otherwise display all Users -->
<div class="text-center side-small">
<?php $i = 1;
$all = count($info['users']);
foreach ($info['users'] AS $user) { ?>
<?= profile_link($user['user-id'], trimlink($user['user-name'], 15), $user['user-status']).($i != $all ? ", " : "");
$i++; ?>
<?php } ?>
</div>
<?php } ?>
<!-- Close Module -->
<?php closeside(); ?>
<?php
// Message for Admins if Module is Off
} else if ((iADMIN || iSUPERADMIN) && checkrights("FI")) { ?>
<!-- Display Message -->
<?php openside("<br><div class='alert alert-danger'><div class='well clearfix'><strong>".$locale['userfigure_007']."</strong></div>"); ?>
<i class="fa fa-fw fa-vtop fa-bolt"></i>
<?= $locale['figure_1825']; ?>
<a href="<?= $info['figure']['general']['adminlink-settings']; ?>" title="<?= $locale['mc_0012']; ?>"><?= $locale['mc_0012']; ?></a>
<?php closeside(); ?>
<?php
}
}
}
Category Forum
Modifications and Requests - 9Labels
None yet
Statistics
1 participant
Notifications
You are not receiving notifications from this thread.
Related Questions