Changeset 100 for trunk/Modules


Ignore:
Timestamp:
Oct 2, 2012, 2:52:20 PM (12 years ago)
Author:
chronos
Message:
  • Upraveno: V balíčku CoolWeb některé seznamy změněny z typu TStringList na TListString.
Location:
trunk/Modules
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/TV/UPageTV.pas

    r99 r100  
    108108
    109109      Text := '#EXTM3U' + LineEnding;
    110       if Request.Query.IndexOf('id') <> -1 then begin
     110      if Request.Query.SearchKey('id') <> -1 then begin
    111111        Database.Select(DbRows, 'TV', '*', ' (`Stream` <> "") AND (`ShortName`="' + Database.EscapeString(Request.Query.Values['id']) + '") ');
    112112        if DbRows.Count > 0 then begin
  • trunk/Modules/User/UUserControlPage.pas

    r98 r100  
    9090      end;
    9191    end;
    92     if HandlerData.Request.Post.IndexOfName('Login') <> -1 then begin
     92    if HandlerData.Request.Post.SearchKey('Login') <> -1 then begin
    9393      Form.Load(HandlerData.Request.Post);
    9494      with THtmlString(SubItems.AddNew(THtmlString.Create)) do
     
    150150      end;
    151151    end;
    152     if HandlerData.Request.Post.IndexOfName('Register') <> -1 then
     152    if HandlerData.Request.Post.SearchKey('Register') <> -1 then
    153153    with HandlerData.Request do begin
    154154      Form.Load(HandlerData.Request.Post);
     
    222222      end;
    223223    end;
    224     if HandlerData.Request.Post.IndexOfName('Save') <> -1 then
     224    if HandlerData.Request.Post.SearchKey('Save') <> -1 then
    225225    with HandlerData.Request do begin
    226226      Form.Load(HandlerData.Request.Post);
  • trunk/Modules/ZdechovNET/UWebCamPage.pas

    r97 r100  
    5454      //HandlerData.Request.Query.Values['W'] := 'dsd';
    5555      //HandlerData.Request.Query.Values['H'] := 'dsd';
    56       if HandlerData.Request.Query.IndexOfName('Id') = -1 then CameraId := -1
     56      if HandlerData.Request.Query.SearchKey('Id') = -1 then CameraId := -1
    5757        else CameraId := StrToInt(HandlerData.Request.Query.Values['Id']);
    58       if (HandlerData.Request.Query.IndexOfName('W') = -1) then begin
     58      if (HandlerData.Request.Query.SearchKey('W') = -1) then begin
    5959        ImageWidth := 640;
    6060      end else begin
Note: See TracChangeset for help on using the changeset viewer.