diff --git a/posting.php b/posting.php index 6c02c095..8ea9cde2 100644 --- a/posting.php +++ b/posting.php @@ -263,7 +263,7 @@ if ($mode == 'new_rel') { $topics .= $bb_cfg['tor_icons'][$row['tor_status']] .''. $row['topic_title'] .'
'; } - if ($topics) bb_die($topics . $lang['UNEXECUTED_RELEASE']); + if ($topics && !(IS_SUPER_ADMIN && !empty($_REQUEST['edit_tpl']))) bb_die($topics . $lang['UNEXECUTED_RELEASE']); } require(INC_DIR .'posting_tpl.php'); exit; diff --git a/styles/templates/posting_tpl.tpl b/styles/templates/posting_tpl.tpl index 792d9f65..32e7ecb1 100644 --- a/styles/templates/posting_tpl.tpl +++ b/styles/templates/posting_tpl.tpl @@ -238,7 +238,7 @@ var TPL = { $('select.rel-input').bind('change', function(){ var $sel = $(this); - if ( $sel.val().toLowerCase().match(/^друг(ой|ая|ое|ие)$/) ) { + if ( $sel.val().toLowerCase().match(/^друг(ой|ая|ое|ие)|other$/) ) { var $input = $(''); $sel.after($input); $sel.remove();