From 186068077bc59713d23143bdae2e916ce7775342 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 20 Nov 2010 23:45:31 +0300 Subject: rework email article dialog --- modules/popup-dialog.php | 50 ++++++++++++++++++++---------------------------- 1 file changed, 21 insertions(+), 29 deletions(-) (limited to 'modules/popup-dialog.php') diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 351d4b0f9..ad3ca0c3a 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -177,10 +177,10 @@ print "
"; - print " "; - print ""; print "
"; @@ -638,18 +638,13 @@ if ($id == "emailArticle") { - print "".__('Forward article by email').""; - print ""; - $secretkey = sha1(uniqid(rand(), true)); $_SESSION['email_secretkey'] = $secretkey; - print ""; - print ""; - print ""; + print ""; + print ""; + print ""; $result = db_query($link, "SELECT email, full_name FROM ttrss_users WHERE id = " . $_SESSION["uid"]); @@ -705,8 +700,7 @@ print ""; - print "\">"; print ""; @@ -715,12 +709,12 @@ print ""; - print ""; + print ""; - print "
"; + print "
"; print ""; @@ -728,23 +722,21 @@ print ""; - print ""; - print ""; + print ""; - print ""; - print ""; + print ""; print "
"; - - print " "; - print ""; - - print "]]>"; + print " "; + print ""; + print "
"; //return; } @@ -770,10 +762,10 @@ print "
"; - print " "; - print ""; print "
"; -- cgit v1.2.3