Change <? to <?php and add some formatting
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
class clockAdvanced extends Module {
|
||||
class clockAdvanced extends Module
|
||||
{
|
||||
protected $moduleTitle = 'Horloge Avancée';
|
||||
protected $paramsList = array(
|
||||
'visibility',
|
||||
@@ -20,7 +21,7 @@ class clockAdvanced extends Module {
|
||||
<link rel="stylesheet" href="'.$this->pathToModule.'css/'.$this->moduleName.'.css" type="text/css" />';
|
||||
echo '<div class="jclockAdvanced" id="clockAdvanced" style="left:'.$this->getParam('x').'; top:'.$this->getParam('y').';"></div>';
|
||||
$options = '';
|
||||
foreach (self::$paramsList as $paramName){
|
||||
foreach ($this->paramsList as $paramName){
|
||||
if($this->getParam($paramName) != null)
|
||||
$options .= $paramName.' : "'.$this->getParam($paramName).'",';
|
||||
}
|
||||
|
Reference in New Issue
Block a user