remote-self: Moved the code in a single function and cleaned it up.
This commit is contained in:
parent
01cb340752
commit
3e57954807
2 changed files with 59 additions and 126 deletions
|
@ -157,8 +157,8 @@ function crepair_content(&$a) {
|
|||
|
||||
if ($contact['network'] == NETWORK_FEED)
|
||||
$remote_self_options = array('0'=>t('No mirroring'), '1'=>t('Mirror as forwarded posting'), '2'=>t('Mirror as my own posting'));
|
||||
elseif ($contact['network'] == NETWORK_DFRN)
|
||||
$remote_self_options = array('0'=>t('No mirroring'), '1'=>t('Mirror as forwarded posting'));
|
||||
elseif ($contact['network'] == NETWORK_DFRN)
|
||||
$remote_self_options = array('0'=>t('No mirroring'), '2'=>t('Mirror as my own posting'));
|
||||
|
||||
$tpl = get_markup_template('crepair.tpl');
|
||||
$o .= replace_macros($tpl, array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue