[geeklog-hg] geeklog: Modern Curve: fixed some incorrect HTML code

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Sep 30 05:49:28 EDT 2012


changeset 8844:7af77e84de90
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/7af77e84de90
user: dengen
date: Sun Sep 30 18:48:25 2012 +0900
description:
Modern Curve: fixed some incorrect HTML code

diffstat:

 public_html/layout/modern_curve/admin/block/blockeditor.thtml          |   4 +-
 public_html/layout/modern_curve/admin/block/defaultblockeditor.thtml   |  11 +-
 public_html/layout/modern_curve/admin/common/edit_topics.thtml         |  37 +++++----
 public_html/layout/modern_curve/admin/config/configuration.thtml       |  14 ++-
 public_html/layout/modern_curve/admin/lists/list.thtml                 |  12 +-
 public_html/layout/modern_curve/admin/lists/searchmenu.thtml           |  10 +-
 public_html/layout/modern_curve/admin/lists/topmenu.thtml              |   2 +-
 public_html/layout/modern_curve/admin/story/storyeditor.thtml          |  12 +-
 public_html/layout/modern_curve/admin/story/storyeditor_advanced.thtml |  36 ++++----
 public_html/layout/modern_curve/admin/syndication/feededitor.thtml     |   4 +-
 public_html/layout/modern_curve/admin/topic/topiceditor.thtml          |  10 +-
 public_html/layout/modern_curve/admin/topic/topiclist.thtml            |   4 +-
 public_html/layout/modern_curve/admin/user/edituser.thtml              |   4 +-
 public_html/layout/modern_curve/blockfooter-config.thtml               |   3 +-
 public_html/layout/modern_curve/blockheader-config.thtml               |   5 +-
 public_html/layout/modern_curve/css/admin/common.css                   |   2 +-
 public_html/layout/modern_curve/css/admin/lists.css                    |  16 ++--
 public_html/layout/modern_curve/css/common.css                         |   6 +-
 public_html/layout/modern_curve/preferences/excludeblock.thtml         |   4 +-
 public_html/layout/modern_curve/search/searchform.thtml                |   2 +-
 20 files changed, 103 insertions(+), 95 deletions(-)

diffs (truncated from 651 to 300 lines):

diff -r 6be334edabc6 -r 7af77e84de90 public_html/layout/modern_curve/admin/block/blockeditor.thtml
--- a/public_html/layout/modern_curve/admin/block/blockeditor.thtml	Sun Sep 30 01:04:55 2012 +0900
+++ b/public_html/layout/modern_curve/admin/block/blockeditor.thtml	Sun Sep 30 18:48:25 2012 +0900
@@ -90,14 +90,14 @@
   <fieldset>
     <legend>{lang_accessrights}</legend>
 
-    <dl>
+    <dl class="form_block">
       <dt>{lang_owner}</dt>
       <dd>{owner_username}</dd>
 
       <dt><label for="group_id">{lang_group}</label></dt>
       <dd>{group_dropdown}</dd>
 
-      <dt><label for="perm_owner">{lang_permissions}</label></dt>
+      <dt>{lang_permissions}</dt>
       <dd>{permissions_editor}</dd>
       <dd class="description">{lang_perm_key}</dd>
       <dd class="description">{lang_permissions_msg}</dd>
diff -r 6be334edabc6 -r 7af77e84de90 public_html/layout/modern_curve/admin/block/defaultblockeditor.thtml
--- a/public_html/layout/modern_curve/admin/block/defaultblockeditor.thtml	Sun Sep 30 01:04:55 2012 +0900
+++ b/public_html/layout/modern_curve/admin/block/defaultblockeditor.thtml	Sun Sep 30 18:48:25 2012 +0900
@@ -20,7 +20,7 @@
       <dd>{block_name}
         <input type="hidden" name="name" value="{block_name}" id="admin-blockeditor-name" class="text"{xhtml}></dd>
 
-      <dt><label for="admin-blockeditor-tid">{lang_topic}</label></dt>
+      <dt>{lang_topic}</dt>
       <dd>{topic_selection}</dd>
 
       <dt><label for="admin-blockeditor-onleft">{lang_side}</label></dt>
@@ -43,17 +43,16 @@
   <fieldset>
     <legend>{lang_accessrights}</legend>
 
-    <dl>
+    <dl class="form_block">
       <dt>{lang_owner}</dt>
-      <dd>{owner_name}
-        <input type="hidden" name="owner_id" value="{owner_id}"{xhtml}></dd>
+      <dd>{owner_name}<input type="hidden" name="owner_id" value="{owner_id}"{xhtml}></dd>
 
       <dt><label for="group_id">{lang_group}</label></dt>
       <dd>{group_dropdown}</dd>
 
-      <dt><label for="perm_owner">{lang_permissions}</label></dt>
+      <dt>{lang_permissions}</dt>
+      <dd>{permissions_editor}</dd>
       <dd class="description">{lang_perm_key}</dd>
-      <dd>{permissions_editor}</dd>
       <dd class="description">{permissions_msg}</dd>
     </dl>
   </fieldset>
diff -r 6be334edabc6 -r 7af77e84de90 public_html/layout/modern_curve/admin/common/edit_topics.thtml
--- a/public_html/layout/modern_curve/admin/common/edit_topics.thtml	Sun Sep 30 01:04:55 2012 +0900
+++ b/public_html/layout/modern_curve/admin/common/edit_topics.thtml	Sun Sep 30 18:48:25 2012 +0900
@@ -1,28 +1,33 @@
-<span style="vertical-align:top;{options_hide}">                 
+
+<!-- admin/common/edit_topics.thtml { -->
+
+<div style="vertical-align:top;display:inline-block;{options_hide}">
     <input type="hidden" name="topic_options_hide" value="{topic_options_hide}"{xhtml}>
-    <input type="radio" name="topic_option" value="all" {all_checked}> {lang_all} 
-    <input type="radio" name="topic_option" value="homeonly" {homeonly_checked}> {lang_homeonly}
-    <span style="{topic_option_hide}"><input type="radio" name="topic_option" value="selectedtopics" {selectedtopics_checked}></span> 
-</span>
-<span style="vertical-align:top;{topic_hide}">
-    <select name="tid[]" multiple="multiple" size="4">
+    <input type="radio" name="topic_option" value="all" {all_checked}{xhtml}> {lang_all}
+    <input type="radio" name="topic_option" value="homeonly" {homeonly_checked}{xhtml}> {lang_homeonly}
+    <span style="{topic_option_hide}"><input type="radio" name="topic_option" value="selectedtopics" {selectedtopics_checked}{xhtml}></span>
+</div>
+<div style="vertical-align:top;display:inline-block;{topic_hide}">
+    <select name="tid[]" multiple="multiple" class="multiple" size="4">
         {topic_options}
     </select>
-</span>
-<span style="vertical-align:top;{inherit_hide}">
+</div>
+<div style="vertical-align:top;display:inline-block;{inherit_hide}">
     <input type="hidden" name="topic_inherit_hide" value="{topic_inherit_hide}"{xhtml}>
     <span style="vertical-align:top;">{lang_inherit}:</span>
-    <select name="inherit_tid[]" multiple="multiple" size="4">
+    <select name="inherit_tid[]" multiple="multiple" class="multiple" size="4">
         {inherit_options}
     </select>
-</span>
-<span style="vertical-align:top;{default_hide}">
+</div>
+<div style="vertical-align:top;display:inline-block;{default_hide}">
     <input type="hidden" name="topic_default_hide" value="{topic_default_hide}"{xhtml}>
-    {lang_default}:
+    <span style="vertical-align:top;">{lang_default}:</span>
     <select name="default_tid">
         {default_options}
     </select>
-</span>
-<span style="{info_hide}">
+</div>
+<div style="{info_hide}">
     <p>{topic_info}</p>
-</span>
+</div>
+
+<!-- } admin/common/edit_topics.thtml -->
diff -r 6be334edabc6 -r 7af77e84de90 public_html/layout/modern_curve/admin/config/configuration.thtml
--- a/public_html/layout/modern_curve/admin/config/configuration.thtml	Sun Sep 30 01:04:55 2012 +0900
+++ b/public_html/layout/modern_curve/admin/config/configuration.thtml	Sun Sep 30 18:48:25 2012 +0900
@@ -3,9 +3,11 @@
 {noscript}
 <div id="geeklog_config_editor" style="display:none;">
     <form method="post" action="{site_admin_url}/configuration.php" name="group">
+    <div>
       <input type="hidden" value="{open_group}" name="conf_group"{xhtml}>
       <input type="hidden" value="" name="subgroup"{xhtml}>
       <input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
