Exemplo n.º 1
0
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * HUBzero is a registered trademark of Purdue University.
 *
 * @package   hubzero-cms
 * @copyright Copyright 2005-2015 HUBzero Foundation, LLC.
 * @license   http://opensource.org/licenses/MIT MIT
 */
// No direct access
defined('_HZEXEC_') or die;
$canDo = Components\Members\Helpers\Admin::getActions('component');
$text = $this->task == 'edit' ? Lang::txt('JACTION_EDIT') : Lang::txt('JACTION_CREATE');
Toolbar::title(Lang::txt('COM_MEMBERS') . ': ' . $text, 'user');
if ($canDo->get('core.edit') || $canDo->get('core.create')) {
    Toolbar::apply();
    Toolbar::save();
    Toolbar::spacer();
}
if ($canDo->get('core.create') && $canDo->get('core.manage')) {
    Toolbar::save2new();
}
Toolbar::cancel();
Toolbar::divider();
Toolbar::help('user');
Html::behavior('switcher', 'submenu');
?>
Exemplo n.º 2
0
echo Lang::txt('JOPTION_SELECT_CATEGORY');
?>
</option>
						<?php 
echo Html::select('options', Html::category('options', 'com_users.notes'), 'value', 'text', $this->row->get('category_id'));
?>
					</select>
				</div>

				<div class="input-wrap">
					<label for="field-category_id"><?php 
echo Lang::txt('COM_MEMBERS_FIELD_USER');
?>
:</label>
					<?php 
echo Components\Members\Helpers\Admin::getUserInput('fields[user_id]', 'fielduser_id', $this->row->get('user_id'));
?>
				</div>

				<div class="input-wrap">
					<label for="field-state"><?php 
echo Lang::txt('COM_MEMBERS_FIELD_STATE');
?>
:</label>
					<select name="fields[state]" id="field-state">
						<option value="0"<?php 
if ($this->row->get('state') == 0) {
    echo ' selected="selected"';
}
?>
><?php 
Exemplo n.º 3
0
	<div class="grid">
		<div class="col span6">
			<div class="combo" id="batch-choose-action">
				<div class="input-wrap">
					<label id="batch-choose-action-lbl" for="batch-choose-action"><?php 
echo Lang::txt('COM_MEMBERS_BATCH_GROUP');
?>
</label>
					<select name="batch[group_id]" class="inputbox" id="batch-group-id">
						<option value=""><?php 
echo Lang::txt('JSELECT');
?>
</option>
						<?php 
echo Html::select('options', Components\Members\Helpers\Admin::getAccessGroups());
//Html::user('groups', User::get('isRoot')));
?>
					</select>
				</div>

				<div class="input-wrap">
					<?php 
echo Html::select('radiolist', $options, 'batch[group_action]', '', 'value', 'text', 'add');
?>
				</div>
			</div>
		</div>
		<div class="col span6">
			<div class="input-wrap">
				<button type="submit" onclick="Joomla.submitbutton('user.batch');">
Exemplo n.º 4
0
					<?php 
echo Html::select('options', Components\Members\Helpers\Admin::getAccessGroups(), 'value', 'text', $this->filters['group_id']);
?>
				</select>

				<label for="filter-range"><?php 
echo Lang::txt('COM_MEMBERS_OPTION_FILTER_DATE');
?>
:</label>
				<select name="range" id="filter-range" class="inputbox" onchange="this.form.submit()">
					<option value=""><?php 
echo Lang::txt('COM_MEMBERS_OPTION_FILTER_DATE');
?>
</option>
					<?php 
echo Html::select('options', Components\Members\Helpers\Admin::getRangeOptions(), 'value', 'text', $this->filters['range']);
?>
				</select>
			</div>
		</div>
	</fieldset>

	<table class="adminlist">
		<thead>
			<tr>
				<th scope="col"><input type="checkbox" name="toggle" value="" onclick="checkAll(<?php 
echo $this->rows->count();
?>
);" /></th>
				<th scope="col" class="priority-2"><?php 
echo Html::grid('sort', 'COM_MEMBERS_COL_ID', 'id', @$this->filters['sort_Dir'], @$this->filters['sort']);