BLHTML.org

BLHTML.org / Web Programming / BLHTML / BLHTML Manual / BLHTML funktion list / BLHTML funktion list /

 
  EDii 4713 1
#EDii# is a database function

Rights to use this function #EDii#:
  • Data manager

  • #EDii# är BLHTML and html texteditor in the Web browser.
    Används to write and redigera in forum

    EDii variables:
    $htmlidhtml: Objectsid
    $EDii_namehtml: Objectname
    $EDii_msgname on TEXTAREA
    #SYSTEM[EDii_width]#TEXTAREA characters bred (controlled in the Control Panel
    #SYSTEM[EDii_height]#TEXTAREA rows high (controlled in the Control Panel
    #SYSTEM[inp_bg]#som kommer att change to inp_paper
    $blhtml_inpButtons CCS if not active
    $blhtml_inp_onButtons CCS if active
    $EDiiEDii is set so EDii can't be called again
    (EDii = 1 JavaScript är include, EDii = 2 EDii är aktiv)
    $EDii_wrap#EDii wrap# on/off

    values:  defaults:  description:
    idcurrent accountAccount for EDii datapage
    name$EDii_namename on TEXTAREA
    typeshow
    preview
    textarea
    Returnerar EDii objects
    forhandsgranskar forumsposts
    returnerar EDii <textarea>
    pageIPage som shows forhandsgranskning
    editTexten som skall editeras
    blhtmlon: BLHTML executes edit
    ink$inkTextcolor in TEXTAREA
    paper$paperBackground color on TEXTAREA
    cols#SYSTEM[EDii_width]#TEXTAREA characters bred
    rows#SYSTEM[EDii_height]#TEXTAREA rader hög
    wraponTexten bryts for att anpassa textarean
    offNormal radbrytning
    rights2
    rubclassCSS class on rubric fields
    brclassCSS class on BR checkbox and text
    butclass$blhtml_inpCSS class on ej aktiva knappar
    butonclass$blhtml_inp_onCSS class on aktiva knappar
    widthSätter knappens width

    Example forhandsgranska forum:
    <br>
    #EDii         id=1 type=preview#

    Rubric:<br>
    #DATA[rubric] post=new#<br><br>

    #EDii
            id=1 htmlid=msg name=EDii_msg page=I
            cols=85 rows=28 rights=2
    #
    <br><br>

    Insert #EDii# in en datalist:
    #EDii         htmlid=info name=info rows=20 cols=85#

    Create dina egna ikoner:
    // Sätt $EDii_sprite to your picture file som contents your ikonrad innan #EDii# is called
    #$EDii_sprite=Mina_ikoner.png#
    #SET_CATCH_PAGE forum=Mitt_forum site=1 sheet=A#
    #ECHO id=10 page=D limit=1 always=true# // Calling Shared forum EDii
    Download Sprite mallen: EDii.pspimage and gör dina egna menu ikoner.

    More information:
  • Working with Forum
  •   EDii with AJaB 940 0
      EDii test rubric
    New EDii in action... Press the "Preview" or "Submit" knapparna for att update your text. The rubric lagras in variable: data_7 Texten lagras in variable: data_8

    Rubric:


    Code for the above EDii example:
    <center>
    <table width=8 border=0 cellpadding=0 cellspacing=0>
    <tr>
            <td>

                    #SET_CATCH_PAGE# // Fångar page vid "Submit"
                    #DATA[index] post=hidden# // Lagrar current index in forum
                    #IF($index < 2) then(#$index=2#)#

                    <div id=EDii>#ECHO id=4 page=G limit=1 always=true#</div> // Previewr
            </td>
    </tr>
    </table>
    </center><br>

    AJaB kod for the above EDii example (Förhandsgranskningen):
    #$EDii_compact=1# // Flyttar smilisar
    #$EDii_bottom_left(#PLOPP tabindex=4 type=button name() onClick(clr(); send(); object('EDii'); echo(4, 'G');) value(Preview) width=100#)#
    #$EDii_bottom_right(#PLOPP tabindex=5 name() value(Submit) width=100#)#

    #IF(!$data_7) then(#$data_7(EDii test rubric)#)#
    #IF(!$data_8)
            then(#$data_8(New <b>EDii</b> in action... Press the "<i>Preview</i>" or "<i>Submit</i>" knapparna for att update your text. The rubrics lagras in variable: <b>data_7</b> Texten lagras in variable: <b>data_8</b>)#)
    #

            #STR value(#BS#t) blhtml=on return=t# // $t="\t"
            #STR type(replace) value=$data_8 from=$t to( ) return=data_8# // Change ut all \t mot tabbar
            #STR type(replace) value=$data_8 from(\\) to(\) return=data_8# // Tar bort all \

    // Data for forhandsgrandsgranskning lagras in $EDii_top
    #$EDii_top(
            <div title="Rubric: $data_7" class=F-rubric>#_# $data_7</div>
            <div class=ruta>#STR type=convert value($data_8) blhtml=on#</div><br>
            Rubric:<br>
            #DATA[data_7] id=data_7 tabindex=1 post=new#
    )
    #


    // butclass=L-inp butonclass=L-inp_on är Librarys CSS for knappar
    #EDii
            htmlid=data_8 name=data_8 tabindex=1 br=0
            rows=10 cols=58 paper=000000 ink=78FF78
            butclass=L-inp butonclass=L-inp_on
    #<br>
    #$ink=NULL# // Tar bort $paper and $ink for att inte #SCORE# skall använda dessa if en stund...
    #$paper=NULL#
    #$EDii_top=NULL# // För att BLHTML admin skall slippa see denna text ^^ *Admin ser glad ut*

    BLHTML forum  


    apache MySQL PHP No to software patents! BLHTML
    © 2003, 2010 BLHTML
    This page is created with BLHTML in 0.1850 seconds