Skip to content

Instantly share code, notes, and snippets.

@bshaffer
Created April 9, 2011 05:00
Show Gist options
  • Save bshaffer/911154 to your computer and use it in GitHub Desktop.
Save bshaffer/911154 to your computer and use it in GitHub Desktop.
_list_td_stacked.php
<td colspan="13">
<?php echo __('%%id%% - %%first_name%% - %%last_name%% - %%email_address%% - %%username%% - %%algorithm%% - %%salt%% - %%password%% - %%is_active%% - %%is_super_admin%% - %%last_login%% - %%created_at%% - %%updated_at%%', array('%%id%%' => link_to($sf_guard_user->getId(), 'sf_guard_user_sf_guard_user_old_edit', $sf_guard_user), '%%first_name%%' => $sf_guard_user->getFirstName(), '%%last_name%%' => $sf_guard_user->getLastName(), '%%email_address%%' => $sf_guard_user->getEmailAddress(), '%%username%%' => $sf_guard_user->getUsername(), '%%algorithm%%' => $sf_guard_user->getAlgorithm(), '%%salt%%' => $sf_guard_user->getSalt(), '%%password%%' => $sf_guard_user->getPassword(), '%%is_active%%' => get_partial('sf_guard_user_old/list_field_boolean', array('value' => $sf_guard_user->getIsActive())), '%%is_super_admin%%' => get_partial('sf_guard_user_old/list_field_boolean', array('value' => $sf_guard_user->getIsSuperAdmin())), '%%last_login%%' => false !== strtotime($sf_guard_user->getLastLogin()) ? format_date($sf_guard_user->getLastLogin(), "f") : '&nbsp;', '%%created_at%%' => false !== strtotime($sf_guard_user->getCreatedAt()) ? format_date($sf_guard_user->getCreatedAt(), "f") : '&nbsp;', '%%updated_at%%' => false !== strtotime($sf_guard_user->getUpdatedAt()) ? format_date($sf_guard_user->getUpdatedAt(), "f") : '&nbsp;'), 'messages') ?>
</td>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment