[geeklog-hg] geeklog: Conformed to the specifications of HTML5 partially

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Mon Oct 1 01:49:43 EDT 2012


changeset 8850:513adacf8508
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/513adacf8508
user: dengen
date: Mon Oct 01 14:49:10 2012 +0900
description:
Conformed to the specifications of HTML5 partially

diffstat:

 plugins/calendar/functions.inc                                |   5 +++--
 plugins/links/functions.inc                                   |   1 +
 plugins/links/templates/categorynavigation.thtml              |   2 +-
 plugins/polls/functions.inc                                   |   1 +
 plugins/spamx/functions.inc                                   |   1 +
 plugins/staticpages/functions.inc                             |   3 ++-
 public_html/admin/block.php                                   |   2 ++
 public_html/admin/plugins.php                                 |   4 +++-
 public_html/layout/denim/admin/block/defaultblockeditor.thtml |  10 +++++-----
 public_html/polls/index.php                                   |   3 ++-
 public_html/stats.php                                         |   5 +++++
 11 files changed, 26 insertions(+), 11 deletions(-)

diffs (196 lines):

diff -r 8a1e037c591f -r 513adacf8508 plugins/calendar/functions.inc
--- a/plugins/calendar/functions.inc	Mon Oct 01 12:33:43 2012 +0900
+++ b/plugins/calendar/functions.inc	Mon Oct 01 14:49:10 2012 +0900
@@ -1361,8 +1361,9 @@
             array('text' => $LANG_CAL_1[48], 'field' => 'hits', 'field_class'  => 'stats-list-count'),
         );
         $data_arr = array();
-        $text_arr = array('has_menu'     => false,
-                          'title'        => $LANG_CAL_1[47],
+        $text_arr = array('has_menu' => false,
+                          'title'    => $LANG_CAL_1[47],
+                          'form_url' => $_CONF['site_url'] . '/stats.php'
         );
         for ($i = 0; $i < $nrows; $i++) {
             $A = DB_fetchArray($result);
diff -r 8a1e037c591f -r 513adacf8508 plugins/links/functions.inc
--- a/plugins/links/functions.inc	Mon Oct 01 12:33:43 2012 +0900
+++ b/plugins/links/functions.inc	Mon Oct 01 14:49:10 2012 +0900
@@ -316,6 +316,7 @@
         $data_arr = array();
         $text_arr = array('has_menu' => false,
                           'title'    => $LANG_LINKS_STATS['stats_headline'],
+                          'form_url' => $_CONF['site_url'] . '/stats.php'
         );
         for ($i = 0; $i < $nrows; $i++) {
             $A = DB_fetchArray ($result);
diff -r 8a1e037c591f -r 513adacf8508 plugins/links/templates/categorynavigation.thtml
--- a/plugins/links/templates/categorynavigation.thtml	Mon Oct 01 12:33:43 2012 +0900
+++ b/plugins/links/templates/categorynavigation.thtml	Mon Oct 01 14:49:10 2012 +0900
@@ -1,5 +1,5 @@
 <h2>{lang_categories}</h2>
 
-<table width="100%">
+<table style="width:100%">
 {category_row}
 </table>
diff -r 8a1e037c591f -r 513adacf8508 plugins/polls/functions.inc
--- a/plugins/polls/functions.inc	Mon Oct 01 12:33:43 2012 +0900
+++ b/plugins/polls/functions.inc	Mon Oct 01 14:49:10 2012 +0900
@@ -231,6 +231,7 @@
         $data_arr = array();
         $text_arr = array('has_menu' => false,
                           'title'    => $LANG_POLLS['stats_top10'],
+                          'form_url' => $_CONF['site_url'] . '/stats.php'
         );
         for ($i = 0; $i < $nrows; $i++) {
             $A = DB_fetchArray ($result);
diff -r 8a1e037c591f -r 513adacf8508 plugins/spamx/functions.inc
--- a/plugins/spamx/functions.inc	Mon Oct 01 12:33:43 2012 +0900
+++ b/plugins/spamx/functions.inc	Mon Oct 01 14:49:10 2012 +0900
@@ -70,6 +70,7 @@
         $data_arr = array();
         $text_arr = array('has_menu'     => false,
                           'title'        => $LANG_SX00['stats_headline'],
+                          'form_url'     => $_CONF['site_url'] . '/stats.php'
         );
         $data_arr = array(
             array('label' => $LANG_SX00['stats_pblacklist'],
diff -r 8a1e037c591f -r 513adacf8508 plugins/staticpages/functions.inc
--- a/plugins/staticpages/functions.inc	Mon Oct 01 12:33:43 2012 +0900
+++ b/plugins/staticpages/functions.inc	Mon Oct 01 14:49:10 2012 +0900
@@ -708,7 +708,8 @@
         );
         $data_arr = array();
         $text_arr = array('has_menu' => false,
-                          'title'    => $LANG_STATIC['stats_headline']
+                          'title'    => $LANG_STATIC['stats_headline'],
+                          'form_url' => $_CONF['site_url'] . '/stats.php'
         );
         for ($i = 0; $i < $nrows; $i++) {
             $A = DB_fetchArray($result);
diff -r 8a1e037c591f -r 513adacf8508 public_html/admin/block.php
--- a/public_html/admin/block.php	Mon Oct 01 12:33:43 2012 +0900
+++ b/public_html/admin/block.php	Mon Oct 01 14:49:10 2012 +0900
@@ -440,6 +440,7 @@
 	
 	$dyn_text_arr = array(
         'title'      => "$LANG21[22] ($LANG21[40])",
+        'form_url'   => $_CONF['site_admin_url'] . '/block.php'
     );
 	
 	$leftblocks = PLG_getBlocksConfig('left', '');    
@@ -483,6 +484,7 @@
 	// Dynamic blocks
 	$dyn_text_arr = array(
         'title'      => "$LANG21[22] ($LANG21[41])",
+        'form_url'   => $_CONF['site_admin_url'] . '/block.php'
     );
 	
 	$rightblocks = PLG_getBlocksConfig('right', '');
diff -r 8a1e037c591f -r 513adacf8508 public_html/admin/plugins.php
--- a/public_html/admin/plugins.php	Mon Oct 01 12:33:43 2012 +0900
+++ b/public_html/admin/plugins.php	Mon Oct 01 14:49:10 2012 +0900
@@ -328,7 +328,9 @@
                     array('text' => $LANG32[22], 'field' => 'install_link')
     );
 
-    $text_arr = array('title' => $LANG32[14]);
+    $text_arr = array('title'    => $LANG32[14],
+                      'form_url' => $_CONF['site_admin_url'] . '/plugins.php'
+    );
     $retval .= ADMIN_simpleList('ADMIN_getListField_newplugins', $header_arr, $text_arr, $data_arr);
 
     return $retval;
diff -r 8a1e037c591f -r 513adacf8508 public_html/layout/denim/admin/block/defaultblockeditor.thtml
--- a/public_html/layout/denim/admin/block/defaultblockeditor.thtml	Mon Oct 01 12:33:43 2012 +0900
+++ b/public_html/layout/denim/admin/block/defaultblockeditor.thtml	Mon Oct 01 14:49:10 2012 +0900
@@ -16,9 +16,9 @@
       <dd class="description">{lang_includehttp}<br{xhtml}>
                               {lang_explanation}</dd>
 
-      <dt><label for="admin-blockeditor-name">{lang_blockname}</label></dt>
+      <dt>{lang_blockname}</dt>
       <dd>{block_name}
-        <input type="hidden" name="name" value="{block_name}" id="admin-blockeditor-name" class="size5"{xhtml}></dd>
+        <input type="hidden" name="name" value="{block_name}" class="size5"{xhtml}></dd>
 
       <dt><label>{lang_topic}</label></dt>
       <dd>{topic_selection}</dd>
@@ -34,9 +34,9 @@
       <dd><input type="text" name="blockorder" value="{block_order}" id="admin-blockeditor-blockorder" class="size1"{xhtml}>
         0 - 9999</dd>
 
-      <dt><label for="admin-blockeditor-type">{lang_blocktype}</label></dt>
+      <dt>{lang_blocktype}</dt>
       <dd>gldefault
-        <input type="hidden" name="type" value="gldefault" id="admin-blockeditor-type"{xhtml}></dd>
+        <input type="hidden" name="type" value="gldefault"{xhtml}></dd>
     </dl>
 
     <fieldset>
@@ -50,7 +50,7 @@
         <dt><label for="group_id">{lang_group}</label></dt>
         <dd>{group_dropdown}</dd>
 
-        <dt><label for="admin-permissions">{lang_permissions}</label></dt>
+        <dt><label>{lang_permissions}</label></dt>
         <dd>{permissions_editor}</dd>
         <dd class="description">{lang_perm_key}</dd>
         <dd class="description">{permissions_msg}</dd>
diff -r 8a1e037c591f -r 513adacf8508 public_html/polls/index.php
--- a/public_html/polls/index.php	Mon Oct 01 12:33:43 2012 +0900
+++ b/public_html/polls/index.php	Mon Oct 01 14:49:10 2012 +0900
@@ -80,7 +80,8 @@
 
         $text_arr = array('has_menu' =>  false,
                           'title' => $LANG_POLLS['pollstitle'], 'instructions' => "",
-                          'icon' => '', 'form_url' => '');
+                          'icon' => '', 'form_url' => '',
+                          'form_url' => $_CONF['site_url'] . '/polls/index.php');
 
         $query_arr = array('table' => 'polltopics',
                            'sql' => $sql = "SELECT *,UNIX_TIMESTAMP(created) AS unixdate, display "
diff -r 8a1e037c591f -r 513adacf8508 public_html/stats.php
--- a/public_html/stats.php	Mon Oct 01 12:33:43 2012 +0900
+++ b/public_html/stats.php	Mon Oct 01 14:49:10 2012 +0900
@@ -55,6 +55,7 @@
 $data_arr = array();
 $text_arr = array('has_menu'     =>  false,
                   'title'        => $LANG10[1],
+                  'form_url'     => $_CONF['site_url'] . '/stats.php'
 );
 
 $totalhits = DB_getItem ($_TABLES['vars'], 'value', "name = 'totalhits'");
@@ -135,6 +136,7 @@
     $data_arr = array();
     $text_arr = array('has_menu'     =>  false,
                       'title'        => $LANG10[7],
+                      'form_url'     => $_CONF['site_url'] . '/stats.php'
     );
 
     for ($i = 0; $i < $nrows; $i++) {
@@ -170,6 +172,7 @@
     $data_arr = array();
     $text_arr = array('has_menu'     =>  false,
                       'title'        => $LANG10[11],
+                      'form_url'     => $_CONF['site_url'] . '/stats.php'
     );
     for ($i = 0; $i < $nrows; $i++) {
         $A = DB_fetchArray($result);
@@ -206,6 +209,7 @@
         $data_arr = array();
         $text_arr = array('has_menu'     =>  false,
                           'title'        => $LANG10[25],
+                          'form_url'     => $_CONF['site_url'] . '/stats.php'
         );
         for ($i = 0; $i < $nrows; $i++) {
             $A = DB_fetchArray ($result);
@@ -242,6 +246,7 @@
     $data_arr = array();
     $text_arr = array('has_menu'     =>  false,
                       'title'        => $LANG10[22],
+                      'form_url'     => $_CONF['site_url'] . '/stats.php'
     );
     for ($i = 0; $i < $nrows; $i++) {
         $A = DB_fetchArray($result);



More information about the geeklog-cvs mailing list