您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Daniel Covington e5c78289ec Add safe HTML template import and image snapshots 2 天前
..
README.md Add safe HTML template import and image snapshots 2 天前

README.md

Template source folder

Place your source .html or .htm files here or in subfolders. Importing a file stores a new version in the Access database. Images are copied into that version, so later edits to source files do not change an imported snapshot. Keep private campaign artwork under templates/local/, which Git ignores.

The current importer accepts well-formed HTML written as XML. Close every tag and quote every attribute, including <img ... /> and <br />. It accepts basic text, links, tables, and constrained inline style attributes. It rejects scripts, forms, external stylesheets, event handlers, remote images, SVG, and CSS image URLs. Image paths must be relative to the HTML file's folder and use PNG, JPEG, or GIF.

Example:

<html><body>
  <h1 style="color:#17324e">9 x 12 postcards</h1>
  <p>See our local advertising options.</p>
  <img src="images/postcard.png" alt="Postcard example" width="600" />
</body></html>

Create the images/postcard.png file beside the source HTML before importing. The template preview shows imported content and images. Campaign-specific sender, postal address, ad identification, and opt-out footer are part of the later approval workflow and are not yet shown in this preview. Campaign sending remains disabled.

Powered by TurnKey Linux.