From 51bdec218af83488cd15a05c8d731e67fdd22264 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 28 Mar 2009 18:44:25 +0000 Subject: fixed sticky form for album creation --- views/default/tidypics/forms/edit.php | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'views') diff --git a/views/default/tidypics/forms/edit.php b/views/default/tidypics/forms/edit.php index 0ed8cffab..d7df138b4 100644 --- a/views/default/tidypics/forms/edit.php +++ b/views/default/tidypics/forms/edit.php @@ -22,12 +22,20 @@ $action = "tidypics/addalbum"; $tags = ""; $title = ""; - $description = ""; + $body = ""; if (defined('ACCESS_DEFAULT')) $access_id = ACCESS_DEFAULT; else $access_id = 0; $subtype = 'album'; + + $title = $_SESSION['tidypicstitle']; + $body = $_SESSION['tidypicsbody']; + $tags = $_SESSION['tidypicstags']; + + unset($_SESSION['tidypicstitle']); + unset($_SESSION['tidypicsbody']); + unset($_SESSION['tidypicstags']); } // group or individual @@ -38,28 +46,28 @@

- "title", "value" => $title,)); ?> + "tidypicstitle", "value" => $title,)); ?>

- "descript","value" => $body,)); ?> + "tidypicsbody","value" => $body,)); ?>

- "descript","value" => $body,)); ?> + "tidypicsbody","value" => $body,)); ?>

- "tags","value" => $tags,)); ?> + "tidypicstags","value" => $tags,)); ?>