diff options
Diffstat (limited to 'tpl/vintage')
-rw-r--r-- | tpl/vintage/configure.html | 13 | ||||
-rw-r--r-- | tpl/vintage/editlink.html | 12 | ||||
-rw-r--r-- | tpl/vintage/includes.html | 3 |
3 files changed, 26 insertions, 2 deletions
diff --git a/tpl/vintage/configure.html b/tpl/vintage/configure.html index 160286a5..53b0cad2 100644 --- a/tpl/vintage/configure.html +++ b/tpl/vintage/configure.html | |||
@@ -33,6 +33,19 @@ | |||
33 | </tr> | 33 | </tr> |
34 | 34 | ||
35 | <tr> | 35 | <tr> |
36 | <td><b>Description formatter:</b></td> | ||
37 | <td> | ||
38 | <select name="formatter" id="formatter"> | ||
39 | {loop="$formatter_available"} | ||
40 | <option value="{$value}" {if="$value===$formatter"}selected{/if}> | ||
41 | {$value|ucfirst} | ||
42 | </option> | ||
43 | {/loop} | ||
44 | </select> | ||
45 | </td> | ||
46 | </tr> | ||
47 | |||
48 | <tr> | ||
36 | <td><b>Timezone:</b></td> | 49 | <td><b>Timezone:</b></td> |
37 | <td> | 50 | <td> |
38 | <select id="continent" name="continent"> | 51 | <select id="continent" name="continent"> |
diff --git a/tpl/vintage/editlink.html b/tpl/vintage/editlink.html index 5fa7d194..6f7a330f 100644 --- a/tpl/vintage/editlink.html +++ b/tpl/vintage/editlink.html | |||
@@ -26,7 +26,16 @@ | |||
26 | <input type="text" name="lf_tags" id="lf_tags" value="{$link.tags}" class="lf_input" | 26 | <input type="text" name="lf_tags" id="lf_tags" value="{$link.tags}" class="lf_input" |
27 | data-list="{loop="$tags"}{$key}, {/loop}" data-multiple autocomplete="off" ><br> | 27 | data-list="{loop="$tags"}{$key}, {/loop}" data-multiple autocomplete="off" ><br> |
28 | 28 | ||
29 | {loop="$edit_link_plugin"} | 29 | {if="$formatter==='markdown'"} |
30 | <div class="md_help"> | ||
31 | {'Description will be rendered with'|t} | ||
32 | <a href="http://daringfireball.net/projects/markdown/syntax" title="{'Markdown syntax documentation'|t}"> | ||
33 | {'Markdown syntax'|t} | ||
34 | </a>. | ||
35 | </div> | ||
36 | {/if} | ||
37 | |||
38 | {loop="$edit_link_plugin"} | ||
30 | {$value} | 39 | {$value} |
31 | {/loop} | 40 | {/loop} |
32 | 41 | ||
@@ -38,7 +47,6 @@ | |||
38 | <label for="lf_private"><i>Private</i></label><br><br> | 47 | <label for="lf_private"><i>Private</i></label><br><br> |
39 | {/if} | 48 | {/if} |
40 | <input type="submit" value="Save" name="save_edit" class="bigbutton"> | 49 | <input type="submit" value="Save" name="save_edit" class="bigbutton"> |
41 | <input type="submit" value="Cancel" name="cancel_edit" class="bigbutton"> | ||
42 | {if="!$link_is_new && isset($link.id)"} | 50 | {if="!$link_is_new && isset($link.id)"} |
43 | <a href="?delete_link&lf_linkdate={$link.id}&token={$token}" | 51 | <a href="?delete_link&lf_linkdate={$link.id}&token={$token}" |
44 | name="delete_link" class="bigbutton" | 52 | name="delete_link" class="bigbutton" |
diff --git a/tpl/vintage/includes.html b/tpl/vintage/includes.html index 1c4ff79c..8d273c44 100644 --- a/tpl/vintage/includes.html +++ b/tpl/vintage/includes.html | |||
@@ -7,6 +7,9 @@ | |||
7 | <link rel="alternate" type="application/atom+xml" href="{$feedurl}?do=atom{$searchcrits}#" title="ATOM Feed" /> | 7 | <link rel="alternate" type="application/atom+xml" href="{$feedurl}?do=atom{$searchcrits}#" title="ATOM Feed" /> |
8 | <link href="img/favicon.ico" rel="shortcut icon" type="image/x-icon" /> | 8 | <link href="img/favicon.ico" rel="shortcut icon" type="image/x-icon" /> |
9 | <link type="text/css" rel="stylesheet" href="css/shaarli.min.css" /> | 9 | <link type="text/css" rel="stylesheet" href="css/shaarli.min.css" /> |
10 | {if="$formatter==='markdown'"} | ||
11 | <link type="text/css" rel="stylesheet" href="css/markdown.min.css?v={$version_hash}" /> | ||
12 | {/if} | ||
10 | {loop="$plugins_includes.css_files"} | 13 | {loop="$plugins_includes.css_files"} |
11 | <link type="text/css" rel="stylesheet" href="{$value}#"/> | 14 | <link type="text/css" rel="stylesheet" href="{$value}#"/> |
12 | {/loop} | 15 | {/loop} |