[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 03/05: Improve Manage_Table : add icon
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 03/05: Improve Manage_Table : add icon |
Date: |
Wed, 20 Dec 2017 04:42:23 -0500 (EST) |
sparkyx pushed a commit to annotated tag rel6919.3
in repository noalyss.
commit 94256020aa5d4e2b6be097d68c5a174c358b40ef
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 b522597..2a9bb39 100644
--- a/include/lib/class_manage_table_sql.php
+++ b/include/lib/class_manage_table_sql.php
@@ -425,9 +425,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="";
@@ -453,9 +454,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);
}
@@ -478,10 +480,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] annotated tag rel6919.3 created (now 80f7a68), Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 02/05: Improve debug, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 03/05: Improve Manage_Table : add icon,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 04/05: HtmlInput::button_action: add icon , htmlInput : add documentation, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 01/05: Manage_SQL : improve cosmetic + add error function, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 05/05: New function manage_table::set_table, and manage_table::delete, Dany De Bontridder, 2017/12/20