mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
r305
фикс отправки сообщения в предпросмотр, через ajax редактирование. кодивка в Контрольной панеле приложений git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@305 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
2061d247ed
commit
261471018a
3 changed files with 3 additions and 3 deletions
|
@ -524,7 +524,7 @@ if ($view == 'attachments')
|
|||
|
||||
if (strlen($post_title) > 32)
|
||||
{
|
||||
$post_title = substr($post_title, 0, 30) . '...';
|
||||
$post_title = str_short($post_title, 30);
|
||||
}
|
||||
|
||||
$view_topic = append_sid(BB_ROOT . 'viewtopic.php?' . POST_POST_URL . '=' . $ids[$j]['post_id'] . '#' . $ids[$j]['post_id']);
|
||||
|
|
|
@ -168,7 +168,7 @@ switch($this->request['type'])
|
|||
</div>
|
||||
<textarea id="message-'. $post_id .'" class="editor mrg_4" name="message" rows="18" cols="92">'. $post['post_text'] .'</textarea>
|
||||
<div class="mrg_4 tCenter">
|
||||
<input title="Alt+Enter" type="submit" value="'.$lang['PREVIEW'].'">
|
||||
<input title="Alt+Enter" name="preview" type="submit" value="'.$lang['PREVIEW'].'">
|
||||
<input type="button" onclick="edit_post('. $post_id .');" value="'. $lang['CANCEL'] .'">
|
||||
<input type="button" onclick="edit_post('. $post_id .', \'editor\', $(\'#message-'. $post_id .'\').val()); return false;" class="bold" value="'. $lang['SUBMIT'] .'">
|
||||
</div><hr>
|
||||
|
|
|
@ -53,7 +53,7 @@ $bb_cfg = $tr_cfg = $page_cfg = array();
|
|||
|
||||
// Increase number of revision after update
|
||||
$bb_cfg['tp_version'] = '2.2 Beta';
|
||||
$bb_cfg['tp_release_state'] = 'R304';
|
||||
$bb_cfg['tp_release_state'] = 'R305';
|
||||
$bb_cfg['tp_release_date'] = '05-11-2011';
|
||||
|
||||
// Database
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue