This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 57c1993572767d22a3fa0b184f48cafd2d5a905d (commit)
from f824a70acce2db14b52d5c878a43b3b74774bef7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=57c1993572767d22a3fa0b184f48cafd2d5a905d
commit 57c1993572767d22a3fa0b184f48cafd2d5a905d
Author: Franck Villaume <[email protected]>
Date: Sat Dec 3 12:07:21 2016 +0100
make icon open/close tickets and error themeable
diff --git a/src/www/include/Layout.class.php b/src/www/include/Layout.class.php
index 76b75f1..c0a7eb1 100644
--- a/src/www/include/Layout.class.php
+++ b/src/www/include/Layout.class.php
@@ -1338,6 +1338,18 @@ if (isset($params['group']) && $params['group']) {
return $this->getPicto('ic/folder.png', $title, $alt, 20, 20,
$otherAttr);
}
+ function getOpenTicketPic($title = '', $alt = '', $otherAttr = array())
{
+ return $this->getPicto('ic/ticket-open.png', $title, $alt, 20,
20, $otherAttr);
+ }
+
+ function getClosedTicketPic($title = '', $alt = '', $otherAttr =
array()) {
+ return $this->getPicto('ic/ticket-close.png', $title, $alt, 20,
20, $otherAttr);
+ }
+
+ function getErrorPic($title = '', $alt = '', $otherAttr = array()) {
+ return $this->getPicto('ic/stop.png', $title, $alt, 20, 20,
$otherAttr);
+ }
+
function getPicto($url, $title, $alt, $width = 20, $height = 20,
$otherAttr = array()) {
$otherAttr['title'] = $title;
if (!$alt) {
diff --git a/src/www/themes/funky/images/stop.png
b/src/www/themes/funky-wOw/images/ic/stop.png
similarity index 100%
rename from src/www/themes/funky/images/stop.png
rename to src/www/themes/funky-wOw/images/ic/stop.png
diff --git a/src/www/themes/funky-wOw/images/stop.png
b/src/www/themes/funky/images/ic/stop.png
similarity index 100%
rename from src/www/themes/funky-wOw/images/stop.png
rename to src/www/themes/funky/images/ic/stop.png
-----------------------------------------------------------------------
Summary of changes:
src/www/include/Layout.class.php | 12 ++++++++++++
.../themes/{funky/images => funky-wOw/images/ic}/stop.png | Bin
.../themes/{funky-wOw/images => funky/images/ic}/stop.png | Bin
3 files changed, 12 insertions(+)
rename src/www/themes/{funky/images => funky-wOw/images/ic}/stop.png (100%)
rename src/www/themes/{funky-wOw/images => funky/images/ic}/stop.png (100%)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits