diff --git a/template/mailbox-description.php b/template/mailbox-description.php index caec441..3ccc06d 100644 --- a/template/mailbox-description.php +++ b/template/mailbox-description.php @@ -1,29 +1,49 @@ . /* * This is the template for a single e-mail forwarding * * Called from: * template/mailbox.php + * + * Variables: + * $mailbox object|null Mailbox */ +// you can override from your 'load.php' configuration file your own instructions. For now, I just set my own one :) +// just define this constant with the 'define' standard function. +define_default( 'MAILBOX_INSTRUCTIONS', 'https://mail.reyboz.it/?&email=%s' ); + // unuseful when load directly defined( 'BOZ_PHP' ) or die; ?> -

+

+ + + + +

getMailboxPermalink( true ) ) + ), + esc_html( __( "How to configure your e-mail client" ) ) + ) ?>

+ + diff --git a/template/mailbox.php b/template/mailbox.php index e0a0a66..91c8973 100644 --- a/template/mailbox.php +++ b/template/mailbox.php @@ -1,69 +1,71 @@ . /* * This is the template for a mailbox * * Called from: * mailbox.php * * Available variables: * $mailbox object * $domain object * $mailbox_password string|null */ // unuseful when load directly defined( 'BOZ_PHP' ) or die; ?> - + $mailbox, + ] ) ?>