aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/templates/src/systemtemplates
diff options
context:
space:
mode:
Diffstat (limited to 'ratatoeskr/templates/src/systemtemplates')
-rw-r--r--ratatoeskr/templates/src/systemtemplates/content_write.html4
-rw-r--r--ratatoeskr/templates/src/systemtemplates/styles.html60
-rw-r--r--ratatoeskr/templates/src/systemtemplates/templates.html60
3 files changed, 122 insertions, 2 deletions
diff --git a/ratatoeskr/templates/src/systemtemplates/content_write.html b/ratatoeskr/templates/src/systemtemplates/content_write.html
index 9ec9548..fb30aa4 100644
--- a/ratatoeskr/templates/src/systemtemplates/content_write.html
+++ b/ratatoeskr/templates/src/systemtemplates/content_write.html
@@ -148,11 +148,11 @@ Header 2<br />
</p>
<p>
<ste:get_translation for="articleedit_content" />: <select name="content_txtproc"><ste:textprocessor_options>$content_txtproc</ste:textprocessor_options></select>
- <textarea name="content" cols="80" rows="20" class="fullwidth"><ste:escape>$content</ste:escape></textarea>
+ <textarea name="content" cols="80" rows="20" class="fullwidth codeedit"><ste:escape>$content</ste:escape></textarea>
</p>
<p>
<ste:get_translation for="articleedit_excerpt" />: <select name="excerpt_txtproc"><ste:textprocessor_options>$excerpt_txtproc</ste:textprocessor_options></select>
- <textarea name="excerpt" cols="80" rows="10" class="fullwidth"><ste:escape>$excerpt</ste:escape></textarea>
+ <textarea name="excerpt" cols="80" rows="10" class="fullwidth codeedit"><ste:escape>$excerpt</ste:escape></textarea>
</p>
<p style="text-align: center;">
<ste:get_translation for="save_texts_as_lang" />: <select name="saveaslang">
diff --git a/ratatoeskr/templates/src/systemtemplates/styles.html b/ratatoeskr/templates/src/systemtemplates/styles.html
new file mode 100644
index 0000000..bacd2c0
--- /dev/null
+++ b/ratatoeskr/templates/src/systemtemplates/styles.html
@@ -0,0 +1,60 @@
+<ste:load name="master.html" />
+<ste:block name="content">
+ <ste:if>$success
+ <ste:then>
+ <div class="success"><ste:escape>$success</ste:escape></div>
+ </ste:then>
+ </ste:if>
+ <ste:if>$error
+ <ste:then>
+ <div class="error"><ste:escape>$error</ste:escape></div>
+ </ste:then>
+ </ste:if>
+ <div class="dualcolumns">
+ <div class="column_left">
+ <form action="$rel_path_to_root/backend/design/styles" method="POST">
+ <table class="fullwidth listtab">
+ <thead>
+ <tr>
+ <th>&nbsp;</th>
+ <th><ste:get_translation for="style" /></th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>&nbsp;</td>
+ <td><a href="$rel_path_to_root/backend/design/styles"><em><ste:get_translation for="new_style" /></em></a></td>
+ </tr>
+ <ste:foreach array="styles" value="style">
+ <tr>
+ <td><input type="checkbox" name="styles_multiselect[]" value="$style" /></td>
+ <td><a href="$rel_path_to_root/backend/design/styles/$style">$style</a></td>
+ </tr>
+ </ste:foreach>
+ </tbody>
+ </table>
+ <div>
+ <input type="submit" name="delete" value="<ste:get_translation for='delete' />" />
+ <select name="really_delete">
+ <option value="no" selected="selected"><ste:get_translation for="no" /></option>
+ <option value="yes"><ste:get_translation for="yes" /></option>
+ </select>
+ </div>
+ </form>
+ </div>
+ <div class="column_main">
+ <form action="$rel_path_to_root/backend/design/styles" method="POST" accept-charset="UTF-8">
+ <p>
+ <strong><ste:get_translation for="style_name" />:</strong><br />
+ <input type="text" name="style_name" value="<ste:escape>$style_name</ste:escape>" />
+ </p>
+ <p>
+ <strong><ste:get_translation for="style_code" />:</strong><br />
+ <textarea name="style_code" class="fullwidth codeedit" cols="80" rows="20"><ste:escape>$style_code</ste:escape></textarea>
+ </p>
+ <p><input type="submit" name="save_style" /></p>
+ </form>
+ </div>
+ </div>
+ <div class="dualcolumns_stop"></div>
+</ste:block>
diff --git a/ratatoeskr/templates/src/systemtemplates/templates.html b/ratatoeskr/templates/src/systemtemplates/templates.html
new file mode 100644
index 0000000..1d15967
--- /dev/null
+++ b/ratatoeskr/templates/src/systemtemplates/templates.html
@@ -0,0 +1,60 @@
+<ste:load name="master.html" />
+<ste:block name="content">
+ <ste:if>$success
+ <ste:then>
+ <div class="success"><ste:escape>$success</ste:escape></div>
+ </ste:then>
+ </ste:if>
+ <ste:if>$error
+ <ste:then>
+ <div class="error"><ste:escape>$error</ste:escape></div>
+ </ste:then>
+ </ste:if>
+ <div class="dualcolumns">
+ <div class="column_left">
+ <form action="$rel_path_to_root/backend/design/templates" method="POST">
+ <table class="fullwidth listtab">
+ <thead>
+ <tr>
+ <th>&nbsp;</th>
+ <th><ste:get_translation for="template" /></th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>&nbsp;</td>
+ <td><a href="$rel_path_to_root/backend/design/templates"><em><ste:get_translation for="new_template" /></em></a></td>
+ </tr>
+ <ste:foreach array="templates" value="template">
+ <tr>
+ <td><input type="checkbox" name="templates_multiselect[]" value="$template" /></td>
+ <td><a href="$rel_path_to_root/backend/design/templates/$template">$template</a></td>
+ </tr>
+ </ste:foreach>
+ </tbody>
+ </table>
+ <div>
+ <input type="submit" name="delete" value="<ste:get_translation for='delete' />" />
+ <select name="really_delete">
+ <option value="no" selected="selected"><ste:get_translation for="no" /></option>
+ <option value="yes"><ste:get_translation for="yes" /></option>
+ </select>
+ </div>
+ </form>
+ </div>
+ <div class="column_main">
+ <form action="$rel_path_to_root/backend/design/templates" method="POST" accept-charset="UTF-8">
+ <p>
+ <strong><ste:get_translation for="template_name" />:</strong><br />
+ <input type="text" name="template_name" value="<ste:escape>$template_name</ste:escape>" />
+ </p>
+ <p>
+ <strong><ste:get_translation for="template_code" />:</strong><br />
+ <textarea name="template_code" class="fullwidth codeedit" cols="80" rows="20"><ste:escape>$template_code</ste:escape></textarea>
+ </p>
+ <p><input type="submit" name="save_template" /></p>
+ </form>
+ </div>
+ </div>
+ <div class="dualcolumns_stop"></div>
+</ste:block>