From 38fe928d06c56a3dc0d2966ace52f107759aa356 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 4 Oct 2015 13:09:26 +0200 Subject: cleanup some unused variables --- mod/mail.php | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'mod/mail.php') diff --git a/mod/mail.php b/mod/mail.php index 02fe080de..ef9761509 100644 --- a/mod/mail.php +++ b/mod/mail.php @@ -218,21 +218,15 @@ function mail_content(&$a) { '$new' => true, '$header' => t('Send Private Message'), '$to' => t('To:'), - '$showinputs' => 'true', '$prefill' => $prename, - '$autocomp' => $autocomp, '$preid' => $preid, '$subject' => t('Subject:'), '$subjtxt' => ((x($_REQUEST,'subject')) ? strip_tags($_REQUEST['subject']) : ''), '$text' => ((x($_REQUEST,'body')) ? htmlspecialchars($_REQUEST['body'], ENT_COMPAT, 'UTF-8') : ''), - '$readonly' => '', '$yourmessage' => t('Your message:'), - '$select' => $select, '$parent' => '', - '$upload' => t('Upload photo'), '$attach' => t('Attach file'), '$insert' => t('Insert web link'), - '$wait' => t('Please wait'), '$submit' => t('Send'), '$defexpire' => '', '$feature_expire' => ((feature_enabled(local_channel(),'content_expire')) ? true : false), @@ -240,8 +234,6 @@ function mail_content(&$a) { '$feature_encrypt' => ((feature_enabled(local_channel(),'content_encrypt')) ? true : false), '$encrypt' => t('Encrypt text'), '$cipher' => $cipher, - - )); return $o; @@ -351,17 +343,13 @@ function mail_content(&$a) { '$reply' => true, '$subject' => t('Subject:'), '$subjtxt' => $message['title'], - '$readonly' => 'readonly="readonly"', '$yourmessage' => sprintf(t('Your message for %s (%s):'), $message[$recp]['xchan_name'], $message[$recp]['xchan_addr']), '$text' => '', - '$select' => $select, '$parent' => $message['parent_mid'], '$recphash' => $message[$recp]['xchan_hash'], - '$upload' => t('Upload photo'), '$attach' => t('Attach file'), '$insert' => t('Insert web link'), '$submit' => t('Submit'), - '$wait' => t('Please wait'), '$defexpire' => '', '$feature_expire' => ((feature_enabled(local_channel(),'content_expire')) ? true : false), '$expires' => t('Set expiration date'), -- cgit v1.2.3