Changeset 432 for trunk/services/templates
- Timestamp:
- Nov 2, 2013 11:44:56 PM (11 years ago)
- Location:
- trunk/services/templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/services/templates/admin_form.ihtml
r296 r432 43 43 </tr> 44 44 <tr class="sc-form-row"> 45 <td class="sc-right"><label for="user_type" class="<?php $fv->err('user_type'); ?>"><?php echo _("User type"); ?></label></td>46 <td>47 <select name="user_type" class="sc-small">48 <?php printSetSelectForm($auth->getParam('db_table'), 'user_type', $frm['user_type'], true); ?>49 </select>50 </td>51 </tr>52 <tr class="sc-form-row">53 45 <td> </td> 54 46 <td><?php printSubmitButtons($frm['submit_buttons']); ?></td> -
trunk/services/templates/admin_list.ihtml
r320 r432 21 21 <th><?php echo $so->printSortHeader('admin_tbl.username', _("Username"), 'ASC'); ?></th> 22 22 <th><?php echo $so->printSortHeader('admin_tbl.first_name', _("First"), 'ASC'); ?> <?php echo $so->printSortHeader('admin_tbl.last_name', _("Last name"), 'ASC'); ?></th> 23 <th><?php echo $so->printSortHeader('admin_tbl.user_type', _("User type"), 'ASC'); ?></th>24 23 <th><?php echo $so->printSortHeader('admin_tbl.seconds_online', _("Min online"), 'ASC'); ?></th> 25 24 <th><?php echo $so->printSortHeader('admin_tbl.last_login_datetime', _("Last login"), 'ASC'); ?></th> 26 25 <th><?php echo $so->printSortHeader('admin_tbl.last_login_ip', _("Remote host"), 'ASC'); ?></th> 27 26 <th><?php echo $so->printSortHeader('admin_tbl.added_datetime', _("Added"), 'ASC'); ?></th> 28 <th><?php echo $so->printSortHeader('admin_tbl.added_by_user_id', _("by admin"), 'ASC'); ?></th>27 <th><?php echo $so->printSortHeader('admin_tbl.added_by_user_id', _("by"), 'ASC'); ?></th> 29 28 <th><?php echo $so->printSortHeader('admin_tbl.modified_datetime', _("Last modified"), 'ASC'); ?></th> 29 <th><?php echo $so->printSortHeader('admin_tbl.modified_by_user_id', _("by"), 'ASC'); ?></th> 30 30 <th> </th> 31 31 </tr> … … 37 37 <td class="sc-nowrap"><?php echo oTxt($list[$i]['username'], true); ?> </td> 38 38 <td class="sc-nowrap"><?php echo oTxt($list[$i]['first_name'], true); ?> <?php echo oTxt($list[$i]['last_name'], true); ?> </td> 39 <td class="sc-nowrap"><?php echo oTxt($list[$i]['user_type'], true); ?> </td>40 39 <td class="sc-nowrap"><?php echo round($list[$i]['seconds_online'] / 60); ?> </td> 41 40 <td class="sc-nowrap"><?php … … 50 49 <td class="sc-nowrap"><?php echo oTxt($list[$i]['added_admin_username'], true); ?> </td> 51 50 <td class="sc-nowrap"><?php echo '0000-00-00 00:00:00' == $list[$i]['modified_datetime'] ? '' : date($app->getParam('date_format'), strtotime($list[$i]['modified_datetime'])); ?> </td> 51 <td class="sc-nowrap"><?php echo oTxt($list[$i]['modified_admin_username'], true); ?> </td> 52 52 <td class="sc-padleft sc-nowrap" align="right"><a title="<?php printf(_("Delete %s"), oTxt($list[$i]['username'])) ?>" href="<?php echo $app->oHREF($_SERVER['PHP_SELF'] . "?op=del&admin_id=" . $list[$i]['admin_id']); ?>" onclick="javascript:return confirm('<?php printf(_("Are you sure you want to delete the record %s? This action is permanent and cannot be undone."), oTxt($list[$i]['username'])) ?>')"><img src="/admin/i/trash.gif" alt="Delete" width="10" height="10" border="0" /></a> </td> 53 53 </tr>
Note: See TracChangeset
for help on using the changeset viewer.