| Poste'.Icon_Action::infobulle(27).' | '. th('Débit', 'style="text-align:right"') . th('Crédit', 'style="text-align:right"') . th('Solde', 'style="text-align:right"') . @@ -509,7 +509,7 @@ for ($e = 0; $e < count($afiche); $e++) echo '
|---|
| Style d\'impression '.HtmlInput::infobulle(32).' | ' . $w->input('p_simple', $a); +echo 'Style d\'impression '.Icon_Action::infobulle(32).' | ' . $w->input('p_simple', $a); print "
';
$html.=h2(_('Données non disponibles'), 'class="title" style="width:auto"');
$html.=h2(_('Veuillez vous reconnecter soit dans une autre fenêtre soit '
@@ -1176,7 +1176,7 @@ function display_dashboard_operation($p_array,$p_title,$p_div)
?>
0) :?>
diff --git a/include/lib/html_input.class.php b/include/lib/html_input.class.php
index 9bf93493b..b048154d1 100755
--- a/include/lib/html_input.class.php
+++ b/include/lib/html_input.class.php
@@ -1,4 +1,5 @@
name=$p_name;
$this->readOnly=false;
@@ -85,21 +86,24 @@ class HtmlInput
$this->extra2="all";
$this->attribute=array();
$this->id=$p_id;
-
}
+
function setReadOnly($p_read)
{
$this->readOnly=$p_read;
}
- /*!\brief set the extra javascript property for the INPUT field
- *\param $p_name name of the parameter
- *\param $p_value default value of this parameter
+
+ /* !\brief set the extra javascript property for the INPUT field
+ * \param $p_name name of the parameter
+ * \param $p_value default value of this parameter
*/
- public function set_attribute($p_name,$p_value)
+
+ public function set_attribute($p_name, $p_value)
{
- $this->attribute[]=array($p_name,$p_value);
+ $this->attribute[]=array($p_name, $p_value);
$this->$p_name=$p_value;
}
+
/**
* Set the value of input (IText, INum,...)
* @param type $p_string
@@ -108,6 +112,7 @@ class HtmlInput
{
$this->value=$p_string;
}
+
/**
* Return the value of input (IText, INum,...)
*/
@@ -115,31 +120,31 @@ class HtmlInput
{
return $this->value;
}
+
/**
- *@brief you can add attribute to this in javascript
+ * @brief you can add attribute to this in javascript
* this function is a wrapper and create a script (in js) to modify
* "this" (in javascript) with the value of obj->attribute from PHP
- *@return return string with the javascript code
+ * @return return string with the javascript code
*/
public function get_js_attr()
{
require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
$attr="";
- if ( count($this->attribute) == 0) return "";
+ if (count($this->attribute)==0)
+ return "";
/* Add properties at the widget */
- for ($i=0;$i< count($this->attribute);$i++)
+ for ($i=0; $i
| '.$table->get_header(0).' | '; echo ''.$table->get_header(1).' | '; echo ''.$table->get_header(2).' | '; -echo ''.$table->get_header(3).HtmlInput::infobulle(33).' | '; +echo ''.$table->get_header(3).Icon_Action::infobulle(33).' | '; echo ''.$table->get_header(4).' | '; echo ''.$table->get_header(5).' | '; echo ''.$table->get_header(6).' | '; diff --git a/include/modele.inc.php b/include/modele.inc.php index 78d2b71ae..aa8002a04 100644 --- a/include/modele.inc.php +++ b/include/modele.inc.php @@ -270,7 +270,7 @@ if ($sa == 'list') { echo ''; - echo _('Filtre').HtmlInput::infobulle(23); + echo _('Filtre').Icon_Action::infobulle(23); echo HtmlInput::filter_table("t_modele", "0,1,2","1"); echo ''; echo '
|---|
| '._("Nom de la base de donnée").HtmlInput::infobulle(29) + echo ' | |
| '._("Nom de la base de donnée").Icon_Action::infobulle(29) .' | '; $wNom=new IText(); $wNom->name="database"; diff --git a/include/template/action_search.php b/include/template/action_search.php index 20388cc94..5e1550309 100644 --- a/include/template/action_search.php +++ b/include/template/action_search.php @@ -28,11 +28,11 @@ ?>- + |
|---|

';
+ up.innerHTML=' ';
document.body.appendChild(up);
window.onscroll=function () {
if ( document.viewport.getScrollOffsets().top> 0) {
if ($('go_up').visible() == false) {
- $('go_up').setOpacity(0.85);
+ $('go_up').setOpacity(0.70);
$('go_up').show();
+ $('go_up').style.zIndex=99;
}
} else {
$('go_up').hide();
@@ -2986,14 +2988,14 @@ function pin (object_id) {
if ( aDraggableElement[object_id]) {
aDraggableElement[object_id].destroy();
aDraggableElement[object_id]=undefined;
- $('pin_'+object_id).firstChild.innerHTML="⊕";
+ $('pin_'+object_id).innerHTML="";
} else {
aDraggableElement[object_id]=new Draggable(object_id, {starteffect: function ()
{
new Effect.Highlight(object_id, {scroll: window, queue: 'end'});
}}
);
- $('pin_'+object_id).firstChild.innerHTML="≊";
+ $('pin_'+object_id).innerHTML="";
}
}
/**
diff --git a/html/js/todo_list.js b/html/js/todo_list.js
index d073033b7..09510c42f 100644
--- a/html/js/todo_list.js
+++ b/html/js/todo_list.js
@@ -47,7 +47,7 @@ function todo_list_show(p_id)
{
try
{
- var todo_div=create_div({id:'todo_list_div'+p_id,cssclass:'add_todo_list',drag:1});
+ var todo_div=create_div({id:'todo_list_div'+p_id,cssclass:'add_todo_list'});
diff --git a/html/recherche.php b/html/recherche.php
index ca07a9c6a..460a67475 100644
--- a/html/recherche.php
+++ b/html/recherche.php
@@ -26,6 +26,7 @@ require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
include_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
require_once NOALYSS_INCLUDE.'/class/acc_ledger_search.class.php';
+require_once NOALYSS_INCLUDE.'/lib/icon_action.class.php';
html_page_start($_SESSION['g_theme']);
diff --git a/html/style-classic.css b/html/style-classic.css
index baf4a2c37..ee493c1ba 100644
--- a/html/style-classic.css
+++ b/html/style-classic.css
@@ -7,6 +7,18 @@
src: url('image/OpenSansRegular.eot');
src: local('OpenSansRegular'), url('image/OpenSansRegular.woff') format('woff'), url('image/OpenSansRegular.ttf') format('truetype');
}
+
+@font-face {
+ font-family: 'fontello';
+ src: url('image/fontello/fontello.eot?18582275');
+ src: url('image/fontello/fontello.eot?18582275#iefix') format('embedded-opentype'),
+ url('image/fontello/fontello.woff?18582275') format('woff'),
+ url('image/fontello/fontello.ttf?18582275') format('truetype'),
+ url('image/fontello/fontello.svg?18582275#fontello') format('svg');
+ font-weight: normal;
+ font-style: normal;
+ }
+
/* use this class to attach this font to any element i.e. 

'.'
';
- }
-
- // Build the url
- $href=http_build_query(array('gDossier'=>Dossier::id(),'jr_id'=>$p_jr_id,'act'=>'RAW:receipt'));
-
- $r=sprintf('
+
+
+
',$this->name,$this->id,$this->value,$this->placeholder,$this->title,$t,$this->id
);
diff --git a/include/lib/inplace_switch.class.php b/include/lib/inplace_switch.class.php
index 96bae1368..558ffdaea 100644
--- a/include/lib/inplace_switch.class.php
+++ b/include/lib/inplace_switch.class.php
@@ -46,8 +46,8 @@ class Inplace_Switch
{
$this->name=$p_name;
$this->value=$p_value;
- $this->iconon='