summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-06-26 12:14:02 -0700
committerBharat Mediratta <bharat@menalto.com>2010-06-26 12:14:02 -0700
commite5ae2c91bc58518c977afdc134d5a59cb7ed9b71 (patch)
tree7022c4bfd9e110420c4d9b270c604c506f201f0e
parent5767971f433ca22f152fb348901d2f4336913038 (diff)
Style cleanup.
-rw-r--r--modules/gallery/views/admin_theme_options.html.php15
1 files changed, 7 insertions, 8 deletions
diff --git a/modules/gallery/views/admin_theme_options.html.php b/modules/gallery/views/admin_theme_options.html.php
index 2cf97713..b4a90682 100644
--- a/modules/gallery/views/admin_theme_options.html.php
+++ b/modules/gallery/views/admin_theme_options.html.php
@@ -10,17 +10,17 @@
var text = $("legend", this).text();
var tabId = "tab_" + index;
var tabContentId = "tab_content_" + index;
- console.log(tabId+": text='"+text+"'");
if (text == "") {
text = <?= t("Tab_")->for_js() ?> + index;
}
- $(".tabnav").append("<li><a id='"+ tabId + "' href='#" + tabContentId + "'>"+text+"</a></li>");
- $("#g-theme-options-form-tabs").append("<div id='" + tabContentId + "' class='tabdiv'></div>");
-
+ $(".tabnav").append(
+ "<li><a id='" + tabId + "' href='#" + tabContentId + "'>" + text + "</a></li>");
+ $("#g-theme-options-form-tabs").append(
+ "<div id='" + tabContentId + "' class='tabdiv'></div>");
if ($("li.g-error", this).length > 0) {
- $("#"+tabId).addClass("g-error");
+ $("#" + tabId).addClass("g-error");
}
- $("#"+tabContentId).append($("ul", this));
+ $("#" + tabContentId).append($("ul", this));
$(this).remove();
});
$("#g-theme-options-form-tabs").tabs({});
@@ -31,8 +31,7 @@
</script>
<div class="g-block">
- <h1> <?= t("Theme Options") ?> </h1>
-
+ <h1> <?= t("Theme options") ?> </h1>
<div class="g-block-content">
<?= $form ?>
</div>