@@ -8,11 +8,14 @@ |
||
| 8 | 8 | |
| 9 | 9 | <p><?php e(t('No lists available'))?>. <a href="<?php e(url('create'));?>"><?php e(t('Create list')); ?></a>.</p> |
| 10 | 10 | |
| 11 | -<?php else : ?> |
|
| 11 | +<?php else { |
|
| 12 | + : ?> |
|
| 12 | 13 | |
| 13 | 14 | <ul class="todo-list"> |
| 14 | 15 | <?php foreach ($todo_list as $t) : ?> |
| 15 | - <li><a href="<?php e(url($t['id'])); ?>"><?php e($t['name']); ?></a> — <?php e($t['left']); ?> <?php e(t('left')); ?></li> |
|
| 16 | + <li><a href="<?php e(url($t['id'])); |
|
| 17 | +} |
|
| 18 | +?>"><?php e($t['name']); ?></a> — <?php e($t['left']); ?> <?php e(t('left')); ?></li> |
|
| 16 | 19 | <?php endforeach; ?> |
| 17 | 20 | </ul> |
| 18 | 21 | |
@@ -9,8 +9,11 @@ |
||
| 9 | 9 | ?> |
| 10 | 10 | <h3><?php e(t('success!')); ?></h3> |
| 11 | 11 | <p><?php e(t('if everything went as it should, you can see your packages below, and you should be able to use them now.')); ?></p> |
| 12 | - <?php else : ?> |
|
| 13 | - <p><?php e(t('on this page you have an overview of your intraface account')); ?></p> |
|
| 12 | + <?php else { |
|
| 13 | + : ?> |
|
| 14 | + <p><?php e(t('on this page you have an overview of your intraface account')); |
|
| 15 | +} |
|
| 16 | +?></p> |
|
| 14 | 17 | <?php endif; ?> |
| 15 | 18 | </div> |
| 16 | 19 | |
@@ -19,8 +19,10 @@ |
||
| 19 | 19 | <span id="price"><?php $product = $modulepackageshop->getProduct((int)$modulepackage->get('product_id')); |
| 20 | 20 | if (isset($product['product']['currency']['DKK']['price_incl_vat'])) : |
| 21 | 21 | e('DKK '.$product['product']['currency']['DKK']['price_incl_vat'].' '.t('per').' '.t($product['product']['unit']['singular'])); |
| 22 | - else : |
|
| 22 | + else { |
|
| 23 | + : |
|
| 23 | 24 | echo 'free!'; |
| 25 | + } |
|
| 24 | 26 | endif; ?></span> |
| 25 | 27 | </div> |
| 26 | 28 | |
@@ -8,9 +8,12 @@ |
||
| 8 | 8 | |
| 9 | 9 | <p><?php echo $context->getMessage(); ?></p> |
| 10 | 10 | |
| 11 | -<?php else : ?> |
|
| 11 | +<?php else { |
|
| 12 | + : ?> |
|
| 12 | 13 | |
| 13 | - <?php echo $contact->error->view(); ?> |
|
| 14 | + <?php echo $contact->error->view(); |
|
| 15 | +} |
|
| 16 | +?> |
|
| 14 | 17 | |
| 15 | 18 | <p class="message">Du er ved at tilmelde <?php e(count($contacts)); ?> kontakter til nyhedsbrevet.</p> |
| 16 | 19 | |
@@ -21,12 +21,15 @@ |
||
| 21 | 21 | |
| 22 | 22 | <p><?php e(t('No contacts has been created')); ?>. <a href="<?php e(url(null, array('create'))); ?>"><?php e(t('Create contact')); ?></a>.</p> |
| 23 | 23 | |
| 24 | -<?php else : ?> |
|
| 24 | +<?php else { |
|
| 25 | + : ?> |
|
| 25 | 26 | |
| 26 | 27 | |
| 27 | 28 | <?php if ($context->getKernel()->getSetting()->get('user', 'contact.search') == 'view') : ?> |
| 28 | 29 | |
| 29 | -<form action="<?php e(url()); ?>" method="get" class="search-filter"> |
|
| 30 | +<form action="<?php e(url()); |
|
| 31 | +} |
|
| 32 | +?>" method="get" class="search-filter"> |
|
| 30 | 33 | <fieldset> |
| 31 | 34 | <legend><?php e(t('search')); ?></legend> |
| 32 | 35 | |
@@ -9,9 +9,12 @@ |
||
| 9 | 9 | <?php endforeach; ?> |
| 10 | 10 | <?php endif; ?> |
| 11 | 11 | |
| 12 | -<?php else : ?> |
|
| 12 | +<?php else { |
|
| 13 | + : ?> |
|
| 13 | 14 | |
| 14 | - <form action="<?php e(url()); ?>" method="post"> |
|
| 15 | + <form action="<?php e(url()); |
|
| 16 | +} |
|
| 17 | +?>" method="post"> |
|
| 15 | 18 | |
| 16 | 19 | |
| 17 | 20 | <fieldset> |
@@ -8,9 +8,12 @@ |
||
| 8 | 8 | |
| 9 | 9 | <p><?php echo $context->getMessage(); ?></p> |
| 10 | 10 | |
| 11 | -<?php else : ?> |
|
| 11 | +<?php else { |
|
| 12 | + : ?> |
|
| 12 | 13 | |
| 13 | - <?php echo $contact->error->view(); ?> |
|
| 14 | + <?php echo $contact->error->view(); |
|
| 15 | +} |
|
| 16 | +?> |
|
| 14 | 17 | |
| 15 | 18 | <p class="message">Du er ved at sende en e-mail til <?php e(count($contacts)); ?> kontakter. Vi sender naturligvis kun til de kontakter, der har en e-mail-adresse.</p> |
| 16 | 19 | |
@@ -6,9 +6,12 @@ |
||
| 6 | 6 | |
| 7 | 7 | <p><?php e(t('No contacts has been created')); ?>. <a href="<?php e(url(null, array('create'))); ?>"><?php e(t('Create contact')); ?></a>.</p> |
| 8 | 8 | |
| 9 | -<?php else : ?> |
|
| 9 | +<?php else { |
|
| 10 | + : ?> |
|
| 10 | 11 | <ul class="options"> |
| 11 | - <li><a href="<?php e(url(null, array('create'))); ?>"><?php e(t('Create contact')); ?></a></li> |
|
| 12 | + <li><a href="<?php e(url(null, array('create'))); |
|
| 13 | +} |
|
| 14 | +?>"><?php e(t('Create contact')); ?></a></li> |
|
| 12 | 15 | <?php if (isset($_GET['last_contact_id']) && intval($_GET['last_contact_id']) != 0) : ?> |
| 13 | 16 | <li><a href="<?php e(url(null, array('contact_id' => $_GET['last_contact_id']))); ?>"><?php e(t('Show chosen')); ?></a></li> |
| 14 | 17 | <?php endif; ?> |
@@ -55,9 +55,12 @@ |
||
| 55 | 55 | <?php if (isset($product_id)) : ?> |
| 56 | 56 | <input type="hidden" name="product_id" value="<?php e($product_id); ?>" /> |
| 57 | 57 | <input type="submit" name="append_product" value="<?php e(t('Select')); ?>" /> |
| 58 | -<?php else : ?> |
|
| 58 | +<?php else { |
|
| 59 | + : ?> |
|
| 59 | 60 | <select name="action"> |
| 60 | - <option value=""><?php e(t('Choose...')); ?></option> |
|
| 61 | + <option value=""><?php e(t('Choose...')); |
|
| 62 | +} |
|
| 63 | +?></option> |
|
| 61 | 64 | <option value="delete"><?php e(t('Delete selected')); ?></option> |
| 62 | 65 | </select> |
| 63 | 66 | |