@@ -77,8 +77,11 @@ |
||
| 77 | 77 | title="<?php echo __('Usuario'); ?>">person</i> |
| 78 | 78 | <?php if ($user->ref === 'UserGroup'): ?> |
| 79 | 79 | <?php printf('%s (%s)*', $user->name, $user->login); ?> |
| 80 | - <?php else: ?> |
|
| 81 | - <?php printf('%s (%s)', $user->name, $user->login); ?> |
|
| 80 | + <?php else { |
|
| 81 | + : ?> |
|
| 82 | + <?php printf('%s (%s)', $user->name, $user->login); |
|
| 83 | +} |
|
| 84 | +?> |
|
| 82 | 85 | <?php endif; ?> |
| 83 | 86 | </span> |
| 84 | 87 | </li> |
@@ -1,6 +1,9 @@ |
||
| 1 | 1 | <?php if (isset($isImage)): ?> |
| 2 | 2 | <img src="data:'<?php echo $fileData->getType(); ?>;base64, <?php echo $data; ?>" border="0"/> |
| 3 | 3 | <div class="title"><?php echo $fileData->getName(); ?></div> |
| 4 | -<?php else: ?> |
|
| 5 | - <pre><?php echo $data; ?></pre> |
|
| 4 | +<?php else { |
|
| 5 | + : ?> |
|
| 6 | + <pre><?php echo $data; |
|
| 7 | +} |
|
| 8 | +?></pre> |
|
| 6 | 9 | <?php endif; ?> |
| 7 | 10 | \ No newline at end of file |
@@ -66,9 +66,12 @@ |
||
| 66 | 66 | </label> |
| 67 | 67 | </td> |
| 68 | 68 | </tr> |
| 69 | - <?php else: ?> |
|
| 69 | + <?php else { |
|
| 70 | + : ?> |
|
| 70 | 71 | <tr> |
| 71 | - <td class="descField"><?php echo __('Token'); ?></td> |
|
| 72 | + <td class="descField"><?php echo __('Token'); |
|
| 73 | +} |
|
| 74 | +?></td> |
|
| 72 | 75 | <td class="valField"> |
| 73 | 76 | <div class="lowres-title"><?php echo __('Token'); ?></div> |
| 74 | 77 | |
@@ -210,7 +210,10 @@ |
||
| 210 | 210 | <?php if (time() > $tempMasterMaxTime): ?> |
| 211 | 211 | <span style="color: red"><?php echo date('r', $tempMasterMaxTime); ?></span> |
| 212 | 212 | <?php elseif ($tempMasterMaxTime > 0): echo date('r', $tempMasterMaxTime); ?> |
| 213 | - <?php else: echo __('No generada'); ?> |
|
| 213 | + <?php else { |
|
| 214 | + : echo __('No generada'); |
|
| 215 | +} |
|
| 216 | +?> |
|
| 214 | 217 | <?php endif; ?> |
| 215 | 218 | </td> |
| 216 | 219 | </tr> |
@@ -38,7 +38,10 @@ discard block |
||
| 38 | 38 | <?php echo __('Copia sysPass'); ?> |
| 39 | 39 | </button> |
| 40 | 40 | </a> |
| 41 | - <?php else: echo __('No hay backups para descargar'); ?> |
|
| 41 | + <?php else { |
|
| 42 | + : echo __('No hay backups para descargar'); |
|
| 43 | +} |
|
| 44 | +?> |
|
| 42 | 45 | <?php endif; ?> |
| 43 | 46 | </td> |
| 44 | 47 | </tr> |
@@ -110,7 +113,10 @@ discard block |
||
| 110 | 113 | XML <?php echo $siteName; ?> |
| 111 | 114 | </button> |
| 112 | 115 | </a> |
| 113 | - <?php else: echo __('No hay archivos XML para descargar'); ?> |
|
| 116 | + <?php else { |
|
| 117 | + : echo __('No hay archivos XML para descargar'); |
|
| 118 | +} |
|
| 119 | +?> |
|
| 114 | 120 | <?php endif; ?> |
| 115 | 121 | </td> |
| 116 | 122 | </tr> |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | <script type="text/javascript"> |
| 4 | 4 | sysPassApp.sk.set("<?php echo $sk; ?>"); |
| 5 | 5 | |
| 6 | - <?php foreach($tabs as $index => $tab): ?> |
|
| 6 | + <?php foreach ($tabs as $index => $tab): ?> |
|
| 7 | 7 | sysPassApp.theme().html.tabs.add("#tabsHeader", <?php echo $index; ?>, "<?php echo $tab['title']; ?>", <?php echo $index === $activeTabId ? 1 : 0; ?>); |
| 8 | 8 | <?php endforeach; ?> |
| 9 | 9 | </script> |
| 10 | 10 | \ No newline at end of file |
@@ -60,9 +60,12 @@ |
||
| 60 | 60 | <label class="mdl-textfield__label" |
| 61 | 61 | for="<?php echo $field->formId; ?>"><?php echo $field->definitionName; ?></label> |
| 62 | 62 | </div> |
| 63 | - <?php else: ?> |
|
| 63 | + <?php else { |
|
| 64 | + : ?> |
|
| 64 | 65 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 65 | - <input id="<?php echo $field->formId; ?>" |
|
| 66 | + <input id="<?php echo $field->formId; |
|
| 67 | +} |
|
| 68 | +?>" |
|
| 66 | 69 | name="customfield[<?php echo $field->definitionId; ?>]" |
| 67 | 70 | type="<?php echo $field->typeName; ?>" |
| 68 | 71 | class="mdl-textfield__input mdl-color-text--indigo-400" |
@@ -106,7 +106,10 @@ |
||
| 106 | 106 | <div id="data-table-<?php echo $data->getId(); ?>"> |
| 107 | 107 | <?php if ($data->getDataTableTemplate()): ?> |
| 108 | 108 | <?php include $data->getDataTableTemplate(); ?> |
| 109 | - <?php else: ?> |
|
| 110 | - <?php include __DIR__ . DIRECTORY_SEPARATOR . 'datagrid-table.inc'; ?> |
|
| 109 | + <?php else { |
|
| 110 | + : ?> |
|
| 111 | + <?php include __DIR__ . DIRECTORY_SEPARATOR . 'datagrid-table.inc'; |
|
| 112 | +} |
|
| 113 | +?> |
|
| 111 | 114 | <?php endif; ?> |
| 112 | 115 | </div> |
@@ -13,8 +13,11 @@ |
||
| 13 | 13 | <li><?php printf('%s: <a href="%s" target="_blank">%s</a>', __('Página'), $wikiUrlBase . '/' . $result['id'], $result['id']); ?></li> |
| 14 | 14 | <?php endforeach; ?> |
| 15 | 15 | </ul> |
| 16 | - <?php else: ?> |
|
| 17 | - <h1><?php echo __('Página no encontrada'); ?></h1> |
|
| 16 | + <?php else { |
|
| 17 | + : ?> |
|
| 18 | + <h1><?php echo __('Página no encontrada'); |
|
| 19 | +} |
|
| 20 | +?></h1> |
|
| 18 | 21 | <?php endif; ?> |
| 19 | 22 | </div> |
| 20 | 23 | <div id="wikiPageInfo"> |