fix not shown bullet image in setup by including and using it from setup/templates/default/images/

the svg in api does not look any good in setup's old template :(
This commit is contained in:
ralf 2022-08-04 10:46:13 +02:00
parent 509fbd73e9
commit 8ff468520d
3 changed files with 10 additions and 10 deletions

View File

@ -154,7 +154,7 @@ class setup_html
if(basename($_SERVER['SCRIPT_FILENAME']) != 'index.php') if(basename($_SERVER['SCRIPT_FILENAME']) != 'index.php')
{ {
$index_btn = '<a href="index.php" class="link">' . lang('Setup Main Menu') . '</a>'; $index_btn = '<a href="index.php" class="link">' . lang('Setup Main Menu') . '</a>';
$index_img = '<img src="../api/templates/default/images/bullet.png" />'; $index_img = '<img src="templates/default/images/bullet.png" />';
} }
$GLOBALS['setup_tpl']->set_var('lang_version',lang('version')); $GLOBALS['setup_tpl']->set_var('lang_version',lang('version'));
@ -337,4 +337,4 @@ class setup_html
reset ($list); reset ($list);
return $list; return $list;
} }
} }

View File

@ -57,11 +57,11 @@
<table width="100%" cellspacing="0" cellpadding="0"> <table width="100%" cellspacing="0" cellpadding="0">
<tr class="divSideboxEntry"> <tr class="divSideboxEntry">
<td width="20" align="center" valign="middle" class="textSidebox"><img src="../api/templates/default/images/bullet.png" alt="ball" /></td><td class="textSidebox"><a class="textsidebox" href="../index.php">{user_login}</a></td> <td width="20" align="center" valign="middle" class="textSidebox"><img src="templates/default/images/bullet.png" alt="ball" /></td><td class="textSidebox"><a class="textsidebox" href="../index.php">{user_login}</a></td>
</tr> </tr>
<!-- BEGIN loged_in --> <!-- BEGIN loged_in -->
<tr class="divSideboxEntry"> <tr class="divSideboxEntry">
<td width="20" align="center" valign="middle" class="textSidebox"><img src="../api/templates/default/images/bullet.png" alt="ball" /></td><td class="textSidebox">{check_install}</td> <td width="20" align="center" valign="middle" class="textSidebox"><img src="templates/default/images/bullet.png" alt="ball" /></td><td class="textSidebox">{check_install}</td>
</tr> </tr>
<tr class="divSideboxEntry"> <tr class="divSideboxEntry">
@ -69,10 +69,10 @@
</tr> </tr>
<tr class="divSideboxEntry"> <tr class="divSideboxEntry">
<td width="20" align="center" valign="middle" class="textSidebox"><img src="../api/templates/default/images/bullet.png" alt="ball" /></td><td class="textSidebox">{register_hooks}</td> <td width="20" align="center" valign="middle" class="textSidebox"><img src="templates/default/images/bullet.png" alt="ball" /></td><td class="textSidebox">{register_hooks}</td>
</tr> </tr>
<tr class="divSideboxEntry"> <tr class="divSideboxEntry">
<td width="20" align="center" valign="middle" class="textSidebox"><img src="../api/templates/default/images/bullet.png" alt="ball" /></td><td class="textSidebox">{logoutbutton}</td> <td width="20" align="center" valign="middle" class="textSidebox"><img src="templates/default/images/bullet.png" alt="ball" /></td><td class="textSidebox">{logoutbutton}</td>
</tr> </tr>
<!-- END loged_in --> <!-- END loged_in -->
<tr class="divSideboxEntry"> <tr class="divSideboxEntry">
@ -84,15 +84,15 @@
<div> <div>
<table width="100%" cellspacing="0" cellpadding="0"> <table width="100%" cellspacing="0" cellpadding="0">
<tr class="divSideboxEntry"> <tr class="divSideboxEntry">
<td width="20" align="center" valign="middle" class="textSidebox"><img src="../api/templates/default/images/bullet.png" alt="ball" /></td> <td width="20" align="center" valign="middle" class="textSidebox"><img src="templates/default/images/bullet.png" alt="ball" /></td>
<td class="textSidebox"><a href="https://github.com/EGroupware/egroupware/wiki" target="_blank">{documentation}</a></td> <td class="textSidebox"><a href="https://github.com/EGroupware/egroupware/wiki" target="_blank">{documentation}</a></td>
</tr> </tr>
<tr class="divSideboxEntry"> <tr class="divSideboxEntry">
<td width="20" align="center" valign="middle" class="textSidebox"><img src="../api/templates/default/images/bullet.png" alt="ball" /></td> <td width="20" align="center" valign="middle" class="textSidebox"><img src="templates/default/images/bullet.png" alt="ball" /></td>
<td class="textSidebox"><a href="https://www.egroupware.org/egroupware-support/" target="_blank">{commercial_support}</a></td> <td class="textSidebox"><a href="https://www.egroupware.org/egroupware-support/" target="_blank">{commercial_support}</a></td>
</tr> </tr>
<tr class="divSideboxEntry"> <tr class="divSideboxEntry">
<td width="20" align="center" valign="middle" class="textSidebox"><img src="../api/templates/default/images/bullet.png" alt="ball" /></td> <td width="20" align="center" valign="middle" class="textSidebox"><img src="templates/default/images/bullet.png" alt="ball" /></td>
<td class="textSidebox"><a href="https://help.egroupware.org/" target="_blank">{community_forum}</a></td> <td class="textSidebox"><a href="https://help.egroupware.org/" target="_blank">{community_forum}</a></td>
</tr> </tr>
</table> </table>
@ -107,4 +107,4 @@
<!-- applicationbox column --> <!-- applicationbox column -->
<td id="tdAppbox" valign="top"> <td id="tdAppbox" valign="top">
<div id="divAppboxHeader">{lang_setup} {configdomain}</div> <div id="divAppboxHeader">{lang_setup} {configdomain}</div>
<div id="divAppbox"> <div id="divAppbox">

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 B