aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tpl')
-rw-r--r--tpl/configure.html4
-rw-r--r--tpl/editlink.html10
2 files changed, 11 insertions, 3 deletions
diff --git a/tpl/configure.html b/tpl/configure.html
index 1beba59c..62296cb2 100644
--- a/tpl/configure.html
+++ b/tpl/configure.html
@@ -19,8 +19,10 @@
19 19
20 <tr><td valign="top"><b>Features:</b></td><td> 20 <tr><td valign="top"><b>Features:</b></td><td>
21 <input type="checkbox" name="disablejquery" id="disablejquery" {if="!empty($GLOBALS['disablejquery'])"}checked{/if}><label for="disablejquery">&nbsp;Disable jQuery and all heavy javascript (for example: Autocomplete in tags. Useful for slow computers.)</label> 21 <input type="checkbox" name="disablejquery" id="disablejquery" {if="!empty($GLOBALS['disablejquery'])"}checked{/if}><label for="disablejquery">&nbsp;Disable jQuery and all heavy javascript (for example: Autocomplete in tags. Useful for slow computers.)</label>
22 </td></tr>
23 <tr><td valign="top"><b>New link:</b></td><td>
24 <input type="checkbox" name="privateLinkByDefault" id="privateLinkByDefault" {if="!empty($GLOBALS['privateLinkByDefault'])"}checked{/if}/><label for="privateLinkByDefault">&nbsp;All new link are private by default</label></td>
22 </tr> 25 </tr>
23
24 <tr><td></td><td align="right"><input type="submit" name="Save" value="Save config" class="bigbutton"></td></tr> 26 <tr><td></td><td align="right"><input type="submit" name="Save" value="Save config" class="bigbutton"></td></tr>
25 </table> 27 </table>
26 </form> 28 </form>
diff --git a/tpl/editlink.html b/tpl/editlink.html
index 4ad43b35..ad549137 100644
--- a/tpl/editlink.html
+++ b/tpl/editlink.html
@@ -1,7 +1,7 @@
1<!DOCTYPE html> 1<!DOCTYPE html>
2<html> 2<html>
3<head>{include="includes"}</head> 3<head>{include="includes"}</head>
4<body 4<body
5{if condition="$link.title==''"}onload="document.linkform.lf_title.focus();" 5{if condition="$link.title==''"}onload="document.linkform.lf_title.focus();"
6{elseif condition="$link.description==''"}onload="document.linkform.lf_description.focus();" 6{elseif condition="$link.description==''"}onload="document.linkform.lf_description.focus();"
7{else}onload="document.linkform.lf_tags.focus();"{/if} > 7{else}onload="document.linkform.lf_tags.focus();"{/if} >
@@ -14,7 +14,13 @@
14 <i>Title</i><br><input type="text" name="lf_title" value="{$link.title|htmlspecialchars}" style="width:100%"><br> 14 <i>Title</i><br><input type="text" name="lf_title" value="{$link.title|htmlspecialchars}" style="width:100%"><br>
15 <i>Description</i><br><textarea name="lf_description" rows="4" cols="25" style="width:100%">{$link.description|htmlspecialchars}</textarea><br> 15 <i>Description</i><br><textarea name="lf_description" rows="4" cols="25" style="width:100%">{$link.description|htmlspecialchars}</textarea><br>
16 <i>Tags</i><br><input type="text" id="lf_tags" name="lf_tags" value="{$link.tags|htmlspecialchars}" style="width:100%"><br> 16 <i>Tags</i><br><input type="text" id="lf_tags" name="lf_tags" value="{$link.tags|htmlspecialchars}" style="width:100%"><br>
17 <input type="checkbox" {if condition="$link.private!=0"}checked="yes"{/if} style="margin:7 0 10 0;" name="lf_private" id="lf_private">&nbsp;<label for="lf_private"><i>Private</i></label><br> 17 {if condition="($link_is_new && $GLOBALS['privateLinkByDefault']==true) || $link.private == true"}
18 <input type="checkbox" checked="checked" name="lf_private" id="lf_private">
19 &nbsp;<label for="lf_private"><i>Private</i></label><br>
20 {else}
21 <input type="checkbox" name="lf_private" id="lf_private">
22 &nbsp;<label for="lf_private"><i>Private</i></label><br>
23 {/if}
18 <input type="submit" value="Save" name="save_edit" class="bigbutton" style="margin-left:40px;"> 24 <input type="submit" value="Save" name="save_edit" class="bigbutton" style="margin-left:40px;">
19 <input type="submit" value="Cancel" name="cancel_edit" class="bigbutton" style="margin-left:40px;"> 25 <input type="submit" value="Cancel" name="cancel_edit" class="bigbutton" style="margin-left:40px;">
20 {if condition="!$link_is_new"}<input type="submit" value="Delete" name="delete_link" class="bigbutton" style="margin-left:180px;" onClick="return confirmDeleteLink();">{/if} 26 {if condition="!$link_is_new"}<input type="submit" value="Delete" name="delete_link" class="bigbutton" style="margin-left:180px;" onClick="return confirmDeleteLink();">{/if}