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] changelog2010-05-02 04:18 am

[dw-free] Site Map needs better link to Shop

[commit: http://hg.dwscoalition.org/dw-free/rev/0dafeb52c3e4]

http://bugs.dwscoalition.org/show_bug.cgi?id=2508

Add shop items to the sitemap.

Patch by [personal profile] ninetydegrees.

Files modified:
  • htdocs/site/index.bml
  • htdocs/site/index.bml.text
--------------------------------------------------------------------------------
diff -r 1ce0dd56861d -r 0dafeb52c3e4 htdocs/site/index.bml
--- a/htdocs/site/index.bml	Sun May 02 04:15:53 2010 +0000
+++ b/htdocs/site/index.bml	Sun May 02 04:18:30 2010 +0000
@@ -93,6 +93,15 @@ body<=
 </div>
 <div id='maplinks-right'>
 
+ <dl><dt><?_code return BML::ml('.maplinks.shop-title', { sitename => $LJ::SITENAMESHORT }); _code?></dt>
+  <dd><ul>
+   <li><a href='/shop'><?_ml .maplinks.buy-paid _ml?></a></li>
+   <li><a href='/shop/gifts'><?_ml .maplinks.buy-circle _ml?></a></li>
+   <li><a href='/shop/randomgift'><?_ml .maplinks.buy-random _ml?></a></li>
+   <li><a href='http://www.zazzle.com/dreamwidth*'><?_ml .maplinks.buy-merchandise _ml?></a></li>
+   <li><a href='/shop/history'><?_ml .maplinks.payment-history _ml?></a></li>
+  </ul></dd></dl>
+
  <dl><dt><?_code return BML::ml('.maplinks.learn-site-title', { sitename => $LJ::SITENAMESHORT }); _code?></dt>
   <dd><ul>
    <li><a href='/support/faqbrowse?faqcat=about'><?_ml .maplinks.aboutus _ml?></a></li>
diff -r 1ce0dd56861d -r 0dafeb52c3e4 htdocs/site/index.bml.text
--- a/htdocs/site/index.bml.text	Sun May 02 04:15:53 2010 +0000
+++ b/htdocs/site/index.bml.text	Sun May 02 04:18:30 2010 +0000
@@ -77,6 +77,18 @@
 
 .maplinks.search-comm=Search communities
 
+.maplinks.shop-title=...shop with [[sitename]]:
+
+.maplinks.buy-paid=Buy a paid account
+
+.maplinks.buy-circle=Gift an account in your circle
+
+.maplinks.buy-random=Gift a free random user
+
+.maplinks.buy-merchandise=Buy merchandise
+
+.maplinks.payment-history=View your payment history
+
 .maplinks.learn-site-title=...learn about [[sitename]]:
 
 .maplinks.aboutus=About us
--------------------------------------------------------------------------------