diff options
Diffstat (limited to 'platform/www/lib/plugins/pagelist')
63 files changed, 2306 insertions, 0 deletions
diff --git a/platform/www/lib/plugins/pagelist/COPYING b/platform/www/lib/plugins/pagelist/COPYING new file mode 100644 index 0000000..d60c31a --- /dev/null +++ b/platform/www/lib/plugins/pagelist/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/platform/www/lib/plugins/pagelist/README b/platform/www/lib/plugins/pagelist/README new file mode 100644 index 0000000..ad864dc --- /dev/null +++ b/platform/www/lib/plugins/pagelist/README @@ -0,0 +1,9 @@ +====== Pagelist Plugin for DokuWiki ====== + +All documentation for the Pagelist Plugin is available online at: + + * http://dokuwiki.org/plugin:pagelist + +(c) 2005 - 2007 by Esther Brunner <wikidesign@gmail.com> +(c) 2008 - 2010 by Gina Häußge, Michael Klier <dokuwiki@chimeric.de> +See COPYING for license info. diff --git a/platform/www/lib/plugins/pagelist/conf/default.php b/platform/www/lib/plugins/pagelist/conf/default.php new file mode 100644 index 0000000..ba1468b --- /dev/null +++ b/platform/www/lib/plugins/pagelist/conf/default.php @@ -0,0 +1,19 @@ +<?php +/** + * Options for the Pagelist Plugin + */ +$conf['style'] = 'default'; +$conf['showheader'] = 0; +$conf['showdate'] = 1; +$conf['showuser'] = 1; +$conf['showdesc'] = 0; +$conf['showcomments'] = 0; +$conf['showlinkbacks']= 0; +$conf['showtags'] = 0; +$conf['showfirsthl'] = 1; +$conf['showimage'] = 0; +$conf['showdiff'] = 0; +$conf['sort'] = 0; +$conf['rsort'] = 0; + +//Setup VIM: ex: et ts=2 : diff --git a/platform/www/lib/plugins/pagelist/conf/metadata.php b/platform/www/lib/plugins/pagelist/conf/metadata.php new file mode 100644 index 0000000..4f32bf5 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/conf/metadata.php @@ -0,0 +1,24 @@ +<?php +/** + * Metadata for configuration manager plugin + * Additions for the Pagelist Plugin + * + * @author Esther Brunner <wikidesign@gmail.com> + */ + +$meta['style'] = array('multichoice', + '_choices' => array('default', 'table', 'list', 'simplelist')); +$meta['showheader'] = array('onoff'); +$meta['showdate'] = array('multichoice', '_choices' => array('0', '1', '2')); +$meta['showuser'] = array('multichoice', '_choices' => array('0', '1', '2')); +$meta['showdesc'] = array('multichoice', '_choices' => array('0', '160', '500')); +$meta['showcomments'] = array('onoff'); +$meta['showlinkbacks']= array('onoff'); +$meta['showtags'] = array('onoff'); +$meta['showfirsthl'] = array('onoff'); +$meta['showimage'] = array('onoff'); +$meta['showdiff'] = array('onoff'); +$meta['sort'] = array('onoff'); +$meta['rsort'] = array('onoff'); + +//Setup VIM: ex: et ts=2 : diff --git a/platform/www/lib/plugins/pagelist/helper.php b/platform/www/lib/plugins/pagelist/helper.php new file mode 100644 index 0000000..4ed425b --- /dev/null +++ b/platform/www/lib/plugins/pagelist/helper.php @@ -0,0 +1,448 @@ +<?php +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * @author Esther Brunner <wikidesign@gmail.com> + * @author Gina Häußge <osd@foosel.net> + */ + +class helper_plugin_pagelist extends DokuWiki_Plugin { + + /* public */ + + var $page = NULL; // associative array for page to list + // must contain a value to key 'id' + // can contain: 'title', 'date', 'user', 'desc', 'comments', + // 'tags', 'status' and 'priority' + + var $style = ''; // table style: 'default', 'table', 'list' + var $showheader = false; // show a heading line + var $column = array(); // which columns to show + var $header = array(); // language strings for table headers + var $sort = false; // alphabetical sort of pages by pagename + var $rsort = false; // reverse alphabetical sort of pages by pagename + + var $plugins = array(); // array of plugins to extend the pagelist + var $discussion = NULL; // discussion class object + var $tag = NULL; // tag class object + + var $doc = ''; // the final output XHTML string + + /* private */ + + var $_meta = NULL; // metadata array for page + + /** + * Constructor gets default preferences + * + * These can be overriden by plugins using this class + */ + function __construct() { + $this->style = $this->getConf('style'); + $this->showheader = $this->getConf('showheader'); + $this->showfirsthl = $this->getConf('showfirsthl'); + $this->sort = $this->getConf('sort'); + $this->rsort = $this->getConf('rsort'); + + $this->column = array( + 'page' => true, + 'date' => $this->getConf('showdate'), + 'user' => $this->getConf('showuser'), + 'desc' => $this->getConf('showdesc'), + 'comments' => $this->getConf('showcomments'), + 'linkbacks'=> $this->getConf('showlinkbacks'), + 'tags' => $this->getConf('showtags'), + 'image' => $this->getConf('showimage'), + 'diff' => $this->getConf('showdiff'), + ); + + $this->plugins = array( + 'discussion' => 'comments', + 'linkback' => 'linkbacks', + 'tag' => 'tags', + 'pageimage' => 'image', + ); + } + + function getMethods() { + $result = array(); + $result[] = array( + 'name' => 'addColumn', + 'desc' => 'adds an extra column for plugin data', + 'params' => array( + 'plugin name' => 'string', + 'column key' => 'string'), + ); + $result[] = array( + 'name' => 'setFlags', + 'desc' => 'overrides standard values for showfooter and firstseconly settings', + 'params' => array('flags' => 'array'), + 'return' => array('success' => 'boolean'), + ); + $result[] = array( + 'name' => 'startList', + 'desc' => 'prepares the table header for the page list', + ); + $result[] = array( + 'name' => 'addPage', + 'desc' => 'adds a page to the list', + 'params' => array("page attributes, 'id' required, others optional" => 'array'), + ); + $result[] = array( + 'name' => 'finishList', + 'desc' => 'returns the XHTML output', + 'return' => array('xhtml' => 'string'), + ); + return $result; + } + + /** + * Adds an extra column for plugins + */ + function addColumn($plugin, $col) { + $this->plugins[$plugin] = $col; + $this->column[$col] = true; + } + + /** + * Overrides standard values for style, showheader and show(column) settings + */ + function setFlags($flags) { + if (!is_array($flags)) return false; + + $columns = array('date', 'user', 'desc', 'comments', 'linkbacks', 'tags', 'image', 'diff'); + foreach ($flags as $flag) { + switch ($flag) { + case 'default': + $this->style = 'default'; + break; + case 'table': + $this->style = 'table'; + break; + case 'list': + $this->style = 'list'; + break; + case 'simplelist': + $this->style = 'simplelist'; // Displays pagenames only, no other information + break; + case 'header': + $this->showheader = true; + break; + case 'noheader': + $this->showheader = false; + break; + case 'firsthl': + $this->showfirsthl = true; + break; + case 'nofirsthl': + $this->showfirsthl = false; + break; + case 'sort': + $this->sort = true; + $this->rsort = false; + break; + case 'rsort': + $this->sort = false; + $this->rsort = true; + break; + case 'nosort': + $this->sort = false; + $this->rsort = false; + break; + case 'showdiff': + $flag = 'diff'; + break; + } + + if (substr($flag, 0, 2) == 'no') { + $value = false; + $flag = substr($flag, 2); + } else { + $value = true; + } + + if (in_array($flag, $columns)) $this->column[$flag] = $value; + } + return true; + } + + /** + * Sets the list header + */ + function startList($callerClass=NULL) { + + // table style + switch ($this->style) { + case 'table': + $class = 'inline'; + break; + case 'list': + $class = 'ul'; + break; + case 'simplelist': + $class = false; + break; + default: + $class = 'pagelist'; + } + + if($class) { + if ($callerClass) { + $class .= ' '.$callerClass; + } + $this->doc = '<div class="table">'.DOKU_LF.'<table class="'.$class.'">'.DOKU_LF; + } else { + // Simplelist is enabled; Skip header and firsthl + $this->showheader = false; + $this->showfirsthl = false; + //$this->doc .= DOKU_LF.DOKU_TAB.'</tr>'.DOKU_LF; + $this->doc = '<ul>'; + } + + $this->page = NULL; + + // check if some plugins are available - if yes, load them! + foreach ($this->plugins as $plug => $col) { + if (!$this->column[$col]) continue; + if (plugin_isdisabled($plug) || (!$this->$plug = plugin_load('helper', $plug))) + $this->column[$col] = false; + } + + // header row + if ($this->showheader) { + $this->doc .= DOKU_TAB.'<tr>'.DOKU_LF.DOKU_TAB.DOKU_TAB; + $columns = array('page', 'date', 'user', 'desc', 'diff'); + if ($this->column['image']) { + if (!$this->header['image']) $this->header['image'] = hsc($this->pageimage->th()); + $this->doc .= '<th class="images">'.$this->header['image'].'</th>'; + } + foreach ($columns as $col) { + if ($this->column[$col]) { + if (!$this->header[$col]) $this->header[$col] = hsc($this->getLang($col)); + $this->doc .= '<th class="'.$col.'">'.$this->header[$col].'</th>'; + } + } + foreach ($this->plugins as $plug => $col) { + if ($this->column[$col] && $col != 'image') { + if (!$this->header[$col]) $this->header[$col] = hsc($this->$plug->th()); + $this->doc .= '<th class="'.$col.'">'.$this->header[$col].'</th>'; + } + } + $this->doc .= DOKU_LF.DOKU_TAB.'</tr>'.DOKU_LF; + } + return true; + } + + /** + * Sets a list row + */ + function addPage($page) { + + $id = $page['id']; + if (!$id) return false; + $this->page = $page; + $this->_meta = NULL; + + if($this->style != 'simplelist') { + // priority and draft + if (!isset($this->page['draft'])) { + $this->page['draft'] = ($this->_getMeta('type') == 'draft'); + } + $class = ''; + if (isset($this->page['priority'])) $class .= 'priority'.$this->page['priority']. ' '; + if ($this->page['draft']) $class .= 'draft '; + if ($this->page['class']) $class .= $this->page['class']; + if(!empty($class)) $class = ' class="' . $class . '"'; + + $this->doc .= DOKU_TAB.'<tr'.$class.'>'.DOKU_LF; + if ($this->column['image']) $this->_pluginCell('pageimage','image',$id); + $this->_pageCell($id); + if ($this->column['date']) $this->_dateCell(); + if ($this->column['user']) $this->_userCell(); + if ($this->column['desc']) $this->_descCell(); + if ($this->column['diff']) $this->_diffCell($id); + foreach ($this->plugins as $plug => $col) { + if ($this->column[$col] && $col != 'image') $this->_pluginCell($plug, $col, $id); + } + + $this->doc .= DOKU_TAB.'</tr>'.DOKU_LF; + } else { + $class = ''; + // simplelist is enabled; just output pagename + $this->doc .= DOKU_TAB . '<li>' . DOKU_LF; + if(page_exists($id)) $class = 'wikilink1'; + else $class = 'wikilink2'; + + if (!$this->page['title']) $this->page['title'] = str_replace('_', ' ', noNS($id)); + $title = hsc($this->page['title']); + + $content = '<a href="'.wl($id).'" class="'.$class.'" title="'.$id.'">'.$title.'</a>'; + $this->doc .= $content; + $this->doc .= DOKU_TAB . '</li>' . DOKU_LF; + } + + return true; + } + + /** + * Sets the list footer + */ + function finishList() { + if($this->style != 'simplelist') { + if (!isset($this->page)) $this->doc = ''; + else $this->doc .= '</table>'.DOKU_LF.'</div>'.DOKU_LF; + } else { + $this->doc .= '</ul>' . DOKU_LF; + } + + // reset defaults + $this->__construct(); + + return $this->doc; + } + + /* ---------- Private Methods ---------- */ + + /** + * Page title / link to page + */ + function _pageCell($id) { + + // check for page existence + if (!isset($this->page['exists'])) { + if (!isset($this->page['file'])) $this->page['file'] = wikiFN($id); + $this->page['exists'] = @file_exists($this->page['file']); + } + if ($this->page['exists']) $class = 'wikilink1'; + else $class = 'wikilink2'; + + // handle image and text titles + if ($this->page['titleimage']) { + $title = '<img src="'.ml($this->page['titleimage']).'" class="media"'; + if ($this->page['title']) $title .= ' title="'.hsc($this->page['title']).'"'. + ' alt="'.hsc($this->page['title']).'"'; + $title .= ' />'; + } else { + if($this->showfirsthl) { + $this->page['title'] = $this->_getMeta('title'); + } else { + $this->page['title'] = $id; + } + + if (!$this->page['title']) $this->page['title'] = str_replace('_', ' ', noNS($id)); + $title = hsc($this->page['title']); + } + + // produce output + $content = '<a href="'.wl($id).($this->page['section'] ? '#'.$this->page['section'] : ''). + '" class="'.$class.'" title="'.$id.'">'.$title.'</a>'; + if ($this->style == 'list') $content = '<ul><li>'.$content.'</li></ul>'; + return $this->_printCell('page', $content); + } + + /** + * Date - creation or last modification date if not set otherwise + */ + function _dateCell() { + global $conf; + + if($this->column['date'] == 2) { + $this->page['date'] = $this->_getMeta(array('date', 'modified')); + } elseif(!$this->page['date'] && $this->page['exists']) { + $this->page['date'] = $this->_getMeta(array('date', 'created')); + } + + if ((!$this->page['date']) || (!$this->page['exists'])) { + return $this->_printCell('date', ''); + } else { + return $this->_printCell('date', dformat($this->page['date'], $conf['dformat'])); + } + } + + /** + * User - page creator or contributors if not set otherwise + */ + function _userCell() { + if (!array_key_exists('user', $this->page)) { + if ($this->column['user'] == 2) { + $users = $this->_getMeta('contributor'); + if (is_array($users)) $this->page['user'] = join(', ', $users); + } else { + $this->page['user'] = $this->_getMeta('creator'); + } + } + return $this->_printCell('user', hsc($this->page['user'])); + } + + /** + * Description - (truncated) auto abstract if not set otherwise + */ + function _descCell() { + if (array_key_exists('desc', $this->page)) { + $desc = $this->page['desc']; + } elseif (strlen($this->page['description']) > 0) { + // This condition will become true, when a page-description is given + // inside the syntax-block + $desc = $this->page['description']; + } else { + $desc = $this->_getMeta(array('description', 'abstract')); + } + + $max = $this->column['desc']; + if (($max > 1) && (utf8_strlen($desc) > $max)) $desc = utf8_substr($desc, 0, $max).'…'; + return $this->_printCell('desc', hsc($desc)); + } + + /** + * Diff icon / link to diff page + */ + function _diffCell($id) { + // check for page existence + if (!isset($this->page['exists'])) { + if (!isset($this->page['file'])) $this->page['file'] = wikiFN($id); + $this->page['exists'] = @file_exists($this->page['file']); + } + + // produce output + $url_params = array(); + $url_params ['do'] = 'diff'; + $content = '<a href="'.wl($id, $url_params).($this->page['section'] ? '#'.$this->page['section'] : '').'" class="diff_link"> +<img src="/lib/images/diff.png" width="15" height="11" title="'.hsc($this->getLang('diff_title')).'" alt="'.hsc($this->getLang('diff_alt')).'"/> +</a>'; + return $this->_printCell('page', $content); + } + + /** + * Plugins - respective plugins must be installed! + */ + function _pluginCell($plug, $col, $id) { + if (!isset($this->page[$col])) $this->page[$col] = $this->$plug->td($id); + return $this->_printCell($col, $this->page[$col]); + } + + /** + * Produce XHTML cell output + */ + function _printCell($class, $content) { + if (!$content) { + $content = ' '; + $empty = true; + } else { + $empty = false; + } + $this->doc .= DOKU_TAB.DOKU_TAB.'<td class="'.$class.'">'.$content.'</td>'.DOKU_LF; + return (!$empty); + } + + + /** + * Get default value for an unset element + */ + function _getMeta($key) { + if (!$this->page['exists']) return false; + if (!isset($this->_meta)) $this->_meta = p_get_metadata($this->page['id'], '', METADATA_RENDER_USING_CACHE); + if (is_array($key)) return $this->_meta[$key[0]][$key[1]]; + else return $this->_meta[$key]; + } + +} +// vim:ts=4:sw=4:et: diff --git a/platform/www/lib/plugins/pagelist/lang/ar/lang.php b/platform/www/lib/plugins/pagelist/lang/ar/lang.php new file mode 100644 index 0000000..6a77ad9 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/ar/lang.php @@ -0,0 +1,16 @@ +<?php +/** +* Arabic language file +* +* @license GPL 2 (http://www.gnu.org/licenses/gpl.html) +* @author Muhammad Bashir Al-Noimi <bashir.storm@gmail.com> +* http://www.hali-sy.com +*/ + +// custom language strings for the plugin +$lang['page'] = 'الصفحة'; +$lang['date'] = 'التاريخ'; +$lang['user'] = 'المستخدم'; +$lang['desc'] = 'الوصف'; + +//Setup VIM: ex: et ts=2 enc=utf-8 : diff --git a/platform/www/lib/plugins/pagelist/lang/ar/settings.php b/platform/www/lib/plugins/pagelist/lang/ar/settings.php new file mode 100644 index 0000000..b209277 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/ar/settings.php @@ -0,0 +1,32 @@ +<?php +/** +* Arabic language file +* +* @license GPL 2 (http://www.gnu.org/licenses/gpl.html) +* @author Muhammad Bashir Al-Noimi <bashir.storm@gmail.com> +* http://www.hali-sy.com +*/ + +// for the configuration manager +$lang['style'] = 'شكل جدول قائمة الصفحات'; +$lang['style_o_default'] = 'إفتراضي'; +$lang['style_o_table'] = 'جدول'; +$lang['style_o_list'] = 'قائمة'; + +$lang['showheader'] = 'عرض شريط الترويسة'; +$lang['showdate'] = 'عرض عمود التاريخ'; +$lang['showdate_o_0'] = 'إخفاء'; +$lang['showdate_o_1'] = 'تاريخ الإنشاء'; +$lang['showdate_o_2'] = 'تاريخ التعديل'; +$lang['showuser'] = 'عرض عمود المستخدم'; +$lang['showuser_o_0'] = 'إخفاء'; +$lang['showuser_o_1'] = 'المنشئ'; +$lang['showuser_o_2'] = 'المساهمون'; +$lang['showdesc'] = 'عرض عمود الوصف'; +$lang['showdesc_o_0'] = 'إخفاء'; +$lang['showdesc_o_160'] = 'أكثر عدد 160 محرف'; +$lang['showdesc_o_500'] = 'أكثر عدد 500 محرف'; +$lang['showcomments'] = 'عرض عمود التعليقات'; +$lang['showtags'] = 'عرض عمود الأقسامn'; + +//Setup VIM: ex: et ts=2 enc=utf-8 : diff --git a/platform/www/lib/plugins/pagelist/lang/bg/lang.php b/platform/www/lib/plugins/pagelist/lang/bg/lang.php new file mode 100644 index 0000000..05881d1 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/bg/lang.php @@ -0,0 +1,14 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Kiril <neohidra@gmail.com> + */ +$lang['page'] = 'Страница'; +$lang['date'] = 'Дата'; +$lang['user'] = 'Потребител'; +$lang['desc'] = 'Описание'; +$lang['diff'] = 'Разлики'; +$lang['diff_title'] = 'Покажи разликите с текущата версия'; +$lang['diff_alt'] = 'Покажи разликите с текущата версия'; diff --git a/platform/www/lib/plugins/pagelist/lang/bg/settings.php b/platform/www/lib/plugins/pagelist/lang/bg/settings.php new file mode 100644 index 0000000..22f8787 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/bg/settings.php @@ -0,0 +1,32 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Kiril <neohidra@gmail.com> + */ +$lang['style'] = 'Стил'; +$lang['style_o_default'] = 'стандартен'; +$lang['style_o_table'] = 'табличен'; +$lang['style_o_list'] = 'таблица/списък'; +$lang['style_o_simple'] = 'списък'; +$lang['showheader'] = 'Показване на заглавния ред'; +$lang['showdate'] = 'Показване на колона за дата'; +$lang['showdate_o_0'] = 'скрий'; +$lang['showdate_o_1'] = 'дата на създаване'; +$lang['showdate_o_2'] = 'дата на редактиране'; +$lang['showuser'] = 'Показване на колона за потребител'; +$lang['showuser_o_0'] = 'скрий'; +$lang['showuser_o_1'] = 'създател'; +$lang['showuser_o_2'] = 'допринесли'; +$lang['showdesc'] = 'Показване на колона за описание'; +$lang['showdesc_o_0'] = 'скрий'; +$lang['showdesc_o_160'] = 'максимум 160 символа'; +$lang['showdesc_o_500'] = 'максимум 500 символа'; +$lang['showcomments'] = 'Показвай колона за коментари (изисква приставката Discussion)'; +$lang['showlinkbacks'] = 'Показвай колона за linkbacks (изисква приставката Linkback )'; +$lang['showtags'] = 'Показвай колона за етикети (изисква приставката Tag)'; +$lang['showfirsthl'] = 'Показвай първото заглавие вместо името на страницата'; +$lang['showdiff'] = 'Показвай линк към страница с разликите'; +$lang['sort'] = 'Сортиране на страниците по име на страница'; +$lang['rsort'] = 'Обратен ред на сортиране по име на страница'; diff --git a/platform/www/lib/plugins/pagelist/lang/ckb/lang.php b/platform/www/lib/plugins/pagelist/lang/ckb/lang.php new file mode 100644 index 0000000..bc62a67 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/ckb/lang.php @@ -0,0 +1,14 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author qezwan <qezwan@gmail.com> + */ +$lang['page'] = 'پەڕە'; +$lang['date'] = 'بەروار'; +$lang['user'] = 'بەکارهێنەر'; +$lang['desc'] = 'وەسف'; +$lang['diff'] = 'جیاوازیەکان'; +$lang['diff_title'] = 'جیاوازیەکان نیشان بدە بۆ پێداچوونەوەکانی ئێستا'; +$lang['diff_alt'] = 'جیاوازیەکان نیشان بدە بۆ پێداچوونەوەکانی ئێستا'; diff --git a/platform/www/lib/plugins/pagelist/lang/ckb/settings.php b/platform/www/lib/plugins/pagelist/lang/ckb/settings.php new file mode 100644 index 0000000..54ebf7e --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/ckb/settings.php @@ -0,0 +1,33 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author qezwan <qezwan@gmail.com> + */ +$lang['style'] = 'شێوازی لیستی لاپەڕە'; +$lang['style_o_default'] = 'بنەڕەت'; +$lang['style_o_table'] = 'خشتە'; +$lang['style_o_list'] = 'خشتە/لیست'; +$lang['style_o_simple'] = 'لیستی سادە'; +$lang['showheader'] = 'پیشاندانی هێڵی ناونیشان'; +$lang['showdate'] = 'ستوونی بەروار پیشان بدە'; +$lang['showdate_o_0'] = 'بشارەوە'; +$lang['showdate_o_1'] = 'بەرواری دروست کردن'; +$lang['showdate_o_2'] = 'بەرواری هەموارکردن'; +$lang['showuser'] = 'ستوونی بەکارهێنەر نیشان بدە'; +$lang['showuser_o_0'] = 'بشارەوە'; +$lang['showuser_o_1'] = 'دروستکەر'; +$lang['showuser_o_2'] = 'بەشداران'; +$lang['showdesc'] = 'پیشاندانی ستوونی وەسف'; +$lang['showdesc_o_0'] = 'بشارەوە'; +$lang['showdesc_o_160'] = 'زۆرینە. 160 نووسە'; +$lang['showdesc_o_500'] = 'زۆرینە. 500 نووسە'; +$lang['showcomments'] = 'ستوونی سەرنجەکان نیشان بدە (پێوەکراوی گفتوگۆ پێویستە)'; +$lang['showlinkbacks'] = 'ستوونی linkback نیشان بدە (پێوەکراوی Linkback پێویستە)'; +$lang['showtags'] = 'نیشاندانی ستوونی تاگەکان (تاگی پێوەکراو پێویستە)'; +$lang['showfirsthl'] = 'یەکەم سەردێڕ نیشان بدە لەجیاتی ناوی لاپەڕەکە'; +$lang['showimage'] = 'پیشاندانی ستوونی وێنە (پێوەکراوی Pageimage پێویستە)'; +$lang['showdiff'] = 'نیشاندانی لینک بۆ لاپەڕەی جیاکراوە'; +$lang['sort'] = 'پۆلێنکردنی پەڕەکان بەپێی ناوی لاپەڕە'; +$lang['rsort'] = 'پێچەوانەکردنی لاپەڕەکان بەپێی ناوی لاپەڕە'; diff --git a/platform/www/lib/plugins/pagelist/lang/cs/lang.php b/platform/www/lib/plugins/pagelist/lang/cs/lang.php new file mode 100644 index 0000000..1873bc3 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/cs/lang.php @@ -0,0 +1,15 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Lukas Zapletal <lukas.zapletal at gmail dot com> + * @author Roman Svoboda <svoboro1@fel.cvut.cz> + */ +$lang['page'] = 'Stránka'; +$lang['date'] = 'Datum'; +$lang['user'] = 'Uživatel'; +$lang['desc'] = 'Popis'; +$lang['diff'] = 'Rozdíly'; +$lang['diff_title'] = 'Zobrazit rozdíly vůči aktuální verzi'; +$lang['diff_alt'] = 'Zobrazit rozdíly vůči aktuální verzi'; diff --git a/platform/www/lib/plugins/pagelist/lang/cs/settings.php b/platform/www/lib/plugins/pagelist/lang/cs/settings.php new file mode 100644 index 0000000..b605cdc --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/cs/settings.php @@ -0,0 +1,36 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Petr Kajzar <petr.kajzar@centrum.cz> + * @author Lukas Zapletal <lukas.zapletal at gmail dot com> + * @author Jaroslav Lichtblau <jlichtblau@seznam.cz> + * @author Roman Svoboda <svoboro1@fel.cvut.cz> + */ +$lang['style'] = 'Styl seznamu stránek'; +$lang['style_o_default'] = 'implicitní'; +$lang['style_o_table'] = 'tabulka'; +$lang['style_o_list'] = 'seznam'; +$lang['style_o_simple'] = 'jednoduchý seznam'; +$lang['showheader'] = 'zobrazovat čáru pod nadpisem'; +$lang['showdate'] = 'zobrazovat sloupec s datem'; +$lang['showdate_o_0'] = 'nezobrazovat'; +$lang['showdate_o_1'] = 'datum vytvoření'; +$lang['showdate_o_2'] = 'datum poslední změny'; +$lang['showuser'] = 'zobrazovat sloupec s uživatelem'; +$lang['showuser_o_0'] = 'nezobrazovat'; +$lang['showuser_o_1'] = 'autor'; +$lang['showuser_o_2'] = 'přispěvovatelé'; +$lang['showdesc'] = 'zobrazovat sloupec s popisem'; +$lang['showdesc_o_0'] = 'nezobrazovat'; +$lang['showdesc_o_160'] = 'max. 160 znaků'; +$lang['showdesc_o_500'] = 'max. 500 znaků'; +$lang['showcomments'] = 'zobrazovat sloupec s komentáři (vyžadován Discussion plugin)'; +$lang['showlinkbacks'] = 'zobrazit linkback sloupec (vyžaduje modul Linkback)'; +$lang['showtags'] = 'zobrazovat sloupec s tagy (vyžadován Tag plugin)'; +$lang['showfirsthl'] = 'zobrazit první nadpis místo jména stránky'; +$lang['showimage'] = 'zobrazovat sloupec s obrázkem (nutný plugin Pageimage)'; +$lang['showdiff'] = 'zobrazit odkaz na stránku diff'; +$lang['sort'] = 'řadit stránky dle jejich jména'; +$lang['rsort'] = 'řadit stránky zpětně dle jejich jména'; diff --git a/platform/www/lib/plugins/pagelist/lang/cy/lang.php b/platform/www/lib/plugins/pagelist/lang/cy/lang.php new file mode 100644 index 0000000..576af32 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/cy/lang.php @@ -0,0 +1,14 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Alan Davies <ben.brynsadler@gmail.com> + */ +$lang['page'] = 'Tudalen'; +$lang['date'] = 'Dyddiad'; +$lang['user'] = 'Defnyddiwr'; +$lang['desc'] = 'Disgrifiad'; +$lang['diff'] = 'Gwahaniaethau'; +$lang['diff_title'] = 'Dangos gwahaniaethau i adolygiadau cyfredol'; +$lang['diff_alt'] = 'Dangos gwahaniaethau i adolygiadau cyfredol'; diff --git a/platform/www/lib/plugins/pagelist/lang/cy/settings.php b/platform/www/lib/plugins/pagelist/lang/cy/settings.php new file mode 100644 index 0000000..2846321 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/cy/settings.php @@ -0,0 +1,32 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Alan Davies <ben.brynsadler@gmail.com> + */ +$lang['style'] = 'Arddull y rhestr tudalennau'; +$lang['style_o_default'] = 'diofyn'; +$lang['style_o_table'] = 'tabl'; +$lang['style_o_list'] = 'tabl/rhestr'; +$lang['style_o_simple'] = 'rhestr syml'; +$lang['showheader'] = 'dangos llinell pennawd'; +$lang['showdate'] = 'dangos colofn dyddiad'; +$lang['showdate_o_0'] = 'cyddio'; +$lang['showdate_o_1'] = 'dyddiad creu'; +$lang['showdate_o_2'] = 'dyddiad newid'; +$lang['showuser'] = 'dangos colofn defnyddiwr'; +$lang['showuser_o_0'] = 'cuddio'; +$lang['showuser_o_1'] = 'crëwr'; +$lang['showuser_o_2'] = 'cyfranwyr'; +$lang['showdesc'] = 'dangos colofn disgrifiad'; +$lang['showdesc_o_0'] = 'cuddio'; +$lang['showdesc_o_160'] = 'uchaf. 160 nod'; +$lang['showdesc_o_500'] = 'uchaf. 500 nod'; +$lang['showcomments'] = 'dangos colofn sylwadau (angen Ategyn \'Discussion\')'; +$lang['showlinkbacks'] = 'dangos colofn olgysylltiadau (angen Ategyn \'Linkback\')'; +$lang['showtags'] = 'dangos colofn tagiau (angen Ategyn \'Tag\')'; +$lang['showfirsthl'] = 'dangos y pennawd cyntaf yn hytrach nag enw\'r dudalen'; +$lang['showdiff'] = 'dangos y ddolen i\'r dudalen gwahaniaethau'; +$lang['sort'] = 'trefnu tudalennau gan enw tudalen'; +$lang['rsort'] = 'cildroi trefnu tudalennau gan enw tudalen'; diff --git a/platform/www/lib/plugins/pagelist/lang/da/lang.php b/platform/www/lib/plugins/pagelist/lang/da/lang.php new file mode 100644 index 0000000..2e37a4a --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/da/lang.php @@ -0,0 +1,14 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Jacob Palm <jacobpalmdk@icloud.com> + */ +$lang['page'] = 'Side'; +$lang['date'] = 'Dato'; +$lang['user'] = 'Bruger'; +$lang['desc'] = 'Beskrivelse'; +$lang['diff'] = 'Forskelle'; +$lang['diff_title'] = 'Vis forskelle fra nuværende revisioner'; +$lang['diff_alt'] = 'Vis forskelle fra nuværende revisioner'; diff --git a/platform/www/lib/plugins/pagelist/lang/da/settings.php b/platform/www/lib/plugins/pagelist/lang/da/settings.php new file mode 100644 index 0000000..2f9bd7a --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/da/settings.php @@ -0,0 +1,33 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Jacob Palm <jacobpalmdk@icloud.com> + */ +$lang['style'] = 'Stil til sideliste'; +$lang['style_o_default'] = 'standard'; +$lang['style_o_table'] = 'tabel'; +$lang['style_o_list'] = 'tabel/liste'; +$lang['style_o_simple'] = 'simpel liste'; +$lang['showheader'] = 'vis overskriftslinje'; +$lang['showdate'] = 'vis datokolonne'; +$lang['showdate_o_0'] = 'skjul'; +$lang['showdate_o_1'] = 'oprettelsesdato'; +$lang['showdate_o_2'] = 'ændringsdato'; +$lang['showuser'] = 'vis brugerkolonne'; +$lang['showuser_o_0'] = 'skjul'; +$lang['showuser_o_1'] = 'forfatter'; +$lang['showuser_o_2'] = 'bidragsydere'; +$lang['showdesc'] = 'vis beskrivelseskolonne'; +$lang['showdesc_o_0'] = 'skjul'; +$lang['showdesc_o_160'] = 'maksimalt 160 tegn'; +$lang['showdesc_o_500'] = 'maksimalt 500 tegn'; +$lang['showcomments'] = 'vis kommentarkolonne (Diskussion udvidelse påkrævet)'; +$lang['showlinkbacks'] = 'vis linkback kolonne (Linkback udvidelse påkrævet)'; +$lang['showtags'] = 'vis tagkolonne (Tag udvidelse påkrævet)'; +$lang['showfirsthl'] = 'vis første overskrift i stedet for sidenavn'; +$lang['showimage'] = 'vis billedkolonne (Pageimage plugin påkrævet)'; +$lang['showdiff'] = 'vis link til difference siden'; +$lang['sort'] = 'sorter sider efter sidenavn'; +$lang['rsort'] = 'sorter sider omvendt efter sidenavn'; diff --git a/platform/www/lib/plugins/pagelist/lang/de-informal/lang.php b/platform/www/lib/plugins/pagelist/lang/de-informal/lang.php new file mode 100644 index 0000000..adcba6b --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/de-informal/lang.php @@ -0,0 +1,14 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author F. Mueller-Donath <j.felix@mueller-donath.de> + */ +$lang['page'] = 'Seite'; +$lang['date'] = 'Datum'; +$lang['user'] = 'Benutzer'; +$lang['desc'] = 'Beschreibung'; +$lang['diff'] = 'Unterschiede'; +$lang['diff_title'] = 'Zeige Unterschiede zur aktuellen Version'; +$lang['diff_alt'] = 'Zeige Unterschiede zur aktuellen Version'; diff --git a/platform/www/lib/plugins/pagelist/lang/de-informal/settings.php b/platform/www/lib/plugins/pagelist/lang/de-informal/settings.php new file mode 100644 index 0000000..eb73719 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/de-informal/settings.php @@ -0,0 +1,33 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author F. Mueller-Donath <j.felix@mueller-donath.de> + */ +$lang['style'] = 'Stil der Seitenlisten'; +$lang['style_o_default'] = 'Standard'; +$lang['style_o_table'] = 'Tabelle'; +$lang['style_o_list'] = 'Tabelle/Liste'; +$lang['style_o_simple'] = 'Einfache Liste'; +$lang['showheader'] = 'Tabellenkopf anzeigen'; +$lang['showdate'] = 'Datum anzeigen'; +$lang['showdate_o_0'] = 'ausblenden'; +$lang['showdate_o_1'] = 'Erstellungsdatum'; +$lang['showdate_o_2'] = 'Änderungsdatum'; +$lang['showuser'] = 'Benutzer anzeigen'; +$lang['showuser_o_0'] = 'ausblenden'; +$lang['showuser_o_1'] = 'Ersteller'; +$lang['showuser_o_2'] = 'Beitragende'; +$lang['showdesc'] = 'Beschreibung anzeigen'; +$lang['showdesc_o_0'] = 'ausblenden'; +$lang['showdesc_o_160'] = 'max. 160 Zeichen'; +$lang['showdesc_o_500'] = 'max. 500 Zeichen'; +$lang['showcomments'] = 'Kommentare anzeigen (Discussion Plugin wird benötigt)'; +$lang['showlinkbacks'] = 'Linkbacks anzeigen (Linkback Plugin wird benötigt)'; +$lang['showtags'] = 'Tags anzeigen (Tag Plugin wird benötigt)'; +$lang['showfirsthl'] = 'Erste Überschrift anstatt des Seitennamens anzeigen'; +$lang['showimage'] = 'Bild anzeigen (Pageimage Plugin wird benötigt)'; +$lang['showdiff'] = 'Link auf Diff-Seite anzeigen'; +$lang['sort'] = 'Seiten alphabetisch nach Namen sortieren'; +$lang['rsort'] = 'Seiten in umgekehrter alphabetischer Reihenfolge nach Namen sortieren'; diff --git a/platform/www/lib/plugins/pagelist/lang/de/lang.php b/platform/www/lib/plugins/pagelist/lang/de/lang.php new file mode 100644 index 0000000..74c3660 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/de/lang.php @@ -0,0 +1,16 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Esther Brunner <wikidesign@gmail.com> + * @author Dominik Eckelmann <deckelmann@gmail.com> + * @author e-dschungel <github@e-dschungel.de> + */ +$lang['page'] = 'Seite'; +$lang['date'] = 'Datum'; +$lang['user'] = 'Benutzer'; +$lang['desc'] = 'Beschreibung'; +$lang['diff'] = 'Unterschiede'; +$lang['diff_title'] = 'Zeige Unterschiede zur aktuellen Version'; +$lang['diff_alt'] = 'Zeige Unterschiede zur aktuellen Version'; diff --git a/platform/www/lib/plugins/pagelist/lang/de/settings.php b/platform/www/lib/plugins/pagelist/lang/de/settings.php new file mode 100644 index 0000000..7805f74 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/de/settings.php @@ -0,0 +1,35 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Esther Brunner <wikidesign@gmail.com> + * @author Dominik Eckelmann <deckelmann@gmail.com> + * @author e-dschungel <github@e-dschungel.de> + */ +$lang['style'] = 'Stil der Seitenlisten'; +$lang['style_o_default'] = 'Standard'; +$lang['style_o_table'] = 'Tabelle'; +$lang['style_o_list'] = 'Tabelle/Liste'; +$lang['style_o_simple'] = 'Einfache Liste'; +$lang['showheader'] = 'Tabellenkopf anzeigen'; +$lang['showdate'] = 'Datum anzeigen'; +$lang['showdate_o_0'] = 'ausblenden'; +$lang['showdate_o_1'] = 'Erstellungsdatum'; +$lang['showdate_o_2'] = 'Änderungsdatum'; +$lang['showuser'] = 'Benutzer anzeigen'; +$lang['showuser_o_0'] = 'ausblenden'; +$lang['showuser_o_1'] = 'Ersteller'; +$lang['showuser_o_2'] = 'Beitragende'; +$lang['showdesc'] = 'Beschreibung anzeigen'; +$lang['showdesc_o_0'] = 'ausblenden'; +$lang['showdesc_o_160'] = 'max. 160 Zeichen'; +$lang['showdesc_o_500'] = 'max. 500 Zeichen'; +$lang['showcomments'] = 'Kommentare anzeigen (Discussion Plugin wird benötigt)'; +$lang['showlinkbacks'] = 'Linkbacks anzeigen (Linkback Plugin wird benötigt)'; +$lang['showtags'] = 'Tags anzeigen (Tag Plugin wird benötigt)'; +$lang['showfirsthl'] = 'Erste Überschrift anstatt des Seitennamens anzeigen'; +$lang['showimage'] = 'Bild anzeigen (Pageimage Plugin wird benötigt)'; +$lang['showdiff'] = 'Link auf Diff-Seite anzeigen'; +$lang['sort'] = 'Seiten alphabetisch nach Namen sortieren'; +$lang['rsort'] = 'Seiten in umgekehrter alphabetischer Reihenfolge nach Namen sortieren'; diff --git a/platform/www/lib/plugins/pagelist/lang/en/lang.php b/platform/www/lib/plugins/pagelist/lang/en/lang.php new file mode 100644 index 0000000..241b285 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/en/lang.php @@ -0,0 +1,17 @@ +<?php +/** + * English language file + * + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * @author Esther Brunner <wikidesign@gmail.com> + */ + +// custom language strings for the plugin +$lang['page'] = 'Page'; +$lang['date'] = 'Date'; +$lang['user'] = 'User'; +$lang['desc'] = 'Description'; +$lang['diff'] = 'Differences'; +$lang['diff_title'] = 'Show differences to current revisions'; +$lang['diff_alt'] = 'Show differences to current revisions'; +//Setup VIM: ex: et ts=2 enc=utf-8 : diff --git a/platform/www/lib/plugins/pagelist/lang/en/settings.php b/platform/www/lib/plugins/pagelist/lang/en/settings.php new file mode 100644 index 0000000..87ee834 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/en/settings.php @@ -0,0 +1,38 @@ +<?php +/** + * English language file + * + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * @author Esther Brunner <wikidesign@gmail.com> + */ + +// for the configuration manager +$lang['style'] = 'Style of pagelist'; +$lang['style_o_default'] = 'default'; +$lang['style_o_table'] = 'table'; +$lang['style_o_list'] = 'table/list'; +$lang['style_o_simple'] = 'simple list'; + +$lang['showheader'] = 'show heading line'; +$lang['showdate'] = 'show date column'; +$lang['showdate_o_0'] = 'hide'; +$lang['showdate_o_1'] = 'creation date'; +$lang['showdate_o_2'] = 'modification date'; +$lang['showuser'] = 'show user column'; +$lang['showuser_o_0'] = 'hide'; +$lang['showuser_o_1'] = 'creator'; +$lang['showuser_o_2'] = 'contributors'; +$lang['showdesc'] = 'show description column'; +$lang['showdesc_o_0'] = 'hide'; +$lang['showdesc_o_160'] = 'max. 160 chars'; +$lang['showdesc_o_500'] = 'max. 500 chars'; +$lang['showcomments'] = 'show comments column (Discussion Plugin needed)'; +$lang['showlinkbacks'] = 'show linkbacks column (Linkback Plugin needed)'; +$lang['showtags'] = 'show tags column (Tag Plugin needed)'; +$lang['showfirsthl'] = 'show the first headline instead of the page name'; +$lang['showimage'] = 'show image column (Pageimage Plugin needed)'; +$lang['showdiff'] = 'show link to the diff page'; +$lang['sort'] = 'sort pages by pagename'; +$lang['rsort'] = 'reverse sort pages by pagename'; + +//Setup VIM: ex: et ts=2 : diff --git a/platform/www/lib/plugins/pagelist/lang/eo/lang.php b/platform/www/lib/plugins/pagelist/lang/eo/lang.php new file mode 100644 index 0000000..a1e6ee4 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/eo/lang.php @@ -0,0 +1,15 @@ +<?php +/** + * Esperanta dosiero + * + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * @author Felipe Castro <fefcas@yahoo.com.br> + */ + +// persona lingvo-cxenoj por la ilero (plugin) +$lang['page'] = 'Paĝo'; +$lang['date'] = 'Dato'; +$lang['user'] = 'Uzulo'; +$lang['desc'] = 'Priskribo'; + +//Setup VIM: ex: et ts=2 enc=utf-8 : diff --git a/platform/www/lib/plugins/pagelist/lang/eo/settings.php b/platform/www/lib/plugins/pagelist/lang/eo/settings.php new file mode 100644 index 0000000..7a9ffb7 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/eo/settings.php @@ -0,0 +1,31 @@ +<?php +/** + * Esperanta dosiero + * + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * @author Felipe Castro <fefcas@yahoo.com.br> + */ + +// por la agordo-administrilo +$lang['style'] = 'Estilo de la tabelo por la paĝlistoj'; +$lang['style_o_default'] = 'aprioro'; +$lang['style_o_table'] = 'tabelo'; +$lang['style_o_list'] = 'listo'; + +$lang['showheader'] = 'montri kaplinion'; +$lang['showdate'] = 'montri kolumnon pri dato'; +$lang['showdate_o_0'] = 'kaŝi'; +$lang['showdate_o_1'] = 'dato de kreo'; +$lang['showdate_o_2'] = 'dato de modifo'; +$lang['showuser'] = 'montri kolumnon pri uzulo'; +$lang['showuser_o_0'] = 'kaŝi'; +$lang['showuser_o_1'] = 'kreinto'; +$lang['showuser_o_2'] = 'kontribuantoj'; +$lang['showdesc'] = 'montri kolumnon por priskribo'; +$lang['showdesc_o_0'] = 'kaŝi'; +$lang['showdesc_o_160'] = 'maks. 160 signaĵoj'; +$lang['showdesc_o_500'] = 'maks. 500 signaĵoj'; +$lang['showcomments'] = 'montri kolumnon pri komentoj ("Discussion Plugin" bezonatas)'; +$lang['showtags'] = 'montri kolumnon pri etikedoj ("Tag Plugin" bezonatas)'; + +//Setup VIM: ex: et ts=2 enc=utf-8 : diff --git a/platform/www/lib/plugins/pagelist/lang/es/lang.php b/platform/www/lib/plugins/pagelist/lang/es/lang.php new file mode 100644 index 0000000..98824cb --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/es/lang.php @@ -0,0 +1,15 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Herman Fabián Sandoval Manrique <hfsandovalm@emzac.com> + * @author Domingo Redal <docxml@gmail.com> + */ +$lang['page'] = 'Página'; +$lang['date'] = 'Fecha'; +$lang['user'] = 'Usuario'; +$lang['desc'] = 'Descripción'; +$lang['diff'] = 'Diferencias'; +$lang['diff_title'] = 'Mostrar diferencias con la revisión actual'; +$lang['diff_alt'] = 'Mostrar diferencias con la revisión actual'; diff --git a/platform/www/lib/plugins/pagelist/lang/es/settings.php b/platform/www/lib/plugins/pagelist/lang/es/settings.php new file mode 100644 index 0000000..62cafa6 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/es/settings.php @@ -0,0 +1,34 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Herman Fabián Sandoval Manrique <hfsandovalm@emzac.com> + * @author Domingo Redal <docxml@gmail.com> + */ +$lang['style'] = 'estilo de las tablas pagelist'; +$lang['style_o_default'] = 'por defecto'; +$lang['style_o_table'] = 'tabla'; +$lang['style_o_list'] = 'lista'; +$lang['style_o_simple'] = 'lista simple'; +$lang['showheader'] = 'mostrar línea de encabezado'; +$lang['showdate'] = 'mostrar columna de fecha'; +$lang['showdate_o_0'] = 'ocultar'; +$lang['showdate_o_1'] = 'fecha de creación'; +$lang['showdate_o_2'] = 'fecha de modificación'; +$lang['showuser'] = 'mostrar columna de usuario'; +$lang['showuser_o_0'] = 'ocultar'; +$lang['showuser_o_1'] = 'creador'; +$lang['showuser_o_2'] = 'contributors'; +$lang['showdesc'] = 'mostrar columna de descripción'; +$lang['showdesc_o_0'] = 'ocultar'; +$lang['showdesc_o_160'] = 'max. 160 caracteres'; +$lang['showdesc_o_500'] = 'max. 500 caracteres'; +$lang['showcomments'] = 'mostrar columna de comentarios (Se requiere el plugin Discussion)'; +$lang['showlinkbacks'] = 'mostrar columna LinkBacks (Se requiere el plugin Linkback)'; +$lang['showtags'] = 'mostrar columna de etiquetas (Se requiere el plugin Tag)'; +$lang['showfirsthl'] = 'mostrar el primer título en lugar del nombre de la página'; +$lang['showimage'] = 'mostrar la columna de la imagen (plugin Pageimage necesario)'; +$lang['showdiff'] = 'muestra el enlace a la página de diferencias'; +$lang['sort'] = 'ordenar páginas por nombre de la página'; +$lang['rsort'] = 'orden descendente de páginas por nombre de la página'; diff --git a/platform/www/lib/plugins/pagelist/lang/fr/lang.php b/platform/www/lib/plugins/pagelist/lang/fr/lang.php new file mode 100644 index 0000000..9ddb894 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/fr/lang.php @@ -0,0 +1,15 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Olivier Humbert <trebmuh@tuxfamily.org> + * @author Laynee <seedfloyd@gmail.com> + */ +$lang['page'] = 'Page'; +$lang['date'] = 'Date'; +$lang['user'] = 'Utilisateur'; +$lang['desc'] = 'Description'; +$lang['diff'] = 'Différences'; +$lang['diff_title'] = 'Différences avec la version précédente'; +$lang['diff_alt'] = 'Différences avec la version précédente'; diff --git a/platform/www/lib/plugins/pagelist/lang/fr/settings.php b/platform/www/lib/plugins/pagelist/lang/fr/settings.php new file mode 100644 index 0000000..31a7e0d --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/fr/settings.php @@ -0,0 +1,36 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Olivier Humbert <trebmuh@tuxfamily.org> + * @author Nicolas Friedli <nicolas@theologique.ch> + * @author Laynee <seedfloyd@gmail.com> + * @author Schplurtz le Déboulonné <schplurtz@laposte.net> + */ +$lang['style'] = 'Type de présentation'; +$lang['style_o_default'] = 'par défault'; +$lang['style_o_table'] = 'tableau'; +$lang['style_o_list'] = 'liste'; +$lang['style_o_simple'] = 'liste simple'; +$lang['showheader'] = 'Afficher l\'entête'; +$lang['showdate'] = 'Afficher la colonne "date"'; +$lang['showdate_o_0'] = 'ne pas montrer'; +$lang['showdate_o_1'] = 'date de création'; +$lang['showdate_o_2'] = 'date de modification'; +$lang['showuser'] = 'Afficher la colonne "utilisateur"'; +$lang['showuser_o_0'] = 'ne pas montrer'; +$lang['showuser_o_1'] = 'créateur'; +$lang['showuser_o_2'] = 'contributeurs'; +$lang['showdesc'] = 'Afficher la colonne "description"'; +$lang['showdesc_o_0'] = 'ne pas montrer'; +$lang['showdesc_o_160'] = '160 caractères maximum'; +$lang['showdesc_o_500'] = '500 caractères maximum'; +$lang['showcomments'] = 'Afficher la colonne "commentaires" (plugin Discussion requis)'; +$lang['showlinkbacks'] = 'Afficher la colonne "liens de retour" (plugin Linkback requis)'; +$lang['showtags'] = 'Afficher la colonne "tags" (plugin Tag requis)'; +$lang['showfirsthl'] = 'Afficher le titre de premier niveau plutôt que le nom de page ("pagename")'; +$lang['showimage'] = 'Afficher la colonne image (greffon Pageimage nécessaire)'; +$lang['showdiff'] = 'Afficher un lien vers les anciennes révisions'; +$lang['sort'] = 'Trier selon le nom de page ("pagename")'; +$lang['rsort'] = 'Inverser le tri selon le nom des pages'; diff --git a/platform/www/lib/plugins/pagelist/lang/hu/lang.php b/platform/www/lib/plugins/pagelist/lang/hu/lang.php new file mode 100644 index 0000000..94eceaf --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/hu/lang.php @@ -0,0 +1,14 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author DelD <deldadam@gmail.com> + */ +$lang['page'] = 'Oldal'; +$lang['date'] = 'Dátum'; +$lang['user'] = 'Felhasználó'; +$lang['desc'] = 'Leírás'; +$lang['diff'] = 'Eltérések'; +$lang['diff_title'] = 'Aktuális revizíóhoz képesti eltérések kijelzése'; +$lang['diff_alt'] = 'Aktuális revizíóhoz képesti eltérések kijelzése'; diff --git a/platform/www/lib/plugins/pagelist/lang/hu/settings.php b/platform/www/lib/plugins/pagelist/lang/hu/settings.php new file mode 100644 index 0000000..7f585a1 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/hu/settings.php @@ -0,0 +1,32 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author DelD <deldadam@gmail.com> + */ +$lang['style'] = 'Oldallista stílusa'; +$lang['style_o_default'] = 'Alapértelmezett'; +$lang['style_o_table'] = 'Táblázat'; +$lang['style_o_list'] = 'Táblázat/lista'; +$lang['style_o_simple'] = 'Egyszerű lista'; +$lang['showheader'] = 'Címsor megjelenítése'; +$lang['showdate'] = 'Dátum oszlopának megjelenítése'; +$lang['showdate_o_0'] = 'Elrejtés'; +$lang['showdate_o_1'] = 'Készítés dátuma'; +$lang['showdate_o_2'] = 'Módosítás dátuma'; +$lang['showuser'] = 'Felhasználó oszlopának megjelenítése'; +$lang['showuser_o_0'] = 'Elrejtés'; +$lang['showuser_o_1'] = 'Készítette'; +$lang['showuser_o_2'] = 'Hozzájárulók'; +$lang['showdesc'] = 'Leírás oszlopának megjelenítése'; +$lang['showdesc_o_0'] = 'Elrejtés'; +$lang['showdesc_o_160'] = 'max. 160 karakter'; +$lang['showdesc_o_500'] = 'max. 500 karakter'; +$lang['showcomments'] = 'Hozzászólás oszlopának megjelenítése (Discussion bővítmény kell hozzá)'; +$lang['showlinkbacks'] = 'Visszamutató hivatkozások oszlopának megjelenítése (Linkback bővítmény kell hozzá)'; +$lang['showtags'] = 'Címke oszlopának megjelenítése (Tag bővítmény kell hozzá)'; +$lang['showfirsthl'] = 'Első címsor megjelenítése az oldal neve helyett'; +$lang['showdiff'] = 'Hivatkozás megjelenítése a korábbi változatok oldalára'; +$lang['sort'] = 'Sorrend az oldalak neve szerint'; +$lang['rsort'] = 'Fordított sorrend az oldalak neve szerint'; diff --git a/platform/www/lib/plugins/pagelist/lang/it/lang.php b/platform/www/lib/plugins/pagelist/lang/it/lang.php new file mode 100644 index 0000000..24eca96 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/it/lang.php @@ -0,0 +1,17 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Roberto Bellingeri <bellingeri@netguru.it> + * @author Willy <willygroup@gmail.com> + * @author OlatusRooc <olatusrooc@virgilio.it> + * @author Marco Fenoglio <marco.fenoglio@gmail.com> + */ +$lang['page'] = 'Pagina'; +$lang['date'] = 'Data'; +$lang['user'] = 'Utente'; +$lang['desc'] = 'Descrizione'; +$lang['diff'] = 'Differenze'; +$lang['diff_title'] = 'Mostra le differenze alle revisioni correnti'; +$lang['diff_alt'] = 'Mostra le differenze alle revisioni correnti'; diff --git a/platform/www/lib/plugins/pagelist/lang/it/settings.php b/platform/www/lib/plugins/pagelist/lang/it/settings.php new file mode 100644 index 0000000..9550231 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/it/settings.php @@ -0,0 +1,36 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Roberto Bellingeri <bellingeri@netguru.it> + * @author Willy <willygroup@gmail.com> + * @author OlatusRooc <olatusrooc@virgilio.it> + * @author Marco Fenoglio <marco.fenoglio@gmail.com> + */ +$lang['style'] = 'Stile delle tabelle di pagelist'; +$lang['style_o_default'] = 'default'; +$lang['style_o_table'] = 'tabella'; +$lang['style_o_list'] = 'tabella/elenco'; +$lang['style_o_simple'] = 'elenco semplice'; +$lang['showheader'] = 'mostra la riga delle intestazioni'; +$lang['showdate'] = 'mostra la colonna della data'; +$lang['showdate_o_0'] = 'nascondi'; +$lang['showdate_o_1'] = 'data di creazione'; +$lang['showdate_o_2'] = 'data di modifica'; +$lang['showuser'] = 'mostra la colonna user'; +$lang['showuser_o_0'] = 'nascondi'; +$lang['showuser_o_1'] = 'creatore'; +$lang['showuser_o_2'] = 'contributi'; +$lang['showdesc'] = 'mostra la colonna con la descrizione'; +$lang['showdesc_o_0'] = 'nascondi'; +$lang['showdesc_o_160'] = 'max. 160 caratteri'; +$lang['showdesc_o_500'] = 'max. 500 caratteri'; +$lang['showcomments'] = 'mostra la colonna dei commenti (devi avere installato il Plugin Discussion)'; +$lang['showlinkbacks'] = 'mostra la colonna dei linkback (devi avere installato il Plugin Linkback)'; +$lang['showtags'] = 'mostra la colonna dei tag (devi avere installato il Plugin Tag)'; +$lang['showfirsthl'] = 'mostrare la prima riga di intestazione anziché il nome della pagina'; +$lang['showimage'] = 'mostra la colonna immagine (è richiesto il plugin Pageimage)'; +$lang['showdiff'] = 'mostra link alla pagina delle differenze'; +$lang['sort'] = 'ordina le pagine per nome di pagina'; +$lang['rsort'] = 'ordina le pagine al contrario per nome di pagina'; diff --git a/platform/www/lib/plugins/pagelist/lang/ja/lang.php b/platform/www/lib/plugins/pagelist/lang/ja/lang.php new file mode 100644 index 0000000..34e1882 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/ja/lang.php @@ -0,0 +1,15 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Ikuo Obataya <cxx05051@nifty.com> + * @author Hideaki SAWADA <chuno@live.jp> + */ +$lang['page'] = 'ページ'; +$lang['date'] = '日付'; +$lang['user'] = 'ユーザー'; +$lang['desc'] = '内容'; +$lang['diff'] = '差分'; +$lang['diff_title'] = '現在のリビジョンとの差分を表示'; +$lang['diff_alt'] = '現在のリビジョンとの差分を表示'; diff --git a/platform/www/lib/plugins/pagelist/lang/ja/settings.php b/platform/www/lib/plugins/pagelist/lang/ja/settings.php new file mode 100644 index 0000000..21610e5 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/ja/settings.php @@ -0,0 +1,35 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author HokkaidoPerson <dosankomali@yahoo.co.jp> + * @author Ikuo Obataya <cxx05051@nifty.com> + * @author Hideaki SAWADA <chuno@live.jp> + */ +$lang['style'] = 'ページ一覧の表示形式'; +$lang['style_o_default'] = '横罫線のみのテーブル(デフォルト)'; +$lang['style_o_table'] = 'テーブル'; +$lang['style_o_list'] = 'リスト'; +$lang['style_o_simple'] = 'シンプルな一覧'; +$lang['showheader'] = 'ヘッダ行を表示する'; +$lang['showdate'] = '日付を表示する'; +$lang['showdate_o_0'] = '非表示'; +$lang['showdate_o_1'] = '作成日'; +$lang['showdate_o_2'] = '変更日'; +$lang['showuser'] = 'ユーザーを表示する'; +$lang['showuser_o_0'] = '非表示'; +$lang['showuser_o_1'] = '作成者'; +$lang['showuser_o_2'] = '編集者'; +$lang['showdesc'] = '内容を表示する'; +$lang['showdesc_o_0'] = '非表示'; +$lang['showdesc_o_160'] = '最大 160 文字'; +$lang['showdesc_o_500'] = '最大 500 文字'; +$lang['showcomments'] = 'コメントを表示する(Discussionプラグインが必要)'; +$lang['showlinkbacks'] = 'リンクバックを表示する(Linkbackプラグインが必要)'; +$lang['showtags'] = 'タグを表示する(Tagプラグインが必要)'; +$lang['showfirsthl'] = '最初の見出しをページ名とする'; +$lang['showimage'] = '画像カラムを表示(Pageimageプラグインが必要)'; +$lang['showdiff'] = '差分ページヘのリンクを表示'; +$lang['sort'] = 'ページ名でソート'; +$lang['rsort'] = 'ページ名で逆ソート'; diff --git a/platform/www/lib/plugins/pagelist/lang/ko/lang.php b/platform/www/lib/plugins/pagelist/lang/ko/lang.php new file mode 100644 index 0000000..1a9a432 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/ko/lang.php @@ -0,0 +1,16 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author S.C.Yoo <dryoo@live.com> + * @author Myeongjin <aranet100@gmail.com> + * @author Erial <erial2@gmail.com> + */ +$lang['page'] = '문서'; +$lang['date'] = '날짜'; +$lang['user'] = '사용자'; +$lang['desc'] = '설명'; +$lang['diff'] = '차이'; +$lang['diff_title'] = '현재 판과의 차이 보기'; +$lang['diff_alt'] = '현재 판과의 차이 보기'; diff --git a/platform/www/lib/plugins/pagelist/lang/ko/settings.php b/platform/www/lib/plugins/pagelist/lang/ko/settings.php new file mode 100644 index 0000000..e08495d --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/ko/settings.php @@ -0,0 +1,34 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author S.C.Yoo <dryoo@live.com> + * @author Myeongjin <aranet100@gmail.com> + * @author Erial <erial2@gmail.com> + */ +$lang['style'] = 'Pagelist의 스타일'; +$lang['style_o_default'] = '기본값'; +$lang['style_o_table'] = '표'; +$lang['style_o_list'] = '표/목록'; +$lang['style_o_simple'] = '간단한 목록'; +$lang['showheader'] = '제목 줄 보이기'; +$lang['showdate'] = '날짜 열 보이기'; +$lang['showdate_o_0'] = '숨기기'; +$lang['showdate_o_1'] = '만든 날짜'; +$lang['showdate_o_2'] = '수정한 날짜'; +$lang['showuser'] = '사용자 열 보이기'; +$lang['showuser_o_0'] = '숨기기'; +$lang['showuser_o_1'] = '만든이'; +$lang['showuser_o_2'] = '기여자'; +$lang['showdesc'] = '설명 열 보이기'; +$lang['showdesc_o_0'] = '숨기기'; +$lang['showdesc_o_160'] = '최대 160 문자'; +$lang['showdesc_o_500'] = '최대 500 문자'; +$lang['showcomments'] = '댓글 열 보이기 (Discussion 플러그인 필요)'; +$lang['showlinkbacks'] = '링크백 열 보이기 (Linkback 플러그인 필요)'; +$lang['showtags'] = '태그 열 보이기 (Tag 플러그인 필요)'; +$lang['showfirsthl'] = '문서 이름 대신 첫 제목줄 보이기'; +$lang['showdiff'] = '문서 차이 보기 링크 보이기'; +$lang['sort'] = '문서 이름 순으로 정렬'; +$lang['rsort'] = '문서 이름 역순으로 정렬'; diff --git a/platform/www/lib/plugins/pagelist/lang/nl/lang.php b/platform/www/lib/plugins/pagelist/lang/nl/lang.php new file mode 100644 index 0000000..ac707ba --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/nl/lang.php @@ -0,0 +1,16 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Esther Brunner <wikidesign@gmail.com> + * @author Mark C. Prins <mprins@users.sf.net> + * @author Hugo Smet <hugo.smet@scarlet.be> + */ +$lang['page'] = 'Pagina'; +$lang['date'] = 'Datum'; +$lang['user'] = 'Gebruiker'; +$lang['desc'] = 'Beschrijving'; +$lang['diff'] = 'Verschillen'; +$lang['diff_title'] = 'Toon verschillen met de huidige revisies'; +$lang['diff_alt'] = 'Toon verschillen met de huidige revisies'; diff --git a/platform/www/lib/plugins/pagelist/lang/nl/settings.php b/platform/www/lib/plugins/pagelist/lang/nl/settings.php new file mode 100644 index 0000000..5cf1e7b --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/nl/settings.php @@ -0,0 +1,36 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Esther Brunner <wikidesign@gmail.com> + * @author Mark C. Prins <mprins@users.sf.net> + * @author Hugo Smet <hugo.smet@scarlet.be> + * @author mark prins <mprins@users.sf.net> + */ +$lang['style'] = 'Stijl van de pagelist tabellen'; +$lang['style_o_default'] = 'default'; +$lang['style_o_table'] = 'tabel'; +$lang['style_o_list'] = 'lijst'; +$lang['style_o_simple'] = 'Eenvoudige lijst'; +$lang['showheader'] = 'toon kopregel'; +$lang['showdate'] = 'toon datum kolom'; +$lang['showdate_o_0'] = 'verberg'; +$lang['showdate_o_1'] = 'aanmaakdatum'; +$lang['showdate_o_2'] = 'bewerkingsdatum'; +$lang['showuser'] = 'toon gebruikers kolom'; +$lang['showuser_o_0'] = 'verberg'; +$lang['showuser_o_1'] = 'maker'; +$lang['showuser_o_2'] = 'bijdragers'; +$lang['showdesc'] = 'toon beschrijvingskolom'; +$lang['showdesc_o_0'] = 'verberg'; +$lang['showdesc_o_160'] = 'max. 160 chars.'; +$lang['showdesc_o_500'] = 'max. 500 chars.'; +$lang['showcomments'] = 'toon commentaar kolom (Discussion Plugin benodigd)'; +$lang['showlinkbacks'] = 'toon linkbacks kolom (Linkback Plugin benodigd)'; +$lang['showtags'] = 'toon tags kolom (Tag Plugin benodigd)'; +$lang['showfirsthl'] = 'toon de eerste kopregel in plaats van de pagina naam'; +$lang['showimage'] = 'toon afbeeldingskolom (Pageimage Plugin nodig)'; +$lang['showdiff'] = 'toon link naar verschil pagina'; +$lang['sort'] = 'sorteer paginas op pagina naam'; +$lang['rsort'] = 'sorteer paginas omgekeerd op pagina naam'; diff --git a/platform/www/lib/plugins/pagelist/lang/no/lang.php b/platform/www/lib/plugins/pagelist/lang/no/lang.php new file mode 100644 index 0000000..5700a47 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/no/lang.php @@ -0,0 +1,14 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Arne Hanssen <arne.hanssen@getmail.no> + */ +$lang['page'] = 'Side'; +$lang['date'] = 'Dato'; +$lang['user'] = 'Bruker'; +$lang['desc'] = 'Beskrivelse'; +$lang['diff'] = 'Forskjeller'; +$lang['diff_title'] = 'Vis forskjeller til nåværende versjoner'; +$lang['diff_alt'] = 'Vis forskjeller til nåværende versjoner'; diff --git a/platform/www/lib/plugins/pagelist/lang/no/settings.php b/platform/www/lib/plugins/pagelist/lang/no/settings.php new file mode 100644 index 0000000..446e03f --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/no/settings.php @@ -0,0 +1,32 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Arne Hanssen <arne.hanssen@getmail.no> + */ +$lang['style'] = 'Pagelist-stil'; +$lang['style_o_default'] = 'standard'; +$lang['style_o_table'] = 'tabell'; +$lang['style_o_list'] = 'tabell/liste'; +$lang['style_o_simple'] = 'enkel liste'; +$lang['showheader'] = 'Vis tabellhoder'; +$lang['showdate'] = 'Vis kolonne for dato'; +$lang['showdate_o_0'] = 'skjul'; +$lang['showdate_o_1'] = 'opprettelses dato'; +$lang['showdate_o_2'] = 'dato for endring'; +$lang['showuser'] = 'Vis kolonne for bruker'; +$lang['showuser_o_0'] = 'skjul'; +$lang['showuser_o_1'] = 'opprettet av'; +$lang['showuser_o_2'] = 'bidragsytere'; +$lang['showdesc'] = 'vis kolonne for beskrivelse'; +$lang['showdesc_o_0'] = 'skjul'; +$lang['showdesc_o_160'] = 'maks. 160 tegn'; +$lang['showdesc_o_500'] = 'maks. 500 tegn'; +$lang['showcomments'] = 'Vis kolonne for kommenta (avhengig av Discussion-utvidelse)'; +$lang['showlinkbacks'] = 'Vis kolonne for tilbakelenker (avhengig av Linkback-utvidelse)'; +$lang['showtags'] = 'Vis kolonne for emneknagg (avhengig av Tag-utvidelse)'; +$lang['showfirsthl'] = 'Vis første overskrift istedetfor sidenavn'; +$lang['showdiff'] = 'Vis lenke til siden som viser forskjeller mellom versjoner av siden'; +$lang['sort'] = 'Sorter etter sidenavn'; +$lang['rsort'] = 'Sorter etter sidenavn i omvendt rekkefølge'; diff --git a/platform/www/lib/plugins/pagelist/lang/pt-br/lang.php b/platform/www/lib/plugins/pagelist/lang/pt-br/lang.php new file mode 100644 index 0000000..9c40d21 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/pt-br/lang.php @@ -0,0 +1,15 @@ +<?php
+/**
+ * Arquivo para o português
+ *
+ * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ * @author Sidnei Neves <sidnei@sidnei.org>
+ */
+
+// cadeias customizadas da língua para o plugin
+$lang['page'] = 'Página';
+$lang['date'] = 'Data';
+$lang['user'] = 'Usuário';
+$lang['desc'] = 'Descrição';
+
+//Setup Notepad++ enc=utf-8 :
diff --git a/platform/www/lib/plugins/pagelist/lang/pt-br/settings.php b/platform/www/lib/plugins/pagelist/lang/pt-br/settings.php new file mode 100644 index 0000000..fac69a0 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/pt-br/settings.php @@ -0,0 +1,31 @@ +<?php +/** + * Arquivo para o português + * + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * @author Felipe Castro <fefcas@yahoo.com.br> + */ + +// para o gerenciador de configurações +$lang['style'] = 'Estilo da tabela para a lista de páginas'; +$lang['style_o_default'] = 'original'; +$lang['style_o_table'] = 'tabela'; +$lang['style_o_list'] = 'lista'; + +$lang['showheader'] = 'mostrar cabeçalho'; +$lang['showdate'] = 'mostrar coluna de data'; +$lang['showdate_o_0'] = 'esconder'; +$lang['showdate_o_1'] = 'data de criação'; +$lang['showdate_o_2'] = 'data de modificação'; +$lang['showuser'] = 'mostrar coluna de usuário'; +$lang['showuser_o_0'] = 'esconder'; +$lang['showuser_o_1'] = 'criador'; +$lang['showuser_o_2'] = 'contribuidores'; +$lang['showdesc'] = 'mostrar coluna de descrição'; +$lang['showdesc_o_0'] = 'esconder'; +$lang['showdesc_o_160'] = 'max. 160 caracteres'; +$lang['showdesc_o_500'] = 'max. 500 caracteres'; +$lang['showcomments'] = 'mostrar coluna de comentários (precisa do "Discussion Plugin")'; +$lang['showtags'] = 'mostrar coluna de etiquetas (precisa do "Tag Plugin")'; + +//Setup VIM: ex: et ts=2 enc=utf-8 : diff --git a/platform/www/lib/plugins/pagelist/lang/pt/lang.php b/platform/www/lib/plugins/pagelist/lang/pt/lang.php new file mode 100644 index 0000000..653dbce --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/pt/lang.php @@ -0,0 +1,15 @@ +<?php +/** + * Portuguese language file + * + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * @author Fernando Ribeiro <pinguim.ribeiro@gmail.com> + */ + +// custom language strings for the plugin +$lang['page'] = 'Página'; +$lang['date'] = 'Data'; +$lang['user'] = 'Utilizador'; +$lang['desc'] = 'Descrição'; + +//Setup VIM: ex: et ts=2 enc=utf-8 :
\ No newline at end of file diff --git a/platform/www/lib/plugins/pagelist/lang/pt/settings.php b/platform/www/lib/plugins/pagelist/lang/pt/settings.php new file mode 100644 index 0000000..6d1e1ae --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/pt/settings.php @@ -0,0 +1,35 @@ +<?php +/** + * Portuguese language file + * + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * @author Fernando Ribeiro <pinguim.ribeiro@gmail.com> + */ + +// for the configuration manager +$lang['style'] = 'Estilo da tabela para a lista de páginas'; +$lang['style_o_default'] = 'original'; +$lang['style_o_table'] = 'tabela'; +$lang['style_o_list'] = 'lista'; + +$lang['showheader'] = 'mostrar cabeçalho'; +$lang['showdate'] = 'mostrar coluna de data'; +$lang['showdate_o_0'] = 'esconder'; +$lang['showdate_o_1'] = 'data de criação'; +$lang['showdate_o_2'] = 'data de modificação'; +$lang['showuser'] = 'mostrar coluna de utilizador'; +$lang['showuser_o_0'] = 'esconder'; +$lang['showuser_o_1'] = 'criador'; +$lang['showuser_o_2'] = 'contribuidores'; +$lang['showdesc'] = 'mostrar coluna de descrição'; +$lang['showdesc_o_0'] = 'esconder'; +$lang['showdesc_o_160'] = 'max. 160 caracteres'; +$lang['showdesc_o_500'] = 'max. 500 caracteres'; +$lang['showcomments'] = 'mostrar coluna de comentários (precisa do "Discussion Plugin")'; +$lang['showlinkbacks'] = 'mostrar coluna de linkbacks (Linkback Plugin needed)'; +$lang['showtags'] = 'mostrar coluna de etiquetas (precisa do "Tag Plugin")'; +$lang['showfirsthl'] = 'mostrar o primeiro cabeçalho en veaz do nome da página'; +$lang['sort'] = 'ordenar páginas pelo nome'; +$lang['rsort'] = 'ordenar páginas inversamente pelo nome'; + +//Setup VIM: ex: et ts=2 enc=utf-8 : diff --git a/platform/www/lib/plugins/pagelist/lang/ro/lang.php b/platform/www/lib/plugins/pagelist/lang/ro/lang.php new file mode 100644 index 0000000..233aa09 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/ro/lang.php @@ -0,0 +1,12 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Mircea Simion <mircea.simion@gmail.com> + */ +$lang['page'] = 'Pagina'; +$lang['date'] = 'Data'; +$lang['user'] = 'Utilizator'; +$lang['desc'] = 'Descriere'; +$lang['diff'] = 'Diferente'; diff --git a/platform/www/lib/plugins/pagelist/lang/ro/settings.php b/platform/www/lib/plugins/pagelist/lang/ro/settings.php new file mode 100644 index 0000000..4533108 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/ro/settings.php @@ -0,0 +1,13 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Mircea Simion <mircea.simion@gmail.com> + */ +$lang['style_o_default'] = 'implicit'; +$lang['style_o_table'] = 'tabel'; +$lang['style_o_list'] = 'tabel/lista'; +$lang['style_o_simple'] = 'lista simpla'; +$lang['showdate_o_0'] = 'ascunde'; +$lang['showuser_o_0'] = 'ascunde'; diff --git a/platform/www/lib/plugins/pagelist/lang/ru/lang.php b/platform/www/lib/plugins/pagelist/lang/ru/lang.php new file mode 100644 index 0000000..0653b5b --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/ru/lang.php @@ -0,0 +1,14 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Aleksandr Selivanov <alexgearbox@gmail.com> + */ +$lang['page'] = 'Страница'; +$lang['date'] = 'Дата'; +$lang['user'] = 'Участник'; +$lang['desc'] = 'Описание'; +$lang['diff'] = 'Отличия'; +$lang['diff_title'] = 'Показать отличия от текущей версии'; +$lang['diff_alt'] = 'Показать отличия от текущей версии'; diff --git a/platform/www/lib/plugins/pagelist/lang/ru/settings.php b/platform/www/lib/plugins/pagelist/lang/ru/settings.php new file mode 100644 index 0000000..9c5af24 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/ru/settings.php @@ -0,0 +1,35 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Yuriy Skalko <yuriy.skalko@gmail.com> + * @author Aleksandr Selivanov <alexgearbox@gmail.com> + * @author RainbowSpike <1@2.ru> + */ +$lang['style'] = 'Стиль списка страниц'; +$lang['style_o_default'] = 'по умолчанию'; +$lang['style_o_table'] = 'таблицей'; +$lang['style_o_list'] = 'списком в таблице'; +$lang['style_o_simple'] = 'простым списком'; +$lang['showheader'] = 'Отображать заголовок таблицы/списка'; +$lang['showdate'] = 'Столбец дат'; +$lang['showdate_o_0'] = 'скрыть'; +$lang['showdate_o_1'] = 'дата написания'; +$lang['showdate_o_2'] = 'дата редактирования'; +$lang['showuser'] = 'Столбец имён пользователей'; +$lang['showuser_o_0'] = 'скрыть'; +$lang['showuser_o_1'] = 'автор'; +$lang['showuser_o_2'] = 'соавторы'; +$lang['showdesc'] = 'Столбец описания'; +$lang['showdesc_o_0'] = 'скрыть'; +$lang['showdesc_o_160'] = 'Макс. 160 символов'; +$lang['showdesc_o_500'] = 'Макс. 500 символов'; +$lang['showcomments'] = 'Отображать столбец с комментариями (требуется плагин Discussion)'; +$lang['showlinkbacks'] = 'Отображать столбец с обратными ссылками (требуется плагин Linkback)'; +$lang['showtags'] = 'Отображать столбец с тегами (требуется плагин Tag)'; +$lang['showfirsthl'] = 'Отображать заголовок вместо имени страницы'; +$lang['showimage'] = 'показать столбец изображений (требуется плагин Pageimage)'; +$lang['showdiff'] = 'Отображать ссылку на страницу отличий'; +$lang['sort'] = 'Сортировка страниц по имени'; +$lang['rsort'] = 'Обратная сортировка страниц по имени'; diff --git a/platform/www/lib/plugins/pagelist/lang/sv/lang.php b/platform/www/lib/plugins/pagelist/lang/sv/lang.php new file mode 100644 index 0000000..44515c8 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/sv/lang.php @@ -0,0 +1,14 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Tor Härnqvist <tor@harnqvist.se> + */ +$lang['page'] = 'Sida'; +$lang['date'] = 'Datum'; +$lang['user'] = 'Användare'; +$lang['desc'] = 'Beskrivning'; +$lang['diff'] = 'Skillnader'; +$lang['diff_title'] = 'Visa skillnader mot nuvarande version'; +$lang['diff_alt'] = 'Visa skillnader mot nuvarande version'; diff --git a/platform/www/lib/plugins/pagelist/lang/sv/settings.php b/platform/www/lib/plugins/pagelist/lang/sv/settings.php new file mode 100644 index 0000000..a778e00 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/sv/settings.php @@ -0,0 +1,33 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Tor Härnqvist <tor@harnqvist.se> + */ +$lang['style'] = 'Stil på sidlistning'; +$lang['style_o_default'] = 'standard'; +$lang['style_o_table'] = 'tabell'; +$lang['style_o_list'] = 'tabell/lista'; +$lang['style_o_simple'] = 'enkel lista'; +$lang['showheader'] = 'visa rubrikrad'; +$lang['showdate'] = 'visa datumkolumn'; +$lang['showdate_o_0'] = 'göm'; +$lang['showdate_o_1'] = 'skapandedatum'; +$lang['showdate_o_2'] = 'ändringsdatum'; +$lang['showuser'] = 'visa användarkolumn'; +$lang['showuser_o_0'] = 'göm'; +$lang['showuser_o_1'] = 'skapat av'; +$lang['showuser_o_2'] = 'bidragslämnare'; +$lang['showdesc'] = 'visa kolumn för beskrivning'; +$lang['showdesc_o_0'] = 'göm'; +$lang['showdesc_o_160'] = 'max 160 tecken'; +$lang['showdesc_o_500'] = 'max 500 tecken'; +$lang['showcomments'] = 'visa kolumn för kommentarer (kräver Discussion-plugin)'; +$lang['showlinkbacks'] = 'visa kolumn tillbakalänkingar (kräver Linkback-plugin)'; +$lang['showtags'] = 'visa kolumn för taggar (kräver tagg-plugin)'; +$lang['showfirsthl'] = 'visa den första rubriken istället för sidnamn'; +$lang['showimage'] = 'visa bildkolumn (Pageimage-pluginet krävs)'; +$lang['showdiff'] = 'visa länk till sidan som visar skillnader mellan versioner'; +$lang['sort'] = 'sortera sidor efter sidnamn'; +$lang['rsort'] = 'sortera i omvänd ordning efter sidnamn'; diff --git a/platform/www/lib/plugins/pagelist/lang/tr/lang.php b/platform/www/lib/plugins/pagelist/lang/tr/lang.php new file mode 100644 index 0000000..ed49103 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/tr/lang.php @@ -0,0 +1,15 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Esther Brunner <wikidesign@gmail.com> + * @author İlker R. Kapaç <irifat@gmail.com> + */ +$lang['page'] = 'Sayfa'; +$lang['date'] = 'Tarih'; +$lang['user'] = 'Kullanıcı'; +$lang['desc'] = 'Açıklama'; +$lang['diff'] = 'Farklar'; +$lang['diff_title'] = 'Güncel sürümler ile aradaki farkları göster'; +$lang['diff_alt'] = 'Güncel sürümler ile aradaki farkları göster'; diff --git a/platform/www/lib/plugins/pagelist/lang/tr/settings.php b/platform/www/lib/plugins/pagelist/lang/tr/settings.php new file mode 100644 index 0000000..d3a9425 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/tr/settings.php @@ -0,0 +1,33 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Esther Brunner <wikidesign@gmail.com> + * @author İlker R. Kapaç <irifat@gmail.com> + */ +$lang['style'] = 'Pagelist tablolarının biçimi'; +$lang['style_o_default'] = 'varsayılan'; +$lang['style_o_table'] = 'tablo'; +$lang['style_o_list'] = 'liste'; +$lang['style_o_simple'] = 'basit liste'; +$lang['showheader'] = 'Başlık satırını göster'; +$lang['showdate'] = 'Tarih sütununu göster'; +$lang['showdate_o_0'] = 'gizle'; +$lang['showdate_o_1'] = 'oluşturma tarihi'; +$lang['showdate_o_2'] = 'düzenleme tarihi'; +$lang['showuser'] = 'Kullanıcı sütununu göster'; +$lang['showuser_o_0'] = 'gizle'; +$lang['showuser_o_1'] = 'oluşturan'; +$lang['showuser_o_2'] = 'katkıda bulunanlar'; +$lang['showdesc'] = 'Açıklama sütununu göster'; +$lang['showdesc_o_0'] = 'gizle'; +$lang['showdesc_o_160'] = 'en fazla 160 harf'; +$lang['showdesc_o_500'] = 'en fazla 500 harf'; +$lang['showcomments'] = 'Yorumlar sütununu göster (Discussion eklentisi yüklü olmalıdır)'; +$lang['showlinkbacks'] = 'Geri bağlantılar sütununu göster (Linkback eklentisi yüklü olmalıdır)'; +$lang['showtags'] = 'Etiketler sütununu göster (Tag eklentisi yüklü olmalıdır)'; +$lang['showfirsthl'] = 'Sayfa adı yerine ilk başlığı göster'; +$lang['showdiff'] = 'fark sayfası için bağlantı göster'; +$lang['sort'] = 'Sayfaları, adlarına göre sırala'; +$lang['rsort'] = 'Sayfaları, adlarının tersine göre sırala'; diff --git a/platform/www/lib/plugins/pagelist/lang/uk/lang.php b/platform/www/lib/plugins/pagelist/lang/uk/lang.php new file mode 100644 index 0000000..9224cdf --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/uk/lang.php @@ -0,0 +1,14 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Олексій <alexey.furashev@gmail.com> + */ +$lang['page'] = 'Сторінка'; +$lang['date'] = 'Дата'; +$lang['user'] = 'Користувач'; +$lang['desc'] = 'Опис'; +$lang['diff'] = 'Відмінності'; +$lang['diff_title'] = 'Показати відмінності від поточних змін'; +$lang['diff_alt'] = 'Показати відмінності від поточних змін'; diff --git a/platform/www/lib/plugins/pagelist/lang/uk/settings.php b/platform/www/lib/plugins/pagelist/lang/uk/settings.php new file mode 100644 index 0000000..888e5c2 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/uk/settings.php @@ -0,0 +1,33 @@ +<?php + +/** + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * + * @author Олексій <alexey.furashev@gmail.com> + */ +$lang['style'] = 'Стиль переліку сторінок'; +$lang['style_o_default'] = 'за замовчення'; +$lang['style_o_table'] = 'таблиця'; +$lang['style_o_list'] = 'таблиця/перелік'; +$lang['style_o_simple'] = 'простий перелік'; +$lang['showheader'] = 'показати заголовок'; +$lang['showdate'] = 'показати колонку з датою'; +$lang['showdate_o_0'] = 'сховати'; +$lang['showdate_o_1'] = 'дата створення'; +$lang['showdate_o_2'] = 'дата редагування'; +$lang['showuser'] = 'показати колонку користувача'; +$lang['showuser_o_0'] = 'сховати'; +$lang['showuser_o_1'] = 'автор'; +$lang['showuser_o_2'] = 'помічники'; +$lang['showdesc'] = 'показати колонку з описом'; +$lang['showdesc_o_0'] = 'сховати'; +$lang['showdesc_o_160'] = 'до 160 символів'; +$lang['showdesc_o_500'] = 'до 500 символів'; +$lang['showcomments'] = 'показати колонку з коментарями (має бути встановлений додаток Discussion)'; +$lang['showlinkbacks'] = 'показати колонку з переліком сторінок, що посилаються на цю сторінку (має бути встановлений додаток Linkback)'; +$lang['showtags'] = 'показати колонку з тегами (має бути встановлений додаток Tag)'; +$lang['showfirsthl'] = 'показувати перший заголовок замість назви сторінки'; +$lang['showimage'] = 'показати колонку із зображенням (має бути встановлений додаток Pageimage)'; +$lang['showdiff'] = 'показати посилання на сторінку відмінностей'; +$lang['sort'] = 'сортувати сторінки за назвою'; +$lang['rsort'] = 'сортувати за назвою в зворотному порядку '; diff --git a/platform/www/lib/plugins/pagelist/lang/zh-tw/lang.php b/platform/www/lib/plugins/pagelist/lang/zh-tw/lang.php new file mode 100644 index 0000000..d1c477c --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/zh-tw/lang.php @@ -0,0 +1,15 @@ +<?php
+/**
+ * Traditional Chinese language file
+ *
+ * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ * @author Danny Lin <danny0838@gmail.com>
+ */
+
+// custom language strings for the plugin
+$lang['page'] = '頁面';
+$lang['date'] = '日期';
+$lang['user'] = '使用者';
+$lang['desc'] = '描述';
+
+//Setup VIM: ex: et ts=2 enc=utf-8 :
\ No newline at end of file diff --git a/platform/www/lib/plugins/pagelist/lang/zh-tw/settings.php b/platform/www/lib/plugins/pagelist/lang/zh-tw/settings.php new file mode 100644 index 0000000..50c0b08 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/zh-tw/settings.php @@ -0,0 +1,35 @@ +<?php +/** + * Traditional Chinese language file + * + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * @author Danny Lin <danny0838@gmail.com> + */ + +// for the configuration manager +$lang['style'] = '頁面列表的格式'; +$lang['style_o_default'] = '預設'; +$lang['style_o_table'] = '表格'; +$lang['style_o_list'] = '列表'; + +$lang['showheader'] = '顯示標題列'; +$lang['showdate'] = '顯示日期欄'; +$lang['showdate_o_0'] = '隱藏'; +$lang['showdate_o_1'] = '建立日期'; +$lang['showdate_o_2'] = '修改日期'; +$lang['showuser'] = '顯示使用者欄'; +$lang['showuser_o_0'] = '隱藏'; +$lang['showuser_o_1'] = '建立者'; +$lang['showuser_o_2'] = '貢獻者'; +$lang['showdesc'] = '顯示描述欄'; +$lang['showdesc_o_0'] = '隱藏'; +$lang['showdesc_o_160'] = '最多 160 字元'; +$lang['showdesc_o_500'] = '最多 500 字元'; +$lang['showcomments'] = '顯示意見欄 (需要 Discussion 插件)'; +$lang['showlinkbacks'] = '顯示反向連結欄 (需要 Linkback 插件)'; +$lang['showtags'] = '顯示標籤欄 (需要 Tag 插件)'; +$lang['showfirsthl'] = '顯示第一標題而非頁面名稱'; +$lang['sort'] = '按頁面名稱排序'; +$lang['rsort'] = '按頁面名稱反向排序'; + +//Setup VIM: ex: et ts=2 enc=utf-8 :
\ No newline at end of file diff --git a/platform/www/lib/plugins/pagelist/lang/zh/lang.php b/platform/www/lib/plugins/pagelist/lang/zh/lang.php new file mode 100644 index 0000000..ddcce5c --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/zh/lang.php @@ -0,0 +1,15 @@ +<?php +/** + * Simplified Chinese language file + * + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * @author haobug <qingxianhao@gmail.com> + */ + +// custom language strings for the plugin +$lang['page'] = '页面'; +$lang['date'] = '日期'; +$lang['user'] = '用户'; +$lang['desc'] = '描述'; + +//Setup VIM: ex: et ts=2 enc=utf-8 : diff --git a/platform/www/lib/plugins/pagelist/lang/zh/settings.php b/platform/www/lib/plugins/pagelist/lang/zh/settings.php new file mode 100644 index 0000000..9a4a21b --- /dev/null +++ b/platform/www/lib/plugins/pagelist/lang/zh/settings.php @@ -0,0 +1,35 @@ +<?php +/** + * Simplified Chinese language file + * + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * @author haobug <qingxianhao@gmail.com> + */ + +// for the configuration manager +$lang['style'] = '页面列表的样式'; +$lang['style_o_default'] = '默认'; +$lang['style_o_table'] = '表格'; +$lang['style_o_list'] = '列表'; + +$lang['showheader'] = '显示标题行'; +$lang['showdate'] = '显示日期列'; +$lang['showdate_o_0'] = '隐藏'; +$lang['showdate_o_1'] = '创建日期'; +$lang['showdate_o_2'] = '修改日期'; +$lang['showuser'] = '显示用户列'; +$lang['showuser_o_0'] = '隐藏'; +$lang['showuser_o_1'] = '创建者'; +$lang['showuser_o_2'] = '贡献者'; +$lang['showdesc'] = '显示描述列'; +$lang['showdesc_o_0'] = '隐藏'; +$lang['showdesc_o_160'] = '最多 160 个字符'; +$lang['showdesc_o_500'] = '最多 500 个字符'; +$lang['showcomments'] = '显示评论列 (需要 Discussion 插件)'; +$lang['showlinkbacks'] = '显示反向链接列 (需要 Linkback 插件)'; +$lang['showtags'] = '显示标签列 (需要 Tag 插件)'; +$lang['showfirsthl'] = '显示第一个标题而非页面名称'; +$lang['sort'] = '按页面名称排序'; +$lang['rsort'] = '按页面名称逆序排序'; + +//Setup VIM: ex: et ts=2 : diff --git a/platform/www/lib/plugins/pagelist/manager.dat b/platform/www/lib/plugins/pagelist/manager.dat new file mode 100644 index 0000000..8560890 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/manager.dat @@ -0,0 +1,2 @@ +downloadurl=https://github.com/dokufreaks/plugin-pagelist/archive/master.zip +installed=Thu, 17 Mar 2022 13:03:49 +0000 diff --git a/platform/www/lib/plugins/pagelist/plugin.info.txt b/platform/www/lib/plugins/pagelist/plugin.info.txt new file mode 100644 index 0000000..340001c --- /dev/null +++ b/platform/www/lib/plugins/pagelist/plugin.info.txt @@ -0,0 +1,8 @@ +# General Plugin Info do not edit +base pagelist +author Matthias Schulte, Michael Hamann, Michael Klier, Gina Haeussge +email michael@content-space.de +date 2020-09-27 +name Pagelist Plugin +desc Lists pages in a nice formatted way +url http://www.dokuwiki.org/plugin:pagelist diff --git a/platform/www/lib/plugins/pagelist/style.css b/platform/www/lib/plugins/pagelist/style.css new file mode 100644 index 0000000..71961d8 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/style.css @@ -0,0 +1,57 @@ +div.dokuwiki table.pagelist, +div.dokuwiki table.ul { + border: 0; + padding: 0; + border-spacing: 0; + margin-bottom: 1em; + border-collapse: collapse; +} + +div.dokuwiki table.pagelist tr { + border-top: 1px solid __border__; + border-bottom: 1px solid __border__; +} + +div.dokuwiki table.pagelist th, +div.dokuwiki table.pagelist td { + padding: 1px 1em 1px 0; + border: 0; +} + +div.dokuwiki table.ul th, +div.dokuwiki table.ul td { + padding: 0 1em 0 0; + border: 0; +} + +div.dokuwiki table.ul ul { + margin: 0 0 0 1.5em; +} + +div.dokuwiki table.pagelist th, +div.dokuwiki table.ul th { + background-color: __background_alt__; +} + +div.dokuwiki th.page, +div.dokuwiki th.date, +div.dokuwiki th.user, +div.dokuwiki th.desc, +div.dokuwiki th.comments, +div.dokuwiki th.linkbacks, +div.dokuwiki th.tags, +div.dokuwiki th.diff, +div.dokuwiki td.date, +div.dokuwiki td.user, +div.dokuwiki td.desc, +div.dokuwiki td.comments, +div.dokuwiki td.linkbacks, +div.dokuwiki td.tags, +div.dokuwiki td.diff { + color: __text_neu__; + font-size: 80%; +} + +div.dokuwiki td.date { + text-align: left; +} diff --git a/platform/www/lib/plugins/pagelist/syntax.php b/platform/www/lib/plugins/pagelist/syntax.php new file mode 100644 index 0000000..a3ea0b2 --- /dev/null +++ b/platform/www/lib/plugins/pagelist/syntax.php @@ -0,0 +1,106 @@ +<?php +/** + * Pagelist Plugin: lists pages + * + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * @author Esther Brunner <wikidesign@gmail.com> + */ + +class syntax_plugin_pagelist extends DokuWiki_Syntax_Plugin { + + function getType() { return 'substition';} + function getPType() { return 'block';} + function getSort() { return 168; } + + /** + * Connect pattern to lexer + */ + function connectTo($mode) { + $this->Lexer->addSpecialPattern('<pagelist.+?</pagelist>', $mode, 'plugin_pagelist'); + } + + /** + * Handle the match + */ + function handle($match, $state, $pos, Doku_Handler $handler) { + global $ID; + + $match = substr($match, 9, -11); // strip markup + list($flags, $match) = explode('>', $match, 2); + $flags = explode('&', substr($flags, 1)); + $items = explode('*', $match); + + $pages = array(); + $c = count($items); + for ($i = 0; $i < $c; $i++) { + if (!preg_match('/\[\[(.+?)\]\]/', $items[$i], $match)) continue; + list($id, $title, $description) = explode('|', $match[1], 3); + list($id, $section) = explode('#', $id, 2); + if (!$id) $id = $ID; + resolve_pageid(getNS($ID), $id, $exists); + + // page has an image title + if (($title) && (preg_match('/\{\{(.+?)\}\}/', $title, $match))) { + list($image, $title) = explode('|', $match[1], 2); + list($ext, $mime) = mimetype($image); + if (!substr($mime, 0, 5) == 'image') $image = ''; + $pages[] = array( + 'id' => $id, + 'section' => cleanID($section), + 'title' => trim($title), + 'titleimage' => trim($image), + 'description' => trim($description), // Holds the added parameter for own descriptions + 'exists' => $exists, + ); + + // text title (if any) + } else { + $pages[] = array( + 'id' => $id, + 'section' => cleanID($section), + 'title' => trim($title), + 'description' => trim($description), // Holds the added parameter for own descriptions + 'exists' => $exists, + ); + } + } + return array($flags, $pages); + } + + /** + * Create output + */ + function render($mode, Doku_Renderer $renderer, $data) { + list($flags, $pages) = $data; + + // for XHTML output + if ($mode == 'xhtml') { + if (!$my =& plugin_load('helper', 'pagelist')) return false; + $my->setFlags($flags); + $my->startList(); + + if($my->sort || $my->rsort) { // pages should be sorted by pagename + $keys = array(); + $fnc = create_function('$a, $b', 'return strcmp(noNS($a["id"]), noNS($b["id"])); '); + usort($pages, $fnc); + // rsort is true - revserse sort the pages + if($my->rsort) krsort($pages); + } + + foreach($pages as $page) { + $my->addPage($page); + } + $renderer->doc .= $my->finishList(); + return true; + + // for metadata renderer + } elseif ($mode == 'metadata') { + foreach ($pages as $page) { + $renderer->meta['relation']['references'][$page['id']] = $page['exists']; + } + return true; + } + return false; + } +} +// vim:ts=4:sw=4:et: |