[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 19/30: HtmlInput :: anchor_empty add a title
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 19/30: HtmlInput :: anchor_empty add a title |
Date: |
Tue, 02 Jun 2015 22:29:11 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 31c05121f85ba92113c323c08fc7f4b773ecc9f8
Author: Dany De Bontridder <address@hidden>
Date: Tue Jun 2 00:19:17 2015 +0200
HtmlInput :: anchor_empty add a title
---
include/class_html_input.php | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/include/class_html_input.php b/include/class_html_input.php
index fc820f6..c45f382 100755
--- a/include/class_html_input.php
+++ b/include/class_html_input.php
@@ -729,16 +729,17 @@ class HtmlInput
* onclick = function() {...}
* @param type $p_text Text to display
* @param type $p_id id of the link
+ * @param type $type title of the link
* @code
* echo HtmlInput::anchor_empty('go','go_id');
* <script>$("go_id").onclick=function (e) { ...}</script>
* @endcode
*/
- static function anchor_empty($p_text,$p_id)
+ static function anchor_empty($p_text,$p_id,$p_title="")
{
$p_url="javascript:void(0)";
- $str=sprintf('<a id="%s" href="javascript:void(0)"
class="line">%s</a>',
- $p_id,$p_text);
+ $str=sprintf('<a id="%s" href="javascript:void(0)" class="line"
title="%s">%s</a>',
+ $p_id,$p_title,$p_text);
return $str;
}
/**
- [Noalyss-commit] [noalyss] 09/30: #1118 : partage de note Esthétique zoom, (continued)
- [Noalyss-commit] [noalyss] 09/30: #1118 : partage de note Esthétique zoom, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 10/30: Database improve : new function get_affected returns the number of rows affected by the last query, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 13/30: Administration user : add condition if no folder exists + esthetic, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 11/30: Remove table priv_user, the local admin and plugin user are obsolete, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 16/30: Administration user : esthetic, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 14/30: Administration user : add condition if no folder exists + esthetic, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 15/30: Administration user : esthetic + rewrite add user Correct bug : ajax_admin.js, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 17/30: Administration user : esthetic, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 18/30: HtmlInput : add a new function to create an empty anchor, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 12/30: Administration user : Add / remove right on folder in ajax, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 19/30: HtmlInput :: anchor_empty add a title,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 20/30: Message when no financial ledger are found, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 21/30: Message when no financial ledger are found, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 22/30: Fix bug in authentication for normal user, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 24/30: Add email, change preference and administration for this, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 23/30: Add email, change preference and administration for this, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 26/30: fix bug with email user, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 25/30: Remove obsolete file, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 27/30: Documentation, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 28/30: Esthetique, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 29/30: Remove button (x) + center the text, Dany De Bontridder, 2015/06/02