mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-03-10 06:25 am

[dw-free] Add link back to newly added FAQ. By request of [personal profile] rho.

[commit: http://hg.dwscoalition.org/dw-free/rev/4fa448cdde1f]

Add link back to newly added FAQ. By request of [personal profile] rho.

Patch by [staff profile] mark.

Files modified:
  • htdocs/admin/faq/faqedit_do.bml
--------------------------------------------------------------------------------
diff -r dc7eeebc4d67 -r 4fa448cdde1f htdocs/admin/faq/faqedit_do.bml
--- a/htdocs/admin/faq/faqedit_do.bml	Mon Mar 09 22:29:31 2009 +0000
+++ b/htdocs/admin/faq/faqedit_do.bml	Tue Mar 10 06:25:54 2009 +0000
@@ -84,7 +84,7 @@ body<=
      }
      $dbh->do("INSERT INTO faq (faqid, question, summary, answer, faqcat, sortorder, lastmoduserid, lastmodtime) VALUES (NULL, $qq, $qs, $qa, $qfaqcat, $sortorder, $remote->{'userid'}, NOW())");
      $id = $dbh->{'mysql_insertid'};
-     $ret .= $dbh->errstr || "Added FAQ item.  All good.";
+     $ret .= $dbh->errstr || "Added FAQ item.  All good.  faqid is <b><a href='$LJ::SITEROOT/support/faqbrowse.bml?faqid=$id'>$id</a></b>";
 
      $opts_question->{'childrenlatest'} = 1; 
      $opts_summary->{'childrenlatest'} = 1; 
--------------------------------------------------------------------------------