You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
2.7 KiB
64 lines
2.7 KiB
<?php $this->partial ('aside_configure'); ?> |
|
|
|
<div class="post"> |
|
<a href="<?php echo _url ('index', 'index'); ?>"><?php echo Translate::t ('back_to_rss_feeds'); ?></a> |
|
|
|
<form method="post" action="<?php echo _url ('configure', 'sharing'); ?>"> |
|
<legend><?php echo Translate::t ('sharing'); ?></legend> |
|
<div class="form-group"> |
|
<label class="group-name" for="shaarli"> |
|
<?php echo Translate::t ('your_shaarli'); ?> |
|
</label> |
|
<div class="group-controls"> |
|
<input type="url" id="shaarli" name="shaarli" value="<?php echo $this->conf->sharing ('shaarli'); ?>" placeholder="<?php echo Translate::t ('blank_to_disable'); ?>" size="64" /> |
|
|
|
<?php echo RSSThemes::icon('help'); ?> <a target="_blank" href="http://sebsauvage.net/wiki/doku.php?id=php:shaarli"><?php echo Translate::t ('more_information'); ?></a> |
|
</div> |
|
</div> |
|
|
|
<div class="form-group"> |
|
<label class="group-name" for="poche"> |
|
<?php echo Translate::t ('your_poche'); ?> |
|
</label> |
|
<div class="group-controls"> |
|
<input type="url" id="poche" name="poche" value="<?php echo $this->conf->sharing ('poche'); ?>" placeholder="<?php echo Translate::t ('blank_to_disable'); ?>" size="64" /> |
|
|
|
<?php echo RSSThemes::icon('help'); ?> <a target="_blank" href="http://www.inthepoche.com/"><?php echo Translate::t ('more_information'); ?></a> |
|
</div> |
|
</div> |
|
|
|
<div class="form-group"> |
|
<label class="group-name" for="diaspora"> |
|
<?php echo Translate::t ('your_diaspora_pod'); ?> |
|
</label> |
|
<div class="group-controls"> |
|
<input type="url" id="diaspora" name="diaspora" value="<?php echo $this->conf->sharing ('diaspora'); ?>" placeholder="<?php echo Translate::t ('blank_to_disable'); ?>" size="64" /> |
|
|
|
<?php echo RSSThemes::icon('help'); ?> <a target="_blank" href="https://diasporafoundation.org/"><?php echo Translate::t ('more_information'); ?></a> |
|
</div> |
|
</div> |
|
|
|
<div class="form-group"> |
|
<label class="group-name"><?php echo Translate::t ('activate_sharing'); ?></label> |
|
<div class="group-controls"> |
|
<?php |
|
$services = array ('twitter', 'g+', 'facebook', 'email', 'print'); |
|
|
|
foreach ($services as $service) { |
|
?> |
|
<label class="checkbox" for="<?php echo $service; ?>"> |
|
<input type="checkbox" name="<?php echo $service; ?>" id="<?php echo $service; ?>" value="yes"<?php echo $this->conf->sharing ($service) ? ' checked="checked"' : ''; ?> /> |
|
<?php echo Translate::t ($service); ?> |
|
</label> |
|
<?php } ?> |
|
</div> |
|
</div> |
|
|
|
<div class="form-group form-actions"> |
|
<div class="group-controls"> |
|
<button type="submit" class="btn btn-important"><?php echo Translate::t ('save'); ?></button> |
|
<button type="reset" class="btn"><?php echo Translate::t ('cancel'); ?></button> |
|
</div> |
|
</div> |
|
</form> |
|
</div>
|
|
|