use dotclear icons

This commit is contained in:
Jean-Christian Denis 2022-12-10 01:24:06 +01:00
parent dafb8d65d2
commit 825edb37fe
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
4 changed files with 7 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 549 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

View file

@ -87,7 +87,7 @@ class templatorPager
$res = '<div class="' . $class . '"><a class="media-icon media-link" href="' . $link_edit . '">' . $res = '<div class="' . $class . '"><a class="media-icon media-link" href="' . $link_edit . '">' .
'<img src="' . $icon . '" alt="" /></a>' . '<img src="' . $icon . '" alt="" /></a>' .
'<ul>' . '<ul>' .
'<li><a class="media-link" href="' . $link_edit . '">' . $fname . '</a> ' . $special . '</li>'; '<li><a class="media-link" href="' . $link_edit . '"><img src="images/edit-mini.png" alt="' . __('edit') . '" title="' . __('edit the template') . '" /> ' . $fname . '</a> ' . $special . '</li>';
/* /*
if (dcCore::app()->auth->check(dcCore::app()->auth->makePermissions([ if (dcCore::app()->auth->check(dcCore::app()->auth->makePermissions([
dcAuth::PERMISSION_CONTENT_ADMIN, dcAuth::PERMISSION_CONTENT_ADMIN,
@ -109,12 +109,12 @@ class templatorPager
$res .= '<a class="media-remove" href="' . $res .= '<a class="media-remove" href="' .
dcCore::app()->adminurl->get('admin.plugin.templator', ['part' => $part, 'file' => $f->basename]) . '">' . dcCore::app()->adminurl->get('admin.plugin.templator', ['part' => $part, 'file' => $f->basename]) . '">' .
'<img src="' . dcPage::getPF('templator/img/copy.png') . '" alt="' . __('copy') . '" title="' . __('copy the template') . '" /></a>&nbsp;'; '<img src="images/plus.png" alt="' . __('copy') . '" title="' . __('copy the template') . '" /></a>&nbsp;';
if ($f->del) { if ($f->del) {
$res .= '<a class="media-remove" href="' . $res .= '<a class="media-remove" href="' .
dcCore::app()->adminurl->get('admin.plugin.templator', ['part' => 'delete', 'file' => $f->basename]) . '">' . dcCore::app()->adminurl->get('admin.plugin.templator', ['part' => 'delete', 'file' => $f->basename]) . '">' .
'<img src="' . dcPage::getPF('templator/img/delete.png') . '" alt="' . __('delete') . '" title="' . __('delete the template') . '" /></a>'; '<img src="images/trash.png" alt="' . __('delete') . '" title="' . __('delete the template') . '" /></a>';
} }
$res .= '</li>'; $res .= '</li>';

View file

@ -3,7 +3,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: templator 1.4\n" "Project-Id-Version: templator 1.4\n"
"POT-Creation-Date: \n" "POT-Creation-Date: \n"
"PO-Revision-Date: 2022-12-10T00:07:54+00:00\n" "PO-Revision-Date: 2022-12-10T00:18:25+00:00\n"
"Last-Translator: Jean-Christian Denis\n" "Last-Translator: Jean-Christian Denis\n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -49,6 +49,9 @@ msgstr "Template&nbsp;:"
msgid "Template widget" msgid "Template widget"
msgstr "Template widget" msgstr "Template widget"
msgid "edit the template"
msgstr "modifier le template"
msgid "details" msgid "details"
msgstr "détails" msgstr "détails"