$vs_add_label = $this->getVar('add_label'); $t_acl = new ca_acl(); $vb_read_only = isset($va_settings['readonly']) && $va_settings['readonly'] || $this->request->user->getBundleAccessLevel($t_instance->tableName(), 'ca_users') == __CA_BUNDLE_ACCESS_READONLY__; $t_acl->set('access', (int) $this->getVar('initialValue')); ?> <div id="<?php print $vs_id_prefix . '_world'; ?> "> <div class="bundleContainer"> <div class="caItemList"> <div id="<?php print $vs_id_prefix; ?> _World" class="labelInfo"> <table class="caListItem"> <tr> <td class="formLabel"> <?php print _t('Everyone'); ?> <?php print $t_acl->htmlFormElement('access', '^ELEMENT', array('name' => $vs_id_prefix . '_access_world', 'id' => $vs_id_prefix . '_access_world')); ?> </td> </tr> </table> </div> </div> </div> </div>
Item_{n}" class="labelInfo"> <table class="caListItem"> <tr> <td class="formLabel"> <?php print _t('Group'); ?> <input type="text" size="60" name="<?php print $vs_id_prefix; ?> _autocomplete{n}" value="{{label}}" id="<?php print $vs_id_prefix; ?> _autocomplete{n}" class="lookupBg"/> <?php print $t_acl->htmlFormElement('access', '^ELEMENT', array('name' => $vs_id_prefix . '_access_{n}', 'id' => $vs_id_prefix . '_access_{n}', 'value' => '{{access}}')); ?> <input type="hidden" name="<?php print $vs_id_prefix; ?> _id{n}" id="<?php print $vs_id_prefix; ?> _id{n}" value="{id}"/> </td> <td> <?php if (!$vb_read_only) { ?> <a href="#" class="caDeleteItemButton"><?php