t('Summary')); ?>

t('No existing polls.')); ?> linkToRoute('polls.page.goto_poll', array('hash' => $poll->getHash())); ?> getDescription(); if($desc_str === null) $desc_str = $l->t('No description provided.'); if (strlen($desc_str) > 100){ $desc_str = substr($desc_str, 0, 80) . '...'; } ?> getExpire() !== null) { $style = ''; if (date('U') > strtotime($poll->getExpire())) { $style = ' style="color: red"'; } print_unescaped('' . date('d.m.Y', strtotime($poll->getExpire())) . ''); } else { print_unescaped(''); } ?>
t('Title')); ?> t('Description')); ?> t('Created')); ?> t('By')); ?> t('Expires')); ?> t('participated')); ?> t('Access')); ?> t('Options')); ?>
getTitle()); ?> getCreated()))); ?> getOwner() === $userId) p($l->t('Yourself')); else p($userMgr->get($poll->getOwner())); ?> ' . $l->t('Never') . ' getId() == intval($partic_polls[$i]->getPollId())){ $partic_class = 'partic_yes'; array_splice($partic_polls, $i, 1); break; } } ?>
| getId() === intval($partic_comm[$i]->getPollId())){ $partic_class = 'partic_yes'; array_splice($partic_comm, $i, 1); break; } } ?>
t($poll->getAccess())); ?> getOwner() === $userId) : ?>
getAccess(); $owner = $poll->getOwner(); if (!User::isLoggedIn()) return false; if ($access === 'public') return true; if ($access === 'hidden') return true; if ($access === 'registered') return true; if ($owner === $userId) return true; $user_groups = OC_Group::getUserGroups($userId); $arr = explode(';', $access); foreach ($arr as $item) { if (strpos($item, 'group_') === 0) { $grp = substr($item, 6); foreach ($user_groups as $user_group) { if ($user_group === $grp) return true; } } else if (strpos($item, 'user_') === 0) { $usr = substr($item, 5); if ($usr === $userId) return true; } } return false; } ?>