aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure/sharing.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-20 18:45:22 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-20 18:45:22 +0200
commit1a22a87fb1b1fcb61d201de399c33c2185dc1f6e (patch)
treeb0a9a2fb19b6cf01be8496131b4e7d552137835c /app/views/configure/sharing.phtml
parentad92dd7dae35e7205da3172d4ba35ea01da2bc8b (diff)
Use FreshRSS_Context::$conf only
- Replace $this->view->conf in controllers - Replace $this->conf in views
Diffstat (limited to 'app/views/configure/sharing.phtml')
-rw-r--r--app/views/configure/sharing.phtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/configure/sharing.phtml b/app/views/configure/sharing.phtml
index 09c1e6f40..ef5e85a0c 100644
--- a/app/views/configure/sharing.phtml
+++ b/app/views/configure/sharing.phtml
@@ -15,8 +15,8 @@
<a target="_blank" class="btn" title="<?php echo _t('more_information'); ?>" href="##help##"><?php echo _i('help'); ?></a>
</div></div>'>
<legend><?php echo _t('sharing'); ?></legend>
- <?php foreach ($this->conf->sharing as $key => $sharing): ?>
- <?php $share = $this->conf->shares[$sharing['type']]; ?>
+ <?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">
<?php echo _t($sharing['type']); ?>
@@ -41,7 +41,7 @@
<div class="form-group">
<div class="group-controls">
<select>
- <?php foreach($this->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($key) ?></option>
<?php endforeach; ?>
</select>