[geeklog-cvs] geeklog: newpro: update theme for geeklog 2.0 ($_CONF['support_t...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Mon Apr 30 04:47:16 EDT 2012


changeset 8652:a771ab07c2e3
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/a771ab07c2e3
user: Rouslan Placella <rouslan at placella.com>
date: Mon Apr 30 09:46:46 2012 +0100
description:
newpro: update theme for geeklog 2.0 ($_CONF['support_theme_2.0'] = true)

diffstat:

 public_html/layout/newpro/admin/config/config_element_2.thtml |   83 +++++++
 public_html/layout/newpro/admin/config/configuration.thtml    |   14 +-
 public_html/layout/newpro/css/admin/configuration.css         |  112 ++++-----
 public_html/layout/newpro/css/layout.css                      |   33 --
 public_html/layout/newpro/footer.thtml                        |   10 +-
 public_html/layout/newpro/functions.php                       |    7 +-
 public_html/layout/newpro/header.thtml                        |    2 +-
 public_html/layout/newpro/javascript/fix_html.js              |   27 --
 public_html/layout/newpro/jquery_ui/jquery.ui.geeklog.css     |   29 ++-
 9 files changed, 175 insertions(+), 142 deletions(-)

diffs (truncated from 478 to 300 lines):

diff -r 42fa90a8fe9d -r a771ab07c2e3 public_html/layout/newpro/admin/config/config_element_2.thtml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/public_html/layout/newpro/admin/config/config_element_2.thtml	Mon Apr 30 09:46:46 2012 +0100
@@ -0,0 +1,83 @@
+<!-- BEGIN validation_error_block -->
+<div class="validation_error_block"><span></span>{validation_error_message}</div>
+<!-- END validation_error_block -->
+
+
+<!-- BEGIN delete-button -->
+<input type="button" class="del-link" value="x" onclick="gl_cfg_remove(this);"{xhtml}>
+<!-- END delete-button -->
+
+
+<!-- BEGIN text-element -->
+<div{hide_row} class="config_name"><div class="config_label">{display_name} {doc_link} {unset_link}</div>
+<input type="hidden" value="true" name="{name}[nameholder]"{xhtml}>
+<input type="text" class="opt{error_class}" name="{name}" value="{value}"{xhtml}>
+{delete}{error_block}
+</div>
+<!-- END text-element -->
+
+
+<!-- BEGIN text-area -->
+<div class="config_name"><div class="config_label">{display_name} {doc_link} {unset_link}</div>
+<input type="hidden" value="true" name="{name}[nameholder]"{xhtml}>
+<textarea class="opt{error_class}" name="{name}" cols="3" rows="3">{value}</textarea>
+{delete}{error_block}
+</div>
+<!-- END text-area -->
+
+
+<!-- BEGIN placeholder-element -->
+<div{hide_row} class="config_name"><div class="config_label">{display_name}</div>
+<input type="hidden" value="true" name="{name}[nameholder]"{xhtml}>
+<input type="hidden" class="opt{error_class}" name="{name}" value="{value}"{xhtml}>
+{delete}
+</div>
+<!-- END placeholder-element -->
+
+
+<!-- BEGIN select-element -->
+<div{hide_row} class="config_name"><div class="config_label">{display_name} {doc_link} {unset_link}</div>
+<input type="hidden" value="true" name="{name}[nameholder]"{xhtml}>
+<select name="{name}" class="opt{error_class}">
+  <!-- BEGIN select-options -->
+    <option {selected} value="{opt_value}">{opt_name}</option>
+  <!-- END select-options -->
+</select>
+{delete}{error_block}
+</div>
+<!-- END select-element -->
+
+
+<!-- BEGIN unset-param -->
+<div class="config_name"><div class="config_label">{display_name} {doc_link}</div>
+<div class="restore"><a href="#{name}" class="restore_param">{lang_enable}</a></div>
+</div>
+<!-- END unset-param -->
+
+
+<!-- BEGIN list-element -->
+<div{hide_row} class="config_name"><div class="config_label" style="vertical-align:top">{display_name} {doc_link} {unset_link}</div>
+<input type="button" value="+" class="toggle_hidden" onclick="toggleHidden('arr_{id_name}', this);"{xhtml}>
+{delete}
+<input type="hidden" value="true" name="{name}[nameholder]"{xhtml}>
+<div style="display:none" id="arr_{id_name}" class="{arr_class_list}">
+{my_elements}
+{my_add_element_button}
+</div>
+</div>
+<!-- END list-element -->
+
+
+<!-- BEGIN keyed-add-button -->
+<div id="add_{id_name}" class="config_name">
+<input type="button" value="{lang_add_element}" class="add_ele_input" onclick="handleAdd(this, '{array_type}', '{arr_name}')"{xhtml}>
+<input type="text" style="width: 65px"{xhtml}>
+</div>
+<!-- END keyed-add-button -->
+
+
+<!-- BEGIN unkeyed-add-button -->
+<div id="add_{id_name}" class="config_name">
+<input type="button" value="{lang_add_element}" class="add_ele_input" onclick="handleAdd(this, '{array_type}', '{arr_name}')"{xhtml}>
+</div>
+<!-- END unkeyed-add-button -->
diff -r 42fa90a8fe9d -r a771ab07c2e3 public_html/layout/newpro/admin/config/configuration.thtml
--- a/public_html/layout/newpro/admin/config/configuration.thtml	Mon Apr 30 09:03:52 2012 +0100
+++ b/public_html/layout/newpro/admin/config/configuration.thtml	Mon Apr 30 09:46:46 2012 +0100
@@ -10,6 +10,13 @@
     <table>
         <tr>
             <td class="block-featured-left" style="vertical-align:top;">
+                <div id="search-configuration-container">
+                    <div class="block-center">
+                        <h2><label for="search-configuration">{search_configuration_label}</label></h2>
+                        <input name="search-configuration" id="search-configuration" value="{search_configuration_value}"{xhtml}>
+                        <input name="tab-id" id="tab-id" type="hidden" value="{tab_id_value}"{xhtml}>
+                    </div>
+                </div>
                 <div class="block-bg-left"> {config_menu} </div>
             </td>
             <td style="vertical-align:top; width: 100%">
@@ -19,13 +26,6 @@
                     {lang_error_validation_occurs}
                     {change_block}
                 </div>
-                
-                <div id="search-configuration-container" style="text-align: right">
-                    <label for="search-configuration">{search_configuration_label}</label>
-                    <input name="search-configuration" id="search-configuration" value="{search_configuration_value}"{xhtml}>
-                    <input name="tab-id" id="tab-id" type="hidden" value="{tab_id_value}"{xhtml}>
-                </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}>
diff -r 42fa90a8fe9d -r a771ab07c2e3 public_html/layout/newpro/css/admin/configuration.css
--- a/public_html/layout/newpro/css/admin/configuration.css	Mon Apr 30 09:03:52 2012 +0100
+++ b/public_html/layout/newpro/css/admin/configuration.css	Mon Apr 30 09:46:46 2012 +0100
@@ -6,89 +6,83 @@
                 admin/config/menu_element.thtml
 ==============================================================================*/
 
+/*--------------------------------------
+  Admin Configration
+--------------------------------------*/
 
-
-/*--------------------------------------
-  Setting 
---------------------------------------*/
-form#config-editor {
-  width: 99%;
-  margin-top: 0;
-  margin-right: auto;
-  margin-left: auto;
+#geeklog_config_editor td.block-featured-left {
+  width: 18%;
 }
 
-form#config-editor fieldset {
-  margin: 0 0 1em 0;
-  padding: 8px;
-  border: 1px solid #CCCCCC;
+
+#search-configuration {
+  width: 90%;
 }
 
-form#config-editor fieldset legend {
-  display: inline;
-  padding: 2px 4px;
+.block-config,
+#search-configuration-container {
+  margin: 0 0 0.5em;
+  padding: 8px 0;
+  text-align: left;
 }
 
-/* Setting Item */
-form#config-editor table.inputTable td {
-  padding: 5px;
-  font-size: 90%;
+.block-config-content {
+  padding-left: 5px;
 }
 
-form#config-editor ul.submit {
-  display: inline;
+.configoption {
+  list-style: none outside;
+  color: #999;
   margin: 0;
   padding: 0;
 }
 
-form#config-editor ul.submit li {
-  display: inline;
+.configoption_off {
+  list-style: none outside;
+  color: #333;
+}
+
+.configoption a {
+
+}
+
+.configoption a:hover {
+
+}
+
+.inputTable {
+  width: 100%;
   margin: 0;
   padding: 0;
 }
 
-/* Message */
-div#configuration div.pluginInfo {
-  overflow: auto;
-  height: 120px;
-  min-height: 50px;
-  max-height: 100px;
-  margin: 5px 0;
-  padding: 10px 20px;
-  border: 1px solid #CCCCCC;
+.config_label {
+  float: left;
+  width: 35%;
+  padding: .5em 0;
 }
 
