mirror of
https://framagit.org/framasoft/framadate/framadate
synced 2026-01-23 02:14:06 +00:00
Rename add_slot by add_column
This commit is contained in:
parent
5d4958e1f4
commit
5750a36172
5 changed files with 8 additions and 8 deletions
|
|
@ -387,15 +387,15 @@ if (!empty($_GET['delete_column'])) {
|
|||
// Add a slot
|
||||
// -------------------------------
|
||||
|
||||
if (isset($_GET['add_slot'])) {
|
||||
if (isset($_GET['add_column'])) {
|
||||
$smarty->assign('poll_id', $poll_id);
|
||||
$smarty->assign('admin_poll_id', $admin_poll_id);
|
||||
$smarty->assign('format', $poll->format);
|
||||
$smarty->assign('title', __('Generic', 'Poll') . ' - ' . $poll->title);
|
||||
$smarty->display('add_slot.tpl');
|
||||
$smarty->display('add_column.tpl');
|
||||
exit;
|
||||
}
|
||||
if (isset($_POST['confirm_add_slot'])) {
|
||||
if (isset($_POST['confirm_add_column'])) {
|
||||
try {
|
||||
if ($poll->format === 'D') {
|
||||
$newdate = strip_tags($_POST['newdate']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue