Stud.IP
6.0
|
Variables | |
if(!in_array( $global_visibility, [ 'always', 'never']) &&( $user_perm !=='dozent'||!Config::get() ->DOZENT_ALWAYS_VISIBLE))(count($user_domains)) | else |
else | __pad124__ |
endif = $global_visibility | |
foreach($visibilities as $visibility) | width = _('sichtbar für') |
<?=htmlReady( $visibility) ?></th ><? endforeach;?></tr ></thead >< tbody class="privacy"><? foreach( $homepage_elements[ 'entry'] as $element):?><? if( $element[ 'is_header']):?>< tr class="visibility-homepage-elements-header">< th colspan="<?= 1 + $colCount ?><?= htmlReady($element['name']) ?></th></tr><? else: ?><tr><td class="visibility-homepage-element" style="padding-left:<?=$element[ 'padding'] ?>< span class="visibility-homepage-element-name"><?=htmlReady( $element[ 'name']) ?></span >< span class="hidden-small-up"><?=_( 'sichtbar für') ?></span ></td ><? if( $element[ 'is_category']):?>< td colspan="<?= $colCount ?></td><? else: ?><? foreach ($homepage_elements['states'] as $index => | $state |
< input type="radio" name="visibility_update[<?= $element['id'] ?> | value |
endforeach = $visibilities[$index + 1] | |
<?= htmlReady($visibility) ?></th><? endforeach; ?></tr></thead><tbody class="privacy"><? foreach ($homepage_elements['entry'] as $element): ?><? if ($element['is_header']): ?><tr class="visibility-homepage-elements-header"><th colspan="<?= 1 + $colCount ?><?= htmlReady($element['name']) ?></th></tr><? else: ?><tr><td class="visibility-homepage-element" style="padding-left: <?= $element['padding'] ?><span class="visibility-homepage-element-name"><?= htmlReady($element['name']) ?></span><span class="hidden-small-up"><?= _('sichtbar für') ?></span></td><? if ($element['is_category']): ?><td colspan="<?= $colCount ?></td><? else: ?><? foreach ($homepage_elements['states'] as $index => $state |
else __pad124__ |
if (!in_array($global_visibility, ['always', 'never']) && ($user_perm !== 'dozent' || !Config::get()->DOZENT_ALWAYS_VISIBLE) ) (count( $user_domains)) else |
endforeach = $visibilities[$index + 1] |
endif = $global_visibility |