Инструменты пользователя

Инструменты сайта


wiki:plugin:repository:manual_repository_my_edit

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Следующая версия
Предыдущая версия
wiki:plugin:repository:manual_repository_my_edit [2026/01/14 22:26] – создано VladPolskiywiki:plugin:repository:manual_repository_my_edit [2026/01/19 06:37] (текущий) VladPolskiy
Строка 1: Строка 1:
 <= [[wiki:plugin:repository|Репозиторий расширений]] <= [[wiki:plugin:repository|Репозиторий расширений]]
  
-====== Руководство по правке плагинуа репозитория ====== +====== Руководство по правке плагина репозитория ====== 
-''lib/plugin/pluginrepo/helper/repository.php +''lib/plugin/pluginrepo/helper/repository.php'' 
-<code php repository.php>+\\   
 +<code php repository.php [enable_line_numbers="true", start_line_numbers_at="867", highlight_lines_extra="880", highlight_lines_extra="887"]>
     /** строка 867     /** строка 867
      * render internallink to plugin/template, templates identified by having namespace      * render internallink to plugin/template, templates identified by having namespace
Строка 29: Строка 30:
 </code> </code>
  
 +''lib/plugin/pluginrepo/syntax/table.php'' включить скриншоты в таблице (строка 84)
 +\\  
 +
 +<code php table.php [enable_line_numbers="true", start_line_numbers_at="80",highlight_lines_extra="84"]>
 +    public function handle($match, $state, $pos, Doku_Handler $handler)
 +    {
 +        $initialData = [
 +            'cloudmin' => 0,
 +            'showscreenshot' => true,//false -> true
 +</code>
 +
 +''lib/plugin/pluginrepo/syntax/table.php'' убать фильтр по типу перед таблицей (строка 195)
 +\\  
 +закомментируем строки со строки ''196'' по ''199'' и с ''201'' по ''225'' в блоке ''Output plugin TYPE filter selection''.
 +<code php table.php [enable_line_numbers="true", start_line_numbers_at="186" ,highlight_lines_extra="196" ,highlight_lines_extra="201"]>
 +    /**
 +     * Output plugin TYPE filter selection
 +     *
 +     * @param Doku_Renderer_xhtml $R
 +     * @param array $data
 +     */
 +    public function showPluginTypeFilter($R, $data)
 +    {
 +        global $ID;
 +    /*  Убираем фильтр по типу
 +        $R->doc .= '<h3>';
 +        $R->doc .= $this->getLang('t_filterbytype');
 +        $R->doc .= '</h3>';
 +     */  
 +        $R->doc .= '<ul class="types">';
 +    /*    $R->doc .= '<li><div class="li">';
 +        $R->doc .= sprintf($this->getLang('t_typesyntax'), $this->hlp->listtype(1, $ID));
 +        $R->doc .= '</div></li>';
 +        $R->doc .= '<li><div class="li">';
 +        $R->doc .= sprintf($this->getLang('t_typeaction'), $this->hlp->listtype(4, $ID));
 +        $R->doc .= '</div></li>';
 +        $R->doc .= '<li><div class="li">';
 +        $R->doc .= sprintf($this->getLang('t_typeadmin'), $this->hlp->listtype(2, $ID));
 +        $R->doc .= '</div></li>';
 +        $R->doc .= '<li><div class="li">';
 +        $R->doc .= sprintf($this->getLang('t_typehelper'), $this->hlp->listtype(16, $ID));
 +        $R->doc .= '</div></li>';
 +        $R->doc .= '<li><div class="li">';
 +        $R->doc .= sprintf($this->getLang('t_typerender'), $this->hlp->listtype(8, $ID));
 +        $R->doc .= '</div></li>';
 +        $R->doc .= '<li><div class="li">';
 +        $R->doc .= sprintf($this->getLang('t_typeremote'), $this->hlp->listtype(64, $ID));
 +        $R->doc .= '</div></li>';
 +        $R->doc .= '<li><div class="li">';
 +        $R->doc .= sprintf($this->getLang('t_typeauth'), $this->hlp->listtype(128, $ID));
 +        $R->doc .= '</div></li>';
 +        $R->doc .= '<li><div class="li">';
 +        $R->doc .= sprintf($this->getLang('t_typecli'), $this->hlp->listtype(256, $ID));
 +        $R->doc .= '</div></li>';
 +     */
 +        if ($data['includetemplates']) {
 +            $R->doc .= '<li><div class="li">';
 +            $R->doc .= sprintf($this->getLang('t_typetemplate'), $this->hlp->listtype(32, $ID));
 +            $R->doc .= '</div></li>';
 +        }
 +        $R->doc .= '</ul>';
 +    }
 +</code>
 +
 +===== Дополнения и Файлы =====
 +{{ :wiki:plugin:repository:pluginrepo_my_edit.rar |скачать pluginrepo с правками}}
wiki/plugin/repository/manual_repository_my_edit.1768418799.txt.gz · Последнее изменение: VladPolskiy

Если не указано иное, содержимое этой вики предоставляется на условиях следующей лицензии: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki