[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r5604 - phpcompta/trunk/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r5604 - phpcompta/trunk/include |
Date: |
Fri, 20 Dec 2013 16:49:18 +0100 (CET) |
Author: danydb
Date: 2013-12-20 16:49:17 +0100 (Fri, 20 Dec 2013)
New Revision: 5604
Modified:
phpcompta/trunk/include/class_ibutton.php
Log:
cosmetic
Modified: phpcompta/trunk/include/class_ibutton.php
===================================================================
--- phpcompta/trunk/include/class_ibutton.php 2013-12-20 15:41:38 UTC (rev
5603)
+++ phpcompta/trunk/include/class_ibutton.php 2013-12-20 15:49:17 UTC (rev
5604)
@@ -28,17 +28,18 @@
{
var $label;
/*!\brief show the html input of the widget*/
- public function input($p_name=null,$p_value=null)
+ public function input($p_name=null,$p_value=null,$p_class="")
{
$this->name=($p_name==null)?$this->name:$p_name;
$this->value=($p_value==null)?$this->value:$p_value;
$this->label=(trim($this->label) !=
'')?$this->label:$this->value;
+ $class=($p_class="")?" button ":$this->class;
if ( $this->readOnly==true) return $this->display();
$extra= ( isset($this->extra))?$this->extra:"";
$this->id=($this->id=="")?$this->name:$this->id;
$tab=(isset($this->tabindex))?'
tabindex="'.$this->tabindex.'"':"";
$r='<input type="BUTTON" name="'.$this->name.'"'.
- ' class="button" '.
+ ' class="'.$class.'" '.
$this->extra.
$tab.
' id="'.$this->id.'"'.
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r5604 - phpcompta/trunk/include,
phpcompta-dev <=