<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -6,16 +6,14 @@
 &lt;/p&gt;
 
 &lt;div class=&quot;reference&quot;&gt;
-&lt;div class=&quot;snippet&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;snippet_description&quot;&gt;
   &lt;h4&gt;header&lt;/h4&gt;
-  &lt;div class=&quot;snippet_description&quot;&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;r:content part=&amp;quot;navigation&amp;quot; /&amp;gt;
+  &lt;div&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;r:content part=&amp;quot;navigation&amp;quot; /&amp;gt;
 &amp;lt;h1&amp;gt;&amp;lt;r:title /&amp;gt;&amp;lt;/h1&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;snippet&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;snippet_description&quot;&gt;
   &lt;h4&gt;footer&lt;/h4&gt;
-  &lt;div class=&quot;snippet_description&quot;&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;
+  &lt;div&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;
   Copyright &amp;amp;copy; 2009 | Powered by Radiant CMS
 &amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
 &lt;/div&gt;
@@ -27,7 +25,7 @@
   var snippets, searchingOn = &quot;&quot;;
   var popup = $('snippet_reference_popup');
   new Form.Element.Observer('search_snippet_reference', 0.5, function(element, value) {
-    if (!snippets) snippets = popup.select('.reference .snippet');
+    if (!snippets) snippets = popup.select('.reference .snippet_description');
     if (value.length &lt; 3 &amp;&amp; searchingOn != &quot;&quot;) {
       searchingOn = &quot;&quot;;
       snippets.invoke('show');
@@ -38,22 +36,4 @@
       });
     }
   });
-  $$('img.expander').each(function(element) {
-    element.observe('click', function(event) {
-      var snippetDescription = this.next('.snippet_description');
-      if (snippetDescription.hasClassName('expanded')) {
-        this.src = this.src.replace('collapse', 'expand');
-        snippetDescription.removeClassName('expanded');
-      } else {
-        this.src = this.src.replace('expand', 'collapse');
-        snippetDescription.addClassName('expanded');
-      }
-    });
-  });
-  $$('h4').each(function(snippet) {
-    snippet.observe('click', function(event) {
-      Element.closePopup('snippet_reference_popup');
-      alert(&quot;Inserting a snippet not yet implemented.&quot;);
-    }).writeAttribute(&quot;title&quot;, &quot;Insert &quot; + snippet.innerText + &quot; snippet.&quot;);
-  });
 &lt;/script&gt;
\ No newline at end of file</diff>
      <filename>admin/docs/snippets/show.html</filename>
    </modified>
    <modified>
      <diff>@@ -6,20 +6,17 @@
 &lt;/p&gt;
 
 &lt;div class=&quot;reference&quot;&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:author /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;&lt;p&gt;Renders the name of the author of the current page.&lt;/p&gt;&lt;/div&gt;
+  &lt;div&gt;&lt;p&gt;Renders the name of the author of the current page.&lt;/p&gt;&lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:breadcrumb /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;&lt;p&gt;Renders the &lt;code&gt;breadcrumb&lt;/code&gt; attribute of the current page.&lt;/p&gt;&lt;/div&gt;
+  &lt;div&gt;&lt;p&gt;Renders the &lt;code&gt;breadcrumb&lt;/code&gt; attribute of the current page.&lt;/p&gt;&lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:breadcrumbs /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Renders a trail of breadcrumbs to the current page. The separator attribute
     specifies the &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; fragment that is inserted between each of the breadcrumbs. By
     default it is set to &lt;code&gt;&amp;gt;&lt;/code&gt;. The boolean nolinks attribute can be specified to render
@@ -30,10 +27,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:breadcrumbs [separator=&quot;separator_string&quot;] [nolinks=&quot;true&quot;] /&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:children /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Gives access to a page&amp;#8217;s children.&lt;/p&gt;
     
     
@@ -41,15 +37,13 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:children&amp;gt;...&amp;lt;/r:children&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:children:count /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;&lt;p&gt;Renders the total number of children.&lt;/p&gt;&lt;/div&gt;
+  &lt;div&gt;&lt;p&gt;Renders the total number of children.&lt;/p&gt;&lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:children:each /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Cycles through each of the children. Inside this tag all page attribute tags
     are mapped to the current child page.&lt;/p&gt;
     
