From 8ac4d25c8428a73bb276933a40b77e7596aad59e Mon Sep 17 00:00:00 2001 From: Gabriel Dunne Date: Mon, 26 Dec 2011 14:37:24 -0800 Subject: [PATCH] Cleaned tags to be minimal --- about.html | 6 +++--- data.php | 2 +- edit.php | 10 +++++----- new.php | 13 +++++++++---- 4 files changed, 18 insertions(+), 13 deletions(-) diff --git a/about.html b/about.html index fc578a1..69b2377 100644 --- a/about.html +++ b/about.html @@ -16,11 +16,11 @@ use clmpr (/klum-per/) to save bookmarks. drag this link [+] to your bookmark bar

-

+

project keywords: -bookmarks, +bookmarks, delicious-clone. webservice, database, @@ -39,4 +39,4 @@ clmpr is open source. fork the project on gabriel dunne'; --> -


\ No newline at end of file +
diff --git a/data.php b/data.php index 0425bc4..dd17d83 100644 --- a/data.php +++ b/data.php @@ -45,7 +45,7 @@ function tag_string_to_array($tagstr) { if (strpos($tagstr, ',')) { $tags = explode(',', $tagstr); } else { - # match all quoted strings + # match anything inside a pair of quotes preg_match_all('/"(.*?)"/', $tagstr, $quoted_tags); # strip quoted strings from tag string $tagstr_noquotes = str_replace($quoted_tags[0], '', $tagstr); diff --git a/edit.php b/edit.php index 037b4a3..f07a916 100644 --- a/edit.php +++ b/edit.php @@ -61,16 +61,16 @@ function deleteClump( id ) {

+

+ + +

+

-

- - -

-

saved ago by diff --git a/new.php b/new.php index 203ebad..6bc42db 100644 --- a/new.php +++ b/new.php @@ -12,6 +12,11 @@ try { ?> +

- - + +

- - + +


-- 2.34.1