From 27cff350e9e5fb832185bc14dee35b5b8f942a81 Mon Sep 17 00:00:00 2001 From: dakkar Date: Wed, 9 Nov 2005 17:14:54 +0000 Subject: =?UTF-8?q?=20*=20passati=20i=20template=20a=20HTML4,=20altrimenti?= =?UTF-8?q?=20l'autocompletamento=20non=20va=20=20*=20aggiunto=20autocompl?= =?UTF-8?q?etamento=20per=20i=20nomi=20di=20tag=20=20*=20migliorato=20il?= =?UTF-8?q?=20caricatore=20da=20YAML=20=20*=20aggiunto=20un=20convertitore?= =?UTF-8?q?=20XBEL=20->=20YAML=20=20*=20aggiunto=20campo=20'tipo=20icona'?= =?UTF-8?q?=20=20*=20aggiunta=20funzionalit=C3=A0=20di=20edit=20e=20delete?= =?UTF-8?q?=20di=20link=20=20*=20dopo=20ogni=20update=20di=20un=20link,=20?= =?UTF-8?q?i=20tag=20non=20pi=C3=B9=20riferiti=20vengono=20cancellati=20?= =?UTF-8?q?=20*=20migliorato=20il=20recupero=20favicon,=20con=20tipo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- root/add_form | 13 ++++++++----- root/links | 6 ++++-- root/tags | 3 +-- 3 files changed, 13 insertions(+), 9 deletions(-) (limited to 'root') diff --git a/root/add_form b/root/add_form index 10e83bb..ce0d181 100644 --- a/root/add_form +++ b/root/add_form @@ -1,15 +1,18 @@ - - + -add +[% IF mode=='edit'; 'Edit link'; ELSE; 'Add link'; END %] +[% c.prototype.auto_complete_stylesheet() %] +[% c.prototype.define_javascript_functions() %]

Link:

Title:

Description:

-

Tags:

- +

Tags:

+
+ + [% IF mode=='edit' %][% END %]
\ No newline at end of file diff --git a/root/links b/root/links index 210a7e9..a23eaff 100644 --- a/root/links +++ b/root/links @@ -1,5 +1,4 @@ - - + Links for @@ -51,6 +50,9 @@ <span class="link title"> <a href="[% href.link(link) %]">»[% link.title %]«</a> </span> + <span class="link edit"> + <a href="[% href.edit_link(link) %]">edit</a> + </span> <ul> [% FOR rtag IN link.tags %] <li> diff --git a/root/tags b/root/tags index 888f50e..2df62e5 100644 --- a/root/tags +++ b/root/tags @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<html xmlns="http://www.w3.org/1999/xhtml"> +<html> <head> <title>tags -- cgit v1.2.3