1: <?php
2: /**
3: * Description of Add Panel
4: *
5: * @author SARTAJ
6: */
7:
8:
9: class Panel extends Sphp\tools\Component{
10:
11: protected function oncreate($element){
12: $this->setHTMLName("");
13: }
14:
15:
16: protected function onjsrender(){
17: if($this->parameterA['class'] == ''){
18: addHeaderCSS('panel', '
19: .panelc
20: {
21: -moz-box-shadow: 10px 10px 5px #888888;
22: padding: 5px 5px 5px 15px;
23: background-color: #EEEEEE;
24: -moz-border-radius: 5px;
25: -webkit-border-radius: 5px;
26:
27: }
28:
29: ');
30: $this->parameterA['class'] = 'panelc';
31: }
32:
33: }
34:
35:
36: }
37: ?>