Changeset 6948 for extensions/GrumPluginClasses/gpc_aim.class.inc.php
- Timestamp:
- Sep 16, 2010, 8:44:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GrumPluginClasses/gpc_aim.class.inc.php
r5550 r6948 45 45 } 46 46 47 /*48 surchage of CommonPlugin->saveConfig function49 */50 function loadConfig()51 {52 parent::loadConfig();53 if(!$this->css->fileExists())54 {55 $this->css->makeCSS($this->generate_CSS());56 }57 }58 47 59 /*60 surchage of CommonPlugin->saveConfig function61 */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 code74 */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 }92 48 93 49 /* ---------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.