Skip to content

Instantly share code, notes, and snippets.

@atsu666
Last active April 21, 2017 04:43
Show Gist options
  • Save atsu666/dcf4bd6b9793e5c94303e87feba814cc to your computer and use it in GitHub Desktop.
Save atsu666/dcf4bd6b9793e5c94303e87feba814cc to your computer and use it in GitHub Desktop.
php/ACMS/GET/Admin/User/Select.php
<?php
class ACMS_GET_Admin_User_Select extends ACMS_GET_Admin
{
var $_scope = array(
'uid' => 'global',
);
function get()
{
$Tpl = new Template($this->tpl, new ACMS_Corrector());
$Tpl->add(null, $this->buildUserSelect(
$Tpl, BID, $this->uid, 'loop'
, array('administrator', 'editor', 'contributor'), false, 'sort-asc'
));
return $Tpl->get();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment