function plug_asciicode($p) { $ret = input(1, 'tit', '') . ' ' . call_plug_f('txtbox', 'cbk', 'asciicode', 'j', '__tit', 'see'); $ret .= divd('cbk', asciicode_j('', '', $p)) . br(); return $ret; }
function adm_newsletter($ok) { req('adminx'); $t = 'newsletter'; $voc = helps('see_' . $t, $t); $r['batch'] = call_plug_f('popsav', 'popup', $t, 'batch', '', nms(28)) . ' '; $r['batch'] .= call_plug('txtbox', 'popup', 'mailist', 'read', $voc) . ' '; $r['batch'] .= msqlink('users', ses('qb') . '_mails'); $r['mails'] = plugin($t, 'edit'); $r['edit'] = divd('modules' . $t, console_block($t, 1)); return make_tabs($r, 'nl'); }