use dotclear icons
This commit is contained in:
parent
dafb8d65d2
commit
825edb37fe
4 changed files with 7 additions and 4 deletions
BIN
img/copy.png
BIN
img/copy.png
Binary file not shown.
Before Width: | Height: | Size: 549 B |
BIN
img/delete.png
BIN
img/delete.png
Binary file not shown.
Before Width: | Height: | Size: 1 KiB |
|
@ -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> ';
|
'<img src="images/plus.png" alt="' . __('copy') . '" title="' . __('copy the template') . '" /></a> ';
|
||||||
|
|
||||||
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>';
|
||||||
|
|
|
@ -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 :"
|
||||||
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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue