public_html/docs/english/theme.html
branchHEAD
changeset 7410 b07ac3dba962
parent 7395 bb675c876cb9
child 7413 5db714583481
     1.1 --- a/public_html/docs/english/theme.html	Thu Oct 29 11:56:23 2009 +0100
     1.2 +++ b/public_html/docs/english/theme.html	Sat Oct 31 09:52:30 2009 +0100
     1.3 @@ -201,16 +201,36 @@
     1.4  <li>Added an icon, <tt>images/update.png</tt>, to be displayed in the admin's
     1.5      list of plugins when a plugin needs to be updated. The icon should have the
     1.6      same size as the "edit" icon (16x16 pixel in the Professional theme).</li>
     1.7 +<li>The Topic Editor now contains a line displaying the number of stories in
     1.8 +    the current topic. New variables in <tt>admin/topic/topiceditor.thtml</tt>:
     1.9 +    <code>{lang_num_stories}</code>, <code>{num_stories}</code></li>
    1.10 +<li>Added a link back to the story to the "Mail Story to a Friend" form,
    1.11 +    <tt>profiles/contactauthorform.thtml</tt>. Available variables:
    1.12 +    <tt>{lang_title}</tt>, <tt>{story_title}</tt>, <tt>{story_url}</tt>,
    1.13 +    <tt>{story_link}</tt>.</li>
    1.14  <li>Added a "send copy to myself" option to
    1.15      <tt>profiles/contactauthorform.thtml</tt></li>
    1.16 +<li>Added textarea fields for meta description and meta keywords to the Story
    1.17 +    Editor (<tt>admin/story/storyeditor.thtml</tt>,
    1.18 +    <tt>admin/story/storyeditor_advanced.thtml</tt>).</li>
    1.19 +<li>Added textarea fields for meta description and meta keywords to the Topic
    1.20 +    Editor (<tt>admin/topic/topiceditor.thtml</tt>).</li>
    1.21 +<li>Added a <code>{remoteservice}</code> variable in
    1.22 +    <tt>admin/user/edituser.thtml</tt> to optionally display the name of the
    1.23 +    service a Remote User was using to log in.</li>
    1.24 +</ul>
    1.25 +
    1.26 +<h3>Cosmetic changes</h3>
    1.27 +
    1.28 +<p>These changes are mostly cosmetic and won't affect the functionality of a
    1.29 +theme if not applied:</p>
    1.30 +
    1.31 +<ul>
    1.32  <li>Cosmetics: Made the look and layout of the "Send mail to user"
    1.33      (<tt>profiles/contactuserform.thtml</tt>), "Mail Story to a Friend"
    1.34      (<tt>profiles/contactauthorform.thtml</tt>), and "Mail Users"
    1.35      (<tt>admin/mail/mailform.thtml</tt>) dialogs more consistent (alignment,
    1.36      size of input fields).</li>
    1.37 -<li>The Topic Editor now contains a line displaying the number of stories in
    1.38 -    the current topic. New variables in <tt>admin/topic/topiceditor.thtml</tt>:
    1.39 -    <code>{lang_num_stories}</code>, <code>{num_stories}</tt></li>
    1.40  <li>Cosmetics: Fixed the position of the story preview when using the
    1.41      advanced editor (was slightly shifted to the right, <a
    1.42      href="http://project.geeklog.net/tracking/view.php?id=963">bug #0000963</a>). Changes to the <code>&lt;div id="preview"&gt;</code> in
    1.43 @@ -225,21 +245,10 @@
    1.44      <tt>admin/common/edit_permissions.thtml</tt>. Introduced new CSS class
    1.45      <tt>admin-list-smalltable</tt>, which is almost identical to
    1.46      <tt>admin-list-table</tt> but without the <code>width:100%;</code></li>
    1.47 -<li>Added a link back to the story to the "Mail Story to a Friend" form,
    1.48 -    <tt>profiles/contactauthorform.thtml</tt>. Available variables:
    1.49 -    <tt>{lang_title}</tt>, <tt>{story_title}</tt>, <tt>{story_url}</tt>,
    1.50 -    <tt>{story_link}</tt>.</tt>
    1.51 -<li>Added textarea fields for meta description and meta keywords to the Story
    1.52 -    Editor (<tt>admin/story/storyeditor.thtml</tt>,
    1.53 -    <tt>admin/story/storyeditor_advanced.thtml</tt>).</li>
    1.54 -<li>Added textarea fields for meta description and meta keywords to the Topic
    1.55 -    Editor (<tt>admin/topic/topiceditor.thtml</tt>).</li>
    1.56 -<li>Added a <code>{remoteservice}</code> variable in
    1.57 -    <tt>admin/user/edituser.thtml</tt> to optionally display the name of the
    1.58 -    service a Remote User was using to log in.</li>
    1.59  </ul>
    1.60  
    1.61  <h3>Changes to plugin templates</h3>
    1.62 +
    1.63  <p>Note that plugin template files are kept in a directory
    1.64  <tt>plugins/<i>pluginnname</i>/templates</tt> and not in the <tt>layout</tt>
    1.65  directory.</p>