[geeklog-cvs] geeklog: Cosmetics: Made the permission checkboxes look more lik...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Aug 9 07:03:25 EDT 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/07804dc28d84
changeset: 7247:07804dc28d84
user: Dirk Haun <dirk at haun-online.de>
date: Sun Aug 09 13:00:20 2009 +0200
description:
Cosmetics: Made the permission checkboxes look more like an Admin list
diffstat:
public_html/docs/english/theme.html | 24 ++++++++
public_html/layout/professional/admin/common/edit_permissions.thtml | 24 ++++----
public_html/layout/professional/style.css | 4 +
3 files changed, 40 insertions(+), 12 deletions(-)
diffs (89 lines):
diff -r 10f594b38261 -r 07804dc28d84 public_html/docs/english/theme.html
--- a/public_html/docs/english/theme.html Sun Aug 09 12:00:24 2009 +0200
+++ b/public_html/docs/english/theme.html Sun Aug 09 13:00:20 2009 +0200
@@ -198,15 +198,39 @@
<h2><a name="changes">Theme changes in Geeklog 1.6.1</a></h2>
<ul>
+<li>Cosmetics: Made the permission checkboxes look more like an Admin list,
+ <tt>admin/common/edit_permissions.thtml</tt>. Introduced new CSS class
+ <tt>admin-list-smalltable</tt>, which is almost identical to
+ <tt>admin-list-table</tt> but without the <code>width:100%;</code></li>
<li>Added a link back to the story to the "Mail Story to a Friend" form,
<tt>profiles/contactauthorform.thtml</tt>. Available variables:
<tt>{lang_title}</tt>, <tt>{story_title}</tt>, <tt>{story_url}</tt>,
<tt>{story_link}</tt>.</tt>
+<li>Added textarea fields for meta description and meta keywords to the Story
+ Editor (<tt>admin/story/storyeditor.thtml</tt>,
+ <tt>admin/story/storyeditor_advanced.thtml</tt>).</li>
<li>Added a <code>{remoteservice}</code> variable in
<tt>admin/user/edituser.thtml</tt> to optionally display the name of the
service a Remote User was using to log in.</li>
</ul>
+<h3>Changes to plugin templates</h3>
+<p>Note that plugin template files are kept in a directory
+<tt>plugins/<i>pluginnname</i>/templates</tt> and not in the <tt>layout</tt>
+directory.</p>
+
+<ul>
+<li>Static Pages: In the Static Pages editor, moved the Hits display below
+ the Last Updated entry (<tt>admin/editor.thtml</tt>,
+ <tt>admin/editor_advanced.thtml</tt>).</li>
+<li>Static Pages: Added textarea fileds for meta description and meta keywords
+ in the Static Pages editor (<tt>admin/editor.thtml</tt>,
+ <tt>admin/editor_advanced.thtml</tt>).</li>
+<li>Polls: Added new CSS classes <tt>poll-autotag-message</tt>,
+ <tt>poll-autotag</tt>, <tt>poll-autotag-left</tt>, used when embedding polls
+ via the new autotags.</li>
+</ul>
+
<h2><a name="changes160">Theme changes in Geeklog 1.6.0</a></h2>
diff -r 10f594b38261 -r 07804dc28d84 public_html/layout/professional/admin/common/edit_permissions.thtml
--- a/public_html/layout/professional/admin/common/edit_permissions.thtml Sun Aug 09 12:00:24 2009 +0200
+++ b/public_html/layout/professional/admin/common/edit_permissions.thtml Sun Aug 09 13:00:20 2009 +0200
@@ -1,16 +1,16 @@
-<table cellpadding="0" cellspacing="0">
+<table cellpadding="0" cellspacing="0" class="admin-list-smalltable">
<tr>
- <td colspan="2" class="edit-perm-up"><b>{owner}</b></td>
- <td colspan="2" class="edit-perm-up"><b>{group}</b></td>
- <td class="edit-perm-up"><b>{members}</b></td>
- <td class="edit-perm-up"><b>{anonymous}</b></td>
+ <th colspan="2" class="edit-perm-up admin-list-headerfield">{owner}</th>
+ <th colspan="2" class="edit-perm-up admin-list-headerfield">{group}</th>
+ <th class="edit-perm-up admin-list-headerfield">{members}</th>
+ <th class="edit-perm-up admin-list-headerfield">{anonymous}</th>
</tr>
- <tr>
- <td class="edit-perm-down"><b>R</b><br{xhtml}><input type="checkbox" name="perm_owner[]" value="2"{owner_r_checked}{xhtml}></td>
- <td class="edit-perm-down"><b>E</b><br{xhtml}><input type="checkbox" name="perm_owner[]" value="1"{owner_e_checked}{xhtml}></td>
- <td class="edit-perm-down"><b>R</b><br{xhtml}><input type="checkbox" name="perm_group[]" value="2"{group_r_checked}{xhtml}></td>
- <td class="edit-perm-down"><b>E</b><br{xhtml}><input type="checkbox" name="perm_group[]" value="1"{group_e_checked}{xhtml}></td>
- <td class="edit-perm-down"><b>R</b><br{xhtml}><input type="checkbox" name="perm_members[]" value="2"{members_checked}{xhtml}></td>
- <td class="edit-perm-down"><b>R</b><br{xhtml}><input type="checkbox" name="perm_anon[]" value="2"{anon_checked}{xhtml}></td>
+ <tr class="pluginRow1">
+ <td class="edit-perm-down admin-list-field"><b>R</b><br{xhtml}><input type="checkbox" name="perm_owner[]" value="2"{owner_r_checked}{xhtml}></td>
+ <td class="edit-perm-down admin-list-field"><b>E</b><br{xhtml}><input type="checkbox" name="perm_owner[]" value="1"{owner_e_checked}{xhtml}></td>
+ <td class="edit-perm-down admin-list-field"><b>R</b><br{xhtml}><input type="checkbox" name="perm_group[]" value="2"{group_r_checked}{xhtml}></td>
+ <td class="edit-perm-down admin-list-field"><b>E</b><br{xhtml}><input type="checkbox" name="perm_group[]" value="1"{group_e_checked}{xhtml}></td>
+ <td class="edit-perm-down admin-list-field"><b>R</b><br{xhtml}><input type="checkbox" name="perm_members[]" value="2"{members_checked}{xhtml}></td>
+ <td class="edit-perm-down admin-list-field"><b>R</b><br{xhtml}><input type="checkbox" name="perm_anon[]" value="2"{anon_checked}{xhtml}></td>
</tr>
</table>
diff -r 10f594b38261 -r 07804dc28d84 public_html/layout/professional/style.css
--- a/public_html/layout/professional/style.css Sun Aug 09 12:00:24 2009 +0200
+++ b/public_html/layout/professional/style.css Sun Aug 09 13:00:20 2009 +0200
@@ -192,6 +192,10 @@
.admin-menu-item { /* a single link in the menu */
padding: 0px 5px 0px 5px;
}
+.admin-list-smalltable {
+ text-align:left;
+ border-spacing:1px;
+}
.admin-list-table {
width:100%;
text-align:left;
More information about the geeklog-cvs
mailing list