Exemple #1
0
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Kimkëlen.  If not, see <http://www.gnu.org/licenses/gpl-2.0.html>.
 */
?>
<div class="sf_admin_form_row sf_admin_text">
  <div>
    <?php 
$groups = $sf_guard_user->getsfGuardUserGroups();
?>
    <?php 
if (count($groups) > 0) {
    ?>
      <?php 
    if ($person = PersonPeer::retrieveBySfGuardUser($sf_guard_user)) {
        ?>
        <?php 
        echo 'Persona ' . $person;
        ?>
      <?php 
    }
    ?>
      <table border="1">
        <?php 
    foreach ($groups as $group) {
        ?>
          <?php 
        $group = sfGuardGroupPeer::retrieveByPk($group->getGroupId());
        ?>
          <tr><td><strong><?php