1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-04 23:44:25 +03:00

fixed comments html for authenticated users. fixed html in window for load img

This commit is contained in:
Stepan Tanasiychuk 2011-10-09 23:39:24 +03:00
parent 9b9d436043
commit 86cae78dc5
2 changed files with 5 additions and 5 deletions

View file

@ -114,7 +114,7 @@
<div class="comment-preview" id="comment_preview_0" style="display: none;"><div class="comment-inner"><div class="content"></div></div></div>
{/if}
<form action="" method="POST" id="form_comment" onsubmit="return false;" enctype="multipart/form-data">
<form action="#" method="POST" id="form_comment" onsubmit="return false;" enctype="multipart/form-data">
<textarea name="comment_text" id="form_comment_text" class="input-wide"></textarea>
<input type="button" value="{$aLang.comment_preview}" onclick="ls.comments.preview();" />
<input type="submit" name="submit_comment" value="{$aLang.comment_add}" id="comment-button-submit" onclick="ls.comments.add('form_comment',{$iTargetId},'{$sTargetType}'); return false;" />

View file

@ -1,8 +1,8 @@
<form method="POST" action="" class="upload-form popup jqmWindow" enctype="multipart/form-data" id="form_upload_img">
<form method="POST" action="#" class="upload-form popup jqmWindow" enctype="multipart/form-data" id="form_upload_img">
<h3>{$aLang.uploadimg}</h3>
<p>
<label>{$aLang.uploadimg_file}:<br />
<input type="file" name="img_file" id="img_file" value="" class="input-wide" /></label>
<input type="file" name="img_file" id="img_file" class="input-wide" /></label>
</p>
<p>
<label>{$aLang.uploadimg_url}:<br />
@ -10,8 +10,8 @@
</p>
{hook run="uploadimg_source"}
<p>
<label for="align">{$aLang.uploadimg_align}:</label>
<select name="align" class="input-wide">
<label for="window_load_img_align">{$aLang.uploadimg_align}:</label>
<select name="align" id="window_load_img_align" class="input-wide">
<option value="">{$aLang.uploadimg_align_no}</option>
<option value="left">{$aLang.uploadimg_align_left}</option>
<option value="right">{$aLang.uploadimg_align_right}</option>