mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 04:41:53 +02:00
Bulk mail templates can now resize images to keep email sizes smaller. eg. {MEDIA1: w=500} Improved debugging of thumb.php.
This commit is contained in:
@@ -591,8 +591,11 @@ class mailout_main_ui extends e_admin_ui
|
||||
'template' => vartrue($_POST['testtemplate'],null),
|
||||
'shortcodes' => $this->getExampleShortcodes(),
|
||||
'media' => array(
|
||||
0 => array('path' => '{e_PLUGIN}gallery/images/butterfly.jpg'),
|
||||
1 => array('path' => 'h-v880sXEOQ.youtube'),
|
||||
0 => array('path' => '{e_PLUGIN}gallery/images/butterfly.jpg'),
|
||||
1 => array('path' => 'h-v880sXEOQ.youtube'),
|
||||
2 => array('path' => '{e_PLUGIN}gallery/images/horse.jpg'),
|
||||
3 => array('path' => '{e_PLUGIN}gallery/images/butterfly.jpg'),
|
||||
4 => array('path' => '{e_PLUGIN}gallery/images/horse.jpg'),
|
||||
)
|
||||
);
|
||||
|
||||
@@ -952,7 +955,7 @@ class mailout_main_ui extends e_admin_ui
|
||||
$pause = e107::getConfig()->get('mail_pausetime',1);
|
||||
$interval = ($pause * 1000);
|
||||
|
||||
$text = e107::getForm()->progressBar('mail-progress',1, array('btn-label'=>'Start', 'interval'=>$interval, 'url'=> e_SELF, 'mode'=>$id));
|
||||
$text = e107::getForm()->progressBar('mail-progress',0, array('btn-label'=>'Start', 'interval'=>$interval, 'url'=> e_SELF, 'mode'=>$id));
|
||||
}
|
||||
|
||||
return $text;
|
||||
|
Reference in New Issue
Block a user