PageRenderTime 45ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/magmi/plugins/base/general/emailreport/options_panel.php

https://bitbucket.org/jit_bec/shopifine
PHP | 29 lines | 29 code | 0 blank | 0 comment | 3 complexity | 72c1ac4891219fa1a87f8b03a15dc0c6 MD5 | raw file
Possible License(s): LGPL-3.0
  1. <div class="plugin_description">
  2. <p>This plugin can be used to send a email report for the import</p>
  3. <p>it uses PHP <b>mail</b> feature, <b>please ensure your setup is compatible with this</b></p>
  4. </div>
  5. <ul class="formline">
  6. <li class="label">Email report to:</li>
  7. <li class="value"><input type="text" style="width:400px" name="EMAILREP:to" value="<?php echo $this->getParam("EMAILREP:to","")?>"><div class="fieldinfo">You can set several receiver emails separated by a comma (,)</div></li>
  8. </ul>
  9. <ul class="formline">
  10. <li class="label">Report sender:</li>
  11. <li class="value"><input type="text" name="EMAILREP:from" value="<?php echo $this->getParam("EMAILREP:from","magmi@sourceforge.net")?>"></li>
  12. </ul>
  13. <ul class="formline">
  14. <li class="label">Report sender alias:</li>
  15. <li class="value"><input type="text" name="EMAILREP:from_alias" value="<?php echo $this->getParam("EMAILREP:from_alias","Magmi Importer")?>"></li>
  16. </ul>
  17. <ul class="formline">
  18. <li class="label">Subject:</li>
  19. <li class="value"><input type="text" name="EMAILREP:subject" value="<?php echo $this->getParam("EMAILREP:subject","Magmi import report")?>"></li>
  20. </ul>
  21. <ul class="formline">
  22. <li class="label">Body:</li>
  23. <li class="value"><textarea name="EMAILREP:body"><?php echo $this->getParam("EMAILREP:body","report attached");?></textarea></li>
  24. </ul>
  25. <ul class="formline">
  26. <li class="label">Attachments</li>
  27. <li class="value"><input type="checkbox" name="EMAILREP:attachlog" <?php if($this->getParam("EMAILREP:attachlog")==true){?>checked="checked"<?php }?>>Attach import log</li>
  28. <li class="value"><input type="checkbox" name="EMAILREP:attachcsv" <?php if($this->getParam("EMAILREP:attachcsv")==true){?>checked="checked"<?php }?>>Attach source CSV</li>
  29. </ul>