Changeset 1280

Show
Ignore:
Timestamp:
03/18/10 16:18:10 (23 months ago)
Author:
Gary
Message:

unxsVZ added more tGlossary popup support.

Location:
trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/LICENSE

    r1 r1280  
    288288multi-datacenter multi-node critical internet infrastructure services. 
    289289 
    290 Copyright (C) 2001-2009 Gary Wallis for Unixservice 
     290Copyright (C) 2001-2010 Gary Wallis for Unixservice, LLC. 
    291291 
    292292    This program is free software; you can redistribute it and/or modify 
  • trunk/glossary.c

    r1279 r1280  
    44        $Id: glossary.c 660 2008-12-18 18:48:48Z hus $ 
    55AUTHOR 
    6         (C) 2006-2010 Gary Wallis and Hugo Urquiza for Unixservice 
     6        (C) 2006-2010 Gary Wallis and Hugo Urquiza for Unixservice, LLC. 
     7        GPLv2 license applies see LICENSE file included. 
    78PURPOSE 
    8         iDNS Admin (Owner) Interface, modified for backend usage 
    9         program file. 
     9        For tGlossary content html popups. 
    1010*/ 
    1111 
     
    1414static char cLabel[33]={""}; 
    1515static char *cText=""; 
     16 
     17//Protos 
     18void StyleSheet(void);//main.c 
    1619 
    1720// 
  • trunk/tglossaryfunc.h

    r166 r1280  
    283283                while((field=mysql_fetch_row(res))) 
    284284                { 
    285 printf("<a class=darkLink href=unxsVZ.cgi?gcFunction=tGlossary\ 
    286 &uGlossary=%s>%s</a><br>\n",field[0],field[1]); 
     285                        printf("<a class=darkLink href=unxsVZ.cgi?gcFunction=tGlossary&uGlossary=%s>%s</a>", 
     286                                        field[0],field[1]); 
     287                        printf(" <a class=darkLink href=# onClick=\"open_popup('?gcFunction=Glossary&cLabel=%s')\">" 
     288                                        "Popup</a><br>",field[1]); 
    287289                } 
    288290        } 
  • trunk/tpropertyfunc.h

    r879 r1280  
    668668        if((field=mysql_fetch_row(res))) 
    669669        { 
    670                 printf("Glossary entry for <a class=darkLink href=unxsVZ.cgi?gcFunction=tGlossary" 
    671                                 "&uGlossary=%s>%s</a><p>\n",field[0],cLabel); 
     670                printf("Glossary entry for <a class=darkLink href=#" 
     671                        " onClick=\"open_popup('?gcFunction=Glossary&cLabel=%1$s')\">%1$s</a><p>",cLabel); 
     672 
    672673        } 
    673674        mysql_free_result(res);