-
-/*--------------------------------------
-  Layout
---------------------------------------*/
-form#config-editor {
-  width: 99%;
-  margin-right: auto;
-  margin-left: auto;
+.restore {
+  padding: .5em 0;
 }
 
-/* Left Menu */
-div#config_menu {
-  float: {left};
-  width: 160px;
-  margin-{left}: -6px;
-  padding: 0;
-  background: #F7F7F7;
+.config_input {
+  float: left;
+  width: 53%;
+  
 }
 
-div#config_menu div.block-center {
-  margin-right: 8px;
-  margin-left: 8px;
+.config_name {
+  clear: left;
+  margin: 5px 0;
+  padding: 5px;
 }
 
-div#config_menu div.block-center h2 {
-  font-size: 110%;
+.config_name input[type="text"],
+.config_name textarea {
+  width: 53%;
 }
-
-/* Center Block */
-div#config_main {
-  float: {left};
-  width: 620px;
-  padding-{left}: 8px;
+.config_name select {
+  width: 54.5%;
+  max-width: none;
 }
diff -r 42fa90a8fe9d -r a771ab07c2e3 public_html/layout/newpro/css/layout.css
--- a/public_html/layout/newpro/css/layout.css	Mon Apr 30 09:03:52 2012 +0100
+++ b/public_html/layout/newpro/css/layout.css	Mon Apr 30 09:46:46 2012 +0100
@@ -3,16 +3,11 @@
   Authors     : Fumito Arakawa as Phize (http://phize.net/) and Geeklog Japanese
                 Rouslan Placella <rouslan at placella.com>
   Description : Basic layout style.
-                JavaScript enabled
-              * Always set 'js_on' 
               * 3 Column ( Left Block * Center Block * Right Block)...left-center-right
               * 2 Column ( Left Block * Center Block)...left-center
               * 2 Column ( Center Block * Right Block)...center-right
               * 1 Column ( Center Block)...center
 
-            JavaScript Disenabled: HTML body class attribute is always 3 Column
-              * Always set 'js_off'
-
             Block Width:
               *  Container Width = 100%
               *  Site Width[W] = 960px
@@ -212,10 +207,6 @@
 body.center div#container div#wrapper {
 }
 
-/* JavaScript Disenabled Wrapper */
-body.js_off div#container div#wrapper {
-}
-
 
 
 /*--------------------------------------
@@ -231,12 +222,6 @@
   padding: 0;
 }
 
-/* JavaScript Disenabled  Left Block Container */



More information about the geeklog-cvs mailing list