[pLog-svn] r600 - in plog/trunk/templates: admin summary
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Wed Dec 29 14:03:43 GMT 2004
Author: oscar
Date: 2004-12-29 14:03:42 +0000 (Wed, 29 Dec 2004)
New Revision: 600
Modified:
plog/trunk/templates/admin/addbloguser.template
plog/trunk/templates/admin/blogsettings.template
plog/trunk/templates/admin/createblog.template
plog/trunk/templates/admin/createuser.template
plog/trunk/templates/admin/default.template
plog/trunk/templates/admin/editarticlecategory.template
plog/trunk/templates/admin/editblog.template
plog/trunk/templates/admin/editcustomfield.template
plog/trunk/templates/admin/editlink.template
plog/trunk/templates/admin/editlinkcategory.template
plog/trunk/templates/admin/editlinks.template
plog/trunk/templates/admin/editpost.template
plog/trunk/templates/admin/editresourcealbum.template
plog/trunk/templates/admin/globalsettings.template
plog/trunk/templates/admin/globalsettings_email.template
plog/trunk/templates/admin/globalsettings_helpers.template
plog/trunk/templates/admin/globalsettings_templates.template
plog/trunk/templates/admin/newcustomfield.template
plog/trunk/templates/admin/newlink.template
plog/trunk/templates/admin/newlinkcategory.template
plog/trunk/templates/admin/newpost.template
plog/trunk/templates/admin/newpost_customfields.template
plog/trunk/templates/admin/newpostcategory.template
plog/trunk/templates/admin/newresource.template
plog/trunk/templates/admin/newresourcealbum.template
plog/trunk/templates/admin/resourceinfo.template
plog/trunk/templates/admin/resourcelist.template
plog/trunk/templates/admin/resources.template
plog/trunk/templates/admin/sendtrackbacks.template
plog/trunk/templates/admin/userprofile.template
plog/trunk/templates/admin/usersettings.template
plog/trunk/templates/summary/registerstep1.template
plog/trunk/templates/summary/registerstep2.template
plog/trunk/templates/summary/registerstep3.template
plog/trunk/templates/summary/registerstep4.template
plog/trunk/templates/summary/resetpassword.template
Log:
added an "id" attribute to some of the <input> tags that didn't have it, otherwise the <label> tags were not correct!
Modified: plog/trunk/templates/admin/addbloguser.template
===================================================================
--- plog/trunk/templates/admin/addbloguser.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/addbloguser.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -14,7 +14,7 @@
<label for="newBlogUserName">{$locale->tr("user_name")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("add_user_enter_username")}</div>
- <input type="text" name="newBlogUserName" value="{$newBlogUserName}" />
+ <input type="text" id="newBlogUsername" name="newBlogUserName" value="{$newBlogUserName}" />
{include file="$admintemplatepath/validate.template" field=newBlogUserName message=$locale->tr("error_user_id_incorrect")}
</div>
@@ -22,14 +22,14 @@
<label for="sendNotification">{$locale->tr("send_notification")}</label>
<span class="required"></span>
<div class="formHelp">{$locale->tr("add_user_send_notification")}</div>
- <input class="checkbox" type="checkbox" name="sendNotification" value="{$sendNotification}" />
+ <input class="checkbox" type="checkbox" id="sendNotification" name="sendNotification" value="{$sendNotification}" />
</div>
<div class="field">
<label for="newBlogUserText">{$locale->tr("notification_text")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("add_user_type_notification")}</div>
- <textarea rows="10" cols="70" name="newBlogUserText">{$newBlogUserText}</textarea>
+ <textarea rows="10" cols="70" id="newBlogUserText" name="newBlogUserText">{$newBlogUserText}</textarea>
{include file="$admintemplatepath/validate.template" field=newBlogUserText message=$locale->tr("error_must_type_something")}
</div>
</fieldset>
Modified: plog/trunk/templates/admin/blogsettings.template
===================================================================
--- plog/trunk/templates/admin/blogsettings.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/blogsettings.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -18,14 +18,14 @@
<label for="blogLink">{$locale->tr("blog_link")}</label>
<span class="required"></span>
<div class="formHelp">{$locale->tr("permanent_blog_url")}</div>
- <input class="readOnly" type="text" readonly="readonly" name="blogLink" value="{$url->blogLink()}" />
+ <input class="readOnly" type="text" readonly="readonly" id="blogLink" name="blogLink" value="{$url->blogLink()}" />
</div>
<div class="field">
<label for="blogName">{$locale->tr("blog_name")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("blog_name")}</div>
- <input type="text" name="blogName" style="width:100%" value="{$blogName}" />
+ <input type="text" name="blogName" id="blogName" style="width:100%" value="{$blogName}" />
{include file="$admintemplatepath/validate.template" field=blogName message=$locale->tr("error_no_blog_name")}
</div>
@@ -33,14 +33,14 @@
<label for="blogAbout">{$locale->tr("long_blog_name")}</label>
<span class="required"></span>
<div class="formHelp">{$locale->tr("long_blog_name")}</div>
- <textarea rows="10" style="width:100%" name="blogAbout">{$blogAbout}</textarea>
+ <textarea rows="10" style="width:100%" id="blogAbout" name="blogAbout">{$blogAbout}</textarea>
</div>
<div class="field">
<label for="blogLocale">{$locale->tr("language")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("language_used")}</div>
- <select name="blogLocale" value="{$blogsettings->getValue("locale")}">
+ <select name="blogLocale" id="blogLocale">
{foreach from=$locales item=localeobject}
<option value="{$localeobject->getLocaleCode()}" {if $localeobject->getLocaleCode()==$blogLocale} selected="selected" {/if}>
{$localeobject->getDescription()} ({$localeobject->getLocaleCode()} {$localeobject->getCharset()})
@@ -54,7 +54,7 @@
<label for="blogMaxMainPageItems">{$locale->tr("max_main_page_items")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("items_main_page")}</div>
- <input type="text" name="blogMaxMainPageItems" value="{$blogMaxMainPageItems}"/>
+ <input type="text" name="blogMaxMainPageItems" id="blogMaxMainPageItems" value="{$blogMaxMainPageItems}"/>
{include file="$admintemplatepath/validate.template" field=blogMaxMainPageItems message=$locale->tr("error_incorrect_number_of_posts")}
</div>
@@ -62,7 +62,7 @@
<label for="blogMaxRecentItems">{$locale->tr("max_recent_items")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("items_as_recent")}</div>
- <input type="text" name="blogMaxRecentItems" value="{$blogMaxRecentItems}" />
+ <input type="text" name="blogMaxRecentItems" id="blogMaxRecentItems" value="{$blogMaxRecentItems}" />
{include file="$admintemplatepath/validate.template" field=blogMaxRecentItems message=$locale->tr("error_incorrect_max_recent_items")}
</div>
@@ -71,7 +71,7 @@
<span class="required">*</span>
<div class="formHelp">{$locale->tr("template_used")}</div>
{assign var=blogTemplateSet value=$blog->getTemplateSet()}
- <select name="blogTemplate">
+ <select name="blogTemplate" id="blogTemplate">
{foreach from=$templates item=template}
<option value="{$template->getName()}"{if $template->getName() == $blogTemplateSet->getName()} selected="selected" {/if}>{$template->getName()}</option>
{/foreach}
@@ -83,7 +83,7 @@
<div class="field">
<label for="blogShowMoreEnabled">{$locale->tr("use_read_more")}</label>
<div class="formHelp">
- <input class="checkbox" type="checkbox" value="1" name="blogShowMoreEnabled" {if $blogShowMoreEnabled == true} checked="checked" {/if} />
+ <input class="checkbox" type="checkbox" value="1" name="blogShowMoreEnabled" id="blogShowMoreEnabled" {if $blogShowMoreEnabled == true} checked="checked" {/if} />
{$locale->tr("use_read_more_feature")}
</div>
</div>
@@ -91,7 +91,7 @@
<div class="field">
<label for="blogEnableHtmlArea">{$locale->tr("enable_wysiwyg")}</label>
<div class="formHelp">
- <input class="checkbox" type="checkbox" name="blogEnableHtmlarea" value="1" {if $blogEnableHtmlarea == true} checked="checked" {/if} />
+ <input class="checkbox" type="checkbox" id="blogEnableHtmlarea" name="blogEnableHtmlarea" value="1" {if $blogEnableHtmlarea == true} checked="checked" {/if} />
{$locale->tr("enable_wysiwyg_edition")}
</div>
</div>
@@ -102,7 +102,7 @@
<div class="field">
<label for="blogCommentsEnabled">{$locale->tr("enable_comments")}</td>
<div class="formHelp">
- <input class="checkbox" type="checkbox" name="blogCommentsEnabled" value="1" {if $blogCommentsEnabled == true} checked="checked" {/if} />
+ <input class="checkbox" type="checkbox" name="blogCommentsEnabled" id="blogCommentsEnabled" value="1" {if $blogCommentsEnabled == true} checked="checked" {/if} />
{$locale->tr("enable_comments")}
</div>
</div>
@@ -110,7 +110,7 @@
<div class="field">
<label for="blogShowFuturePosts">{$locale->tr("show_future_posts")}</label>
<div class="formHelp">
- <input class="checkbox" type="checkbox" name="blogShowFuturePosts" value="1" {if $blogShowFuturePosts == true} checked="checked" {/if} />
+ <input class="checkbox" type="checkbox" name="blogShowFuturePosts" id="blogShowFuturePosts" value="1" {if $blogShowFuturePosts == true} checked="checked" {/if} />
{$locale->tr("show_future_posts")}
</div>
</div>
@@ -118,7 +118,7 @@
<div class="field">
<label for="blogCommentsOrder">{$locale->tr("comments_order")}</label>
<div class="formHelp">{$locale->tr("comments_order")}</div>
- <select name="blogCommentsOrder">
+ <select name="blogCommentsOrder" id="blogCommentsOrder">
<option value="1" {if $blogCommentsOrder == 1 } selected="selected" {/if}>{$locale->tr("oldest_first")}</option>
<option value="2" {if $blogCommentsOrder == 2 } selected="selected" {/if}>{$locale->tr("newest_first")}</option>
</select>
@@ -127,7 +127,7 @@
<div class="field">
<label for="blogCategoriesOrder">{$locale->tr("categories_order")}</label>
<div class="formHelp">{$locale->tr("categories_order")}</div>
- <select name="blogCategoriesOrder">
+ <select name="blogCategoriesOrder" id="blogCategoriesOrder">
<option value="1" {if $blogCategoriesOrder == 1 } selected="selected" {/if}>{$locale->tr("most_recent_updated_first")}</option>
<option value="2" {if $blogCategoriesOrder == 2 } selected="selected" {/if}>{$locale->tr("oldest_first")}</option>
<option value="3" {if $blogCategoriesOrder == 3 } selected="selected" {/if}>{$locale->tr("newest_first")}</option>
@@ -140,7 +140,7 @@
<div class="field">
<label for="blogLinkCategoriesOrder">{$locale->tr("link_categories_order")}</label>
<div class="formHelp">{$locale->tr("link_categories_order")}</div>
- <select name="blogLinkCategoriesOrder">
+ <select name="blogLinkCategoriesOrder" id="blogLinkCategoriesOrder">
<option value="1" {if $blogLinkCategoriesOrder == 1 } selected="selected" {/if}>{$locale->tr("alphabetical_order")}</option>
<option value="2" {if $blogLinkCategoriesOrder == 2 } selected="selected" {/if}>{$locale->tr("reverse_alphabetical_order")}</option>
<option value="3" {if $blogLinkCategoriesOrder == 3 } selected="selected" {/if}>{$locale->tr("most_links_first")}</option>
@@ -152,7 +152,7 @@
<div class="field">
<label for="blogTimeOffset">{$locale->tr("time_offset")}</label>
<div class="formHelp">{$locale->tr("time_offset")}</div>
- <select name="blogTimeOffset">
+ <select name="blogTimeOffset" id="blogTimeOffset">
<option {if $blogTimeOffset == -20} selected="selected"{/if} value="-20">-20 {$locale->tr("hours")}</option>
<option {if $blogTimeOffset == -19} selected="selected"{/if} value="-19">-19 {$locale->tr("hours")}</option>
<option {if $blogTimeOffset == -18} selected="selected"{/if} value="-18">-18 {$locale->tr("hours")}</option>
Modified: plog/trunk/templates/admin/createblog.template
===================================================================
--- plog/trunk/templates/admin/createblog.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/createblog.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -12,7 +12,7 @@
<label for="blogName">{$locale->tr("blog_name")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("blog_name_help")}</div>
- <input type="text" style="width:95%" name="blogName" value="{$blogName}"/>
+ <input type="text" style="width:95%" name="blogName" id="blogName" value="{$blogName}"/>
{include file="$admintemplatepath/validate.template" field=blogName message=$locale->tr("error_must_give_blog_name")}
</div>
@@ -20,7 +20,7 @@
<label for="blogOwner">{$locale->tr("blog_owner")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("blog_owner_help")}</div>
- <select name="blogOwner">
+ <select name="blogOwner" id="blogOwner">
{foreach from=$siteusers item=user}
<option value="{$user->getId()}">{$user->getUsername()}</option>
{/foreach}
Modified: plog/trunk/templates/admin/createuser.template
===================================================================
--- plog/trunk/templates/admin/createuser.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/createuser.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -9,34 +9,34 @@
<label for="userName">{$locale->tr("username")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("username_help")}</div>
- <input type="text" name="userName" value="{$userName}"/>
+ <input type="text" name="userName" value="{$userName}" id="userName" />
{include file="$admintemplatepath/validate.template" field=userName message=$locale->tr("error_incorrect_username")}
</div>
<div class="field">
<label for="userFullName">{$locale->tr("full_name")}</label>
<span class="required"></span>
<div class="formHelp">{$locale->tr("full_name_help")}</div>
- <input type="text" name="userFullName" value="{$userFullName}"/>
+ <input type="text" name="userFullName" value="{$userFullName}" id="userFullName" />
</div>
<div class="field">
<label for="userPassword">{$locale->tr("password")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("password_help")}</div>
- <input type="password" name="userPassword" value="{$userPassword}"/>
+ <input type="password" name="userPassword" value="{$userPassword}" id="userPassword" />
{include file="$admintemplatepath/validate.template" field=userPassword message=$locale->tr("error_password_incorrect")}
</div>
<div class="field">
<label for="userEmail">{$locale->tr("email_address")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("email_address_help")}</div>
- <input type="text" name="userEmail" value="{$userEmail}"/>
+ <input type="text" name="userEmail" value="{$userEmail}" id="userEmail" />
{include file="$admintemplatepath/validate.template" field=userEmail message=$locale->tr("error_incorrect_email_address")}
</div>
<div class="field">
<label for="userStatus">{$locale->tr("status")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("user_status_help")}</div>
- <select name="userStatus">
+ <select name="userStatus" id="userStatus">
{foreach from=$userStatusList item=status key=statusKey}
<option value="{$status}" {if $userStatus==$status}selected="selected"{/if}>{$locale->tr($statusKey)}</option>
{/foreach}
@@ -46,7 +46,7 @@
<label for="userBlog">{$locale->tr("assigned_to_blog")}</label>
<span class="required"></span>
<div class="formHelp">{$locale->tr("assigned_to_blog_help")}</div>
- <select name="userBlog">
+ <select name="userBlog" id="userBlog">
<option value="0">({$locale->tr("none")})</option>
{foreach from=$siteblogs item=blog}
<option value="{$blog->getId()}" {if $blog->getId()==$userBlog}selected="selected"{/if}>{$blog->getBlog()}</option>
Modified: plog/trunk/templates/admin/default.template
===================================================================
--- plog/trunk/templates/admin/default.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/default.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -16,7 +16,7 @@
{/if}
<div class="field">
<label for="userName">{$locale->tr("username")}</label>
- <input type="text" tabindex="1" name="userName" value="" />
+ <input type="text" tabindex="1" id="userName" name="userName" value="" />
</div>
<div class="field">
<label for="userPassword">{$locale->tr("password")}</label>
Modified: plog/trunk/templates/admin/editarticlecategory.template
===================================================================
--- plog/trunk/templates/admin/editarticlecategory.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/editarticlecategory.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -11,7 +11,7 @@
<label for="categoryName">{$locale->tr("name")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("category_name_info")}</div>
- <input type="text" name="categoryName" value="{$categoryName|escape:"html"}"/>
+ <input type="text" id="categoryName" name="categoryName" value="{$categoryName|escape:"html"}"/>
{include file="$admintemplatepath/validate.template" field=categoryName message=$locale->tr("error_empty_category_name")}
</div>
@@ -19,7 +19,7 @@
<label for="categoryDescription">{$locale->tr("description")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("category_description_help")}</div>
- <textarea name="categoryDescription" cols="60" rows="5">{$categoryDescription}</textarea>
+ <textarea name="categoryDescription" id="categoryDescription" cols="60" rows="5">{$categoryDescription}</textarea>
{include file="$admintemplatepath/validate.template" field=categoryDescription message=$locale->tr("error_empty_category_description")}
</div>
@@ -27,7 +27,7 @@
<label for="categoryInMainPage">{$locale->tr("show_in_main_page")}</label>
<span class="required"></span>
<div class="formHelp">
- <input class="checkbox" type="checkbox" value="1" name="categoryInMainPage" {if $categoryInMainPage}checked="checked"{/if}/>
+ <input class="checkbox" type="checkbox" value="1" id="categoryInMainPage" name="categoryInMainPage" {if $categoryInMainPage}checked="checked"{/if}/>
{$locale->tr("show_in_main_page_info")}
</div>
</div>
Modified: plog/trunk/templates/admin/editblog.template
===================================================================
--- plog/trunk/templates/admin/editblog.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/editblog.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -11,14 +11,14 @@
<span class="required"></span>
<div class="formHelp">{$locale->tr("permanent_blog_url")}</div>
{assign var=editBlogUrlGenerator value=$editblog->getBlogRequestGenerator()}
- <input style="width:100%" type="text" readonly="readonly" name="blogLink" class="readOnly" value="{$editBlogUrlGenerator->blogLink()}" />
+ <input style="width:100%" type="text" readonly="readonly" id="blogLink" name="blogLink" class="readOnly" value="{$editBlogUrlGenerator->blogLink()}" />
</div>
<div class="field">
<label for="blogName">{$locale->tr("blog_name")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("blog_name")}</div>
- <input type="text" name="blogName" style="width:100%" value="{$blogName|escape:"html"}" />
+ <input type="text" name="blogName" style="width:100%" id="blogName" value="{$blogName|escape:"html"}" />
{include file="$admintemplatepath/validate.template" field=blogName message=$locale->tr("error_no_blog_name")}
</div>
@@ -26,7 +26,7 @@
<label for="blogStatus">{$locale->tr("status")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("blog_status_help")}</div>
- <select name="blogStatus">
+ <select name="blogStatus" id="blogStatus">
{foreach from=$blogStatusList key=statusName item=blogStatusValue}
<option value="{$blogStatusValue}" {if $blogStatus==$blogStatusValue}selected="selected"{/if}>{$locale->tr($statusName)}</option>
{/foreach}
@@ -37,7 +37,7 @@
<label for="blogOwner">{$locale->tr("owner")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("blog_owner_help")}</div>
- <select name="blogOwner">
+ <select name="blogOwner" id="blogOwner">
{foreach from=$siteusers item=siteuser}
<option value="{$siteuser->getId()}" {if $blogOwner == $siteuser->getId()} selected="selected" {/if}>{$siteuser->getUsername()}</option>
{/foreach}
@@ -48,7 +48,7 @@
<label for="blogLocale">{$locale->tr("language")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("language_used")}</div>
- <select name="blogLocale" value="{$blogsettings->getValue("locale")}">
+ <select name="blogLocale" id="blogLocale">
{foreach from=$locales item=localeobject}
<option value="{$localeobject->getLocaleCode()}" {if $localeobject->getLocaleCode()==$blogLocale} selected="selected" {/if}>
{$localeobject->getDescription()} ({$localeobject->getLocaleCode()} {$localeobject->getCharset()})
@@ -63,7 +63,7 @@
<span class="required">*</span>
<div class="formHelp">{$locale->tr("template_used")}</div>
{assign var=blogTemplateSet value=$blog->getTemplateSet()}
- <select name="blogTemplate">
+ <select name="blogTemplate" id="blogTemplate">
{foreach from=$templates item=template}
<option value="{$template->getName()}"{if $template->getName() == $blogTemplateSet->getName()} selected="selected" {/if}>{$template->getName()}</option>
{/foreach}
@@ -75,7 +75,7 @@
<div class="field">
<label for="blogTimeOffset">{$locale->tr("time_offset")}</label>
<div class="formHelp">{$locale->tr("time_offset")}</div>
- <select name="blogTimeOffset">
+ <select name="blogTimeOffset" id="blogTimeOffset">
<option {if $blogTimeOffset == -20} selected="selected"{/if} value="-20">-20 {$locale->tr("hours")}</option>
<option {if $blogTimeOffset == -19} selected="selected"{/if} value="-19">-19 {$locale->tr("hours")}</option>
<option {if $blogTimeOffset == -18} selected="selected"{/if} value="-18">-18 {$locale->tr("hours")}</option>
@@ -124,7 +124,7 @@
<div class="field">
<label for="blogResourcesQuota">{$locale->tr("quota")}</label>
<div class="formHelp">{$locale->tr("quota_help")}</div>
- <input type="text" name="blogResourcesQuota" value="{$blogResourcesQuota}" />
+ <input type="text" id="blogResourcesQuota" name="blogResourcesQuota" value="{$blogResourcesQuota}" />
{include file="$admintemplatepath/validate.template" field=blogResourcesQuota message=$locale->tr("error_invalid_quota")}
</div>
Modified: plog/trunk/templates/admin/editcustomfield.template
===================================================================
--- plog/trunk/templates/admin/editcustomfield.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/editcustomfield.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -10,7 +10,7 @@
<label for="fieldName">{$locale->tr("name")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("field_name_help")}</div>
- <input type="text" name="fieldName" value="{$fieldName}" />
+ <input type="text" name="fieldName" value="{$fieldName}" id="fieldName" />
{include file="$admintemplatepath/validate.template" field=fieldName message=$locale->tr("error_must_give_field_name")}
</div>
@@ -18,7 +18,7 @@
<label for="fieldDescription">{$locale->tr("description")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("field_description_help")}</div>
- <input type="text" name="fieldDescription" value="{$fieldDescription}" />
+ <input type="text" name="fieldDescription" value="{$fieldDescription}" id="fieldDescription" />
{include file="$admintemplatepath/validate.template" field=fieldDescription message=$locale->tr("error_must_give_field_description")}
</div>
@@ -26,7 +26,7 @@
<label for="fieldType">{$locale->tr("type")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("field_type_help")}</div>
- <select name="fieldType">
+ <select name="fieldType" id="fieldType">
<option value="1" {if $fieldType == 1}selected="selected"{/if}>{$locale->tr("text_field")}</option>
<option value="2" {if $fieldType == 2}selected="selected"{/if}>{$locale->tr("text_area")}</option>
<option value="3" {if $fieldType == 3}selected="selected"{/if}>{$locale->tr("checkbox")}</option>
@@ -38,7 +38,7 @@
<label for="fieldHidden">{$locale->tr("field_hidden")}</label>
<span class="required">*</span>
<div class="formHelp">
- <input class="checkbox" type="checkbox" name="fieldHidden" value="{$fieldHidden}" />
+ <input class="checkbox" type="checkbox" name="fieldHidden" id="fieldHidden" value="{$fieldHidden}" />
{$locale->tr("field_hidden_help")}
</div>
</div>
Modified: plog/trunk/templates/admin/editlink.template
===================================================================
--- plog/trunk/templates/admin/editlink.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/editlink.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -42,7 +42,7 @@
<label for="linkCategory">{$locale->tr("category")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("link_category_help")}</div>
- <select name="linkCategoryId">
+ <select name="linkCategoryId" id="linkCategoryId">
{foreach from=$linkcategories item=linkcategory}
<option value="{$linkcategory->getId()}" {if $linkCategoryId == $linkcategory->getId()}selected="selected"{/if}>
{$linkcategory->getName()}
Modified: plog/trunk/templates/admin/editlinkcategory.template
===================================================================
--- plog/trunk/templates/admin/editlinkcategory.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/editlinkcategory.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -8,7 +8,7 @@
<label for="linkCategoryName">{$locale->tr("name")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("link_category_name_info")}</div>
- <input type="text" name="linkCategoryName" value="{$linkCategoryName|escape:"html"}"/>
+ <input type="text" id="linkCategoryName" name="linkCategoryName" value="{$linkCategoryName|escape:"html"}"/>
{include file="$admintemplatepath/validate.template" field=linkUrl message=$locale->tr("error_provide_link_category_name")}
</div>
</fieldset>
Modified: plog/trunk/templates/admin/editlinks.template
===================================================================
--- plog/trunk/templates/admin/editlinks.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/editlinks.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -16,7 +16,7 @@
<div class="list_nav_option">
<label for="showCategory">{$locale->tr("link_category")}</label>
<br />
- <select name="showCategory">
+ <select name="showCategory" id="showCategory">
<option value="0">{$locale->tr("category_all")}</option>
{foreach from=$linkscategories item=category}
<option value="{$category->getId()}" {if $currentcategory == $category->getId()} selected="selected" {/if}>{$category->getName()}</option>
Modified: plog/trunk/templates/admin/editpost.template
===================================================================
--- plog/trunk/templates/admin/editpost.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/editpost.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -28,7 +28,7 @@
<label for="postTopic">{$locale->tr("topic")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("topic_help")}</div>
- <input type="text" name="postTopic" style="width:100%" value="{$postTopic}" />
+ <input type="text" id="postTopic" name="postTopic" style="width:100%" value="{$postTopic}" />
{include file="$admintemplatepath/validate.template" field=postTopic message=$locale->tr("error_missing_post_topic")}
</div>
@@ -67,7 +67,7 @@
<div class="field">
<label for="postSlug">{$locale->tr("post_slug")}</label>
<div class="formHelp">{$locale->tr("post_slug_help")}</div>
- <input type="text" name="postSlug" style="width:100%" value="{$postSlug}" />
+ <input type="text" name="postSlug" id="postSlug" style="width:100%" value="{$postSlug}" />
</div>
<div class="field">
@@ -85,7 +85,7 @@
<label for="postStatus">{$locale->tr("status")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("post_status_help")}</div>
- <select name="postStatus">
+ <select name="postStatus" id="postStatus">
{foreach from=$poststatus key=name item=status}
<option value="{$status}" {if $postStatus == $status} selected="selected"{/if}>{$locale->tr($name)}</option>
{/foreach}
@@ -105,23 +105,23 @@
</div>
<div class="field_checkbox">
- <input class="checkbox" type="checkbox" name="commentsEnabled" value="1" {if $commentsEnabled} checked="checked" {/if}/>
+ <input class="checkbox" type="checkbox" id="commentsEnabled" name="commentsEnabled" value="1" {if $commentsEnabled} checked="checked" {/if}/>
<label for="commentsEnabled">{$locale->tr("enable_comments_for_post")}</label>
</div>
<div class="field_checkbox">
- <input class="checkbox" type="checkbox" name="sendNotification" value="1" {if $sendNotification} checked="checked" {/if}/>
+ <input class="checkbox" type="checkbox" id="sendNotification" name="sendNotification" value="1" {if $sendNotification} checked="checked" {/if}/>
<label for="sendNotification">{$locale->tr("send_notification")}</label>
</div>
<div class="field_checkbox">
- <input class="checkbox" type="checkbox" name="sendTrackbacks" value="1" {if $sendTrackbacks} checked="checked" {/if}/>
+ <input class="checkbox" type="checkbox" id="sendTrackbacks" name="sendTrackbacks" value="1" {if $sendTrackbacks} checked="checked" {/if}/>
<label for="sendTrackbacks">{$locale->tr("send_trackback_pings")}</label>
</div>
<div class="field_checkbox">
{if $xmlRpcPingEnabled}
- <input class="checkbox" type="checkbox" name="sendPings" value="1" {if $sendPings} checked="checked" {/if}/>
+ <input class="checkbox" type="checkbox" name="sendPings" id="sendPings" value="1" {if $sendPings} checked="checked" {/if}/>
<label for="sendPings">{$locale->tr("send_xmlrpc_pings")}</label>
{/if}
</div>
Modified: plog/trunk/templates/admin/editresourcealbum.template
===================================================================
--- plog/trunk/templates/admin/editresourcealbum.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/editresourcealbum.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -8,13 +8,13 @@
<label for="albumName">{$locale->tr("name")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("album_name_help")}</div>
- <input type="text" name="albumName" value="{$albumName}" />
+ <input type="text" id="albumName" name="albumName" value="{$albumName}" />
{include file="$admintemplatepath/validate.template" field=albumName message=$locale->tr("error_must_give_album_name")}
</div>
<div class="field">
<label for="parentId">{$locale->tr("parent_album")}</label>
<div class="formHelp">{$locale->tr("parent_album_help")}</div>
- <select name="parentId">
+ <select name="parentId" id="parentId">
<option value="0">({$locale->tr("no_parent_album")})</option>
{foreach from=$albums item=albumItem}
<option value="{$albumItem->getId()}" {if $albumItem->getId()==$parentId}selected="selected"{/if}>
@@ -27,12 +27,12 @@
<div class="field">
<label for="albumDescription">{$locale->tr("description")}</label>
<div class="formHelp">{$locale->tr("album_description_help")}</div>
- <textarea name="albumDescription" rows="10" cols="60">{$albumDescription}</textarea>
+ <textarea name="albumDescription" id="albumDescription" rows="10" cols="60">{$albumDescription}</textarea>
</div>
<div class="field">
<label for="showAlbum">{$locale->tr("show_album")}</label>
<div class="formHelp">
- <input class="checkbox" type="checkbox" name="showAlbum" value="1" {if $showAlbum == 1} checked="checked"{/if} />
+ <input class="checkbox" type="checkbox" id="showAlbum" name="showAlbum" value="1" {if $showAlbum == 1} checked="checked"{/if} />
{$locale->tr("show_album_help")}
</div>
</div>
Modified: plog/trunk/templates/admin/globalsettings.template
===================================================================
--- plog/trunk/templates/admin/globalsettings.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/globalsettings.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -8,55 +8,23 @@
{include file="$admintemplatepath/errormessage.template" message=$viewErrorMessage}
{/if}
- <div id="list_nav_bar">
- <div id="list_nav_select">
-
- <form id="viewSection" action="admin.php" method="post">
- <fieldset>
- <legend>{$locale->tr("show_section")}</legend>
- <div class="list_nav_option">
- <label for="showSection">{$locale->tr("section")}</label>
- <br />
- <select name="showSection" id="showSection" onChange="toggleSection(this,null);">
- <option value="none">{$locale->tr("select_section")}</option>
- <option value="general" {if $section=="general"}selected="selected"{/if}>{$locale->tr("general_settings")}</option>
- <option value="summary" {if $section=="summary"}selected="selected"{/if}>{$locale->tr("summary_settings")}</option>
- <option value="templates" {if $section=="templates"}selected="selected"{/if}>{$locale->tr("templates_settings")}</option>
- <option value="url" {if $section=="url"}selected="selected"{/if}>{$locale->tr("url_format")}</option>
- <option value="email" {if $section=="email"}selected="selected"{/if}>{$locale->tr("email_settings")}</option>
- <option value="uploads" {if $section=="uploads"}selected="selected"{/if}>{$locale->tr("uploads_settings")}</option>
- <option value="helpers" {if $section=="helpers"}selected="selected"{/if}>{$locale->tr("helper_tools_settings")}</option>
- <option value="interfaces" {if $section=="interfaces"}selected="selected"{/if}>{$locale->tr("external_interfaces")}</option>
- <option value="security" {if $section=="security"}selected="selected"{/if}>{$locale->tr("security_settings")}</option>
- <option value="bayesian" {if $section=="bayesian"}selected="selected"{/if}>{$locale->tr("bayesian_filter_settings")}</option>
- <option value="resources" {if $section=="resources"}selected="selected"{/if}>{$locale->tr("resources_settings")}</option>
- <option value="search" {if $section=="search"}selected="selected"{/if}>{$locale->tr("search_engine_settings")}</option>
- <option value="all" {if $section=="all"}selected="selected"{/if}>{$locale->tr("all")}</option>
- </select>
- </div>
- </fieldset>
- </form>
- </div>
- <br style="clear:both">
- </div>
-
<form name="updateGlobalSettings" action="admin.php" method="post">
- <div id="list">
+ <fieldset class="inputField">
- {include file="$admintemplatepath/globalsettings_general.template"}
+ {**{include file="$admintemplatepath/globalsettings_general.template"}**}
{include file="$admintemplatepath/globalsettings_summary.template"}
{include file="$admintemplatepath/globalsettings_templates.template"}
- {include file="$admintemplatepath/globalsettings_url.template"}
+ {**{include file="$admintemplatepath/globalsettings_url.template"}**}
{include file="$admintemplatepath/globalsettings_email.template"}
- {include file="$admintemplatepath/globalsettings_uploads.template"}
-
- {include file="$admintemplatepath/globalsettings_helpers.template"}
+ {include file="$admintemplatepath/globalsettings_helpers.template"}
+ {**{include file="$admintemplatepath/globalsettings_uploads.template"}
+
{include file="$admintemplatepath/globalsettings_interfaces.template"}
{include file="$admintemplatepath/globalsettings_security.template"}
@@ -65,19 +33,16 @@
{include file="$admintemplatepath/globalsettings_resources.template"}
- {include file="$admintemplatepath/globalsettings_search.template"}
+ {include file="$admintemplatepath/globalsettings_search.template"}**}
- </div>
- <div id="list_action_bar">
+ </fieldset>
+ <div class="buttons">
<input type="hidden" name="op" value="updateGlobalSettings"/>
<input type="submit" name="{$locale->tr("update")}" value="{$locale->tr("update")}"/>
</div>
</form>
- </p>
<script type="text/javascript">
- // toggle a section if it was in the url
- form = document.getElementById( "showSection" );
- toggleSection( form, "{$section}" );
+ toggleSection( "{$section}" );
</script>
{include file="$admintemplatepath/footernavigation.template"}
{include file="$admintemplatepath/footer.template"}
Modified: plog/trunk/templates/admin/globalsettings_email.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_email.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/globalsettings_email.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -1,92 +1,66 @@
- <!-- email settings -->
- <table class="info" id="email" style="display:none">
- <thead>
- <tr>
- <th style="width:200px;">{$locale->tr("setting_description")}</th>
- <th style="widht:550px;">{$locale->tr("setting_value")}</th>
- <th style="width:25px;">{$locale->tr("setting_name")}</th>
- </tr>
- </thead>
- <tbody>
- <!-- check_email_address_validity -->
- <tr class="odd">
- <td>check_email_address_validity</td>
- <td>
- <input class="radio" type="radio" name="config[check_email_address_validity]" value="1" {if $check_email_address_validity == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
- <input class="radio" type="radio" name="config[check_email_address_validity]" value="0" {if $check_email_address_validity == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
- </td>
- <td>{$locale->tr("help_check_email_address_validity")}</td>
- </tr>
+ <a onclick="javascript:toggleSection('email');">
+ <h4 class="sectionTitle">{$locale->tr("email_settings")}</h4>
+ </a>
+ <div id="email">
+ <div class="field">
+ <label for="config[check_email_address_validity]">check_email_address_validity</label>
+ <div class="formHelp">{$locale->tr("help_check_email_address_validity")}</div>
+ <input class="radio" type="radio" name="config[check_email_address_validity]" value="1" {if $check_email_address_validity == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+ <input class="radio" type="radio" name="config[check_email_address_validity]" value="0" {if $check_email_address_validity == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+ </div>
<!-- email_service_enabled -->
- <tr class="even">
- <td>email_service_enabled</td>
- <td>
- <input class="radio" type="radio" name="config[email_service_enabled]" value="1" {if $email_service_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
- <input class="radio" type="radio" name="config[email_service_enabled]" value="0" {if $email_service_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
- </td>
- <td >{$locale->tr("help_email_service_enabled")}</td>
- </tr>
+ <div class="field">
+ <label for="config[email_service_enabled]">email_service_enabled</label>
+ <div class="formHelp">{$locale->tr("help_email_service_enabled")}</div>
+ <input class="radio" type="radio" name="config[email_service_enabled]" value="1" {if $email_service_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+ <input class="radio" type="radio" name="config[email_service_enabled]" value="0" {if $email_service_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+ </div>
<!-- post_notification_source_address -->
- <tr class="odd">
- <td>post_notification_source_address</td>
- <td>
- <input style="width:100%" type="text" name="config[post_notification_source_address]" value="{$post_notification_source_address}"/>
- </td>
- <td >{$locale->tr("help_post_notification_source_address")}</td>
- </tr>
+ <div class="field">
+ <label for="config[post_notification_source_address]">post_notification_source_address</label>
+ <div class="formHelp">{$locale->tr("help_post_notification_source_address")}</div>
+ <input style="width:100%" type="text" name="config[post_notification_source_address]" value="{$post_notification_source_address}"/>
+ </div>
<!-- email_service_type -->
- <tr class="odd">
- <td >email_service_type</td>
- <td >
+ <div class="field">
+ <label for="config[email_service_type]">email_service_type</label>
+ <div class="formHelp">{$locale->tr("help_email_service_type")}</div>
<select name="config[email_service_type]">
<option value="php" {if $email_service_type == "php"} selected="selected" {/if}>PHP mail()</option>
<option value="smtp" {if $email_service_type == "smtp"} selected="selected" {/if}>SMTP</option>
<option value="qmail" {if $email_service_type == "qmail"} selected="selected" {/if}>Qmail</option>
<option value="sendmail" {if $email_service_type == "sendmail"} selected="selected" {/if}>Sendmail</option>
</select>
- </td>
- <td >{$locale->tr("help_email_service_type")}</td>
- </tr>
+ </div>
<!-- smtp_host -->
- <tr class="even">
- <td>smtp_host</td>
- <td>
- <input style="width:100%" type="text" name="config[smtp_host]" value="{$smtp_host}"/>
- </td>
- <td>{$locale->tr("help_smtp_host")}</td>
- </tr>
+ <div class="field">
+ <label for="config[smtp_host]">smtp_host</label>
+ <div class="formHelp">{$locale->tr("help_smtp_host")}</div>
+ <input style="width:100%" type="text" name="config[smtp_host]" value="{$smtp_host}"/>
+ </div>
<!-- smtp_port -->
- <tr>
- <td>smtp_port</td>
- <td>
- <input style="width:100%" type="text" name="config[smtp_port]" value="{$smtp_port}"/>
- </td>
- <td>{$locale->tr("help_smtp_port")}</td>
- </tr>
+ <div class="field">
+ <label for="config[smtp_post]">smtp_port</label>
+ <div class="formHelp">{$locale->tr("help_smtp_port")}</div>
+ <input style="width:100%" type="text" name="config[smtp_port]" value="{$smtp_port}"/>
+ </div>
<!-- smtp_use_authentication -->
- <tr>
- <td>smtp_use_authentication</td>
- <td>
- <input class="radio" type="radio" name="config[smtp_use_authentication]" value="1" {if $smtp_use_authentication == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
- <input class="radio" type="radio" name="config[smtp_use_authentication]" value="0" {if $smtp_use_authentication == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
- </td>
- <td>{$locale->tr("help_smtp_use_authentication")}</td>
- </tr>
+ <div class="field">
+ <label for="config[smtp_use_authentication]">smtp_use_authentication</label>
+ <div class="formHelp">{$locale->tr("help_smtp_use_authentication")}</div>
+ <input class="radio" type="radio" name="config[smtp_use_authentication]" value="1" {if $smtp_use_authentication == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+ <input class="radio" type="radio" name="config[smtp_use_authentication]" value="0" {if $smtp_use_authentication == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+ </div>
<!-- smtp_username -->
- <tr>
- <td>smtp_username</td>
- <td>
- <input style="width:100%" type="text" name="config[smtp_username]" value="{$smtp_username}"/>
- </td>
- <td>{$locale->tr("help_smtp_username")}</td>
- </tr>
+ <div class="field">
+ <label for="config[smtp_username]">smtp_username</label>
+ <div class="formHelp">{$locale->tr("help_smtp_username")}</div>
+ <input style="width:100%" type="text" name="config[smtp_username]" value="{$smtp_username}"/>
+ </div>
<!-- smtp_password -->
- <tr>
- <td>smtp_password</td>
- <td>
- <input style="width:100%" type="text" name="config[smtp_password]" value="{$smtp_password}"/>
- </td>
- <td>{$locale->tr("help_smtp_password")}</td>
- </tr>
- </tbody>
- </table>
\ No newline at end of file
+ <div class="field">
+ <label for="config[smtp_password]">smtp_password</label>
+ <div class="formHelp">{$locale->tr("help_smtp_password")}</label>
+ <input style="width:100%" type="text" name="config[smtp_password]" value="{$smtp_password}"/>
+ </div>
+ </div>
\ No newline at end of file
Modified: plog/trunk/templates/admin/globalsettings_helpers.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_helpers.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/globalsettings_helpers.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -1,53 +1,36 @@
- <!-- helper program -->
- <table class="info" id="helpers" style="display:none">
- <thead>
- <tr>
- <th style="width:200px;">{$locale->tr("setting_name")}</th>
- <th style="widht:550px";>{$locale->tr("setting_value")}</th>
- <th style="width:25px">{$locale->tr("setting_description")}</th>
- </tr>
- </thead>
- <tbody>
+ <a onclick="javascript:toggleSection('helpers');">
+ <h4 class="sectionTitle">{$locale->tr("helper_settings")}</h4>
+ </a>
+ <div id="helpers">
<!-- path_to_tar -->
- <tr>
- <td>path_to_tar</td>
- <td>
- <input style="width:100%" type="text" name="config[path_to_tar]" value="{$path_to_tar}"/>
- </td>
- <td>{$locale->tr("help_path_to_tar")}</td>
- </tr>
+ <div class="field">
+ <label for="config[path_to_tar]">path_to_tar</label>
+ <div class="formHelp">{$locale->tr("help_path_to_tar")}</div>
+ <input style="width:100%" type="text" name="config[path_to_tar]" value="{$path_to_tar}"/>
+ </div>
<!-- path_to_gzip -->
- <tr>
- <td>path_to_gzip</td>
- <td>
- <input style="width:100%" type="text" name="config[path_to_gzip]" value="{$path_to_gzip}"/>
- </td>
- <td>{$locale->tr("help_path_to_gzip")}</td>
- </tr>
+ <div class="field">
+ <label for="config[path_to_gzip]">path_to_gzip<label>
+ <div class="formHelp">{$locale->tr("help_path_to_gzip")}</div>
+ <input style="width:100%" type="text" name="config[path_to_gzip]" value="{$path_to_gzip}"/>
+ </div>
<!-- path_to_bz2 -->
- <tr>
- <td>path_to_bz2</td>
- <td>
- <input style="width:100%" type="text" name="config[path_to_bz2]" value="{$path_to_bz2}"/>
- </td>
- <td>{$locale->tr("help_path_to_bz2")}</td>
- </tr>
+ <div class="field">
+ <label for="config[path_to_bz2]">path_to_bz2</label>
+ <div class="formHelp">{$locale->tr("help_path_to_bz2")}</div>
+ <input style="width:100%" type="text" name="config[path_to_bz2]" value="{$path_to_bz2}"/>
+ </div>
<!-- pat_to_unzip -->
- <tr>
- <td>path_to_unzip</td>
- <td>
- <input style="width:100%" type="text" name="config[path_to_unzip]" value="{$path_to_unzip}"/>
- </td>
- <td>{$locale->tr("help_path_to_unzip")}</td>
- </tr>
+ <div class="field">
+ <label for="config[path_to_unzip]">path_to_unzip</label>
+ <div class="formHelp">{$locale->tr("help_path_to_unzip")}</div>
+ <input style="width:100%" type="text" name="config[path_to_unzip]" value="{$path_to_unzip}"/>
+ </div>
<!-- unzip_use_native_version -->
- <tr>
- <td>unzip_use_native_version</td>
- <td>
- <input class="radio" type="radio" name="config[unzip_use_native_version]" value="1" {if $unzip_use_native_version == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
- <input class="radio" type="radio" name="config[unzip_use_native_version]" value="0" {if $unzip_use_native_version == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
- </td>
- <td >{$locale->tr("help_unzip_use_native_version")}</td>
- </tr>
- </tbody>
- </table>
\ No newline at end of file
+ <div class="field">
+ <label for="config[unzip_use_native_version]">unzip_use_native_version</label>
+ <div class="formHelp">{$locale->tr("help_unzip_use_native_version")}</div>
+ <input class="radio" type="radio" name="config[unzip_use_native_version]" value="1" {if $unzip_use_native_version == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+ <input class="radio" type="radio" name="config[unzip_use_native_version]" value="0" {if $unzip_use_native_version == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+ </div>
+ </div>
\ No newline at end of file
Modified: plog/trunk/templates/admin/globalsettings_templates.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_templates.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/globalsettings_templates.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -1,76 +1,55 @@
- <!-- template settings (caching, etc) -->
- <table class="info" id="templates" style="display:none;">
- <thead>
- <tr>
- <th style="width:200px;">{$locale->tr("setting_name")}</th>
- <th style="widht:550px";>{$locale->tr("setting_value")}</th>
- <th style="width:25px">{$locale->tr("setting_description")}</th>
- </tr>
- </thead>
- <tbody>
+ <a onclick="javascript:toggleSection('templates');">
+ <h4 class="sectionTitle">{$locale->tr("template_settings")}</h4>
+ </a>
+ <div id="templates">
<!-- template_folder -->
- <tr>
- <td >template_folder</td>
- <td >
- <input style="width:100%" type="text" name="config[template_folder]" value="{$template_folder}"/>
- </td>
- <td >{$locale->tr("help_template_folder")}</td>
- </tr>
+ <div class="field">
+ <label for="config[template_folder]">template_folder</label>
+ <div class="formHelp">{$locale->tr("help_template_folder")}
+ <input style="width:100%" type="text" name="config[template_folder]" value="{$template_folder}"/>
+ </div>
<!-- default_template -->
- <tr>
- <td >default_template</td>
- <td >
+ <div class="field">
+ <label for="config[default_template]">default_template</label>
+ <div class="formHelp">{$locale->tr("help_default_template")}</div>
<select name="config[default_template]">
{foreach from=$templates item=template}
<option value="{$template}" {if $template == $default_template} selected="selected" {/if}>{$template}</option>
{/foreach}
</select>
- </td>
- <td >{$locale->tr("help_default_template")}</td>
- </tr>
+ </div>
<!-- users_can_add_templates -->
- <tr>
- <td>users_can_add_templates</td>
- <td>
- <input class="radio" type="radio" name="config[users_can_add_templates]" value="1" {if $users_can_add_templates == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
- <input class="radio" type="radio" name="config[users_can_add_templates]" value="0" {if $users_can_add_templates == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
- </td>
- <td >{$locale->tr("help_users_can_add_templates")}</td>
- </tr>
+ <div class="field">
+ <label for="config[users_can_add_templates]">users_can_add_templates</label>
+ <div class="formHelp">{$locale->tr("help_users_can_add_templates")}</div>
+ <input class="radio" type="radio" name="config[users_can_add_templates]" value="1" {if $users_can_add_templates == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+ <input class="radio" type="radio" name="config[users_can_add_templates]" value="0" {if $users_can_add_templates == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+ </div>
<!-- template_compile_check -->
- <tr>
- <td>template_compile_check</td>
- <td>
- <input class="radio" type="radio" name="config[template_compile_check]" value="1" {if $template_compile_check == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
- <input class="radio" type="radio" name="config[template_compile_check]" value="0" {if $template_compile_check == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
- </td>
- <td >{$locale->tr("help_template_compile_check")}</td>
- </tr>
+ <div class="field">
+ <label for="config[template_compile_check]">template_compile_check</label>
+ <div class="formHelp">{$locale->tr("help_template_compile_check")}</div>
+ <input class="radio" type="radio" name="config[template_compile_check]" value="1" {if $template_compile_check == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+ <input class="radio" type="radio" name="config[template_compile_check]" value="0" {if $template_compile_check == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+ </div>
<!-- template_cache_enabled -->
- <tr>
- <td>template_cache_enabled</td>
- <td>
- <input class="radio" type="radio" name="config[template_cache_enabled]" value="1" {if $template_cache_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
- <input class="radio" type="radio" name="config[template_cache_enabled]" value="0" {if $template_cache_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
- </td>
- <td >{$locale->tr("help_template_cache_enabled")}</td>
- </tr>
+ <div class="field">
+ <label for="config[template_cache_enabled]">template_cache_enabled</label>
+ <div class="formHelp">{$locale->tr("help_template_cache_enabled")}</div>
+ <input class="radio" type="radio" name="config[template_cache_enabled]" value="1" {if $template_cache_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+ <input class="radio" type="radio" name="config[template_cache_enabled]" value="0" {if $template_cache_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+ </div>
<!-- template_cache_lifetime -->
- <tr>
- <td>template_cache_lifetime</td>
- <td>
- <input style="width:100%" type="text" name="config[template_cache_lifetime]" value="{$template_cache_lifetime}"/>
- </td>
- <td>{$locale->tr("help_template_cache_lifetime")}</td>
- </tr>
+ <div class="field">
+ <label for="config[template_cache_lifetime]">template_cache_lifetime</label>
+ <div class="formHelp">{$locale->tr("help_template_cache_lifetime")}</div>
+ <input style="width:100%" type="text" name="config[template_cache_lifetime]" value="{$template_cache_lifetime}"/>
+ </div>
<!-- template_http_cache_enabled -->
- <tr>
- <td>template_http_cache_enabled</td>
- <td>
- <input class="radio" type="radio" name="config[template_http_cache_enabled]" value="1" {if $template_http_cache_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
- <input class="radio" type="radio" name="config[template_http_cache_enabled]" value="0" {if $template_http_cache_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
- </td>
- <td>{$locale->tr("help_template_http_cache_enabled")}</td>
- </tr>
- </tbody>
- </table>
\ No newline at end of file
+ <div class="field">
+ <label for="config[template_http_cache_enabled]">template_http_cache_enabled</label>
+ <div class="formHelp">{$locale->tr("help_template_http_cache_enabled")}</div>
+ <input class="radio" type="radio" name="config[template_http_cache_enabled]" value="1" {if $template_http_cache_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+ <input class="radio" type="radio" name="config[template_http_cache_enabled]" value="0" {if $template_http_cache_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+ </div>
+ </div>
\ No newline at end of file
Modified: plog/trunk/templates/admin/newcustomfield.template
===================================================================
--- plog/trunk/templates/admin/newcustomfield.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/newcustomfield.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -10,7 +10,7 @@
<label for="fieldName">{$locale->tr("name")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("field_name_help")}</div>
- <input type="text" name="fieldName" value="{$fieldName}" />
+ <input type="text" name="fieldName" value="{$fieldName}" id="fieldName" />
{include file="$admintemplatepath/validate.template" field=fieldName message=$locale->tr("error_must_give_field_name")}
</div>
@@ -18,7 +18,7 @@
<label for="fieldDescription">{$locale->tr("description")}</label>
<span class="required"></span>
<div class="formHelp">{$locale->tr("field_description_help")}</div>
- <input type="text" name="fieldDescription" value="{$fieldDescription}" />
+ <input type="text" name="fieldDescription" value="{$fieldDescription}" id="fieldDescription" />
{include file="$admintemplatepath/validate.template" field=fieldDescription message=$locale->tr("error_must_give_field_description")}
</div>
@@ -26,7 +26,7 @@
<label for="fieldType">{$locale->tr("type")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("field_type_help")}</div>
- <select name="fieldType">
+ <select name="fieldType" id="fieldType">
<option value="1" {if $fieldType == 1}selected="selected"{/if}>{$locale->tr("text_field")}</option>
<option value="2" {if $fieldType == 2}selected="selected"{/if}>{$locale->tr("text_area")}</option>
<option value="3" {if $fieldType == 3}selected="selected"{/if}>{$locale->tr("checkbox")}</option>
@@ -38,7 +38,7 @@
<label for="fieldHidden">{$locale->tr("field_hidden")}</label>
<span class="required">*</span>
<div class="formHelp">
- <input class="checkbox" type="checkbox" name="fieldHidden" value="{$fieldHidden}" />
+ <input class="checkbox" type="checkbox" id="fieldHidden" name="fieldHidden" value="{$fieldHidden}" />
{$locale->tr("field_hidden_help")}
</div>
</div>
Modified: plog/trunk/templates/admin/newlink.template
===================================================================
--- plog/trunk/templates/admin/newlink.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/newlink.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -42,7 +42,7 @@
<label for="linkCategory">{$locale->tr("category")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("link_category_help")}</div>
- <select name="linkCategoryId">
+ <select name="linkCategoryId" id="linkCategoryId">
{foreach from=$linkcategories item=linkcategory}
<option value="{$linkcategory->getId()}" {if $linkCategoryId == $linkcategory->getId()}selected="selected"{/if}>
{$linkcategory->getName()}
Modified: plog/trunk/templates/admin/newlinkcategory.template
===================================================================
--- plog/trunk/templates/admin/newlinkcategory.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/newlinkcategory.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -8,7 +8,7 @@
<label for="linkCategoryName">{$locale->tr("name")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("link_category_name_info")}</div>
- <input type="text" name="linkCategoryName" value="{$linkCategoryName}"/>
+ <input type="text" id="linkCategoryName" name="linkCategoryName" value="{$linkCategoryName}"/>
{include file="$admintemplatepath/validate.template" field=linkUrl message=$locale->tr("error_provide_link_category_name")}
</div>
</fieldset>
Modified: plog/trunk/templates/admin/newpost.template
===================================================================
--- plog/trunk/templates/admin/newpost.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/newpost.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -51,7 +51,7 @@
<label for="postTopic">{$locale->tr("topic")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("topic_help")}</div>
- <input type="text" name="postTopic" style="width:100%" value="{$postTopic}" />
+ <input type="text" name="postTopic" style="width:100%" id="postTopic" value="{$postTopic}" />
{include file="$admintemplatepath/validate.template" field=postTopic message=$locale->tr("error_missing_post_topic")}
</div>
@@ -89,7 +89,7 @@
<div class="field">
<label for="postSlug">{$locale->tr("post_slug")}</label>
<div class="formHelp">{$locale->tr("post_slug_help")}</div>
- <input type="text" name="postSlug" style="width:100%" value="{$postSlug}" />
+ <input type="text" name="postSlug" id="postSlug" style="width:100%" value="{$postSlug}" />
</div>
<div class="field">
@@ -109,7 +109,7 @@
<label for="postStatus">{$locale->tr("status")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("post_status_help")}</div>
- <select name="postStatus">
+ <select name="postStatus" id="postStatus">
{foreach from=$poststatus key=name item=status}
<option value="{$status}" {if $postStatus == $status} selected="selected"{/if}>{$locale->tr($name)}</option>
{/foreach}
@@ -129,23 +129,23 @@
</div>
<div class="field_checkbox">
- <input class="checkbox" type="checkbox" name="commentsEnabled" value="1" {if $commentsEnabled} checked="checked" {/if}/>
+ <input class="checkbox" type="checkbox" id="commentsEnabled" name="commentsEnabled" value="1" {if $commentsEnabled} checked="checked" {/if}/>
<label for="commentsEnabled">{$locale->tr("enable_comments_for_post")}</label>
</div>
<div class="field_checkbox">
- <input class="checkbox" type="checkbox" name="sendNotification" value="1" {if $sendNotification} checked="checked" {/if}/>
+ <input class="checkbox" type="checkbox" name="sendNotification" id="sendNotification" value="1" {if $sendNotification} checked="checked" {/if}/>
<label for="sendNotification">{$locale->tr("send_notification")}</label>
</div>
<div class="field_checkbox">
- <input class="checkbox" type="checkbox" name="sendTrackbacks" value="1" {if $sendTrackbacks} checked="checked" {/if}/>
+ <input class="checkbox" type="checkbox" name="sendTrackbacks" id="sendTrackbacks" value="1" {if $sendTrackbacks} checked="checked" {/if}/>
<label for="sendTrackbacks">{$locale->tr("send_trackback_pings")}</label>
</div>
<div class="field_checkbox">
{if $xmlRpcPingEnabled}
- <input class="checkbox" type="checkbox" name="sendPings" value="1" {if $sendPings} checked="checked" {/if}/>
+ <input class="checkbox" type="checkbox" name="sendPings" id="sendPings" value="1" {if $sendPings} checked="checked" {/if}/>
<label for="sendPings">{$locale->tr("send_xmlrpc_pings")}</label>
{/if}
</div>
Modified: plog/trunk/templates/admin/newpost_customfields.template
===================================================================
--- plog/trunk/templates/admin/newpost_customfields.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/newpost_customfields.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -4,17 +4,17 @@
<div class="field">
<label for="customField[{$fieldId}]">{$field->getName()}</label>
<div class="formHelp">{$field->getDescription()}</div>
- <input type="text" name="customField[{$fieldId}]" value="{$customField[$fieldId]}" />
+ <input type="text" name="customField[{$fieldId}]" id="customField[{$fieldId}]" value="{$customField[$fieldId]}" />
</div>
{elseif $field->getType() == 2 && ($type == 2 || $type == "")}
<div class="field">
<label for="customField[{$fieldId}]">{$field->getName()}</label>
<div class="formHelp">{$field->getDescription()}</div>
- <textarea name="customField[{$fieldId}]" rows="10" style="width:100%">{$customField[$fieldId]}</textarea>
+ <textarea name="customField[{$fieldId}]" id="customField[{$fieldId}]" rows="10" style="width:100%">{$customField[$fieldId]}</textarea>
</div>
{elseif $field->getType() == 3 && ($type == 3 || $type == "")}
<div class="field_checkbox">
- <input class="checkbox" type="checkbox" name="customField[{$fieldId}]" value="1" {if $customField[$fieldId] == "1"}checked="checked"{/if} />
+ <input class="checkbox" type="checkbox" id="customField[{$fieldId}]" name="customField[{$fieldId}]" value="1" {if $customField[$fieldId] == "1"}checked="checked"{/if} />
<label for="customField[{$fieldId}]">{$field->getDescription()}</label>
</div>
{elseif $field->getType() == 4 && ($type == 4 || $type == "")}
Modified: plog/trunk/templates/admin/newpostcategory.template
===================================================================
--- plog/trunk/templates/admin/newpostcategory.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/newpostcategory.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -10,14 +10,14 @@
<label for="categoryName">{$locale->tr("category_name")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("add_new_category_info")}</div>
- <input type="text" value="{$categoryName}" name="categoryName" />
+ <input type="text" value="{$categoryName}" id="categoryName" name="categoryName" />
{include file="$admintemplatepath/validate.template" field=categoryName message=$locale->tr("error_empty_category_name")}
</div>
<div class="field">
<label for="categoryDescription">{$locale->tr("description")}</label>
<span class="required">*</span>
- <br/><textarea name="categoryDescription" cols="60" rows="5">{$categoryDescription}</textarea>
+ <br/><textarea name="categoryDescription" cols="60" id="categoryDescription" rows="5">{$categoryDescription}</textarea>
{include file="$admintemplatepath/validate.template" field=categoryDescription message=$locale->tr("error_empty_category_description")}
</div>
@@ -25,7 +25,7 @@
<label for="categoryInMainPage">{$locale->tr("show_category_in_main_page")}</label>
<span class="required"></span>
<div class="formHelp">
- <input class="checkbox" type="checkbox" value="1" name="categoryInMainPage" {if $categoryInMainPage}checked="checked"{/if}/>
+ <input class="checkbox" type="checkbox" value="1" name="categoryInMainPage" id="categoryInMainPage" {if $categoryInMainPage}checked="checked"{/if}/>
{$locale->tr("show_in_main_page_info")}
</div>
</div>
Modified: plog/trunk/templates/admin/newresource.template
===================================================================
--- plog/trunk/templates/admin/newresource.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/newresource.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -10,15 +10,15 @@
<span class="required">*</span>
<div class="formHelp">{$locale->tr("resource_file_help")}</div>
{if $browser->has_feature("dom")}
- <input type="file" name="resourceFile_1" />
+ <input type="file" id="resourceFile_1" name="resourceFile_1" />
<div id="marker" style="clear:none;"></div>
<a href="javascript:addElementToForm('fileFields','file','resourceFile','')">{$locale->tr("add_field")}</a>
{else}
- <input type="file" name="resourceFile_1" />
- <input type="file" name="resourceFile_2" />
- <input type="file" name="resourceFile_3" />
- <input type="file" name="resourceFile_4" />
- <input type="file" name="resourceFile_5" />
+ <input type="file" name="resourceFile_1" id="resourceFile_1" />
+ <input type="file" name="resourceFile_2" id="resourceFile_2" />
+ <input type="file" name="resourceFile_3" id="resourceFile_3" />
+ <input type="file" name="resourceFile_4" id="resourceFile_4" />
+ <input type="file" name="resourceFile_5" id="resourceFile_5" />
{/if}
{include file="$admintemplatepath/validate.template" field=albumName message=$locale->tr("error_no_resource_uploaded")}
</div>
@@ -27,14 +27,14 @@
<label for="resourceDescription">{$locale->tr("description")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("resource_description_help")}</div>
- <textarea name="resourceDescription" cols="60" rows="5">{$resourceDescription}</textarea>
+ <textarea name="resourceDescription" cols="60" rows="5" id="resourceDescription">{$resourceDescription}</textarea>
</div>
<div class="field">
<label for="albumId">{$locale->tr("album")}</label>
<span class="required">*</span>
<div class="fieldHelp">{$locale->tr("add_to_album")}</div>
- <select name="albumId">
+ <select name="albumId" id="albumId">
{foreach from=$albums item=album}
{assign var=indentLevel value=$album->getValue("level")}
<option value="{$album->getId()}">
Modified: plog/trunk/templates/admin/newresourcealbum.template
===================================================================
--- plog/trunk/templates/admin/newresourcealbum.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/newresourcealbum.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -14,13 +14,13 @@
<label for="albumName">{$locale->tr("name")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("album_name_help")}</div>
- <input type="text" name="albumName" value="{$albumName}" />
+ <input type="text" id="albumName" name="albumName" value="{$albumName}" />
{include file="$admintemplatepath/validate.template" field=albumName message=$locale->tr("error_must_give_album_name")}
</div>
<div class="field">
<label for="parentId">{$locale->tr("parent_album")}</label>
<div class="formHelp">{$locale->tr("parent_album_help")}</div>
- <select name="parentId">
+ <select name="parentId" id="parentId">
<option value="0">({$locale->tr("no_parent_album")})</option>
{foreach from=$albums item=album}
<option value="{$album->getId()}" {if $album->getId()==$parentId}selected="selected"{/if}>
@@ -33,7 +33,7 @@
<div class="field">
<label for="albumDescription">{$locale->tr("description")}</label>
<div class="formHelp">{$locale->tr("album_description_help")}</div>
- <textarea name="albumDescription" rows="10" cols="60">{$albumDescription}</textarea>
+ <textarea name="albumDescription" id="albumDescription" rows="10" cols="60">{$albumDescription}</textarea>
</div>
</fieldset>
<div class="buttons">
Modified: plog/trunk/templates/admin/resourceinfo.template
===================================================================
--- plog/trunk/templates/admin/resourceinfo.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/resourceinfo.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -5,14 +5,15 @@
<legend>{$locale->tr("resource_info")}</legend>
<div style="float:left;width:70%;border-right:1px solid #BEBEBE;">
<div class="field">
- <label>{$locale->tr("file")}</label>
+ <label for="resourceLink">{$locale->tr("file")}</label>
<div class="formHelp"></div>
- <a target="_blank" href="{$url->resourceLink($resource)}">{$resource->getFileName()}</a>
+ <span id="resourceLink"><a target="_blank" href="{$url->resourceLink($resource)}">{$resource->getFileName()}</a></span>
</div>
<div class="field">
- <label>{$locale->tr("information")}</label>
+ <label for="resourceInformation">{$locale->tr("information")}</label>
<div class="formHelp">{$locale->tr("resource_information_help")}</div>
{assign var=metadata value=$resource->getMetadataReader()}
+ <span id="resourceInformation">
{if $resource->isImage()}
{assign var=imgPath value=$url->resourcePreviewLink($resource)}
{$locale->tr("size")}: {$metadata->getFileSize()} {$locale->tr("bytes")}<br/>
@@ -45,13 +46,14 @@
{else}
{assign var=imgPath value="imgs/file.gif"}
{$locale->tr("size")}: {$metadata->getFileSize()} {$locale->tr("bytes")}<br/>
- {/if}
+ {/if}
+ </span>
</div>
<div class="field">
<label for="albumId">{$locale->tr("album")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("resource_album_help")}</div>
- <select name="albumId">
+ <select name="albumId" id="albumId">
{foreach from=$albums item=albumItem}
<option value="{$albumItem->getId()}" {if $albumItem->getId()==$albumId}selected="selected"{/if}>
{assign var=indentLevel value=$albumItem->getValue("level")}
@@ -64,7 +66,7 @@
<label for="resourceDescription">{$locale->tr("description")}</label>
<div class="formHelp">{$locale->tr("resource_description_help")}</div>
<span class="required"></span>
- <textarea name="resourceDescription" rows="7" cols="60">{$resource->getDescription()}</textarea>
+ <textarea name="resourceDescription" id="resourceDescription" rows="7" cols="60">{$resourceDescription}</textarea>
</div>
</div>
<div stlye="float:left;width=25%">
Modified: plog/trunk/templates/admin/resourcelist.template
===================================================================
--- plog/trunk/templates/admin/resourcelist.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/resourcelist.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -42,9 +42,9 @@
<fieldset>
<legend>{$locale->tr("show_album")}</legend>
<div class="list_nav_option">
- <label for="showCategory">{$locale->tr("album")}</label>
+ <label for="albumId">{$locale->tr("album")}</label>
<br />
- <select name="albumId">
+ <select name="albumId" id="albumId">
<option value="0">{$locale->tr("root_album")}</option>
{foreach from=$albumsList item=albumItem}
{assign var=indentLevel value=$albumItem->getValue("level")}
Modified: plog/trunk/templates/admin/resources.template
===================================================================
--- plog/trunk/templates/admin/resources.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/resources.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -17,7 +17,7 @@
<div class="list_nav_option">
<label for="showCategory">{$locale->tr("album")}</label>
<br />
- <select name="albumId">
+ <select name="albumId" id="albumId">
<option value="0">{$locale->tr("root_album")}</option>
{foreach from=$albumsList item=albumItem}
{assign var=indentLevel value=$albumItem->getValue("level")}
Modified: plog/trunk/templates/admin/sendtrackbacks.template
===================================================================
--- plog/trunk/templates/admin/sendtrackbacks.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/sendtrackbacks.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -11,7 +11,7 @@
<label for="postLink">{$locale->tr("trackback_links")}</label>
<div class="formHelp">{$locale->tr("trackback_links_help")}</div>
{foreach from=$postlinks item=postlink}
- <input class="checkbox" type="checkbox" name="postLink[{counter}]" value="{$postlink}" />
+ <input class="checkbox" type="checkbox" id="postLink[{counter}]" name="postLink[{counter}]" value="{$postlink}" />
<a href="{$postlink}">{$postlink}</a><br/>
{/foreach}
</fieldset>
Modified: plog/trunk/templates/admin/userprofile.template
===================================================================
--- plog/trunk/templates/admin/userprofile.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/userprofile.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -10,33 +10,33 @@
<label for="userName">{$locale->tr("username")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("username_help")}</div>
- <input type="text" name="userName" value="{$userName}" readonly="readonly" />
+ <input type="text" id="userName" name="userName" value="{$userName}" readonly="readonly" />
</div>
<div class="field">
<label for="userFullName">{$locale->tr("full_name")}</label>
<span class="required"></span>
<div class="formHelp">{$locale->tr("full_name_help")}</div>
- <input type="text" name="userFullName" value="{$userFullName}"/>
+ <input type="text" id="userFullName" name="userFullName" value="{$userFullName}"/>
</div>
<div class="field">
<label for="userPassword">{$locale->tr("password")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("password_help")}</div>
- <input type="password" name="userPassword" value="{$userPassword}"/><i>{$locale->tr("empty_no_change")}</i>
+ <input type="password" name="userPassword" id="userPassword" value="{$userPassword}"/><i>{$locale->tr("empty_no_change")}</i>
{include file="$admintemplatepath/validate.template" field=userPassword message=$locale->tr("error_password_incorrect")}
</div>
<div class="field">
<label for="userEmail">{$locale->tr("email_address")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("email_address_help")}</div>
- <input type="text" name="userEmail" value="{$userEmail}"/>
+ <input type="text" name="userEmail" id="userEmail" value="{$userEmail}"/>
{include file="$admintemplatepath/validate.template" field=userEmail message=$locale->tr("error_incorrect_email_address")}
</div>
<div class="field">
<label for="userStatus">{$locale->tr("status")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("user_status_help")}</div>
- <select name="userStatus">
+ <select name="userStatus" id="userStatus">
{foreach from=$userStatusList item=status key=statusKey}
<option value="{$status}" {if $userStatus==$status}selected="selected"{/if}>{$locale->tr($statusKey)}</option>
{/foreach}
@@ -47,14 +47,14 @@
<span class="required"></span>
<div class="formHelp">{$locale->tr("related_to_the_following_blogs")}</div>
{foreach from=$edituserblogs item=userblog}
- <a href="admin.php?op=editBlog&blogId={$userblog->getId()}">{$userblog->getBlog()}</a><br/>
+ <a id="userBlog" href="admin.php?op=editBlog&blogId={$userblog->getId()}">{$userblog->getBlog()}</a><br/>
{/foreach}
</div>
<div class="field">
<label for="userIsSiteAdmin">{$locale->tr("site_admin")}</label>
<span class="required"></span>
<div class="formHelp">
- <input class="checkbox" type="checkbox" value="1" name="userIsSiteAdmin" {if $userIsSiteAdmin} checked="checked" {/if}/>
+ <input class="checkbox" type="checkbox" value="1" id="userIsSiteAdmin" name="userIsSiteAdmin" {if $userIsSiteAdmin} checked="checked" {/if}/>
{$locale->tr("has_administrator_privileges")}
</div>
</div>
Modified: plog/trunk/templates/admin/usersettings.template
===================================================================
--- plog/trunk/templates/admin/usersettings.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/admin/usersettings.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -14,23 +14,23 @@
<div style="float:left;width:76%;border-right:1px solid #DEDEDE";>
<div class="field">
<label for="userName">{$locale->tr("username")}</label>
- <input type="text" class="readOnly" readonly="readonly" value="{$user->getUsername()}" />
+ <input type="text" class="readOnly" readonly="readonly" id="userName" value="{$user->getUsername()}" />
</div>
<div class="field">
<label for="userFullName">{$locale->tr("full_name")}</label>
<div class="formHelp">{$locale->tr("full_name")}</div>
- <input type="text" name="userFullName" value="{$userFullName}" />
+ <input type="text" name="userFullName" value="{$userFullName}" id="userFullName" />
</div>
<div class="field">
<label for="userPassword">{$locale->tr("password")}</label>
<div class="formHelp">{$locale->tr("empty_no_change")}</div>
- <input type="password" name="userPassword" value="{$userPassword}"/>
+ <input type="password" name="userPassword" value="{$userPassword}" id="userPassword" />
{include file="$admintemplatepath/validate.template" field=userPassword message=$locale->tr("error_invalid_password")}
<br/>
<label for="confirmPassword">{$locale->tr("confirm_password")}</label>
- <input type="password" name="confirmPassword" value=""/>
+ <input type="password" name="confirmPassword" value="" id="confirmPassword" />
{include file="$admintemplatepath/validate.template" field=confirmPassword message=$locale->tr("error_passwords_dont_match")}
</div>
@@ -38,14 +38,14 @@
<label for="userEmail">{$locale->tr("email_address")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("email_address")}</div>
- <input type="text" name="userEmail" value="{$userEmail}"/>
+ <input type="text" name="userEmail" value="{$userEmail}" id="userEmail" />
{include file="$admintemplatepath/validate.template" field=userEmail message=$locale->tr("error_incorrect_email_address")}
</div>
<div class="field">
<label for="userAbout">{$locale->tr("bio")}</label>
<div class="formHelp">{$locale->tr("bio")}</div>
- <textarea cols="60" rows="10" name="userAbout">{$userAbout}</textarea>
+ <textarea cols="60" rows="10" name="userAbout" id="userAbout">{$userAbout}</textarea>
</div>
</div>
@@ -62,7 +62,7 @@
{/if}
<br/>
<a href="javascript:userPictureSelectWindow();">{$locale->tr("select")}...</a>
- <input type="hidden" name="userPictureId" value="{$user->getPictureId()}" />
+ <input type="hidden" name="userPictureId" id="userPictureId" value="{$user->getPictureId()}" />
</div>
</div>
</fieldset>
Modified: plog/trunk/templates/summary/registerstep1.template
===================================================================
--- plog/trunk/templates/summary/registerstep1.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/summary/registerstep1.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -17,7 +17,7 @@
<label for="userFullName">{$locale->tr("full_name")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("full_name_help")}</div>
- <input type="text" name="userFullName" value="{$userFullName}" id="userName" />
+ <input type="text" name="userFullName" value="{$userFullName}" id="userFullName" />
</div>
<div class="field">
<label for="userPassword">{$locale->tr("password")}</label>
Modified: plog/trunk/templates/summary/registerstep2.template
===================================================================
--- plog/trunk/templates/summary/registerstep2.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/summary/registerstep2.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -8,14 +8,14 @@
<label for="blogName">{$locale->tr("register_step2_blog_name")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("blog_name_help")}</div>
- <input type="text" name="blogName" value="{$blogName}"/>
+ <input type="text" name="blogName" value="{$blogName}" id="blogName" />
{include file="summary/validate.template" field=blogName message=$locale->tr("register_error_blog_name")}
</div>
<div class="field">
<label for="blogLocale">{$locale->tr("locales")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("blog_locale_help")}</div>
- <select name="blogLocale">
+ <select name="blogLocale" id="blogLocale">
{foreach from=$locales item=locale}
<option value="{$locale->getLocaleCode()}" {if $blogLocale == $locale->getLocaleCode()}selected="selected"{/if}>{$locale->getDescription()}</option>
{/foreach}
Modified: plog/trunk/templates/summary/registerstep3.template
===================================================================
--- plog/trunk/templates/summary/registerstep3.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/summary/registerstep3.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -7,7 +7,7 @@
{foreach from=$templates item=template}
{assign var=templateName value=$template->getName()}
<img src="{$template->getScreenshotUrl()}" alt="{$templateName}" height="300" width="400" /><br/>
- <input type="radio" class="checkbox" value="{$template->getName()}" name="templateId" />
+ <input type="radio" class="checkbox" value="{$template->getName()}" name="templateId" id="templateId" />
<label for="templateId"><strong>{$templateName}</strong></label>
<br/><br/>
{/foreach}
Modified: plog/trunk/templates/summary/registerstep4.template
===================================================================
--- plog/trunk/templates/summary/registerstep4.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/summary/registerstep4.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -8,37 +8,37 @@
<div class="field">
<label for="username">{$locale->tr("username")}</label>
<div class="formHelp"></div>
- {$userName}
+ <span id="username">{$userName}</span>
</div>
<div class="field">
<label for="userFullName">{$locale->tr("full_name")}</label>
<div class="formHelp"></div>
- {$userFullName}
+ <span id="userFullName">{$userFullName}</span>
</div>
<div class="field">
<label for="password">{$locale->tr("password")}</label>
<div class="formHelp"></div>
- {$userPassword}
+ <span id="password">{$userPassword}</id>
</div>
<div class="field">
<label for="userEmail">{$locale->tr("email")}</label>
<div class="formHelp"></div>
- {$userEmail}
+ <span id="userEmail">{$userEmail}</span>
</div>
<div class="field">
<label for="blogName">{$locale->tr("blog_name")}</label>
<div class="formHelp"></div>
- {$blogName}
+ <span id="blogName">{$blogName}</span>
</div>
<div class="field">
<label for="locale">{$locale->tr("locale")}</label>
<div class="formHelp"></div>
- {$blogLocale}
+ <span id="locale">{$blogLocale}</span>
</div>
<div class="field">
<label for="templateId">{$locale->tr("templateId")}</label>
<div class="formHelp"></div>
- {$templateId}
+ <span id="templateId">{$templateId}</span>
</div>
</fieldset>
@@ -59,4 +59,4 @@
</form>
</div>
-{include file="summary/footer.template"}
+{include file="summary/footer.template"}
\ No newline at end of file
Modified: plog/trunk/templates/summary/resetpassword.template
===================================================================
--- plog/trunk/templates/summary/resetpassword.template 2004-12-29 13:34:12 UTC (rev 599)
+++ plog/trunk/templates/summary/resetpassword.template 2004-12-29 14:03:42 UTC (rev 600)
@@ -8,12 +8,12 @@
{include file="summary/formvalidate.template" message=$locale->tr("error_resetting_password")}
<div class="field">
<label for="userName">{$locale->tr("username")}</label><br/>
- <input type="text" name="userName" value="{$userName}" />
+ <input type="text" name="userName" id="userName" value="{$userName}" />
{include file="summary/validate.template" field=userName message=$locale->tr("error_incorrect_username")}
</div>
<div class="field">
<label for="userEmail">{$locale->tr("email_address")}</label><br/>
- <input type="text" name="userEmail" value="{$userEmail}" />
+ <input type="text" name="userEmail" id="userEmail" value="{$userEmail}" />
{include file="summary/validate.template" field=userName message=$locale->tr("error_incorrect_email_address")}
</div>
</fieldset>
More information about the pLog-svn
mailing list