[geeklog-cvs] geeklog: Tweaked look of Story Editor and edit permissions for c...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Jan 30 12:01:26 EST 2011
changeset 8090:01f15e2f81f3
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/01f15e2f81f3
user: Tom <websitemaster at cogeco.net>
date: Sun Jan 30 12:01:02 2011 -0500
description:
Tweaked look of Story Editor and edit permissions for css theme
diffstat:
public_html/layout/professional_css/admin/common/edit_permissions.thtml | 12 +-
public_html/layout/professional_css/admin/story/storyeditor.thtml | 32 +++++----
public_html/layout/professional_css/admin/story/storyeditor_advanced.thtml | 20 +++--
3 files changed, 35 insertions(+), 29 deletions(-)
diffs (177 lines):
diff -r c1f500666c73 -r 01f15e2f81f3 public_html/layout/professional_css/admin/common/edit_permissions.thtml
--- a/public_html/layout/professional_css/admin/common/edit_permissions.thtml Sun Jan 30 16:28:00 2011 +0100
+++ b/public_html/layout/professional_css/admin/common/edit_permissions.thtml Sun Jan 30 12:01:02 2011 -0500
@@ -13,12 +13,12 @@
<tbody>
<tr>
- <td>R<input type="checkbox" name="perm_owner[]" value="2"{owner_r_checked} class="checkbox"{xhtml}></td>
- <td>E<input type="checkbox" name="perm_owner[]" value="1"{owner_e_checked} class="checkbox"{xhtml}></td>
- <td>R<input type="checkbox" name="perm_group[]" value="2"{group_r_checked} class="checkbox"{xhtml}></td>
- <td>E<input type="checkbox" name="perm_group[]" value="1"{group_e_checked} class="checkbox"{xhtml}></td>
- <td>R<input type="checkbox" name="perm_members[]" value="2"{members_checked} class="checkbox"{xhtml}></td>
- <td>R<input type="checkbox" name="perm_anon[]" value="2"{anon_checked} class="checkbox"{xhtml}></td>
+ <td>R<br{xhtml}><input type="checkbox" name="perm_owner[]" value="2"{owner_r_checked} class="checkbox"{xhtml}></td>
+ <td>E<br{xhtml}><input type="checkbox" name="perm_owner[]" value="1"{owner_e_checked} class="checkbox"{xhtml}></td>
+ <td>R<br{xhtml}><input type="checkbox" name="perm_group[]" value="2"{group_r_checked} class="checkbox"{xhtml}></td>
+ <td>E<br{xhtml}><input type="checkbox" name="perm_group[]" value="1"{group_e_checked} class="checkbox"{xhtml}></td>
+ <td>R<br{xhtml}><input type="checkbox" name="perm_members[]" value="2"{members_checked} class="checkbox"{xhtml}></td>
+ <td>R<br{xhtml}><input type="checkbox" name="perm_anon[]" value="2"{anon_checked} class="checkbox"{xhtml}></td>
</tr>
</tbody>
</table>
diff -r c1f500666c73 -r 01f15e2f81f3 public_html/layout/professional_css/admin/story/storyeditor.thtml
--- a/public_html/layout/professional_css/admin/story/storyeditor.thtml Sun Jan 30 16:28:00 2011 +0100
+++ b/public_html/layout/professional_css/admin/story/storyeditor.thtml Sun Jan 30 12:01:02 2011 -0500
@@ -86,15 +86,17 @@
<dt><label for="admin-storyeditor-draft_flag">{lang_draft}</label></dt>
<dd><input type="checkbox" {is_checked} name="draft_flag" id="admin-storyeditor-draft_flag"{xhtml}></dd>
- <dt><label for="admin-storyeditor-archiveflag">{lang_archivetitle}({lang_option})</label></dt>
+ <dt><label for="admin-storyeditor-archiveflag">{lang_archivetitle}</label></dt>
<dd>
- <input type="checkbox" value="1" {is_checked2} onclick="enablearchive(this);" name="archiveflag" id="admin-storyeditor-archiveflag"{xhtml}>{lang_enabled}
+ {lang_enabled}
+ <input type="checkbox" value="1" {is_checked2} onclick="enablearchive(this);" name="archiveflag" id="admin-storyeditor-archiveflag"{xhtml}>
<input type="radio" name="statuscode" id="storycode10" value="10" {is_checked3}{xhtml}>{lang_optionarchive}
- <input type="radio" name="statuscode" id="storycode11" value="11" {is_checked4}{xhtml}>{lang_optiondelete}
+ <input type="radio" name="statuscode" id="storycode11" value="11" {is_checked4}{xhtml}>
+ {lang_optiondelete}
</dd>
- <dt><label for="admin-storyeditor-expire_month">{lang_archivetitle}({lang_date})</label></dt>
- <dd>
+ <dt><label for="admin-storyeditor-expire_month"></label></dt>
+ <dd>{lang_date}
<select name="expire_month" id="admin-storyeditor-expire_month">
{expire_month_options}
</select>
@@ -123,6 +125,7 @@
<select name="frontpage">
{frontpage_options}
</select>
+ <br{xhtml}>
<select name="commentcode">
{comment_options}
</select>
@@ -133,8 +136,9 @@
<dt><label for="admin-storyeditor-featured">{lang_cmt_disable}:</label></dt>
<dd>
- {lang_enabled}
+ {lang_enabled}
<input type="checkbox" name="cmt_close_flag" value="1" {is_checked5} onclick="enablecmtclose(this);"{xhtml}>
+
<span dir="ltr">
<select name="cmt_close_month">
{cmt_close_month_options}
@@ -164,16 +168,16 @@
<dd><input type="text" size="40" maxlength="40" value="{story_id}" name="sid" id="admin-storyeditor-sid" class="text"{xhtml}></dd>
<dt{hide_meta}><label for="admin-storyeditor-metadescription">{lang_metadescription}</label></dt>
- <dd{hide_meta}><textarea name="meta_description" id="admin-storyeditor-metadescription" style="width:95%" rows="2">{meta_description}</textarea></dd>
+ <dd{hide_meta}><textarea cols="80" rows="2" name="meta_description" id="admin-storyeditor-metadescription">{meta_description}</textarea></dd>
<dt{hide_meta}><label for="admin-storyeditor-metakeywords">{lang_metakeywords}</label></dt>
- <dd{hide_meta}><textarea name="meta_keywords" id="admin-storyeditor-metakeywords" style="width:95%" rows="2">{meta_keywords}</textarea></dd>
+ <dd{hide_meta}><textarea cols="80" rows="2" name="meta_keywords" id="admin-storyeditor-metakeywords">{meta_keywords}</textarea></dd>
<dt><label for="admin-storyeditor-introtext">{lang_introtext}</label></dt>
- <dd><textarea cols="45" rows="12" name="introtext" id="admin-storyeditor-introtext">{story_introtext}</textarea></dd>
+ <dd><textarea cols="80" rows="12" name="introtext" id="admin-storyeditor-introtext">{story_introtext}</textarea></dd>
<dt><label for="admin-storyeditor-bodytext">{lang_bodytext}</label></dt>
- <dd><textarea cols="45" rows="20" name="bodytext" id="admin-storyeditor-bodytext">{story_bodytext}</textarea></dd>
+ <dd><textarea cols="80" rows="20" name="bodytext" id="admin-storyeditor-bodytext">{story_bodytext}</textarea></dd>
<dt><label for="admin-storyeditor-postmode">{lang_postmode}</label></dt>
<dd>
@@ -201,11 +205,9 @@
<dt>{lang_emails}</dt>
<dd>{story_emails}</dd>
</dl>
- </div>
- <fieldset>
- <legend>{lang_accessrights}</legend>
-
+ <hr{xhtml}>
+
<h3>{lang_accessrights}</h3>
<dl>
@@ -220,7 +222,7 @@
<dd class="description">{lang_perm_key}</dd>
<dd class="description">{lang_permissions_msg}</dd>
</dl>
- </fieldset>
+ </div>
<ul class="submit">
<li><input type="submit" value="{lang_save}" name="mode"{xhtml}></li>
diff -r c1f500666c73 -r 01f15e2f81f3 public_html/layout/professional_css/admin/story/storyeditor_advanced.thtml
--- a/public_html/layout/professional_css/admin/story/storyeditor_advanced.thtml Sun Jan 30 16:28:00 2011 +0100
+++ b/public_html/layout/professional_css/admin/story/storyeditor_advanced.thtml Sun Jan 30 12:01:02 2011 -0500
@@ -39,10 +39,10 @@
<dd><input type="text" size="40" maxlength="40" value="{story_id}" name="sid" id="admin-storyeditor_advanced-sid" class="text"{xhtml}></dd>
<dt{hide_meta}><label for="admin-storyeditor-metadescription">{lang_metadescription}</label></dt>
- <dd{hide_meta}><textarea name="meta_description" id="admin-storyeditor-metadescription" style="width:95%" rows="2">{meta_description}</textarea></dd>
+ <dd{hide_meta}><textarea cols="80" rows="2" name="meta_description" id="admin-storyeditor-metadescription">{meta_description}</textarea></dd>
<dt{hide_meta}><label for="admin-storyeditor-metakeywords">{lang_metakeywords}</label></dt>
- <dd{hide_meta}><textarea name="meta_keywords" id="admin-storyeditor-metakeywords" style="width:95%" rows="2">{meta_keywords}</textarea></dd>
+ <dd{hide_meta}><textarea cols="80" rows="2" name="meta_keywords" id="admin-storyeditor-metakeywords">{meta_keywords}</textarea></dd>
<dt><label for="admin-storyeditor_advanced-tid">{lang_topic}</label></dt>
<dd>
@@ -101,6 +101,7 @@
<textarea cols="45" rows="14" name="bodytext" id="bodytext">{story_bodytext}</textarea>
</dd>
</dl>
+ <p id="editor_mode" class="description">{lang_allowed_html}</p>
</div>
<div id="html_editor" style="display: {show_htmleditor};">
@@ -132,7 +133,6 @@
<textarea cols="45" rows="20" name="bodyhtml" id="bodyhtml">{story_bodytext}</textarea>
</dd>
</dl>
-
<p id="editor_mode" class="description">{lang_allowed_html}</p>
</div>
</div>
@@ -190,8 +190,9 @@
</dd>
<dt><label for="admin-storyeditor-featured">{lang_cmt_disable}</label></dt>
<dd>
- {lang_enabled}
+ {lang_enabled}
<input type="checkbox" name="cmt_close_flag" value="1" {is_checked5} onclick="enablecmtclose(this);"{xhtml}>
+
<span dir="ltr">
<select name="cmt_close_month">
{cmt_close_month_options}
@@ -241,15 +242,18 @@
<legend>{lang_archivetitle}</legend>
<dl>
- <dt><label for="admin-storyeditor_advanced-archiveflag">{lang_archivetitle}({lang_option})</label></dt>
+ <dt><label for="admin-storyeditor_advanced-archiveflag">{lang_archivetitle}</label></dt>
<dd>
- <input type="checkbox" value="1" {is_checked2} onclick="enablearchive(this);" name="archiveflag" id="admin-storyeditor_advanced-archiveflag"{xhtml}>{lang_enabled}
+ {lang_enabled}
+ <input type="checkbox" value="1" {is_checked2} onclick="enablearchive(this);" name="archiveflag" id="admin-storyeditor_advanced-archiveflag"{xhtml}>
<input type="radio" name="statuscode" id="storycode10" value="10" {is_checked3}{xhtml}>{lang_optionarchive}
- <input type="radio" name="statuscode" id="storycode11" value="11" {is_checked4}{xhtml}>{lang_optiondelete}
+ <input type="radio" name="statuscode" id="storycode11" value="11" {is_checked4}{xhtml}>
+ {lang_optiondelete}
</dd>
- <dt><label for="admin-storyeditor_advanced-expire_month">{lang_archivetitle}({lang_date})</label></dt>
+ <dt><label for="admin-storyeditor_advanced-expire_month"></label></dt>
<dd>
+ {lang_date}
<select name="expire_month" id="admin-storyeditor_advanced-expire_month">
{expire_month_options}
</select>
More information about the geeklog-cvs
mailing list