+    </div>
     </form>
     <table>
         <tr>
@@ -27,9 +29,11 @@
                     {change_block}
                 </div>
                 <form action="{site_admin_url}/configuration.php" method="post" name="subgroup">
-                <input type="hidden" name="conf_group" value="{open_group}"{xhtml}>
-                <input type="hidden" name="sub_group" value="{open_sg}"{xhtml}>
-                <input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
+                <div>
+                  <input type="hidden" name="conf_group" value="{open_group}"{xhtml}>
+                  <input type="hidden" name="sub_group" value="{open_sg}"{xhtml}>
+                  <input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
+                </div>
     
                 <div id="tabs">
                 
@@ -53,12 +57,12 @@
                 
                 </div>
     
-    
-                <input type="hidden" name="form_submit" value="true"{xhtml}>
                 <div id="bottom_buttons" class="aligncenter">
                     <input type="submit" id="save_changes" value="{lang_save_changes}"{xhtml}>
                     <input type="submit" id="form_reset" name="form_reset" value="{lang_reset_form}"{xhtml}>
+                    <input type="hidden" name="form_submit" value="true"{xhtml}>
                 </div>
+
                 </form>
     
             </td>
diff -r 6be334edabc6 -r 7af77e84de90 public_html/layout/modern_curve/admin/lists/list.thtml
--- a/public_html/layout/modern_curve/admin/lists/list.thtml	Sun Sep 30 01:04:55 2012 +0900
+++ b/public_html/layout/modern_curve/admin/lists/list.thtml	Sun Sep 30 18:48:25 2012 +0900
@@ -4,16 +4,13 @@
 {search_menu}
 
 <form action="{form_url}" method="post">
+<div>
+
 {formfields_top}
 
 <table class="admin-list">
-  <thead>
-    <tr>{header_row}</tr>
-  </thead>
-
-  <tbody>
-    {item_row}
-  </tbody>
+  <tr>{header_row}</tr>
+  {item_row}
 </table>
 
 <ul class="admin-list-navi" style="{show_deleteimage}">
@@ -22,6 +19,7 @@
 
 {formfields_bottom}
 
+</div>
 </form>
 
 <p class="admin-list-message" style="{show_message}">{message}</p>
diff -r 6be334edabc6 -r 7af77e84de90 public_html/layout/modern_curve/admin/lists/searchmenu.thtml
--- a/public_html/layout/modern_curve/admin/lists/searchmenu.thtml	Sun Sep 30 01:04:55 2012 +0900
+++ b/public_html/layout/modern_curve/admin/lists/searchmenu.thtml	Sun Sep 30 18:48:25 2012 +0900
@@ -1,7 +1,7 @@
 
 <!-- admin/lists/searchmenu.thtml { -->
 
-<form action="{form_url}" method="post" id="admin-topmenu" class="basic">
+<form action="{form_url}" method="post" class="admin-topmenu basic">
   <fieldset>
     <legend>{lang_search}</legend>
 
@@ -10,12 +10,12 @@
 	</ul>
 
     <dl>
-      <dt><label for="admin-topmenu-q">{lang_search}</label></dt>
-      <dd><input type="text" size="20" value="{last_query}" name="q" id="admin-topmenu-q" class="text"{xhtml}></dd>
+      <dt>{lang_search}</dt>
+      <dd><input type="text" size="20" value="{last_query}" name="q" class="text"{xhtml}></dd>
 
-      <dt><label for="admin-topmenu-query_limit">{lang_limit_results}</label></dt>
+      <dt>{lang_limit_results}</dt>
       <dd>
-        <select name="query_limit" id="admin-topmenu-query_limit">
+        <select name="query_limit">
           <option value="10" {10_selected}>10</option>
           <option value="20" {20_selected}>20</option>
           <option value="50" {50_selected}>50</option>
diff -r 6be334edabc6 -r 7af77e84de90 public_html/layout/modern_curve/admin/lists/topmenu.thtml
--- a/public_html/layout/modern_curve/admin/lists/topmenu.thtml	Sun Sep 30 01:04:55 2012 +0900
+++ b/public_html/layout/modern_curve/admin/lists/topmenu.thtml	Sun Sep 30 18:48:25 2012 +0900
@@ -6,7 +6,7 @@
   <p id="menu_fields">
     {menu_fields_pre}{menu_fields}{menu_fields_aft}
   </p>
-  <p>{lang_instructions}</p>
+  <div id="instructions">{lang_instructions}</div>
 </div>
 
 <!-- } admin/lists/topmenu.thtml -->
diff -r 6be334edabc6 -r 7af77e84de90 public_html/layout/modern_curve/admin/story/storyeditor.thtml
--- a/public_html/layout/modern_curve/admin/story/storyeditor.thtml	Sun Sep 30 01:04:55 2012 +0900
+++ b/public_html/layout/modern_curve/admin/story/storyeditor.thtml	Sun Sep 30 18:48:25 2012 +0900
@@ -1,7 +1,7 @@
 
 <!-- admin/story/storyeditor.thtml { -->
 
-<form name="frmstory" action="{site_admin_url}/story.php" method="post" enctype="multipart/form-data" id="admin-storyeditor" class="compact">
+<form action="{site_admin_url}/story.php" method="post" enctype="multipart/form-data" id="admin-storyeditor" class="compact">
 
   <div class="admin_basic">
     <dl>
@@ -40,7 +40,7 @@
       <dt><label for="admin-storyeditor-page_title">{lang_page_title}</label></dt>
       <dd><input type="text" size="48" maxlength="255" value="{page_title}" name="page_title" id="admin-storyeditor-page_title" class="text"{xhtml}></dd>
 
-      <dt><label for="admin-storyeditor-tid">{lang_topic}</label></dt>
+      <dt>{lang_topic}</dt>
       <dd>{topic_selection}</dd>
 
       <dt><label for="admin-storyeditor-show_topic_icon">{lang_show_topic_icon}</label></dt>
@@ -82,7 +82,7 @@
         {expireampm_selection}
       </dd>
 
-      <dt><label for="admin-storyeditor-featured">{lang_mode}</label></dt>
+      <dt>{lang_mode}</dt>
       <dd>
         {featured_options}
         <select name="frontpage">
@@ -97,7 +97,7 @@
         </select>
       </dd>
 
-      <dt><label for="admin-storyeditor-featured">{lang_cmt_disable}:</label></dt>
+      <dt>{lang_cmt_disable}:</dt>
       <dd>
         {lang_enabled} 
         <input type="checkbox" name="cmt_close_flag" value="1" {is_checked5} onclick="enablecmtclose(this);"{xhtml}>
@@ -150,7 +150,7 @@
       </dd>
       <dd class="description">{lang_allowed_html}</dd>
 
-      <dt><label for="file1">{lang_images}</label></dt>
+      <dt>{lang_images}</dt>
       <dd>
         {saved_images}
         {image_form_elements}
@@ -182,7 +182,7 @@
       <dt><label for="group_id">{lang_group}</label></dt>
       <dd>{group_dropdown}</dd>
 
-      <dt><label for="perm_owner">{lang_permissions}</label></dt>
+      <dt>{lang_permissions}</dt>
       <dd>{permissions_editor}</dd>
       <dd class="description">{lang_perm_key}</dd>
       <dd class="description">{lang_permissions_msg}</dd>
diff -r 6be334edabc6 -r 7af77e84de90 public_html/layout/modern_curve/admin/story/storyeditor_advanced.thtml
--- a/public_html/layout/modern_curve/admin/story/storyeditor_advanced.thtml	Sun Sep 30 01:04:55 2012 +0900
+++ b/public_html/layout/modern_curve/admin/story/storyeditor_advanced.thtml	Sun Sep 30 18:48:25 2012 +0900
@@ -6,7 +6,7 @@
 <div id="advanced_editor" style="display: none;">
 {navbar}
 
-<form  name="frmstory" action="{site_admin_url}/story.php" method="post" enctype="multipart/form-data" onsubmit="set_postcontent();" id="admin-storyeditor_advanced" class="compact">
+<form action="{site_admin_url}/story.php" method="post" enctype="multipart/form-data" onsubmit="set_postcontent();" id="admin-storyeditor_advanced" class="compact">
 
   <div class="admin_basic">
     <dl>
@@ -23,12 +23,12 @@
       <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 name="meta_description" id="admin-storyeditor-metadescription" style="width:95%" cols="70" rows="2">{meta_description}</textarea></dd>



More information about the geeklog-cvs mailing list