@@ -62,10 +56,9 @@
     &lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:children:each:child /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Page attribute tags inside of this tag refer to the current child. This is occasionally
     useful if you are inside of another tag (like &amp;lt;r:find&amp;gt;) and need to refer back to the
     current child.&lt;/p&gt;
@@ -78,10 +71,9 @@
     &lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:children:each:header /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Renders the tag contents only if the contents do not match the previous header. This
     is extremely useful for rendering date headers for a list of child pages.&lt;/p&gt;
     
@@ -105,10 +97,9 @@
     &lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:children:first /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Returns the first child. Inside this tag all page attribute tags are mapped to
     the first child. Takes the same ordering options as &lt;code&gt;&amp;lt;r:children:each&amp;gt;&lt;/code&gt;.&lt;/p&gt;
     
@@ -117,10 +108,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:children:first&amp;gt;...&amp;lt;/r:children:first&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:children:last /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Returns the last child. Inside this tag all page attribute tags are mapped to
     the last child. Takes the same ordering options as &lt;code&gt;&amp;lt;r:children:each&amp;gt;&lt;/code&gt;.&lt;/p&gt;
     
@@ -129,10 +119,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:children:last&amp;gt;...&amp;lt;/r:children:last&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:comment /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Nothing inside a set of comment tags is rendered.&lt;/p&gt;
     
     
@@ -140,10 +129,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:comment&amp;gt;...&amp;lt;/r:comment&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:content /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Renders the main content of a page. Use the &lt;code&gt;part&lt;/code&gt; attribute to select a specific
     page part. By default the &lt;code&gt;part&lt;/code&gt; attribute is set to body. Use the &lt;code&gt;inherit&lt;/code&gt;
     attribute to specify that if a page does not have a content part by that name that
@@ -157,10 +145,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:content [part=&quot;part_name&quot;] [inherit=&quot;true|false&quot;] [contextual=&quot;true|false&quot;] /&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:cycle /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Renders one of the passed values based on a global cycle counter.  Use the &lt;code&gt;reset&lt;/code&gt;
     attribute to reset the cycle to the beginning.  Use the &lt;code&gt;name&lt;/code&gt; attribute to track 
     multiple cycles; the default is &lt;code&gt;cycle&lt;/code&gt;.&lt;/p&gt;
@@ -170,10 +157,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:cycle values=&quot;first, second, third&quot; [reset=&quot;true|false&quot;] [name=&quot;cycle&quot;] /&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:date /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Renders the date based on the current page (by default when it was published or created). 
     The format attribute uses the same formating codes used by the Ruby &lt;code&gt;strftime&lt;/code&gt; function. By
     default it&amp;#8217;s set to &lt;code&gt;%A, %B %d, %Y&lt;/code&gt;.  The &lt;code&gt;for&lt;/code&gt; attribute selects which date to render.  Valid
@@ -185,10 +171,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:date [format=&quot;%A, %B %d, %Y&quot;] [for=&quot;published_at&quot;]/&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:escape_html /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Escapes angle brackets, etc. for rendering in an &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; document.&lt;/p&gt;
     
     
@@ -196,10 +181,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:escape_html&amp;gt;...&amp;lt;/r:escape_html&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:find /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Inside this tag all page related tags refer to the page found at the &lt;code&gt;url&lt;/code&gt; attribute.  
     @url@s may be relative or absolute paths.&lt;/p&gt;
     
@@ -208,10 +192,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:find url=&quot;value_to_find&quot;&amp;gt;...&amp;lt;/r:find&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:if_ancestor_or_self /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Renders the contained elements if the current contextual page is either the actual page or one of its parents.&lt;/p&gt;
     
     
@@ -222,10 +205,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:if_ancestor_or_self&amp;gt;...&amp;lt;/if_ancestor_or_self&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:if_children /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Renders the contained elements only if the current contextual page has one or
     more child pages.  The &lt;code&gt;status&lt;/code&gt; attribute limits the status of found child pages
     to the given status, the default is &lt;code&gt;&quot;published&quot;&lt;/code&gt;. &lt;code&gt;status=&quot;all&quot;&lt;/code&gt; includes all
@@ -236,10 +218,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:if_children [status=&quot;published&quot;]&amp;gt;...&amp;lt;/r:if_children&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:if_content /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Renders the containing elements only if the part exists on a page. By default the
     &lt;code&gt;part&lt;/code&gt; attribute is set to &lt;code&gt;body&lt;/code&gt;.&lt;/p&gt;
     
@@ -248,10 +229,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:if_content [part=&quot;part_name&quot;]&amp;gt;...&amp;lt;/r:if_content&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:if_dev /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Renders the containing elements only if Radiant in is development mode.&lt;/p&gt;
     
     
@@ -259,10 +239,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:if_dev&amp;gt;...&amp;lt;/r:if_dev&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:if_parent /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Renders the contained elements only if the current contextual page has a parent, i.e. 
     is not the root page.&lt;/p&gt;
     
@@ -271,10 +250,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:if_parent&amp;gt;...&amp;lt;/r:if_parent&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:if_self /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Renders the contained elements if the current contextual page is also the actual page.&lt;/p&gt;
     
     
@@ -285,10 +263,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:if_self&amp;gt;...&amp;lt;/if_self&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:if_url /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Renders the containing elements only if the page&amp;#8217;s url matches the regular expression
     given in the &lt;code&gt;matches&lt;/code&gt; attribute. If the &lt;code&gt;ignore_case&lt;/code&gt; attribute is set to false, the
     match is case sensitive. By default, &lt;code&gt;ignore_case&lt;/code&gt; is set to true.&lt;/p&gt;
@@ -298,10 +275,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:if_url matches=&quot;regexp&quot; [ignore_case=&quot;true|false&quot;]&amp;gt;...&amp;lt;/if_url&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:link /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Renders a link to the page. When used as a single tag it uses the page&amp;#8217;s title
     for the link name. When used as a double tag the part in between both tags will
     be used as the link text. The link tag passes all attributes over to the &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt;
@@ -317,10 +293,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:link [anchor=&quot;name&quot;] [other attributes...]&amp;gt;link text here&amp;lt;/r:link&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:meta /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;The namespace for &amp;#8216;meta&amp;#8217; attributes.  If used as a singleton tag, both the description
     and keywords fields will be output as &amp;lt;meta /&amp;gt; tags unless the attribute &amp;#8216;tag&amp;#8217; is set to &amp;#8216;false&amp;#8217;.&lt;/p&gt;
     
@@ -336,10 +311,9 @@
     &lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:meta:description /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Emits the page description field in a meta tag, unless attribute
     &amp;#8216;tag&amp;#8217; is set to &amp;#8216;false&amp;#8217;.&lt;/p&gt;
     
@@ -350,10 +324,9 @@
     &lt;pre&gt;&lt;code&gt; &amp;lt;r:meta:description [tag=&quot;false&quot;] /&amp;gt; &lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:meta:keywords /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Emits the page keywords field in a meta tag, unless attribute
     &amp;#8216;tag&amp;#8217; is set to &amp;#8216;false&amp;#8217;.&lt;/p&gt;
     
@@ -364,10 +337,9 @@
     &lt;pre&gt;&lt;code&gt; &amp;lt;r:meta:keywords [tag=&quot;false&quot;] /&amp;gt; &lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:navigation /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Renders a list of links specified in the &lt;code&gt;urls&lt;/code&gt; attribute according to three
     states:&lt;/p&gt;
     
@@ -394,10 +366,9 @@
     &lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:page /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Causes the tags referring to a page&amp;#8217;s attributes to refer to the current page.&lt;/p&gt;
     
     
@@ -405,10 +376,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:page&amp;gt;...&amp;lt;/r:page&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:parent /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Page attribute tags inside this tag refer to the parent of the current page.&lt;/p&gt;
     
     
@@ -416,10 +386,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:parent&amp;gt;...&amp;lt;/r:parent&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:random /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Randomly renders one of the options specified by the &lt;code&gt;option&lt;/code&gt; tags.&lt;/p&gt;
     
     
@@ -432,10 +401,9 @@
     &lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:rfc1123_date /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Outputs the published date using the format mandated by &lt;span class=&quot;caps&quot;&gt;RFC 1123&lt;/span&gt;. (Ideal for &lt;span class=&quot;caps&quot;&gt;RSS&lt;/span&gt; feeds.)&lt;/p&gt;
     
     
@@ -443,15 +411,13 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:rfc1123_date /&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:slug /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;&lt;p&gt;Renders the &lt;code&gt;slug&lt;/code&gt; attribute of the current page.&lt;/p&gt;&lt;/div&gt;
+  &lt;div&gt;&lt;p&gt;Renders the &lt;code&gt;slug&lt;/code&gt; attribute of the current page.&lt;/p&gt;&lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:snippet /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Renders the snippet specified in the &lt;code&gt;name&lt;/code&gt; attribute within the context of a page.&lt;/p&gt;
     
     
@@ -459,10 +425,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:snippet name=&quot;snippet_name&quot; /&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:status /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Prints the page&amp;#8217;s status as a string.  Optional attribute &amp;#8216;downcase&amp;#8217; 
     will cause the status to be all lowercase.&lt;/p&gt;
     
@@ -471,15 +436,13 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:status [downcase='true'] /&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:title /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;&lt;p&gt;Renders the &lt;code&gt;title&lt;/code&gt; attribute of the current page.&lt;/p&gt;&lt;/div&gt;
+  &lt;div&gt;&lt;p&gt;Renders the &lt;code&gt;title&lt;/code&gt; attribute of the current page.&lt;/p&gt;&lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:unless_children /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Renders the contained elements only if the current contextual page has no children.
     The &lt;code&gt;status&lt;/code&gt; attribute limits the status of found child pages to the given status,
     the default is &lt;code&gt;&quot;published&quot;&lt;/code&gt;. &lt;code&gt;status=&quot;all&quot;&lt;/code&gt; includes all non-virtual pages 
@@ -490,10 +453,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:unless_children [status=&quot;published&quot;]&amp;gt;...&amp;lt;/r:unless_children&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:unless_content /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;The opposite of the &lt;code&gt;if_content&lt;/code&gt; tag.&lt;/p&gt;
     
     
@@ -501,10 +463,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:unless_content [part=&quot;part_name&quot;]&amp;gt;...&amp;lt;/r:unless_content&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:unless_dev /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;The opposite of the &lt;code&gt;if_dev&lt;/code&gt; tag.&lt;/p&gt;
     
     
@@ -512,10 +473,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:unless_dev&amp;gt;...&amp;lt;/r:unless_dev&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:unless_parent /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;Renders the contained elements only if the current contextual page has no parent, i.e. 
     is the root page.&lt;/p&gt;
     
@@ -524,10 +484,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:unless_parent&amp;gt;...&amp;lt;/r:unless_parent&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:unless_url /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;
+  &lt;div&gt;
     &lt;p&gt;The opposite of the &lt;code&gt;if_url&lt;/code&gt; tag.&lt;/p&gt;
     
     
@@ -535,10 +494,9 @@
     &lt;pre&gt;&lt;code&gt;&amp;lt;r:unless_url matches=&quot;regexp&quot; [ignore_case=&quot;true|false&quot;]&amp;gt;...&amp;lt;/unless_url&amp;gt;&lt;/code&gt;&lt;/pre&gt;
   &lt;/div&gt;
 &lt;/div&gt;
-&lt;div class=&quot;tag&quot;&gt;
-  &lt;img class=&quot;expander&quot; src=&quot;/images/admin/expand.png&quot; /&gt;
+&lt;div class=&quot;tag_description&quot;&gt;
   &lt;h4&gt;&amp;lt;r:url /&amp;gt;&lt;/h4&gt;
-  &lt;div class=&quot;tag_description&quot;&gt;&lt;p&gt;Renders the &lt;code&gt;url&lt;/code&gt; attribute of the current page.&lt;/p&gt;&lt;/div&gt;
+  &lt;div&gt;&lt;p&gt;Renders the &lt;code&gt;url&lt;/code&gt; attribute of the current page.&lt;/p&gt;&lt;/div&gt;
 &lt;/div&gt;
 &lt;/div&gt;
 
@@ -548,7 +506,7 @@
   var tags, searchingOn = &quot;&quot;;
   var popup = $('tag_reference_popup');
   new Form.Element.Observer('search_tag_reference', 0.5, function(element, value) {
-    if (!tags) tags = popup.select('.reference .tag');
+    if (!tags) tags = popup.select('.reference .tag_description');
     if (value.length &lt; 3 &amp;&amp; searchingOn != &quot;&quot;) {
       searchingOn = &quot;&quot;;
       tags.invoke('show');
@@ -559,22 +517,4 @@
       });
     }
   });
-  $$('img.expander').each(function(element) {
-    element.observe('click', function(event) {
-      var tagDescription = this.next('.tag_description');
-      if (tagDescription.hasClassName('expanded')) {
-        this.src = this.src.replace('collapse', 'expand');
-        tagDescription.removeClassName('expanded');
-      } else {
-        this.src = this.src.replace('expand', 'collapse');
-        tagDescription.addClassName('expanded');
-      }
-    });
-  });
-  $$('h4').each(function(tag) {
-    tag.observe('click', function(event) {
-      Element.closePopup('tag_reference_popup');
-      alert(&quot;Inserting a tag not yet implemented.&quot;);
-    }).writeAttribute(&quot;title&quot;, &quot;Insert &quot; + tag.innerText + &quot; tag.&quot;);
-  });
 &lt;/script&gt;
\ No newline at end of file</diff>
      <filename>admin/docs/tags/show.html</filename>
    </modified>
    <modified>
      <diff>@@ -167,6 +167,12 @@
             %option{:value=&gt;&quot;Markdown&quot;} Markdown
             %option{:value=&gt;&quot;SmartyPants&quot;} SmartyPants
             %option{:value=&gt;&quot;Textile&quot;, :selected =&gt; &quot;selected&quot;} Textile
+        %span.reference_links
+          Reference:
+          %span#filter_reference_link_0
+            %a{:href=&gt;&quot;#&quot;, :onclick=&gt;&quot;loadFilterReference(0); return false;&quot;} Filter
+          %span#tag_reference_link_0
+            %a{:href=&gt;&quot;#&quot;, :onclick=&gt;&quot;loadTagReference(0); return false;&quot;} Available Tags
         %div
           %textarea.large#part_0_content{:name=&gt;&quot;part[0][content]&quot;, :style=&gt;&quot;width: 100%&quot;}=&quot;&quot;
     .page{:caption=&gt;&quot;sidebar&quot;}
@@ -178,6 +184,12 @@
             %option{:value=&gt;&quot;Markdown&quot;} Markdown
             %option{:value=&gt;&quot;SmartyPants&quot;} SmartyPants
             %option{:value=&gt;&quot;Textile&quot;} Textile
+        %span.reference_links
+          Reference:
+          %span#filter_reference_link_0
+            %a{:href=&gt;&quot;#&quot;, :onclick=&gt;&quot;loadFilterReference(0); return false;&quot;} Filter
+          %span#tag_reference_link_0
+            %a{:href=&gt;&quot;#&quot;, :onclick=&gt;&quot;loadTagReference(0); return false;&quot;} Available Tags
         %div
           %textarea.large#part_1_content{:name=&gt;&quot;part[1][content]&quot;, :style=&gt;&quot;width: 100%&quot;}=&quot;&quot;
 .row</diff>
      <filename>admin/pages/_fields.haml</filename>
    </modified>
    <modified>
      <diff>@@ -51,8 +51,6 @@ Event.addBehavior({
 
 // Toolbars
 var teButtons = TextileEditor.prototype.buttons;
-teButtons.push(&quot;&lt;button class=\&quot;link\&quot; onclick=\&quot;loadFilterReference(0); return false;\&quot; accesskey=\&quot;h\&quot; class=\&quot;standard\&quot;&gt;&lt;img src=\&quot;/images/admin/toolbar/help.png\&quot; title=\&quot;Filter Reference\&quot; alt=\&quot;Filter Reference\&quot; /&gt;&lt;/button&gt;&quot;);
-teButtons.push(new EditorButtonSeparator(''));
 teButtons.push(new EditorButton('strong',     'bold.png',          '*',   '*',  'b', 'Bold','s'));
 teButtons.push(new EditorButton('emphasis',   'italic.png',        '_',   '_',  'i', 'Italicize','s'));
 teButtons.push(new EditorButton('ol',         'list_numbers.png',  '# ', '\n', ',', 'Numbered List'));
@@ -66,8 +64,6 @@ teButtons.push(&quot;&lt;button class=\&quot;link\&quot; onclick=\&quot;alert('not yet ported from text
 teButtons.push(&quot;&lt;button class=\&quot;img\&quot; onclick=\&quot;alert('not yet ported from textile_editor');return false; new ImagePopup(this);return false;\&quot; accesskey=\&quot;m\&quot; class=\&quot;standard\&quot;&gt;&lt;img src=\&quot;/images/admin/toolbar/image.png\&quot; title=\&quot;Image\&quot; alt=\&quot;Image\&quot; /&gt;&lt;/button&gt;&quot;);
 
 var meButtons = MarkdownEditor.prototype.buttons;
-meButtons.push(&quot;&lt;button class=\&quot;link\&quot; onclick=\&quot;loadFilterReference(0); return false;\&quot; accesskey=\&quot;h\&quot; class=\&quot;standard\&quot;&gt;&lt;img src=\&quot;/images/admin/toolbar/help.png\&quot; title=\&quot;Filter Reference\&quot; alt=\&quot;Filter Reference\&quot; /&gt;&lt;/button&gt;&quot;);
-meButtons.push(new EditorButtonSeparator(''));
 meButtons.push(new EditorButton('strong',     'bold.png',          '**',   '**',  'b', 'Bold','s'));
 meButtons.push(new EditorButton('emphasis',   'italic.png',        '_',   '_',  'i', 'Italicize','s'));
 </diff>
      <filename>javascripts/admin/application.js</filename>
    </modified>
    <modified>
      <diff>@@ -24,29 +24,16 @@ div.popup
     font-size: 90%
     input.button
       font-size: 130%
-  .tag,
-  .snippet
-    border-bottom: 1px dotted #ddd
+  .tag_description,
+  .snippet_description
+    border-bottom: 1px dotted silver
     font-size: 95%
-    padding: 4px 12px
-    position: relative
-    img.expander
-      left: -10px
-      position: absolute
-      padding: 1px 4px 0
+    padding: 12px 0
     h4
       color: green
       font-size: 120%
       margin-top: 0
-      margin-bottom: 0
-      cursor: pointer
-    .tag_description,
-    .snippet_description
-      padding-top: 8px
-      display: none
-    .tag_description.expanded,
-    .snippet_description.expanded
-      display: block
+      margin-bottom: 8px
     code
       background-color: #f5f5f5
       color: #666
@@ -88,7 +75,7 @@ div.popup
       color: green
       font-size: 120%
       margin-top: 0
-      margin-bottom: 0
+      margin-bottom: 8px
     table
       width: 100%
       th</diff>
      <filename>stylesheets/admin/partials/_popup.sass</filename>
    </modified>
    <modified>
      <diff>@@ -42,10 +42,10 @@
         text-shadow: none
     .reference_links
       font-size: 85%
-      margin-left: 10px
+      margin-left: 2em
+      float: right
       a
         color: #0066cc
-        padding-left: 6px
 .tabs
   #tab_toolbar
     float: right</diff>
      <filename>stylesheets/admin/partials/_tabcontrol.sass</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>583cfbf80677ae10ea72516e9b1817c5a410acb0</id>
    </parent>
  </parents>
  <author>
    <name>Jason Garber</name>
    <email>jg@jasongarber.com</email>
  </author>
  <url>http://github.com/radiant/radiant-prototype/commit/5a1ced1acee74a72e1de316bc5b7e5facd42d633</url>
  <id>5a1ced1acee74a72e1de316bc5b7e5facd42d633</id>
  <committed-date>2009-10-12T11:04:10-07:00</committed-date>
  <authored-date>2009-10-12T11:03:25-07:00</authored-date>
  <message>Put back filter and tag references as text links.  Remove the expand/collapse on items in the popups.

After John Long and I talking it over, we decided to return that part of the toolbar area and the popups to how they were before 68fc8ae.</message>
  <tree>77c0f80d5155f0b5399d35ca18c95e3b3443ba83</tree>
  <committer>
    <name>Jason Garber</name>
    <email>jg@jasongarber.com</email>
  </committer>
</commit>
