summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2008-09-10 09:49:06 +0000
committerMax Kremmel <xing@synapse.plus.com>2008-09-10 09:49:06 +0000
commit6a83231beb161245b53fe40217357ec681728338 (patch)
treeff1eed6144781bb66651d8b500e9af573abdd5f2 /modules
parentf7951d1e28077857bef46f4d29a9e700d46f149a (diff)
downloadkernel-6a83231beb161245b53fe40217357ec681728338.tar.gz
kernel-6a83231beb161245b53fe40217357ec681728338.tar.bz2
kernel-6a83231beb161245b53fe40217357ec681728338.zip
a number of html and consistency fixes for module help
Diffstat (limited to 'modules')
-rw-r--r--modules/help_mod_adsense.tpl15
-rw-r--r--modules/help_mod_powered_by.tpl5
-rw-r--r--modules/help_mod_time.tpl6
-rw-r--r--modules/mod_powered_by.php2
4 files changed, 15 insertions, 13 deletions
diff --git a/modules/help_mod_adsense.tpl b/modules/help_mod_adsense.tpl
index 72dc787..4888b75 100644
--- a/modules/help_mod_adsense.tpl
+++ b/modules/help_mod_adsense.tpl
@@ -1,21 +1,22 @@
<p class="note">
{tr}Display a Google AdSense block. Note that the <kbd>client</kbd> parameter is required and the Liberty <kbd>adsense data plugin</kbd> must be active for this module to work.{/tr}
<br />
- <span class="example">{tr}Example:{/tr} <kbd>status=pending&sort_mode=created_asc&topic=News</kbd></span>
+ <span class="example">{tr}Example:{/tr} <kbd>status=pending&amp;sort_mode=created_asc&amp;topic=News</kbd></span>
</p>
<dl>
- <dt class="param"><kbd>client</kbd></em></dt>
+ <dt class="param"><kbd>client</kbd></dt>
<dd><em>{tr}String{/tr}</em></dd>
<dd>{tr}The AdSense client ID.{/tr}</dd>
-
+
<dt class="param"><kbd>format</kbd></dt>
<dd><em>{tr}String{/tr}</em></dd>
- <dd>{tr}Default: 728x90_as{/tr}</dd>
-
+ <dd><abbr class="default" title="{tr}default{/tr}">728x90_as</abbr></dd>
+
<dt class="param"><kbd>type</kbd></dt>
<dd><em>{tr}String{/tr}</em></dd>
- <dd>{tr}The type of adblock. Default: text_image.{/tr}</dd>
+ <dd>{tr}The type of adblock.{/tr}</dd>
+ <dd><abbr class="default" title="{tr}default{/tr}">text_image</abbr></dd>
<dt class="param"><kbd>channel</kbd></dt>
<dd><em>{tr}String{/tr}</em></dd>
@@ -25,4 +26,4 @@
<dt class="param"><kbd>height</kbd></dt>
<dd><em>{tr}Numeric{/tr}</em></dd>
-</dl> \ No newline at end of file
+</dl>
diff --git a/modules/help_mod_powered_by.tpl b/modules/help_mod_powered_by.tpl
index 395f46c..24fb080 100644
--- a/modules/help_mod_powered_by.tpl
+++ b/modules/help_mod_powered_by.tpl
@@ -7,7 +7,8 @@
<dl>
<dt class="param"><kbd>no_dblogo</kbd></dt>
<dd><em>{tr}Boolean{/tr}</em></dd>
-
+
<dt class="param"><kbd>large</kbd></dt>
+ <dd><em>{tr}Boolean{/tr}</em></dd>
<dd><abbr class="default" title="default">large</abbr>, small</dd>
-</dl> \ No newline at end of file
+</dl>
diff --git a/modules/help_mod_time.tpl b/modules/help_mod_time.tpl
index 25a7ab4..d735785 100644
--- a/modules/help_mod_time.tpl
+++ b/modules/help_mod_time.tpl
@@ -1,8 +1,8 @@
<p class="note">
{tr}Display a flash clock. <kbd>width</kbd> and <kbd>height</kbd> are set in pixels. <kbd>width</kbd> defaults to the column width. <kbd>background</kbd> defaults to <em>white</em>. It can be overwritten by a color name (e.g., <em>blue</em>, <em>green</em>) or a hex value (e.g., #B32F69). With <kbd>src</kbd>, you can get an embed source from e.g.: <a href="http://www.colclocks.com/FlashClocks/index.html">Colclocks</a>. A complete and valid link must be provided. If <kbd>src</kbd> is set to <em>text</em> or <em>Javascript</em>, a plain text or Javascript clock will be shown instead of a flash clock.{/tr}
<br />
- <span class="example">{tr}Example:{/tr} <kbd>width=77&height=77&text=someweblink</kbd></span><br />
- <span class="example">{tr}Example:{/tr} <kbd>width=111&height=111&background=lightgreen&URL=linktoflashclock</kbd></span>
+ <span class="example">{tr}Example:{/tr} <kbd>width=77&amp;height=77&amp;text=someweblink</kbd></span><br />
+ <span class="example">{tr}Example:{/tr} <kbd>width=111&amp;height=111&amp;background=lightgreen&amp;URL=linktoflashclock</kbd></span>
</p>
<dl>
@@ -17,4 +17,4 @@
<dt class="param"><kbd>src</kbd></dt>
<dd><em>{tr}URL, text, Javascript{/tr}</em></dd>
-</dl> \ No newline at end of file
+</dl>
diff --git a/modules/mod_powered_by.php b/modules/mod_powered_by.php
index 278b4af..6d42090 100644
--- a/modules/mod_powered_by.php
+++ b/modules/mod_powered_by.php
@@ -18,7 +18,7 @@ if( !isset( $moduleParams['module_params']['no_dblogo'] )) {
$gBitSmarty->assign( 'gBitDbType', $gBitDbType );
}
-if ( isset($moduleParams['module_params']['large']) || $gBitSystem->getConfig( 'site_icon_size', 'small' ) == 'large' ) {
+if( isset( $moduleParams['module_params']['large'] ) || $gBitSystem->getConfig( 'site_icon_size', 'small' ) == 'large' ) {
$gBitSmarty->assign( 'size', '/large' );
}
?>