Exemplo n.º 1
0
Arquivo: ajxf.php Projeto: philum/cms
function artwedit($id)
{
    req('tri,pop');
    $clr = $_SESSION['clrs'][$_SESSION['prmd']];
    $d = correct_txt($id, '', 'sconn');
    $d = nl2br($d);
    $sav = lj('popsav" id="bts', 'txtarea_convhtml_txtareb_4x', nms(121));
    //$bt.=lj('txtbox" id="bts','txtarea_convhtml_txtareb_5x',nms(86));//paste
    $ret = divs('', $sav . ' ' . $bt . txareac_btns());
    $ret .= div(atb('contenteditable', 'true') . atd('txtareb') . atc('panel justy') . ats('min-width:550px; height:400px; overflow-y:scroll;'), ' ' . $d);
    return $ret;
}
Exemplo n.º 2
0
function txareacb($d, $c)
{
    $ret .= btd('edtc" style="display:none;', txareac_btns());
    $ret .= div(atb('contenteditable', 'false') . atd('txtareb') . atc($c) . atb('onclick', 'editab(1)'), $d) . br();
    return $ret;
}
Exemplo n.º 3
0
Arquivo: lib.php Projeto: philum/cms
function divedit($id, $c, $s, $j, $d)
{
    return txareac_btns() . txareac($id, $c, $s, $j, $d);
}