diff options
| author | 2014-12-17 21:15:24 +0100 | |
|---|---|---|
| committer | 2014-12-17 21:15:24 +0100 | |
| commit | 875b8a72f97429c4e4df6d292daf4261fb7a45bd (patch) | |
| tree | 55c06f3b199a952d539e5c8aa3ac2e50de3dbf4d /app/views/configure | |
| parent | 7f4ca35fc331ca4ce5e097d574e99417da0ef73e (diff) | |
Coding style endforeach (must be avoided)
Diffstat (limited to 'app/views/configure')
| -rw-r--r-- | app/views/configure/sharing.phtml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/configure/sharing.phtml b/app/views/configure/sharing.phtml index b42825382..ffe3c039b 100644 --- a/app/views/configure/sharing.phtml +++ b/app/views/configure/sharing.phtml @@ -15,7 +15,7 @@ <a target="_blank" class="btn" title="<?php echo _t('conf.sharing.more_information'); ?>" href="##help##"><?php echo _i('help'); ?></a> </div></div>'> <legend><?php echo _t('conf.sharing'); ?></legend> - <?php foreach (FreshRSS_Context::$conf->sharing as $key => $sharing): ?> + <?php foreach (FreshRSS_Context::$conf->sharing as $key => $sharing) { ?> <?php $share = FreshRSS_Context::$conf->shares[$sharing['type']]; ?> <div class="form-group" id="group-share-<?php echo $key; ?>"> <label class="group-name"> @@ -36,14 +36,14 @@ <?php } ?> </div> </div> - <?php endforeach;?> + <?php } ?> <div class="form-group"> <div class="group-controls"> <select> - <?php foreach(FreshRSS_Context::$conf->shares as $key => $params):?> + <?php foreach(FreshRSS_Context::$conf->shares as $key => $params) { ?> <option value='<?php echo $key?>' data-form='<?php echo $params['form']?>' data-help='<?php if (!empty($params['help'])) {echo $params['help'];}?>'><?php echo _t('conf.sharing.' . $key) ?></option> - <?php endforeach; ?> + <?php } ?> </select> <a href='#' class='share add btn'><?php echo _i('add'); ?></a> </div> |
