Changeset 23997


Ignore:
Timestamp:
09/29/13 20:44:01 (9 years ago)
Author:
obi
Message:

fix parser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/tithek/ard.h

    r23996 r23997  
    2121                writesys("/tmp/ard1_tmpstr", tmpstr, 0);
    2222
     23        writesys("/var/usr/local/share/titan/plugins/tithek/ard1_tmpstr", tmpstr, 0);
     24       
     25
    2326        if(tmpstr != NULL)
    2427        {
     28                if(ostrstr(tmpstr, "<div class=\"fsk\">") != NULL)
     29                {
     30                        char* tmpstr2 = string_resub("<div class=\"fsk\">", "</div>", tmpstr, 0);
     31                        tmpstr2 = string_replace(".", ".\n", tmpstr2, 1),
     32                        textbox(_("Message"), tmpstr2, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1200, 400, 0, 0);
     33                        free(tmpstr2), tmpstr2 = NULL;
     34                }
    2535/*
    2636                streamurl = string_resub("'file': '","',",tmpstr,0);
Note: See TracChangeset for help on using the changeset viewer.