Ignore:
Timestamp:
Sep 16, 2010, 8:44:51 PM (14 years ago)
Author:
grum
Message:

Version 3.2.0
Small changes (css, comment, fix minor bug & functionnalies)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GrumPluginClasses/gpc_aim.class.inc.php

    r5550 r6948  
    4545  }
    4646
    47   /*
    48     surchage of CommonPlugin->saveConfig function
    49   */
    50   function loadConfig()
    51   {
    52     parent::loadConfig();
    53     if(!$this->css->fileExists())
    54     {
    55       $this->css->makeCSS($this->generate_CSS());
    56     }
    57   }
    5847
    59   /*
    60     surchage of CommonPlugin->saveConfig function
    61   */
    62   function saveConfig()
    63   {
    64     if(parent::saveConfig())
    65     {
    66       $this->css->makeCSS($this->generate_CSS());
    67       return(true);
    68     }
    69     return(false);
    70   }
    71 
    72   /*
    73     generate the css code
    74   */
    75   function generate_CSS()
    76   {
    77     $text = "
    78 .formtable, .formtable P { text-align:left; display:block; }
    79 .formtable tr { vertical-align:top; }
    80 .invisible { visibility:hidden; display:none; }
    81 .littlefont { font-size:90%; }
    82 table.table2.littlefont td { text-align:center;padding:0px;padding-left:3px;padding-right:3px; }
    83 .throw { line-height:auto; font-size:100%; }
    84 table.table2 tr.throw { height:26px; }
    85 table.table2 td.toLeft  { text-align:left; }
    86 div.table { margin-bottom:15px; }
    87 pointerHand { cursor:pointer; }
    88     ";
    89 
    90     return($text);
    91   }
    9248
    9349  /* ---------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.