Changeset 32
- Timestamp:
- Sep 13, 2010, 8:35:39 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 17 added
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UCustomCGIApplication.pas
r29 r32 6 6 7 7 uses 8 Classes, SysUtils, U CGIApplication, Contnrs, USqlDatabase, UConfig, DateUtils,9 UXmlClasses, UHtmlClasses, UCore, UStringListEx ;8 Classes, SysUtils, UHTTPServerCGI, Contnrs, USqlDatabase, UConfig, DateUtils, 9 UXmlClasses, UHtmlClasses, UCore, UStringListEx, UHTTPServer; 10 10 11 11 type … … 21 21 { TCustomCGIApplication } 22 22 23 TCustomCGIApplication = class(T CGIApplication)23 TCustomCGIApplication = class(THTTPServerCGI) 24 24 private 25 25 procedure Footer; … … 43 43 PageName: string; 44 44 ModuleName: string; 45 procedure Execute; override; 45 BaseURL: string; 46 procedure Execute(HandlerData: THTTPHandlerData); 46 47 constructor Create; 47 48 destructor Destroy; override; … … 84 85 end; 85 86 86 procedure TCustomCGIApplication.Execute ;87 procedure TCustomCGIApplication.Execute(HandlerData: THTTPHandlerData); 87 88 var 88 89 I: Integer; 89 90 TitleTag: THtmlString; 90 91 begin 92 with HandlerData do begin 91 93 Style := ConfigStyle; 92 94 BaseURL := ConfigBaseURL; … … 98 100 HtmlDocument.Scripts.Add(NavigationLink('/Style/' + Style + '/jquery.js')); 99 101 100 if QueryParts.Count > 0 then PageName :=QueryParts[0]102 if Request.QueryParts.Count > 0 then PageName := Request.QueryParts[0] 101 103 else PageName := ''; 102 104 I := 0; … … 112 114 with HtmlDocument.AsXmlDocument do try 113 115 Formated := ConfigFormatHTML; 114 Output.Add(AsString);116 Response.Stream.WriteString(AsString); 115 117 finally 116 118 Free; 117 119 end; 118 end else Output.Add(SPageNotFound); 120 end else Response.Stream.WriteString(SPageNotFound); 121 end; 119 122 end; 120 123 … … 126 129 Pages := TObjectList.Create; 127 130 HtmlDocument := THtmlDocument.Create; 131 OnRequest := Execute; 128 132 end; 129 133 -
trunk/index.lpi
r27 r32 10 10 <LRSInOutputDirectory Value="False"/> 11 11 </Flags> 12 <MainUnit Value="0"/> 12 13 <Title Value="index"/> 13 14 <ActiveWindowIndexAtStart Value="0"/> … … 32 33 </local> 33 34 </RunParams> 34 <Units Count="52"> 35 <RequiredPackages Count="1"> 36 <Item1> 37 <PackageName Value="synapse"/> 38 <MinVersion Valid="True"/> 39 </Item1> 40 </RequiredPackages> 41 <Units Count="65"> 35 42 <Unit0> 36 43 <Filename Value="index.pas"/> … … 39 46 <EditorIndex Value="0"/> 40 47 <WindowIndex Value="0"/> 41 <TopLine Value=" 1"/>42 <CursorPos X=" 1" Y="12"/>43 <UsageCount Value="18 3"/>48 <TopLine Value="3"/> 49 <CursorPos X="4" Y="26"/> 50 <UsageCount Value="185"/> 44 51 <Loaded Value="True"/> 45 52 <LoadedDesigner Value="True"/> … … 50 57 <IsPartOfProject Value="True"/> 51 58 <UnitName Value="UMainPage"/> 52 <EditorIndex Value=" 11"/>59 <EditorIndex Value="22"/> 53 60 <WindowIndex Value="0"/> 54 61 <TopLine Value="179"/> 55 62 <CursorPos X="29" Y="252"/> 56 <UsageCount Value="1 79"/>63 <UsageCount Value="181"/> 57 64 <Loaded Value="True"/> 58 65 <DefaultSyntaxHighlighter Value="Delphi"/> … … 76 83 <IsPartOfProject Value="True"/> 77 84 <UnitName Value="UCore"/> 78 <EditorIndex Value=" 20"/>79 <WindowIndex Value="0"/> 80 <TopLine Value=" 87"/>81 <CursorPos X=" 44" Y="102"/>82 <UsageCount Value="18 3"/>85 <EditorIndex Value="32"/> 86 <WindowIndex Value="0"/> 87 <TopLine Value="37"/> 88 <CursorPos X="69" Y="51"/> 89 <UsageCount Value="185"/> 83 90 <Loaded Value="True"/> 84 91 <DefaultSyntaxHighlighter Value="Delphi"/> … … 147 154 <Unit12> 148 155 <Filename Value="/usr/share/fpcsrc/rtl/objpas/sysutils/datih.inc"/> 149 <EditorIndex Value=" 18"/>156 <EditorIndex Value="30"/> 150 157 <WindowIndex Value="0"/> 151 158 <TopLine Value="91"/> 152 159 <CursorPos X="10" Y="110"/> 153 <UsageCount Value="2 8"/>160 <UsageCount Value="29"/> 154 161 <Loaded Value="True"/> 155 162 <DefaultSyntaxHighlighter Value="Delphi"/> … … 157 164 <Unit13> 158 165 <Filename Value="/usr/share/fpcsrc/rtl/objpas/dateutil.inc"/> 159 <EditorIndex Value=" 13"/>166 <EditorIndex Value="24"/> 160 167 <WindowIndex Value="0"/> 161 168 <TopLine Value="283"/> 162 169 <CursorPos X="10" Y="302"/> 163 <UsageCount Value="2 1"/>170 <UsageCount Value="22"/> 164 171 <Loaded Value="True"/> 165 172 <DefaultSyntaxHighlighter Value="Delphi"/> … … 173 180 <TopLine Value="1"/> 174 181 <CursorPos X="92" Y="11"/> 175 <UsageCount Value="1 58"/>182 <UsageCount Value="160"/> 176 183 <Loaded Value="True"/> 177 184 <DefaultSyntaxHighlighter Value="Delphi"/> … … 182 189 <TopLine Value="108"/> 183 190 <CursorPos X="1" Y="134"/> 184 <UsageCount Value="1 58"/>191 <UsageCount Value="160"/> 185 192 <DefaultSyntaxHighlighter Value="None"/> 186 193 </Unit15> … … 190 197 <TopLine Value="1"/> 191 198 <CursorPos X="1" Y="1"/> 192 <UsageCount Value="1 58"/>199 <UsageCount Value="160"/> 193 200 <DefaultSyntaxHighlighter Value="JScript"/> 194 201 </Unit16> … … 360 367 <TopLine Value="254"/> 361 368 <CursorPos X="15" Y="268"/> 362 <UsageCount Value=" 29"/>369 <UsageCount Value="30"/> 363 370 <Loaded Value="True"/> 364 371 <DefaultSyntaxHighlighter Value="Delphi"/> … … 370 377 <TopLine Value="10"/> 371 378 <CursorPos X="22" Y="23"/> 372 <UsageCount Value=" 29"/>379 <UsageCount Value="30"/> 373 380 <Loaded Value="True"/> 374 381 <DefaultSyntaxHighlighter Value="Delphi"/> … … 381 388 <TopLine Value="1140"/> 382 389 <CursorPos X="26" Y="1143"/> 383 <UsageCount Value=" 29"/>390 <UsageCount Value="30"/> 384 391 <Loaded Value="True"/> 385 392 <DefaultSyntaxHighlighter Value="Delphi"/> … … 391 398 <TopLine Value="43"/> 392 399 <CursorPos X="5" Y="61"/> 393 <UsageCount Value=" 29"/>400 <UsageCount Value="30"/> 394 401 <Loaded Value="True"/> 395 402 <DefaultSyntaxHighlighter Value="Delphi"/> … … 401 408 <TopLine Value="50"/> 402 409 <CursorPos X="10" Y="63"/> 403 <UsageCount Value=" 29"/>410 <UsageCount Value="30"/> 404 411 <Loaded Value="True"/> 405 412 <DefaultSyntaxHighlighter Value="Delphi"/> … … 413 420 <TopLine Value="18"/> 414 421 <CursorPos X="1" Y="32"/> 415 <UsageCount Value=" 58"/>422 <UsageCount Value="60"/> 416 423 <Loaded Value="True"/> 417 424 <DefaultSyntaxHighlighter Value="Delphi"/> 418 425 </Unit40> 419 426 <Unit41> 420 <Filename Value="Common/UCGIApplication.pas"/> 421 <IsPartOfProject Value="True"/> 427 <Filename Value="WebServer/UCGIApplication.pas"/> 422 428 <UnitName Value="UCGIApplication"/> 423 <EditorIndex Value="10"/> 424 <WindowIndex Value="0"/> 425 <TopLine Value="75"/> 426 <CursorPos X="44" Y="89"/> 427 <UsageCount Value="58"/> 428 <Loaded Value="True"/> 429 <WindowIndex Value="0"/> 430 <TopLine Value="8"/> 431 <CursorPos X="17" Y="19"/> 432 <UsageCount Value="59"/> 429 433 <DefaultSyntaxHighlighter Value="Delphi"/> 430 434 </Unit41> … … 432 436 <Filename Value="Common/UDatabase.pas"/> 433 437 <IsPartOfProject Value="True"/> 434 <UsageCount Value=" 58"/>438 <UsageCount Value="60"/> 435 439 <DefaultSyntaxHighlighter Value="Delphi"/> 436 440 </Unit42> … … 439 443 <IsPartOfProject Value="True"/> 440 444 <UnitName Value="UHtmlClasses"/> 441 <EditorIndex Value=" 16"/>445 <EditorIndex Value="28"/> 442 446 <WindowIndex Value="0"/> 443 447 <TopLine Value="218"/> 444 448 <CursorPos X="1" Y="231"/> 445 <UsageCount Value=" 58"/>449 <UsageCount Value="60"/> 446 450 <Loaded Value="True"/> 447 451 <DefaultSyntaxHighlighter Value="Delphi"/> … … 451 455 <IsPartOfProject Value="True"/> 452 456 <UnitName Value="USqlDatabase"/> 453 <EditorIndex Value=" 12"/>454 <WindowIndex Value="0"/> 455 <TopLine Value=" 1"/>456 <CursorPos X=" 74" Y="179"/>457 <UsageCount Value=" 58"/>457 <EditorIndex Value="23"/> 458 <WindowIndex Value="0"/> 459 <TopLine Value="58"/> 460 <CursorPos X="15" Y="72"/> 461 <UsageCount Value="60"/> 458 462 <Loaded Value="True"/> 459 463 <DefaultSyntaxHighlighter Value="Delphi"/> … … 467 471 <TopLine Value="13"/> 468 472 <CursorPos X="5" Y="32"/> 469 <UsageCount Value=" 58"/>473 <UsageCount Value="60"/> 470 474 <Loaded Value="True"/> 471 475 <DefaultSyntaxHighlighter Value="Delphi"/> … … 475 479 <IsPartOfProject Value="True"/> 476 480 <UnitName Value="UCustomCGIApplication"/> 477 <IsVisibleTab Value="True"/> 478 <EditorIndex Value="15"/> 479 <WindowIndex Value="0"/> 480 <TopLine Value="92"/> 481 <CursorPos X="1" Y="102"/> 482 <UsageCount Value="58"/> 481 <EditorIndex Value="26"/> 482 <WindowIndex Value="0"/> 483 <TopLine Value="99"/> 484 <CursorPos X="33" Y="117"/> 485 <UsageCount Value="60"/> 483 486 <Loaded Value="True"/> 484 487 <DefaultSyntaxHighlighter Value="Delphi"/> … … 494 497 <Unit48> 495 498 <Filename Value="/usr/share/fpcsrc/rtl/inc/mathh.inc"/> 496 <EditorIndex Value=" 17"/>499 <EditorIndex Value="29"/> 497 500 <WindowIndex Value="0"/> 498 501 <TopLine Value="64"/> 499 502 <CursorPos X="14" Y="78"/> 500 <UsageCount Value="2 8"/>503 <UsageCount Value="29"/> 501 504 <Loaded Value="True"/> 502 505 <DefaultSyntaxHighlighter Value="Delphi"/> … … 504 507 <Unit49> 505 508 <Filename Value="/usr/share/fpcsrc/rtl/inc/systemh.inc"/> 506 <EditorIndex Value=" 14"/>509 <EditorIndex Value="25"/> 507 510 <WindowIndex Value="0"/> 508 511 <TopLine Value="377"/> 509 512 <CursorPos X="3" Y="300"/> 510 <UsageCount Value="2 4"/>513 <UsageCount Value="25"/> 511 514 <Loaded Value="True"/> 512 515 <DefaultSyntaxHighlighter Value="Delphi"/> … … 514 517 <Unit50> 515 518 <Filename Value="/usr/share/fpcsrc/rtl/objpas/sysutils/dati.inc"/> 516 <EditorIndex Value=" 19"/>519 <EditorIndex Value="31"/> 517 520 <WindowIndex Value="0"/> 518 521 <TopLine Value="519"/> 519 522 <CursorPos X="23" Y="526"/> 520 <UsageCount Value="2 4"/>523 <UsageCount Value="25"/> 521 524 <Loaded Value="True"/> 522 525 <DefaultSyntaxHighlighter Value="Delphi"/> … … 530 533 <TopLine Value="1"/> 531 534 <CursorPos X="53" Y="18"/> 532 <UsageCount Value="4 1"/>535 <UsageCount Value="43"/> 533 536 <Loaded Value="True"/> 534 537 <DefaultSyntaxHighlighter Value="Delphi"/> 535 538 </Unit51> 539 <Unit52> 540 <Filename Value="Application/UUser.pas"/> 541 <IsPartOfProject Value="True"/> 542 <UnitName Value="UUser"/> 543 <EditorIndex Value="27"/> 544 <WindowIndex Value="0"/> 545 <TopLine Value="44"/> 546 <CursorPos X="18" Y="59"/> 547 <UsageCount Value="22"/> 548 <Loaded Value="True"/> 549 <DefaultSyntaxHighlighter Value="Delphi"/> 550 </Unit52> 551 <Unit53> 552 <Filename Value="WebServer/UHTTPSessionMySQL.pas"/> 553 <IsPartOfProject Value="True"/> 554 <UnitName Value="UHTTPSessionMySQL"/> 555 <EditorIndex Value="10"/> 556 <WindowIndex Value="0"/> 557 <TopLine Value="1"/> 558 <CursorPos X="69" Y="16"/> 559 <UsageCount Value="21"/> 560 <Loaded Value="True"/> 561 <DefaultSyntaxHighlighter Value="Delphi"/> 562 </Unit53> 563 <Unit54> 564 <Filename Value="WebServer/UHTTPSessionFile.pas"/> 565 <IsPartOfProject Value="True"/> 566 <UnitName Value="UHTTPSessionFile"/> 567 <EditorIndex Value="21"/> 568 <WindowIndex Value="0"/> 569 <TopLine Value="1"/> 570 <CursorPos X="31" Y="4"/> 571 <UsageCount Value="21"/> 572 <Loaded Value="True"/> 573 <DefaultSyntaxHighlighter Value="Delphi"/> 574 </Unit54> 575 <Unit55> 576 <Filename Value="Common/UCommon.pas"/> 577 <IsPartOfProject Value="True"/> 578 <UnitName Value="UCommon"/> 579 <EditorIndex Value="20"/> 580 <WindowIndex Value="0"/> 581 <TopLine Value="148"/> 582 <CursorPos X="52" Y="165"/> 583 <UsageCount Value="21"/> 584 <Loaded Value="True"/> 585 <DefaultSyntaxHighlighter Value="Delphi"/> 586 </Unit55> 587 <Unit56> 588 <Filename Value="WebServer/UHTTPServer.pas"/> 589 <IsPartOfProject Value="True"/> 590 <UnitName Value="UHTTPServer"/> 591 <EditorIndex Value="11"/> 592 <WindowIndex Value="0"/> 593 <TopLine Value="91"/> 594 <CursorPos X="1" Y="106"/> 595 <UsageCount Value="21"/> 596 <Loaded Value="True"/> 597 <DefaultSyntaxHighlighter Value="Delphi"/> 598 </Unit56> 599 <Unit57> 600 <Filename Value="WebServer/UHTTPServerTCP.pas"/> 601 <IsPartOfProject Value="True"/> 602 <UnitName Value="UHTTPServerTCP"/> 603 <EditorIndex Value="17"/> 604 <WindowIndex Value="0"/> 605 <TopLine Value="82"/> 606 <CursorPos X="26" Y="108"/> 607 <UsageCount Value="21"/> 608 <Loaded Value="True"/> 609 <DefaultSyntaxHighlighter Value="Delphi"/> 610 </Unit57> 611 <Unit58> 612 <Filename Value="WebServer/UHTTPServerCGI.pas"/> 613 <IsPartOfProject Value="True"/> 614 <UnitName Value="UHTTPServerCGI"/> 615 <IsVisibleTab Value="True"/> 616 <EditorIndex Value="19"/> 617 <WindowIndex Value="0"/> 618 <TopLine Value="2"/> 619 <CursorPos X="1" Y="15"/> 620 <UsageCount Value="21"/> 621 <Loaded Value="True"/> 622 <DefaultSyntaxHighlighter Value="Delphi"/> 623 </Unit58> 624 <Unit59> 625 <Filename Value="Network/UTCPServer.pas"/> 626 <IsPartOfProject Value="True"/> 627 <UnitName Value="UTCPServer"/> 628 <EditorIndex Value="14"/> 629 <WindowIndex Value="0"/> 630 <TopLine Value="1"/> 631 <CursorPos X="6" Y="15"/> 632 <UsageCount Value="20"/> 633 <Loaded Value="True"/> 634 <DefaultSyntaxHighlighter Value="Delphi"/> 635 </Unit59> 636 <Unit60> 637 <Filename Value="Common/UPool.pas"/> 638 <IsPartOfProject Value="True"/> 639 <UnitName Value="UPool"/> 640 <EditorIndex Value="16"/> 641 <WindowIndex Value="0"/> 642 <TopLine Value="119"/> 643 <CursorPos X="66" Y="143"/> 644 <UsageCount Value="20"/> 645 <Loaded Value="True"/> 646 <DefaultSyntaxHighlighter Value="Delphi"/> 647 </Unit60> 648 <Unit61> 649 <Filename Value="Common/UResetableThread.pas"/> 650 <IsPartOfProject Value="True"/> 651 <UnitName Value="UResetableThread"/> 652 <EditorIndex Value="15"/> 653 <WindowIndex Value="0"/> 654 <TopLine Value="75"/> 655 <CursorPos X="52" Y="92"/> 656 <UsageCount Value="20"/> 657 <Loaded Value="True"/> 658 <DefaultSyntaxHighlighter Value="Delphi"/> 659 </Unit61> 660 <Unit62> 661 <Filename Value="Common/UMemoryStreamEx.pas"/> 662 <IsPartOfProject Value="True"/> 663 <UnitName Value="UMemoryStreamEx"/> 664 <EditorIndex Value="12"/> 665 <WindowIndex Value="0"/> 666 <TopLine Value="9"/> 667 <CursorPos X="15" Y="23"/> 668 <UsageCount Value="20"/> 669 <Loaded Value="True"/> 670 <DefaultSyntaxHighlighter Value="Delphi"/> 671 </Unit62> 672 <Unit63> 673 <Filename Value="Common/UMIMEType.pas"/> 674 <IsPartOfProject Value="True"/> 675 <UnitName Value="UMIMEType"/> 676 <EditorIndex Value="13"/> 677 <WindowIndex Value="0"/> 678 <TopLine Value="660"/> 679 <CursorPos X="3" Y="687"/> 680 <UsageCount Value="20"/> 681 <Loaded Value="True"/> 682 <DefaultSyntaxHighlighter Value="Delphi"/> 683 </Unit63> 684 <Unit64> 685 <Filename Value="../../../lazarus/library/synapse/source/lib/blcksock.pas"/> 686 <UnitName Value="blcksock"/> 687 <EditorIndex Value="18"/> 688 <WindowIndex Value="0"/> 689 <TopLine Value="383"/> 690 <CursorPos X="15" Y="397"/> 691 <UsageCount Value="10"/> 692 <Loaded Value="True"/> 693 </Unit64> 536 694 </Units> 537 <JumpHistory Count=" 30" HistoryIndex="28">695 <JumpHistory Count="29" HistoryIndex="28"> 538 696 <Position1> 539 <Filename Value=" Common/UStringListEx.pas"/>540 <Caret Line=" 32" Column="1" TopLine="18"/>697 <Filename Value="Application/UCustomCGIApplication.pas"/> 698 <Caret Line="98" Column="1" TopLine="86"/> 541 699 </Position1> 542 700 <Position2> 543 <Filename Value=" Common/UCGIApplication.pas"/>544 <Caret Line=" 86" Column="1" TopLine="74"/>701 <Filename Value="Application/UCustomCGIApplication.pas"/> 702 <Caret Line="99" Column="1" TopLine="86"/> 545 703 </Position2> 546 704 <Position3> 547 <Filename Value=" Common/UCGIApplication.pas"/>548 <Caret Line=" 91" Column="1" TopLine="74"/>705 <Filename Value="Application/UCustomCGIApplication.pas"/> 706 <Caret Line="100" Column="1" TopLine="95"/> 549 707 </Position3> 550 708 <Position4> 551 709 <Filename Value="Application/UCustomCGIApplication.pas"/> 552 <Caret Line=" 91" Column="1" TopLine="76"/>710 <Caret Line="102" Column="25" TopLine="95"/> 553 711 </Position4> 554 712 <Position5> 555 <Filename Value=" Common/UCGIApplication.pas"/>556 <Caret Line=" 86" Column="45" TopLine="71"/>713 <Filename Value="Application/UCustomCGIApplication.pas"/> 714 <Caret Line="105" Column="1" TopLine="95"/> 557 715 </Position5> 558 716 <Position6> 559 <Filename Value=" Common/UCGIApplication.pas"/>560 <Caret Line=" 231" Column="1" TopLine="201"/>717 <Filename Value="Application/UCustomCGIApplication.pas"/> 718 <Caret Line="106" Column="1" TopLine="95"/> 561 719 </Position6> 562 720 <Position7> 563 <Filename Value=" Pages/UMainPage.pas"/>564 <Caret Line=" 266" Column="1" TopLine="237"/>721 <Filename Value="Application/UCustomCGIApplication.pas"/> 722 <Caret Line="107" Column="1" TopLine="95"/> 565 723 </Position7> 566 724 <Position8> 567 <Filename Value=" UCore.pas"/>568 <Caret Line="1 12" Column="1" TopLine="89"/>725 <Filename Value="Application/UCustomCGIApplication.pas"/> 726 <Caret Line="108" Column="1" TopLine="95"/> 569 727 </Position8> 570 728 <Position9> 571 729 <Filename Value="Application/UCustomCGIApplication.pas"/> 572 <Caret Line="10 0" Column="23" TopLine="86"/>730 <Caret Line="109" Column="1" TopLine="95"/> 573 731 </Position9> 574 732 <Position10> 575 733 <Filename Value="Application/UCustomCGIApplication.pas"/> 576 <Caret Line=" 218" Column="45" TopLine="195"/>734 <Caret Line="110" Column="1" TopLine="95"/> 577 735 </Position10> 578 736 <Position11> 579 737 <Filename Value="Application/UCustomCGIApplication.pas"/> 580 <Caret Line=" 216" Column="21" TopLine="202"/>738 <Caret Line="111" Column="1" TopLine="95"/> 581 739 </Position11> 582 740 <Position12> 583 <Filename Value=" Common/UCGIApplication.pas"/>584 <Caret Line="1 28" Column="1" TopLine="49"/>741 <Filename Value="Application/UCustomCGIApplication.pas"/> 742 <Caret Line="112" Column="1" TopLine="95"/> 585 743 </Position12> 586 744 <Position13> 587 745 <Filename Value="Application/UCustomCGIApplication.pas"/> 588 <Caret Line=" 219" Column="64" TopLine="201"/>746 <Caret Line="113" Column="1" TopLine="95"/> 589 747 </Position13> 590 748 <Position14> 591 <Filename Value=" Pages/UMainPage.pas"/>592 <Caret Line=" 217" Column="1" TopLine="233"/>749 <Filename Value="Application/UCustomCGIApplication.pas"/> 750 <Caret Line="114" Column="1" TopLine="95"/> 593 751 </Position14> 594 752 <Position15> 595 <Filename Value=" Pages/UMainPage.pas"/>596 <Caret Line="1 92" Column="27" TopLine="177"/>753 <Filename Value="Application/UCustomCGIApplication.pas"/> 754 <Caret Line="115" Column="1" TopLine="95"/> 597 755 </Position15> 598 756 <Position16> 599 <Filename Value=" Pages/UMainPage.pas"/>600 <Caret Line="1 93" Column="8" TopLine="177"/>757 <Filename Value="Application/UCustomCGIApplication.pas"/> 758 <Caret Line="116" Column="1" TopLine="95"/> 601 759 </Position16> 602 760 <Position17> 603 761 <Filename Value="Application/UCustomCGIApplication.pas"/> 604 <Caret Line=" 211" Column="22" TopLine="201"/>762 <Caret Line="118" Column="1" TopLine="95"/> 605 763 </Position17> 606 764 <Position18> 607 <Filename Value=" Pages/UMainPage.pas"/>608 <Caret Line=" 243" Column="14" TopLine="225"/>765 <Filename Value="Application/UCustomCGIApplication.pas"/> 766 <Caret Line="122" Column="1" TopLine="99"/> 609 767 </Position18> 610 768 <Position19> 611 <Filename Value=" Pages/UMainPage.pas"/>612 <Caret Line=" 251" Column="13" TopLine="225"/>769 <Filename Value="WebServer/UHTTPServerCGI.pas"/> 770 <Caret Line="75" Column="1" TopLine="61"/> 613 771 </Position19> 614 772 <Position20> 615 <Filename Value=" UCore.pas"/>616 <Caret Line=" 102" Column="32" TopLine="97"/>773 <Filename Value="WebServer/UHTTPServerTCP.pas"/> 774 <Caret Line="89" Column="18" TopLine="75"/> 617 775 </Position20> 618 776 <Position21> 619 <Filename Value=" Pages/UMainPage.pas"/>620 <Caret Line="2 43" Column="16" TopLine="225"/>777 <Filename Value="WebServer/UHTTPServerCGI.pas"/> 778 <Caret Line="23" Column="1" TopLine="6"/> 621 779 </Position21> 622 780 <Position22> 623 <Filename Value=" Application/UCustomCGIApplication.pas"/>624 <Caret Line=" 107" Column="22" TopLine="92"/>781 <Filename Value="WebServer/UHTTPServerCGI.pas"/> 782 <Caret Line="73" Column="27" TopLine="59"/> 625 783 </Position22> 626 784 <Position23> 627 <Filename Value=" Application/UCustomCGIApplication.pas"/>628 <Caret Line=" 100" Column="1" TopLine="92"/>785 <Filename Value="WebServer/UHTTPServerCGI.pas"/> 786 <Caret Line="74" Column="52" TopLine="60"/> 629 787 </Position23> 630 788 <Position24> 631 <Filename Value=" Common/UCGIApplication.pas"/>632 <Caret Line=" 29" Column="27" TopLine="75"/>789 <Filename Value="WebServer/UHTTPServerCGI.pas"/> 790 <Caret Line="73" Column="33" TopLine="59"/> 633 791 </Position24> 634 792 <Position25> 635 <Filename Value=" Common/UCGIApplication.pas"/>636 <Caret Line=" 85" Column="1" TopLine="75"/>793 <Filename Value="WebServer/UHTTPServerCGI.pas"/> 794 <Caret Line="28" Column="61" TopLine="5"/> 637 795 </Position25> 638 796 <Position26> 639 <Filename Value=" Application/UCustomCGIApplication.pas"/>640 <Caret Line=" 101" Column="25" TopLine="92"/>797 <Filename Value="WebServer/UHTTPServerTCP.pas"/> 798 <Caret Line="89" Column="18" TopLine="75"/> 641 799 </Position26> 642 800 <Position27> 643 <Filename Value=" index.pas"/>644 <Caret Line=" 12" Column="1" TopLine="1"/>801 <Filename Value="WebServer/UHTTPServerTCP.pas"/> 802 <Caret Line="86" Column="33" TopLine="72"/> 645 803 </Position27> 646 804 <Position28> 647 <Filename Value=" UCore.pas"/>648 <Caret Line="10 1" Column="1" TopLine="87"/>805 <Filename Value="WebServer/UHTTPServerTCP.pas"/> 806 <Caret Line="108" Column="14" TopLine="100"/> 649 807 </Position28> 650 808 <Position29> 651 <Filename Value=" UCore.pas"/>652 <Caret Line=" 102" Column="1" TopLine="87"/>809 <Filename Value="WebServer/UHTTPServerCGI.pas"/> 810 <Caret Line="91" Column="20" TopLine="68"/> 653 811 </Position29> 654 <Position30>655 <Filename Value="UCore.pas"/>656 <Caret Line="90" Column="1" TopLine="84"/>657 </Position30>658 812 </JumpHistory> 659 813 </ProjectOptions> … … 664 818 </Target> 665 819 <SearchPaths> 666 <OtherUnitFiles Value="/usr/lib/mysql/;/usr/lib64/mysql/;Pages/;Common/;Application/ "/>820 <OtherUnitFiles Value="/usr/lib/mysql/;/usr/lib64/mysql/;Pages/;Common/;Application/;WebServer/;Network/"/> 667 821 <UnitOutputDirectory Value="bin"/> 668 822 <LCLWidgetType Value="gtk2"/> … … 698 852 </Other> 699 853 </CompilerOptions> 854 <Debugging> 855 <BreakPoints Count="1"> 856 <Item1> 857 <Source Value="Application/UCustomCGIApplication.pas"/> 858 <Line Value="91"/> 859 </Item1> 860 </BreakPoints> 861 </Debugging> 700 862 </CONFIG> -
trunk/index.pas
r27 r32 4 4 5 5 uses 6 UCore, USqlDatabase, SysUtils, Contnrs, 7 UCGIApplication, UStringListEx, UMainPage, UCustomCGIApplication; 6 UCore, USqlDatabase, SysUtils, Contnrs, UCGIApplication, UStringListEx, 7 UMainPage, UCustomCGIApplication, UUser, UHTTPSessionMySQL, UHTTPSessionFile, 8 UCommon, UHTTPServer, UHTTPServerTCP, UHTTPServerCGI, UTCPServer, UPool, 9 UMemoryStreamEx, UMIMEType; 8 10 9 11 var -
trunk/languages/index.cs.po
r25 r32 18 18 msgstr "Chyba převodu řetězce na IP adresu" 19 19 20 #: uhttpserver.semptyhttphandler 21 msgctxt "uhttpserver.semptyhttphandler" 22 msgid "No handler defined for HTTP server." 23 msgstr "" 24 25 #: uhttpserver.sfilenotfound 26 msgid "File %s not found." 27 msgstr "" 28 29 #: uhttpservercgi.semptyhttphandler 30 msgctxt "uhttpservercgi.semptyhttphandler" 31 msgid "No handler defined for HTTP server" 32 msgstr "" 33 -
trunk/languages/index.po
r25 r32 10 10 msgstr "" 11 11 12 #: uhttpserver.semptyhttphandler 13 msgctxt "uhttpserver.semptyhttphandler" 14 msgid "No handler defined for HTTP server." 15 msgstr "" 16 17 #: uhttpserver.sfilenotfound 18 msgid "File %s not found." 19 msgstr "" 20 21 #: uhttpservercgi.semptyhttphandler 22 msgctxt "uhttpservercgi.semptyhttphandler" 23 msgid "No handler defined for HTTP server" 24 msgstr "" 25
Note:
See TracChangeset
for help on using the changeset viewer.