|
From: <be...@us...> - 2013-04-26 19:26:01
|
Revision: 11459
http://sourceforge.net/p/xoops/svn/11459
Author: beckmi
Date: 2013-04-26 19:25:57 +0000 (Fri, 26 Apr 2013)
Log Message:
-----------
Updating icons
Modified Paths:
--------------
XoopsModules/lexikon/trunk/lexikon/blocks/random_term.php
XoopsModules/lexikon/trunk/lexikon/images/delete.gif
XoopsModules/lexikon/trunk/lexikon/images/edit.gif
Modified: XoopsModules/lexikon/trunk/lexikon/blocks/random_term.php
===================================================================
--- XoopsModules/lexikon/trunk/lexikon/blocks/random_term.php 2013-04-26 15:45:01 UTC (rev 11458)
+++ XoopsModules/lexikon/trunk/lexikon/blocks/random_term.php 2013-04-26 19:25:57 UTC (rev 11459)
@@ -11,7 +11,7 @@
if( ! defined( 'XOOPS_ROOT_PATH' ) ) die( 'XOOPS root path not defined' ) ;
function b_lxentries_random_show() {
- global $xoopsDB, $xoopsUser, $xoopsConfig, $pathIcon16;
+ global $xoopsDB, $xoopsUser, $xoopsConfig, $xoopsModule;
$myts =& MyTextSanitizer::getInstance();
$module_handler = &xoops_gethandler('module');
@@ -59,19 +59,20 @@
list( $categoryID, $name ) = $xoopsDB->fetchRow($result_cat);
$categoryname = $myts->displayTarea($name);
- // Functional links
+//TODO switch to central icons repository
+
if ( $xoopsUser ) {
if ( $xoopsUser->isAdmin() ) {
- $adminlinks = "<a href=\"".XOOPS_URL."/modules/" .$lexikon->dirname(). "/admin/entry.php?op=mod&entryID=".$entryID."\" target=\"_blank\"><img src=\"" . $pathIcon16. "/edit.png\" border=\"0\" alt=\""._MB_LEXIKON_EDITTERM."\" width=\"15\" height=\"11\"></a> <a href=\"".XOOPS_URL."/modules/" .$lexikon->dirname(). "/admin/entry.php?op=del&entryID=".$entryID."\" target=\"_self\"><img src=\"".XOOPS_URL."/modules/" .$lexikon->dirname(). "/images/delete.gif\" border=\"0\" alt=\""._MB_LEXIKON_DELTERM."\" width=\"15\" height=\"11\"></a> ";
+ $adminlinks = "<a href=\"".XOOPS_URL."/modules/" .$lexikon->dirname(). "/admin/entry.php?op=mod&entryID=".$entryID."\" target=\"_blank\"><img src=\"".XOOPS_URL."/modules/" .$lexikon->dirname(). "/images/edit.gif\" border=\"0\" alt=\""._MB_LEXIKON_EDITTERM."\" width=\"16\" height=\"16\"></a> <a href=\"".XOOPS_URL."/modules/" .$lexikon->dirname(). "/admin/entry.php?op=del&entryID=".$entryID."\" target=\"_self\"><img src=\"".XOOPS_URL."/modules/" .$lexikon->dirname(). "/images/delete.gif\" border=\"0\" alt=\""._MB_LEXIKON_DELTERM."\" width=\"16\" height=\"16\"></a> ";
}
}
$userlinks = "<a href=\"".XOOPS_URL."/modules/" .$lexikon->dirname(). "/print.php?entryID=".$entryID."\" target=\"_blank\"><img src=\"".XOOPS_URL."/modules/".$lexikon->dirname()."/images/print.gif\" border=\"0\" alt=\""._MB_LEXIKON_PRINTTERM."\" width=\"16\" height=\"16\"></a> <a href=\"mailto:?subject=".sprintf(_MB_LEXIKON_INTENTRY,$xoopsConfig["sitename"])."&body=".sprintf(_MB_LEXIKON_INTENTRYFOUND, $xoopsConfig['sitename']).": ".XOOPS_URL."/modules/" .$lexikon->dirname(). "/entry.php?entryID=".$entryID." \" target=\"_blank\"><img src=\"".XOOPS_URL."/modules/" .$lexikon->dirname(). "/images/friend.gif\" border=\"0\" alt=\""._MB_LEXIKON_SENDTOFRIEND."\" width=\"16\" height=\"16\"></a> ";
if ($lxConfig['multicats'] == 1) {
$block['content'] = "<div style=\"font-size: 12px; font-weight: bold; background-color: #ccc; padding: 4px; margin: 0;\"><a href=\"".XOOPS_URL."/modules/" .$lexikon->dirname(). "/category.php?categoryID=$categoryID\">$categoryname</a></div>";
- $block['content'] .= "<div style=\"padding: 4px 0 0 0; color: #456;\"><h5 style=\"margin: 0;\">$adminlinks $userlinks <a href=\"".XOOPS_URL."/modules/" .$lexikon->dirname(). "/entry.php?entryID=$entryID\">$term</a></h5><div>$definition</div>";
+ $block['content'] .= "<div style=\"padding: 4px 0 0 0; color: #456;\"><h5 style=\"margin: 0;\">$adminlinks $userlinks <a href=\"".XOOPS_URL."/modules/" .$lexikon->dirname(). "/entry.php?entryID=$entryID\">$term</a></h5>$definition</div>";
} else {
- $block['content'] = "<div style=\"padding: 4px; color: #456;\"><h5 style=\"margin: 0;\">$adminlinks $userlinks <a style=\"margin: 0;\" href=\"".XOOPS_URL."/modules/" .$lexikon->dirname(). "/entry.php?entryID=$entryID\">$term</a></h5>$definition";
+ $block['content'] = "<div style=\"padding: 4px; color: #456;\"><h5 style=\"margin: 0;\">$adminlinks $userlinks <a style=\"margin: 0;\" href=\"".XOOPS_URL."/modules/" .$lexikon->dirname(). "/entry.php?entryID=$entryID\">$term</a></h5>$definition</div>";
}
}
Modified: XoopsModules/lexikon/trunk/lexikon/images/delete.gif
===================================================================
(Binary files differ)
Modified: XoopsModules/lexikon/trunk/lexikon/images/edit.gif
===================================================================
(Binary files differ)
|