-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to remove logo #32
Labels
Milestone
Comments
Hi, same here, there is no option to do that. any help ? thanks |
You just have to change 2 files : In } else if (isset($_POST['dropLogo'])) {
if (is_dir(GLPI_PLUGIN_DOC_DIR.'/barcode')) {
if (is_file(GLPI_PLUGIN_DOC_DIR.'/barcode/logo.png')) {
unlink(GLPI_PLUGIN_DOC_DIR.'/barcode/logo.png');
}
}
Session::addMessageAfterRedirect(__('The logo has been removed.', 'barcode'));
} In echo "<tr class='tab_bg_1'>";
echo "<td class='tab_bg_1' colspan='4' align='center'><input type='submit' value='".__('Delete the logo', 'barcode')."' class='submit' name='dropLogo'></td>";
echo "</tr>"; I'll create pull request 👀 |
RemiCELLARD
added a commit
to RemiCELLARD/barcode
that referenced
this issue
Jul 21, 2021
cedric-anne
pushed a commit
to RemiCELLARD/barcode
that referenced
this issue
Jul 22, 2021
Done in #80. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
i have attached a pic of my company. But finally i want delete it.
How can i do that?
Thank you.
The text was updated successfully, but these errors were encountered: