[pLog-svn] r812 - in plugins/trunk: articlereferers/templates
dropcase/templates gravatar/templates nofollow/templates
recentcomments/templates recenttrackbacks/templates
topcommentposts/templates topcommentvisitors/templates
topreadposts/templates toptrackbackposts/templates
mark at devel.plogworld.net
mark at devel.plogworld.net
Mon Jan 24 04:56:21 GMT 2005
Author: mark
Date: 2005-01-24 04:56:20 +0000 (Mon, 24 Jan 2005)
New Revision: 812
Modified:
plugins/trunk/articlereferers/templates/articlereferers.template
plugins/trunk/dropcase/templates/dropcase.template
plugins/trunk/gravatar/templates/gravatar.template
plugins/trunk/nofollow/templates/nofollow.template
plugins/trunk/recentcomments/templates/recentcomments.template
plugins/trunk/recenttrackbacks/templates/recenttrackbacks.template
plugins/trunk/topcommentposts/templates/topcommentposts.template
plugins/trunk/topcommentvisitors/templates/topcommentvisitors.template
plugins/trunk/topreadposts/templates/topreadposts.template
plugins/trunk/toptrackbackposts/templates/toptrackbackposts.template
Log:
Update Plugins configuation panel UI. Followed the plugins UI guide line.
Modified: plugins/trunk/articlereferers/templates/articlereferers.template
===================================================================
--- plugins/trunk/articlereferers/templates/articlereferers.template 2005-01-24 04:04:19 UTC (rev 811)
+++ plugins/trunk/articlereferers/templates/articlereferers.template 2005-01-24 04:56:20 UTC (rev 812)
@@ -1,21 +1,30 @@
{include file="$admintemplatepath/header.template"}
{include file="$admintemplatepath/navigation.template" showOpt=ArticleReferers title=$locale->tr("articlereferers_plugin")}
<form name="articlereferersPluginConfig" method="post">
- {$locale->tr("articlereferers_plugin_enabled")}
- <input type="checkbox" name="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
- <fieldset>
+ <fieldset class="inputField">
<legend>{$locale->tr("articlereferers_plugin_configuration")}</legend>
- {$locale->tr("articlereferers_sortbyfield")}
- <select name="sortByField">
- <option value="1" {if $sortByField==1}selected="selected"{/if}>{$locale->tr("articlereferers_sortby_hits")}</option>
- <option value="2" {if $sortByField==2}selected="selected"{/if}>{$locale->tr("articlereferers_sortby_lastdate")}</option>
- </select><br/>
- {$locale->tr("articlereferers_maxreferers")}
- <input type="text" name="maxReferers" value="{$maxReferers}" width="10" />
+ <div class="field">
+ <label for="pluginEnabled">{$locale->tr("articlereferers_plugin_enabled")}</label>
+ <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
+ </div>
+ <div class="field">
+ <label for="sortByField">{$locale->tr("articlereferers_sortbyfield")}</label>
+ <select name="sortByField" id="sortByField">
+ <option value="1" {if $sortByField==1}selected="selected"{/if}>{$locale->tr("articlereferers_sortby_hits")}</option>
+ <option value="2" {if $sortByField==2}selected="selected"{/if}>{$locale->tr("articlereferers_sortby_lastdate")}</option>
+ </select><br/>
+ </div>
+ <div class="field">
+ <label for="maxReferers">{$locale->tr("articlereferers_maxreferers")}</label>
+ <span class="required">*</span>
+ <input class="text" type="text" name="maxReferers" id="maxReferers" value="{$maxReferers}" width="10" />
+ </div>
</fieldset>
<br/>
- <input type="hidden" name="op" value="updateArticleReferersConfig" />
- <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ <div class="buttons">
+ <input type="hidden" name="op" value="updateArticleReferersConfig" />
+ <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ </div>
</form>
{include file="$admintemplatepath/footernavigation.template"}
{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
Modified: plugins/trunk/dropcase/templates/dropcase.template
===================================================================
--- plugins/trunk/dropcase/templates/dropcase.template 2005-01-24 04:04:19 UTC (rev 811)
+++ plugins/trunk/dropcase/templates/dropcase.template 2005-01-24 04:56:20 UTC (rev 812)
@@ -1,11 +1,18 @@
{include file="$admintemplatepath/header.template"}
{include file="$admintemplatepath/navigation.template" showOpt=DropCase title=$locale->tr("dropcase_plugin")}
<form name="dropcasePluginConfig" method="post">
- {$locale->tr("dropcase_plugin_enabled")}
- <input type="checkbox" name="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
+ <fieldset class="inputField">
+ <legend>{$locale->tr("dropcase_plugin_configuration")}</legend>
+ <div class="field">
+ <label for="pluginEnabled">{$locale->tr("dropcase_plugin_enabled")}</label>
+ <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
+ </div>
+ </fieldset>
<br/>
- <input type="hidden" name="op" value="updateDropCaseConfig" />
- <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ <div class="buttons">
+ <input type="hidden" name="op" value="updateDropCaseConfig" />
+ <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ </div>
</form>
{include file="$admintemplatepath/footernavigation.template"}
{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
Modified: plugins/trunk/gravatar/templates/gravatar.template
===================================================================
--- plugins/trunk/gravatar/templates/gravatar.template 2005-01-24 04:04:19 UTC (rev 811)
+++ plugins/trunk/gravatar/templates/gravatar.template 2005-01-24 04:56:20 UTC (rev 812)
@@ -28,39 +28,37 @@
</select><br/>
</div>
<div class="field">
- <label for="default">{$locale->tr("gravatar_default")}</label>
-
- <fieldset style="border: 1px solid #DEDEDE;">
- <legend>{$locale->tr("gravatar_available_avatars")}</legend>
- <table>
- <thead>
- <tr>
- <th style="width:20px;"></th>
- <th style="width:130px;">{$locale->tr("gravatar_avatar_name")}</th>
- <th style="width:450px;">{$locale->tr("gravatar_avatar_image")}</th>
- </tr>
- </thead>
- <tbody>
- {foreach from=$avatars item=avatar}
- <tr>
- <td>
- <input class="radio" type="radio" name="default" id="default" value="{$avatar}" {if $default==$avatar} checked="checked" {/if} />
- </td>
- <td>
- {$avatar}
- </td>
- <td>
- <img src="{$url->getUrl("/plugins/gravatar/avatars/$avatar")}" alt="{$avatar}" />
- </td>
- </tr>
- {/foreach}
- </tbody>
- </table>
- <br/>
+ <label for="default">{$locale->tr("gravatar_default")}</label>
+ <fieldset style="border: 1px solid #DEDEDE;">
+ <legend>{$locale->tr("gravatar_available_avatars")}</legend>
+ <table>
+ <thead>
+ <tr>
+ <th style="width:20px;"></th>
+ <th style="width:130px;">{$locale->tr("gravatar_avatar_name")}</th>
+ <th style="width:450px;">{$locale->tr("gravatar_avatar_image")}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {foreach from=$avatars item=avatar}
+ <tr>
+ <td>
+ <input class="radio" type="radio" name="default" id="default" value="{$avatar}" {if $default==$avatar} checked="checked" {/if} />
+ </td>
+ <td>
+ {$avatar}
+ </td>
+ <td>
+ <img src="{$url->getUrl("/plugins/gravatar/avatars/$avatar")}" alt="{$avatar}" />
+ </td>
+ </tr>
+ {/foreach}
+ </tbody>
+ </table>
+ <br/>
+ </fieldset>
+ </div>
</fieldset>
-
- </div>
- </fieldset>
<br/>
<div class="buttons">
<input type="hidden" name="op" value="updateGravatarConfig" />
Modified: plugins/trunk/nofollow/templates/nofollow.template
===================================================================
--- plugins/trunk/nofollow/templates/nofollow.template 2005-01-24 04:04:19 UTC (rev 811)
+++ plugins/trunk/nofollow/templates/nofollow.template 2005-01-24 04:56:20 UTC (rev 812)
@@ -1,11 +1,18 @@
{include file="$admintemplatepath/header.template"}
{include file="$admintemplatepath/navigation.template" showOpt=NoFollow title=$locale->tr("nofollow_plugin")}
<form name="nofollowPluginConfig" method="post">
- {$locale->tr("nofollow_plugin_enabled")}
- <input type="checkbox" name="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
+ <fieldset class="inputField">
+ <legend>{$locale->tr("nofollow_plugin_configuration")}</legend>
+ <div class="field">
+ <label for="pluginEnabled">{$locale->tr("nofollow_plugin_enabled")}</label>
+ <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
+ </div>
+ </fieldset>
<br/>
- <input type="hidden" name="op" value="updateNoFollowConfig" />
- <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ <div class="buttons">
+ <input type="hidden" name="op" value="updateNoFollowConfig" />
+ <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ </div>
</form>
{include file="$admintemplatepath/footernavigation.template"}
{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
Modified: plugins/trunk/recentcomments/templates/recentcomments.template
===================================================================
--- plugins/trunk/recentcomments/templates/recentcomments.template 2005-01-24 04:04:19 UTC (rev 811)
+++ plugins/trunk/recentcomments/templates/recentcomments.template 2005-01-24 04:56:20 UTC (rev 812)
@@ -1,16 +1,23 @@
{include file="$admintemplatepath/header.template"}
{include file="$admintemplatepath/navigation.template" showOpt=RecentComments title=$locale->tr("recentcomments_plugin")}
<form name="recentcommentsPluginConfig" method="post">
- {$locale->tr("recentcomments_plugin_enabled")}
- <input type="checkbox" name="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
- <fieldset>
+ <fieldset class="inputField">
<legend>{$locale->tr("recentcomments_plugin_configuration")}</legend>
- {$locale->tr("recentcomments_maxcomments")}
- <input type="text" name="maxComments" value="{$maxComments}" width="10" />
+ <div class="field">
+ <label for="pluginEnabled">{$locale->tr("recentcomments_plugin_enabled")}</label>
+ <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
+ </div>
+ <div class="field">
+ <label for="maxComments">{$locale->tr("recentcomments_maxcomments")}</label>
+ <span class="required">*</span>
+ <input class="text" type="text" name="maxComments" id="maxComments" value="{$maxComments}" width="10" />
+ </div>
</fieldset>
<br/>
- <input type="hidden" name="op" value="updateRecentCommentsConfig" />
- <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ <div class="buttons">
+ <input type="hidden" name="op" value="updateRecentCommentsConfig" />
+ <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ </div>
</form>
{include file="$admintemplatepath/footernavigation.template"}
{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
Modified: plugins/trunk/recenttrackbacks/templates/recenttrackbacks.template
===================================================================
--- plugins/trunk/recenttrackbacks/templates/recenttrackbacks.template 2005-01-24 04:04:19 UTC (rev 811)
+++ plugins/trunk/recenttrackbacks/templates/recenttrackbacks.template 2005-01-24 04:56:20 UTC (rev 812)
@@ -1,16 +1,23 @@
{include file="$admintemplatepath/header.template"}
{include file="$admintemplatepath/navigation.template" showOpt=RecentTrackbacks title=$locale->tr("recenttrackbacks_plugin")}
<form name="recenttrackbacksPluginConfig" method="post">
- {$locale->tr("recenttrackbacks_plugin_enabled")}
- <input type="checkbox" name="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
- <fieldset>
+ <fieldset class="inputField">
<legend>{$locale->tr("recenttrackbacks_plugin_configuration")}</legend>
- {$locale->tr("recenttrackbacks_maxtrackbacks")}
- <input type="text" name="maxTrackbacks" value="{$maxTrackbacks}" width="10" />
+ <div class="field">
+ <label for="pluginEnabled">{$locale->tr("recenttrackbacks_plugin_enabled")}</label>
+ <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
+ </div>
+ <div class="field">
+ <label for="maxTrackbacks">{$locale->tr("recenttrackbacks_maxtrackbacks")}</label>
+ <span class="required">*</span>
+ <input class="text" type="text" name="maxTrackbacks" id="maxTrackbacks" value="{$maxTrackbacks}" width="10" />
+ </div>
</fieldset>
<br/>
- <input type="hidden" name="op" value="updateRecentTrackbacksConfig" />
- <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ <div class="buttons">
+ <input type="hidden" name="op" value="updateRecentTrackbacksConfig" />
+ <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ </div>
</form>
{include file="$admintemplatepath/footernavigation.template"}
{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
Modified: plugins/trunk/topcommentposts/templates/topcommentposts.template
===================================================================
--- plugins/trunk/topcommentposts/templates/topcommentposts.template 2005-01-24 04:04:19 UTC (rev 811)
+++ plugins/trunk/topcommentposts/templates/topcommentposts.template 2005-01-24 04:56:20 UTC (rev 812)
@@ -1,16 +1,23 @@
{include file="$admintemplatepath/header.template"}
{include file="$admintemplatepath/navigation.template" showOpt=TopCommentPosts title=$locale->tr("topcommentposts_plugin")}
<form name="topcommentpostsPluginConfig" method="post">
- {$locale->tr("topcommentposts_plugin_enabled")}
- <input type="checkbox" name="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
- <fieldset>
+ <fieldset class="inputField">
<legend>{$locale->tr("topcommentposts_plugin_configuration")}</legend>
- {$locale->tr("topcommentposts_maxposts")}
- <input type="text" name="maxPosts" value="{$maxPosts}" width="10" />
+ <div class="field">
+ <label for="pluginEnabled">{$locale->tr("topcommentposts_plugin_enabled")}</label>
+ <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
+ </div>
+ <div class="field">
+ <label for="maxPosts">{$locale->tr("topcommentposts_maxposts")}</label>
+ <span class="required">*</span>
+ <input class="text" type="text" name="maxPosts" id="maxPosts" value="{$maxPosts}"width="10" />
+ </div>
</fieldset>
<br/>
- <input type="hidden" name="op" value="updateTopCommentPostsConfig" />
- <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ <div class="buttons">
+ <input type="hidden" name="op" value="updateTopCommentPostsConfig" />
+ <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ </div>
</form>
{include file="$admintemplatepath/footernavigation.template"}
{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
Modified: plugins/trunk/topcommentvisitors/templates/topcommentvisitors.template
===================================================================
--- plugins/trunk/topcommentvisitors/templates/topcommentvisitors.template 2005-01-24 04:04:19 UTC (rev 811)
+++ plugins/trunk/topcommentvisitors/templates/topcommentvisitors.template 2005-01-24 04:56:20 UTC (rev 812)
@@ -1,16 +1,23 @@
{include file="$admintemplatepath/header.template"}
{include file="$admintemplatepath/navigation.template" showOpt=TopCommentVisitors title=$locale->tr("topcommentvisitors_plugin")}
<form name="topcommentvisitorsPluginConfig" method="post">
- {$locale->tr("topcommentvisitors_plugin_enabled")}
- <input type="checkbox" name="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
- <fieldset>
- <legend>{$locale->tr("topcommentvisitors_plugin_configuration")}</legend>
- {$locale->tr("topcommentvisitors_maxvisitors")}
- <input type="text" name="maxVisitors" value="{$maxVisitors}" width="10" />
+ <fieldset class="inputField">
+ <legend>{$locale->tr("topcommentvisitors_plugin_configuration")}</legend>
+ <div class="field">
+ <label for="pluginEnabled">{$locale->tr("topcommentvisitors_plugin_enabled")}</label>
+ <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
+ </div>
+ <div class="field">
+ <label for="maxVisitors">{$locale->tr("topcommentvisitors_maxvisitors")}</label>
+ <span class="required">*</span>
+ <input class="text" type="text" name="maxVisitors" id="maxVisitors" value="{$maxVisitors}" width="10" />
+ </div>
</fieldset>
<br/>
- <input type="hidden" name="op" value="updateTopCommentVisitorsConfig" />
- <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ <div class="buttons">
+ <input type="hidden" name="op" value="updateTopCommentVisitorsConfig" />
+ <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ </div>
</form>
{include file="$admintemplatepath/footernavigation.template"}
{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
Modified: plugins/trunk/topreadposts/templates/topreadposts.template
===================================================================
--- plugins/trunk/topreadposts/templates/topreadposts.template 2005-01-24 04:04:19 UTC (rev 811)
+++ plugins/trunk/topreadposts/templates/topreadposts.template 2005-01-24 04:56:20 UTC (rev 812)
@@ -1,16 +1,23 @@
{include file="$admintemplatepath/header.template"}
{include file="$admintemplatepath/navigation.template" showOpt=TopReadPosts title=$locale->tr("topreadposts_plugin")}
<form name="topreadpostsPluginConfig" method="post">
- {$locale->tr("topreadposts_plugin_enabled")}
- <input type="checkbox" name="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
- <fieldset>
+ <fieldset class="inputField">
<legend>{$locale->tr("topreadposts_plugin_configuration")}</legend>
- {$locale->tr("topreadposts_maxposts")}
- <input type="text" name="maxPosts" value="{$maxPosts}" width="10" />
+ <div class="field">
+ <label for="pluginEnabled">{$locale->tr("topreadposts_plugin_enabled")}</label>
+ <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
+ </div>
+ <div class="field">
+ <label for="maxPosts">{$locale->tr("topreadposts_maxposts")}</label>
+ <span class="required">*</span>
+ <input class="text" type="text" name="maxPosts" id="maxPosts" value="{$maxPosts}" width="10" />
+ </div>
</fieldset>
<br/>
- <input type="hidden" name="op" value="updateTopReadPostsConfig" />
- <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ <div class="buttons">
+ <input type="hidden" name="op" value="updateTopReadPostsConfig" />
+ <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ </div>
</form>
{include file="$admintemplatepath/footernavigation.template"}
{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
Modified: plugins/trunk/toptrackbackposts/templates/toptrackbackposts.template
===================================================================
--- plugins/trunk/toptrackbackposts/templates/toptrackbackposts.template 2005-01-24 04:04:19 UTC (rev 811)
+++ plugins/trunk/toptrackbackposts/templates/toptrackbackposts.template 2005-01-24 04:56:20 UTC (rev 812)
@@ -1,16 +1,23 @@
{include file="$admintemplatepath/header.template"}
{include file="$admintemplatepath/navigation.template" showOpt=TopTrackbackPosts title=$locale->tr("toptrackbackposts_plugin")}
<form name="toptrackbackpostsPluginConfig" method="post">
- {$locale->tr("toptrackbackposts_plugin_enabled")}
- <input type="checkbox" name="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
- <fieldset>
+ <fieldset class="inputField">
<legend>{$locale->tr("toptrackbackposts_plugin_configuration")}</legend>
- {$locale->tr("toptrackbackposts_maxposts")}
- <input type="text" name="maxPosts" value="{$maxPosts}" width="10" />
+ <div class="field">
+ <label for="pluginEnabled">{$locale->tr("toptrackbackposts_plugin_enabled")}</label>
+ <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
+ </div>
+ <div class="field">
+ <label for="maxPosts">{$locale->tr("toptrackbackposts_maxposts")}</label>
+ <span class="required">*</span>
+ <input class="text" type="text" name="maxPosts" id="maxPosts" value="{$maxPosts}" width="10" />
+ </div>
</fieldset>
<br/>
- <input type="hidden" name="op" value="updateTopTrackbackPostsConfig" />
- <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ <div class="buttons">
+ <input type="hidden" name="op" value="updateTopTrackbackPostsConfig" />
+ <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+ </div>
</form>
{include file="$admintemplatepath/footernavigation.template"}
{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
More information about the pLog-svn
mailing list