From: <ma...@us...> - 2012-05-15 19:21:19
|
Revision: 9516 http://xoops.svn.sourceforge.net/xoops/?rev=9516&view=rev Author: mageg Date: 2012-05-15 19:21:13 +0000 (Tue, 15 May 2012) Log Message: ----------- update forms Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/themeform.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/system_form.html Added Paths: ----------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/configs/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/configs/index.html Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/themeform.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/themeform.php 2012-05-15 19:04:39 UTC (rev 9515) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/themeform.php 2012-05-15 19:21:13 UTC (rev 9516) @@ -54,7 +54,7 @@ * create HTML to output the form as a theme-enabled table with validation. * @param bool $template */ - public function render($template = false) + public function render($template = true) { $xoops = Xoops::getInstance(); $xoops->theme->addStylesheet('media/xoops/css/form.css'); Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/configs ___________________________________________________________________ Added: tsvn:autoprops + *.php = svn:executable=*;svn:keywords=Author Date Id Rev URL; Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/configs/index.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/configs/index.html (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/configs/index.html 2012-05-15 19:21:13 UTC (rev 9516) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/system_form.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/system_form.html 2012-05-15 19:04:39 UTC (rev 9515) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/system_form.html 2012-05-15 19:21:13 UTC (rev 9516) @@ -1,7 +1,9 @@ <{if $type == 'horizontal'}> <form class="form-horizontal" name="<{$name}>" id="<{$name}>" action="<{$action}>" method="<{$method}>" onsubmit="return xoopsFormValidate_<{$name}>();"<{$extra}>> <fieldset> + <{if $title != ''}> <legend><{$title}></legend> + <{/if}> <{foreach item=input from=$xo_input}> <{if $input.datalist != ''}> <{$input.datalist}> @@ -24,7 +26,9 @@ <{if $type == 'vertical'}> <form class="form-vertical" name="<{$name}>" id="<{$name}>" action="<{$action}>" method="<{$method}>" onsubmit="return xoopsFormValidate_<{$name}>();"<{$extra}>> <fieldset> + <{if $title != ''}> <legend><{$title}></legend> + <{/if}> <{foreach item=input from=$input}> <{if $input.datalist != ''}> <{$input.datalist}> @@ -44,7 +48,9 @@ <{if $type == 'inline'}> <form class="well form-inline" name="<{$name}>" id="<{$name}>" action="<{$action}>" method="<{$method}>" onsubmit="return xoopsFormValidate_<{$name}>();"<{$extra}>> <fieldset> + <{if $title != ''}> <legend><{$title}></legend> + <{/if}> <{foreach item=input from=$input}> <{if $input.datalist != ''}> <{$input.datalist}> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |