diff options
author | friendica <info@friendica.com> | 2012-08-26 23:05:00 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-08-26 23:05:00 -0700 |
commit | 5ff6e9348b41bc87b03bafc4d9df73b383af074e (patch) | |
tree | c26b1b26cd38f7ec78e83905266053618a3e1db4 /mod/editpost.php | |
parent | f0e299a97a8c46fd66bbc47e5b84d4b76d763154 (diff) | |
download | volse-hubzilla-5ff6e9348b41bc87b03bafc4d9df73b383af074e.tar.gz volse-hubzilla-5ff6e9348b41bc87b03bafc4d9df73b383af074e.tar.bz2 volse-hubzilla-5ff6e9348b41bc87b03bafc4d9df73b383af074e.zip |
a few minor changes
Diffstat (limited to 'mod/editpost.php')
-rw-r--r-- | mod/editpost.php | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/mod/editpost.php b/mod/editpost.php index 18b41a231..b705afa4b 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -58,30 +58,6 @@ function editpost_content(&$a) { $jotplugins = ''; $jotnets = ''; - $mail_disabled = ((function_exists('imap_open') && (! get_config('system','imap_disabled'))) ? 0 : 1); - - $mail_enabled = false; - $pubmail_enabled = false; - - if(! $mail_disabled) { - $r = q("SELECT * FROM `mailacct` WHERE `uid` = %d AND `server` != '' LIMIT 1", - intval(local_user()) - ); - if(count($r)) { - $mail_enabled = true; - if(intval($r[0]['pubmail'])) - $pubmail_enabled = true; - } - } - - if($mail_enabled) { - $selected = (($pubmail_enabled) ? ' checked="checked" ' : ''); - $jotnets .= '<div class="profile-jot-net"><input type="checkbox" name="pubmail_enable"' . $selected . ' value="1" /> ' - . t("Post to Email") . '</div>'; - } - - - call_hooks('jot_tool', $jotplugins); call_hooks('jot_networks', $jotnets); @@ -110,7 +86,6 @@ function editpost_content(&$a) { '$defloc' => $a->user['default-location'], '$visitor' => 'none', '$pvisit' => 'none', - '$emailcc' => t('CC: email addresses'), '$public' => t('Public post'), '$jotnets' => $jotnets, '$title' => $itm[0]['title'], |