[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 05/07: Improve Manage_Table : add icon
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 05/07: Improve Manage_Table : add icon |
Date: |
Wed, 5 Jul 2017 15:01:29 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit ad3d6da2eab9a0f5735e17ae86815d6fcfe0a479
Author: Dany De Bontridder <address@hidden>
Date: Tue Jul 4 00:08:40 2017 +0200
Improve Manage_Table : add icon
---
include/lib/class_manage_table_sql.php | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/include/lib/class_manage_table_sql.php
b/include/lib/class_manage_table_sql.php
index 32506ec..f4d5139 100644
--- a/include/lib/class_manage_table_sql.php
+++ b/include/lib/class_manage_table_sql.php
@@ -426,9 +426,10 @@ class Manage_Table_SQL
$nb=Database::num_row($ret);
if ($this->can_append_row()==TRUE)
{
- echo HtmlInput::button_action(_("Ajout"),
- sprintf("%s.input('-1','%s')", $this->object_name,
- $this->object_name));
+ echo HtmlInput::button_action(" "._("Ajout"),
+ sprintf("%s.input('-1','%s')",
+ $this->object_name,
+ $this->object_name),"xx","smallbutton",BUTTONADD);
}
$nb_order=count($this->a_order);
$virg=""; $result="";
@@ -454,9 +455,10 @@ class Manage_Table_SQL
echo "</table>";
if ($this->can_append_row()==TRUE)
{
- echo HtmlInput::button_action(_("Ajout"),
- sprintf("%s.input('-1','%s')", $this->object_name,
- $this->object_name));
+ echo HtmlInput::button_action(" "._("Ajout"),
+ sprintf("%s.input('-1','%s')",
+ $this->object_name,
+ $this->object_name),"xx","smallbutton",BUTTONADD);
}
printf ('<script> alternate_row_color("tb%s");</script>',
$this->object_name);
}
@@ -479,10 +481,10 @@ class Manage_Table_SQL
echo th($this->a_label_displaid[$key]);
}
if ($this->can_update_row()) {
- echo td(_('Modifier'));
+ echo th(" ",'style="width:40px"');
}
if ($this->can_delete_row()) {
- echo td(_('Effacer'));
+ echo th(" ",'style="width:40px"');
}
echo "</tr>";
}
- [Noalyss-commit] [noalyss] branch master updated (a24821c -> 1d55507), Dany De Bontridder, 2017/07/05
- [Noalyss-commit] [noalyss] 04/07: Improve debug, Dany De Bontridder, 2017/07/05
- [Noalyss-commit] [noalyss] 02/07: Typo, Dany De Bontridder, 2017/07/05
- [Noalyss-commit] [noalyss] 07/07: New function manage_table::set_table, and manage_table::delete, Dany De Bontridder, 2017/07/05
- [Noalyss-commit] [noalyss] 05/07: Improve Manage_Table : add icon,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 01/07: Typo, Dany De Bontridder, 2017/07/05
- [Noalyss-commit] [noalyss] 06/07: HtmlInput::button_action: add icon , htmlInput : add documentation, Dany De Bontridder, 2017/07/05
- [Noalyss-commit] [noalyss] 03/07: Manage_SQL : improve cosmetic + add error function, Dany De Bontridder, 2017/07/05