1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- {include file="public/header" /}
- <div class="page">
- <form method="post" name="form_setting" id="form_setting">
- <table class="ds-default-table">
- <tbody>
- <tr class="noborder">
- <td class="required w150"><label class="validation">{$Think.lang.snsalbum_allow_upload_max_count}:</label></td>
- <td class="vatop rowform"><input type="text" class="txt" value="{$list_setting.malbum_max_sum}" name="malbum_max_sum" id="malbum_max_sum"></td>
- <td class="vatop tips">{$Think.lang.snsalbum_allow_upload_max_count_tip}</td>
- </tr>
- </tbody>
- <tfoot>
- <tr class="tfoot">
- <td colspan="2" ><input class="btn" type="submit" value="{$Think.lang.ds_submit}"/></td>
- </tr>
- </tfoot>
- </table>
- </form>
- </div>
- <script type="text/javascript">
- $(document).ready(function(){
- $('#form_setting').validate({
- errorPlacement: function(error, element){
- error.appendTo(element.parent().parent().find('td:last'));
- },
- rules : {
- malbum_max_sum : {
- required : true,
- digits : true
- }
- },
- messages : {
- malbum_max_sum : {
- required : '{$Think.lang.snsalbum_pls_input_figures}',
- digits : '{$Think.lang.snsalbum_pls_input_figures}'
- }
- }
- });
- });
- </script>
|