remove anewsystem

its old and not used, lets remove it.
This commit is contained in:
Marcel Hollerbach 2020-03-01 09:16:11 +01:00
parent 12aa2b9407
commit 48ce697727
22 changed files with 0 additions and 2821 deletions

View File

@ -1,8 +0,0 @@
# PLUGIN INFO - DO NOT EDIT!
author Taggic
email taggic@t-online.de
date 2016-06-02
name anewssystem
desc provides an easy to handle, page based news system
url http://www.dokuwiki.org/plugin:anewssystem

View File

@ -1,28 +0,0 @@
/**
* anewssystem Plugin:
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Taggic <taggic@t-online.de>
*/
Intro
------
Syntax
-------
Installation
------------
Just download and extract it as folder “anewssystem” into your “\lib\plugins”
directory or put the link into the Plugin Manager for automated installation:
https://github.com/Taggic/anewssystem/zipball/master
Configuration
--------------
Examples/Usage
--------------
for example please refer to: http://www.fristercons.de/fcon/doku.php?id=news:descr&#examples_usage

View File

@ -1 +0,0 @@
2016-06-02

View File

@ -1,234 +0,0 @@
<?php
/******************************************************************************
**
** action script related to anewssystem
** Action to display the archive page
*/
/******************************************************************************
** must run within Dokuwiki
**/
if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../../').'/');
if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');
require_once(DOKU_PLUGIN.'action.php');
/******************************************************************************/
class action_plugin_anewssystem extends DokuWiki_Action_Plugin {
var $parameter = "";
/**
* return some info
*/
function getInfo(){
return array(
'author' => 'Taggic',
'email' => 'Taggic@t-online.de',
'date' => '2016-06-02',
'name' => 'News archive page (action plugin component)',
'desc' => 'to show the News aechive alone on a page.',
'url' => 'http://www.dokuwiki.org/plugin:anewssystem',
);
}
/******************************************************************************
** Register its handlers with the dokuwiki's event controller
*/
function register(Doku_Event_Handler $controller) {
$controller->register_hook('ACTION_ACT_PREPROCESS', 'BEFORE', $this, '_handle_act', array());
$controller->register_hook('TPL_ACT_UNKNOWN', 'BEFORE', $this, 'output', array());
}
/******************************************************************************
** Handle the action
*/
function _handle_act(&$event, $param) {
if($event->data !== 'shownewsarchive') { return; }
$event->preventDefault(); // https://www.dokuwiki.org/devel:events#event_object
return true;
}
/******************************************************************************
** Generate output
*/
function output(&$event, $param) {
if($event->data !== 'shownewsarchive') { return; }
global $ID;
$target = $this->getConf('news_datafile');
$targetpage = htmlspecialchars(trim($target));
$prefix = 'anss';
$del = 'anss_del';
$cut_prefx = 'news_input_';
$allnewsdata1 = $this->getConf('news_output');
$allnewsdata = wl( (isset($allnewsdata1) ? $allnewsdata1 : 'news:newsdata') );
$i = strripos($allnewsdata, ":");
$news_root = substr($allnewsdata, 0, $i);
// necessary for the back link of a show one article per page (SOAPP)
if(stripos($_GET['archive'],'archive')!== false) $ans_conf['param'] = $_GET['archive'];
$_GET['archive']="";
// 1. read template (plugins/anewssystem/template.php)
$template = file_get_contents(DOKU_PLUGIN.'anewssystem/tpl/newstemplate.txt');
/*------- add news action part -----------------------------------------*/
$post_prefix = $_POST["xs-".$prefix];
$delete_record = $_POST["anss_del_record"];
$delete_anchor = $_POST["anss_del_anchor"];
// date ... consider all news of a defined month of a year (mm.yyyy, empty per default)
// qty ... limits the number of news headlines starting with most recent (either integer or all, default:all)
// tag ... consider all news where news article owns the given tag string (empty per default) tag delimiter is "|"
// style ... css style string as used in HTML (except quotation marks) for the outer element div
// class ... css style for usecase toc, page or box
// ho ... headlinesonly will list the news headlines without timestamp and author (on/off, default: off)
// check if page ID was called with tag filter
// $tmp .= ','.$_GET['tag']; // this will overrule the page syntax setting
if(strlen($tmp)<2) {
// strip parameter to get set of add parameter
$tmp = substr($ans_conf['param'],strlen('allnews'));
}
$split_array = explode(',',$tmp); // one or multiple tag filters: $prefs[1] ... [n]
$archive_options = array();
// split parameter into array with key and data
foreach ($split_array as $item) {
list($key, $value) = split("=",trim($item),2);
$archive_options = $archive_options + array($key => $value);
}
if(($archive_options['qty']=='') || ($archive_options['qty']<1)) $archive_options['qty'] = 'all';
if(array_key_exists('class',$archive_options) === false) $archive_options['class'] = 'page';
if(array_key_exists('ho',$archive_options) === false) $archive_options['ho'] = 'off';
$page = wl( (isset($targetpage) ? $targetpage : 'news:newsdata') );
// load raw news file (e.g. news:newsdata.txt)
$av = 0;
$oldrecord = rawWiki($targetpage);
// split the news articles
$newsitems = explode("======",$oldrecord);
$info = array();
// get the headline level from config
$yh_level = $this->getConf('yh_level');
$mh_level = $this->getConf('mh_level');
$h_level = $this->getConf('h_level');
// 1. read news file (e.g. news:newsdata.txt)
foreach($newsitems as $article) {
// split news block into line items
$article_array = explode("\n * ",$article);
unset($article_array[0]);
// 2. create output
// split line items into key and data
$aFlag = false; // flag: start date value exists and start is not in future
foreach ($article_array as $item) {
list($key, $value) = split(":",trim($item),2);
$tag_flag = false;
if($key=='anchor') {
$anchor = trim($value);
}
elseif(($key=='start') && strtotime(trim($value)) < time()) {
$value = date($this->getConf('d_format'), strtotime($value));
$news_date = '<span class="news_date_a"> ('. $value;
// get month and year to compare with $archive_options['date']
if(isset($archive_options['date']) && ($archive_options['date'] !== date('m.Y',strtotime($value)))) break;
$aFlag = true;
}
// head has to be before the link in the template !
elseif($key=='head'){
$news_head = trim($value);
}
elseif($key=='subtitle'){
$news_subtitle = '<br /><span class="news_subtitle">'.trim($value).'</span>'.NL;
}
elseif($key=='link'){
$news_head = '<a href="'.$value.'" id="'.$value.'" name="'.$value.'">'. trim($news_head) .'</a>'.NL;
}
elseif($key=='author'){
$news_date .= ', '. $value;
}
elseif(($key=='tags') && (isset($archive_options['tag']) !== false)) {
// echo $value.'<br />';
$tags = explode(',',$value);
foreach($tags as $tag) {
if(($tag!==false) && (stripos($archive_options['tag'],trim($tag))!==false)){
$tag_flag = true;
break;
}
}
}
}
$news_date .= ')</span>'.NL;
if((isset($archive_options['tag']) === false) || (strlen($archive_options['tag']) <2)) $tag_flag = true;
if (($aFlag === true) && ($tag_flag === true)) {
//stop adding older news articles if quantity is reached
// echo intval($archive_options['qty']).' >= '.$qty.'<br>';
$qty++;
if(($qty > intval($archive_options['qty'])) && ($archive_options['qty']!=='all')) break;
// list all news stories as headline linked to the story itself
$elt = explode(",",$news_date);
$elt[0] = trim(strip_tags(str_replace('(','',$elt[0])));
$elt[0] = date('F,Y',strtotime($elt[0]));
list($new_month,$new_year) = explode(',',$elt[0]);
// idea is that all stories are created one after the other
// and the order within newsdata is according the start date
// manipulation of Start/Perishing date possible but not expected
// !!! There is no sort algorithm for year and month implemented !!!
// to do such would lead into re-development of the plugin
if(($old_year !== $new_year) && (($archive_options['class']==='page') || ($archive_options['ho']==='off'))) {
if(trim($old_year) !== '') $close_ytag = "</li></ul>".NL;
$output .= $close_ytag.'<ul><li class="level1"><div class="li">'.$new_year.'</div><ul class="n_box">';
$old_year = $new_year;
}
if(($old_month !== $new_month) && (($archive_options['class']==='page') || ($archive_options['ho']==='off'))) {
if(trim($old_month) !== '') $close_mtag = "</li></ul>".NL;
$output .= $close_mtag.'<ul><li class="level2"><div class="li">'.$new_month.'</div>';
$old_month = $new_month;
}
if($archive_options['ho']==='on') $news_date='';
else $news_date .= '<br />';
if(($archive_options['tag']!==false) && ($archive_options['tag']!=='off') && ($archive_options['class']=='page')) $output .= '<div class="archive_item">'.trim($news_date).$news_head.$news_subtitle.'</div>'.NL;
else $output .= '<ul><li class="level3"><div class="li">'.trim($news_date).$news_head.'</div></li></ul>'.NL;
$close_ytag = "";
$close_mtag = "";
$anchor = "";
$news_date = "";
$news_head = "";
$news_subtitle = "";
$tags = "";
}
}
$blink_id = "news_items";
$img_ID = "img_archive__toc";
$archive_lnkTitle = $this->getConf('lnk_newsarchive');
if($archive_lnkTitle=='') $archive_lnkTitle = "News Archive";
$backlink = '<a href="javascript:history.back(-1)">'.$this->getLang('lnk_back').'</a>';
$backlink .= '<span class="anss_sep"> &nbsp;|&nbsp;</span>
<a href="'.DOKU_URL.'doku.php?id='.$this->getConf('news_output').'">'.$this->getLang('allnews').' &raquo;</a>';
$output = '<div class="backlinkDiv" style="font-size:.85em;">'.$backlink.'</div><br />'.NL.
'<div class="archive_section" id="news_archive_head" style="'.$archive_options['style'].'">
<div id="news_items">
'.$output.'
</div>
</div>'.NL.
'<div class="backlinkDiv" style="font-size:.85em;">'.$backlink.'</div><br />'.NL;
echo $output;
$event->preventDefault();
}
/******************************************************************************/
}

View File

@ -1,42 +0,0 @@
// Copyright 2001 Idocs.com
// Distribute this script freely, but keep this notice in place
// backlink object initializer
function backlink() {
this.text = 'Go Back';
this.type = 'link';
this.write = backlink_write;
this.form = true;
}
// write method
function backlink_write() {
if (! window.history) return;
if (window.history.length == 0)return;
this.type = this.type.toLowerCase();
if (this.type == 'button') {
if (this.form)
document.write('<FORM>');
document.write('<INPUT TYPE=BUTTON onClick="history.back(-1)" VALUE="', this.text, '"');
if (this.otheratts) document.write(' ', this.otheratts);
document.write('>');
if (this.form)document.write('<\/FORM>');
} else {
document.write('<A HREF="javascript:history.back(-1)"');
if (this.otheratts)
document.write(' ', this.otheratts);
document.write('>');
if (this.type == 'image' || this.type == 'img') {
document.write('<IMG SRC="', this.src, '" ALT="', this.text, '"');
if (this.width) document.write(' WIDTH=', this.width);
if (this.height) document.write(' HEIGHT=', this.height);
if (this.otherimgatts) document.write(' ', this.otherimgatts);
document.write(' BORDER=0>');
}
else
document.write(this.text);
document.write('<\/A>');
}
}

View File

@ -1,24 +0,0 @@
<?php
/**
* Options for the anewssystem plugin
*/
$conf['d_format'] = 'd. M Y';
$conf['news_datafile'] = 'news:newsdata';
$conf['news_output'] = 'news:allnewsdata';
$conf['prev_length'] = '500';
$conf['newsflash_link'] = 1;
$conf['hide_anchorID'] = 1;
$conf['wysiwyg'] = 0;
$conf['soapp'] = 0; // soapp = show one article per page (instead of all news)
$conf['yh_level'] = 2; // headline level for year cluster of All News articles
$conf['mh_level'] = 3; // headline level for month clusetr of All News articles
$conf['h_level'] = 4; // headline level for All News articles itself
$conf['lnk_newsarchive'] = 'News Archive &raquo;'; // text for archive link
$conf['act_delim'] = '&'; // newer templates / dw-version seem to use questionmark instead of ampersand at action links
$conf['convert'] = 'http://fadeout.de/thumbshot-pro/?scale=3&url=%s&effect=2'; //the online service, which converts the linked page into a preview picture
// http://www.thumbshots.de/cgi-bin/show.cgi?url=%s
// http://images.websnapr.com/?size=s&nocache=81&url=%s
// http://www.artviper.net/screenshots/screener.php?sdx=1024&sdy=768&w=120&h=80&q=100&url=%s
// http://image.thumber.de/?size=XXL&amp;url=%s
// http://fadeout.de/thumbshot-pro/?scale=3&url=%s&effect=2

View File

@ -1,22 +0,0 @@
<?php
/**
* Metadata for configuration manager plugin
* Additions for the anewssystem plugin
*
* @author Taggic@t-online.de
*/
$meta['d_format'] = array('string');
$meta['news_datafile'] = array('string');
$meta['news_output'] = array('string');
$meta['prev_length'] = array('string');
$meta['newsflash_link'] = array('onoff');
$meta['hide_anchorID'] = array('onoff');
$meta['wysiwyg'] = array('onoff');
$meta['soapp'] = array('onoff'); // soapp = show one article per page (instead of all news)
$meta['yh_level'] = array('string'); // headline level for year clusetr of All News articles
$meta['mh_level'] = array('string'); // headline level for month clusetr of All News articles
$meta['h_level'] = array('string'); // headline level for All News articles
$meta['lnk_newsarchive']= array('string'); // text for archive link
$meta['act_delim'] = array('string'); // newer templates / dw-version seem to use questionmark instead of ampersand at action links
$meta['convert'] = array('string');

View File

@ -1,137 +0,0 @@
//Drop Down/ Overlapping Content: http://www.dynamicdrive.com
//**Updated: Dec 19th, 07': Added ability to dynamically populate a Drop Down content using an external file (Ajax feature)
//**Updated: Feb 29th, 08':
//1) Added ability to reveal drop down content via "click" of anchor link (instead of default "mouseover")
//2) Added ability to disable drop down content from auto hiding when mouse rolls out of it
//3) Added hidediv(id) public function to directly hide drop down div dynamically
//**Updated: Sept 11th, 08': Fixed bug whereby drop down content isn't revealed onClick of anchor in Safari/ Google Chrome
//**Updated: April 9th, 10': Minor change
var dropdowncontent={
disableanchorlink: true, //when user clicks on anchor link, should link itself be disabled (always true if "revealbehavior" above set to "click")
hidedivmouseout: [true, 200], //Set hiding behavior within Drop Down DIV itself: [hide_div_onmouseover?, miliseconds_before_hiding]
ajaxloadingmsg: "Loading content. Please wait...", //HTML to show while ajax page is being feched, if applicable
ajaxbustcache: true, //Bust cache when fetching Ajax pages?
getposOffset:function(what, offsettype){
return (what.offsetParent)? what[offsettype]+this.getposOffset(what.offsetParent, offsettype) : what[offsettype]
},
isContained:function(m, e){
var e=window.event || e
var c=e.relatedTarget || ((e.type=="mouseover")? e.fromElement : e.toElement)
while (c && c!=m)try {c=c.parentNode} catch(e){c=m}
if (c==m)
return true
else
return false
},
show:function(anchorobj, subobj, e){
if (!this.isContained(anchorobj, e) || (e && e.type=="click")){
var e=window.event || e
if (e.type=="click" && subobj.style.visibility=="visible"){
subobj.style.visibility="hidden"
return
}
var horizontaloffset=(subobj.dropposition[0]=="left")? -(subobj.offsetWidth-anchorobj.offsetWidth) : 0 //calculate user added horizontal offset
var verticaloffset=(subobj.dropposition[1]=="top")? -subobj.offsetHeight : anchorobj.offsetHeight //calculate user added vertical offset
subobj.style.left=this.getposOffset(anchorobj, "offsetLeft") + horizontaloffset + "px"
subobj.style.top=this.getposOffset(anchorobj, "offsetTop")+verticaloffset+"px"
subobj.style.clip=(subobj.dropposition[1]=="top")? "rect(auto auto auto 0)" : "rect(0 auto 0 0)" //hide drop down box initially via clipping
subobj.style.visibility="visible"
subobj.startTime=new Date().getTime()
subobj.contentheight=parseInt(subobj.offsetHeight)
if (typeof window["hidetimer_"+subobj.id]!="undefined") //clear timer that hides drop down box?
clearTimeout(window["hidetimer_"+subobj.id])
this.slideengine(subobj, (subobj.dropposition[1]=="top")? "up" : "down")
}
},
curveincrement:function(percent){
return (1-Math.cos(percent*Math.PI)) / 2 //return cos curve based value from a percentage input
},
slideengine:function(obj, direction){
var elapsed=new Date().getTime()-obj.startTime //get time animation has run
if (elapsed<obj.glidetime){ //if time run is less than specified length
var distancepercent=(direction=="down")? this.curveincrement(elapsed/obj.glidetime) : 1-this.curveincrement(elapsed/obj.glidetime)
var currentclip=(distancepercent*obj.contentheight)+"px"
obj.style.clip=(direction=="down")? "rect(0 auto "+currentclip+" 0)" : "rect("+currentclip+" auto auto 0)"
window["glidetimer_"+obj.id]=setTimeout(function(){dropdowncontent.slideengine(obj, direction)}, 10)
}
else{ //if animation finished
obj.style.clip="rect(0 auto auto 0)"
}
},
hide:function(activeobj, subobj, e){
if (!dropdowncontent.isContained(activeobj, e)){
window["hidetimer_"+subobj.id]=setTimeout(function(){
subobj.style.visibility="hidden"
subobj.style.left=subobj.style.top=0
clearTimeout(window["glidetimer_"+subobj.id])
}, dropdowncontent.hidedivmouseout[1])
}
},
hidediv:function(subobjid){
document.getElementById(subobjid).style.visibility="hidden"
},
ajaxconnect:function(pageurl, divId){
var page_request = false
var bustcacheparameter=""
if (window.XMLHttpRequest) // if Mozilla, IE7, Safari etc
page_request = new XMLHttpRequest()
else if (window.ActiveXObject){ // if IE6 or below
try {
page_request = new ActiveXObject("Msxml2.XMLHTTP")
}
catch (e){
try{
page_request = new ActiveXObject("Microsoft.XMLHTTP")
}
catch (e){}
}
}
else
return false
document.getElementById(divId).innerHTML=this.ajaxloadingmsg //Display "fetching page message"
page_request.onreadystatechange=function(){dropdowncontent.loadpage(page_request, divId)}
if (this.ajaxbustcache) //if bust caching of external page
bustcacheparameter=(pageurl.indexOf("?")!=-1)? "&"+new Date().getTime() : "?"+new Date().getTime()
page_request.open('GET', pageurl+bustcacheparameter, true)
page_request.send(null)
},
loadpage:function(page_request, divId){
if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1)){
document.getElementById(divId).innerHTML=page_request.responseText
}
},
init:function(anchorid, pos, glidetime, revealbehavior){
var anchorobj=document.getElementById(anchorid)
if (anchorobj)
var subobj=document.getElementById(anchorobj.getAttribute("rel"))
if (!anchorobj || !subobj)
return
var subobjsource=anchorobj.getAttribute("rev")
if (subobjsource!=null && subobjsource!="")
this.ajaxconnect(subobjsource, anchorobj.getAttribute("rel"))
subobj.dropposition=pos.split("-")
subobj.glidetime=glidetime || 1000
subobj.style.left=subobj.style.top=0
if (typeof revealbehavior=="undefined" || revealbehavior=="mouseover"){
anchorobj.onmouseover=function(e){dropdowncontent.show(this, subobj, e)}
anchorobj.onmouseout=function(e){dropdowncontent.hide(subobj, subobj, e)}
if (this.disableanchorlink) anchorobj.onclick=function(){return false}
}
else
anchorobj.onclick=function(e){dropdowncontent.show(this, subobj, e); return false}
if (this.hidedivmouseout[0]==true) //hide drop down DIV when mouse rolls out of it?
subobj.onmouseout=function(e){dropdowncontent.hide(this, subobj, e)}
}
}

View File

@ -1,72 +0,0 @@
<?php
/**
* Deutsche Übersetzungen für anewssystem
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Taggic <taggic@t-online.de>
*/
/******************************************************************************/
// anewssystem controls
$lang['anss_input_btn_save'] = 'Veröffentlichen';
$lang['anss_input_btn_save_descr'] = 'Neuen Artikel hinzufügen';
/******************************************************************************/
// anewssystem text
$lang['news_added'] = 'Ihr Artikel wurde erfolgreich gespeichert.';
$lang['no_permission'] = 'Schreibzugriff verweigert. Sie haben keine Berechtigung, News-Artikel zu schreiben.';
/******************************************************************************/
// template related text
$lang['anchordescr'] = 'Eindeutige ID, um den Artikel zu referenzieren';
$lang['headdescr'] = 'Geben Sie eine aussagekräftige Überschrift an';
$lang['linkdescr'] = 'Verknüpfung der Seite, worauf sich der News-Artikel bezieht';
$lang['startdescr'] = 'Erscheinungstag des Artikels in der Neuigkeiten-Liste';
$lang['stopdescr'] = 'Ab diesem Tag wird der Artikel nicht mehr in der Liste erscheinen';
$lang['msgdescr'] = 'Schreiben Sie eine Zusammenfassung';
$lang['authordescr'] = 'Autoren-Info, wird dargestellt neben dem Datum';
$lang['tagdescr'] = 'Schlagworte optional, mehrere mit | auflisten';
$lang['del_title'] = 'Diesen Artikel löschen';
$lang['newsflash_title'] = 'NEWS flash';
$lang['anss_edit_imgttl']= 'Editieren';
$lang['lnk_back'] = '&laquo; zurück';
$lang['allnews'] = 'alle News-Artikel';
$lang['noNews'] = 'Keine aktuellen News-Artikel vorhanden';
$lang['wordcount'] = '&nbsp;&nbsp;(Wörter: " + output + " von " + max + " )';
$lang['wordcount2'] = '&nbsp;&nbsp;(Wörter: 0 von ';
/******************************************************************************/
// WYSIWYG Editor related text
$lang['Undo'] = 'Rückgängig';
$lang['Redo'] = 'Wiederholen';
$lang['Clean'] = 'Format löschen';
$lang['Remove_formatting'] = 'Formatierung löschen';
$lang['Bold'] = 'Fett';
$lang['Italic'] = 'Kursiv';
$lang['Underline'] = 'Unterstrichen';
$lang['Font_color'] = 'Textfarbe';
$lang['Background_color'] = 'Hintergrundfarbe';
$lang['Strikethrough'] = 'Durchgestrichen';
$lang['Superscript'] = 'Hochgestellt';
$lang['Subscript'] = 'Tiefgestellt';
$lang['Left_align'] = 'Linksbündig';
$lang['Center_align'] = 'Zentriert';
$lang['Right_align'] = 'Rechtsbündig';
$lang['Full_align'] = 'Blocksatz';
$lang['Add_indentation'] = 'Einzug vergrößern';
$lang['Delete_indentation'] = 'Einzug verkleinern';
$lang['Numbered_list'] = 'Nummerierte Liste';
$lang['Dotted_list'] = 'Einfache Liste';
$lang['H-Ruler'] = 'horizontale Trennlinie einfügen';
$lang['Quote'] = 'Zitat';
$lang['Code'] = 'Code';
$lang['Hyperlink'] = 'Hyperlink einfügen';
$lang['Unlink'] = 'Hyperlink löschen';
$lang['Smaller'] = 'Kleinere Schrift';
$lang['Bigger'] = 'Größere Schrift';

View File

@ -1,22 +0,0 @@
<?php
/**
* English language file for anewssystem plugin
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Taggic@t-online.de
*/
// for the configuration manager
$lang['d_format'] = 'Definition für das Datumsformat (e.g. Y-m-d)';
$lang['news_datafile'] = 'Pfad zum Namensraum für die Datei newsdata';
$lang['prev_length'] = 'Anzahl der in der Vorschau pro Artikel angezeigten Wörter im NewsFlash';
$lang['newsflash_link'] = 'stelle Link zum Newsflash zur Verfügung';
$lang['hide_anchorID'] = 'verstecke Anchor-ID';
$lang['wysiwyg'] = 'WYSIWIG Editor einschalten (nutzt HTML statt DW Syntax !)';
$lang['soapp'] = 'zeige nur einen Artikel pro Seite'; // soapp = show one article per page (instead of all news)
$lang['yh_level'] = 'Überschriftsebene für die Gruppierung aller News-Artikel pro Jahr';
$lang['mh_level'] = 'Überschriftsebene für die Gruppierung aller News-Artikel pro Monat';
$lang['h_level'] = 'Überschriftsebene für die News-Artikel selber';
$lang['lnk_newsarchive']= 'Text für den Archiv-Link';
$lang['act_delim'] = 'einige Templates / DW-Versionen benötigen ein "?" statt des "&" für Action-Links';
$lang['convert'] = 'Link zu einem "thumbshots online service"';

View File

@ -1,72 +0,0 @@
<?php
/**
* English language file for anewssystem
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Taggic <taggic@t-online.de>
*/
/******************************************************************************/
// anewssystem controls
$lang['anss_input_btn_save'] = 'Publish';
$lang['anss_input_btn_save_descr'] = 'add the news article';
/******************************************************************************/
// anewssystem text
$lang['news_added'] = 'Your article was stored successfully.';
$lang['no_permission'] = 'Write access denied. You are not allowed to write news.';
/******************************************************************************/
// template related text
$lang['anchordescr'] = 'unique id to reference the article';
$lang['headdescr'] = 'give it an expressive headline';
$lang['linkdescr'] = 'link the page where the news relate to';
$lang['startdescr'] = 'first appearance of the article in the list';
$lang['stopdescr'] = 'on this day the article will disappear';
$lang['msgdescr'] = 'write a news summary';
$lang['authordescr'] = 'author info, will be visible beside date info';
$lang['tagdescr'] = 'as option for the syntax line, separate by pipe or blank if multiple';
$lang['del_title'] = 'Delete this News record';
$lang['newsflash_title'] = 'NEWS flash';
$lang['anss_edit_imgttl']= 'Edit';
$lang['lnk_back'] = '&laquo; back';
$lang['allnews'] = 'all News';
$lang['noNews'] = 'No current news';
$lang['wordcount'] = '&nbsp;&nbsp;(word count: " + output + " of " + max + " )';
$lang['wordcount2'] = '&nbsp;&nbsp;(word count: 0 of ';
/******************************************************************************/
// WYSIWYG Editor related text
$lang['Undo'] = 'Undo';
$lang['Redo'] = 'Redo';
$lang['Clean'] = 'Clean';
$lang['Remove formatting'] = 'Remove formatting';
$lang['Bold'] = 'Bold';
$lang['Italic'] = 'Italic';
$lang['Underline'] = 'Underline';
$lang['Font color'] = 'Font color';
$lang['Background color'] = 'Background color';
$lang['Strikethrough'] = 'Strikethrough';
$lang['Superscript'] = 'Superscript';
$lang['Subscript'] = 'Subscript';
$lang['Left align'] = 'Left align';
$lang['Center align'] = 'Center align';
$lang['Right align'] = 'Right align';
$lang['Full align'] = 'Full align';
$lang['Add indentation'] = 'Add indentation';
$lang['Delete indentation'] = 'Delete indentation';
$lang['Numbered list'] = 'Numbered list';
$lang['Dotted list'] = 'Dotted list';
$lang['H-Ruler'] = 'H-Ruler';
$lang['Quote'] = 'Quote';
$lang['Code'] = 'Code';
$lang['Hyperlink'] = 'Hyperlink';
$lang['Unlink'] = 'Unlink';
$lang['Smaller'] = 'Smaller';
$lang['Bigger'] = 'Bigger';

View File

@ -1,22 +0,0 @@
<?php
/**
* English language file for anewssystem plugin
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Taggic@t-online.de
*/
// for the configuration manager
$lang['d_format'] = 'Define the date format (e.g. Y-m-d)';
$lang['news_datafile'] = 'Set the path to the namespace:newsdata file';
$lang['prev_length'] = 'Define the quantity of previewed words per news post in NewsFlash';
$lang['newsflash_link'] = 'provide News flash link';
$lang['hide_anchorID'] = 'hide Anchor ID';
$lang['wysiwyg'] = 'use WYSIWIG Editor (uses HTML instead of DW Syntax !)';
$lang['soapp'] = 'show only one article per page'; // soapp = show one article per page (instead of all news)
$lang['yh_level'] = 'headline level for year cluster of All News articles';
$lang['mh_level'] = 'headline level for month cluster of All News articles';
$lang['h_level'] = 'headline level for All News articles itself';
$lang['lnk_newsarchive']= 'text for archive link';
$lang['act_delim'] = 'some templates / dw-version use questionmark instead of ampersand at action links';
$lang['convert'] = 'Link a thumbshots online service';

View File

@ -1,35 +0,0 @@
<?php
/**
* Italian language file for anewssystem
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Diego Pierotto <ita.translations@tiscali.it>
*/
/******************************************************************************/
// anewssystem controls
$lang['anss_input_btn_save'] = 'Pubblica';
$lang['anss_input_btn_save_descr'] = 'Aggiungi nuova notizia';
/******************************************************************************/
// anewssystem text
$lang['news_added'] = 'L\'articolo è stato salvato correttamente.';
$lang['no_permission'] = 'Accesso negato. Non hai i permessi per scrivere le notizie.';
/******************************************************************************/
// template related text
$lang['anchordescr'] = 'ID univoco per i riferimenti dell\'articolo';
$lang['headdescr'] = 'Fornisci un titolo esplicativo';
$lang['linkdescr'] = 'Collega la pagina alla quale la notizia si riferisce';
$lang['startdescr'] = 'Prima apparizione dell\'articolo nella lista';
$lang['stopdescr'] = 'Giorno in cui l\'articolo non sarà più visibile';
$lang['msgdescr'] = 'Scrivi un sommario notizie';
$lang['authordescr'] = 'Info autore, sarà visibile di fianco alla data';
$lang['tagdescr'] = 'Opzione della riga di sintassi, separata da "pipe" o spazio se molteplici';
$lang['del_title'] = 'Elimina questa notizia';
$lang['newsflash_title'] = 'NOVITA\'';
$lang['anss_edit_imgttl']= 'Modifica';
$lang['lnk_back'] = 'Indietro';
$lang['allnews'] = 'Tutte le news';
$lang['noNews'] = 'Nessuna news corso.';
$lang['wordcount'] = '&nbsp;&nbsp;(Parole: " + output + " di " + max + " )';
$lang['wordcount2'] = '&nbsp;&nbsp;(Parole: 0 di ';

View File

@ -1,23 +0,0 @@
<?php
/**
* Italian language file for anewssystem plugin
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Diego Pierotto <ita.translations@tiscali.it>
* extensions translated by help of Google translater
*/
// for the configuration manager
$lang['d_format'] = 'Definisci il formato data (es. Y-m-d)';
$lang['news_datafile'] = 'Imposta il percorso del file namespace:newsdata';
$lang['prev_length'] = 'Definisci la quantità di parole disponibili per la notizia';
$lang['newsflash_link'] = 'Crea collegamento NOVITA\'';
$lang['hide_anchorID'] = 'Nascondi ID collegamento';
$lang['wysiwyg'] = 'Utilizzare WYSIWIG Editor (usa HTML invece di DW Syntax!)';
$lang['soapp'] = 'Visualizzare solo un elemento, invece di tutti (-> tutte le news)';
$lang['yh_level'] = 'Livello del titolo per l´anno insieme di tutti gli articoli';
$lang['mh_level'] = 'Livello del titolo per il mese insieme di tutti gli articoli';
$lang['h_level'] = 'Livello di titolo ';
$lang['lnk_newsarchive']= 'testo per il link archivio';
$lang['act_delim'] = 'alcuni modelli / DW-version utilizzo interrogativo invece di commerciale a collegamenti azione';
$lang['convert'] = 'Collegare un servizio on-line Thumbshots';

View File

@ -1,9 +0,0 @@
# PLUGIN INFO - DO NOT EDIT!
base anewssystem
author Taggic
email taggic@t-online.de
date 2016-06-02
name anewssystem
desc provides an easy to handle, page based news system
url http://www.dokuwiki.org/plugin:anewssystem

View File

@ -1,438 +0,0 @@
li.newslist {
padding-bottom: 1ex;
font-size: 0.85em;
color: #828282;
}
.news_preview {
font-size: 0.95em;
line-height: 115%;
color: #828282;
margin: 0;
padding: 0;
}
.newsdate {
font-size: 90%;
color: #9E9E9E;
}
/* --- news input style --- */
.news_form_div {
border: 1px dotted #828282;
background: #EEEDFF;
width: 600px;
padding: 8px 6px 0 8px;
border-radius: 4px;
box-shadow: 2px 2px 4px #6B6B6B;
}
.news_input_form {}
.anss_input_btn_save {
width: 523px;
margin-bottom: 6px;
text-align: center;
}
.news_input_head {
margin-left: 45px;
}
.news_input_subtitle {
margin-left: 45px;
}
.news_input_link {
margin-left: 23px;
}
.news_input_start {
margin-left: 3px;
}
.news_input_stop {
margin-left: 10px;
}
.news_input_textarea {
width: 100%;
}
.news_input_author {
margin-left: 60px;
}
.news_input_tags {
margin-left: 75px;
}
.nws_charcount {
font-style: italic;
font-size: 0.75em;
color: #828282;
}
.news_input_anchor {
margin-left: 63px;
}
.news_edittoolbar{
height: 22px;
}
.newsedit_button{
margin: 2px;
}
.newsedit_button:hover {
border: 1px solid #3EC0F0;
margin-top: 1px;
margin-left: 1px;
margin-right: 1px;
border-radius: 2px;
box-shadow: 1px 1px 1px #38ADD8;
}
/* --- news preview style --- */
.news_box {
border: 1px solid #D3D3D3;
background: #EEEDFF;
margin: -48px -2% 3px 16px;
padding: 0;
position: static;
border-radius: 4px;
box-shadow: 2px 2px 4px #6B6B6B;
}
.news_header {
background-color: #AF2A2A;
color: #FFFFFF;
text-decoration: underline;
font-style: italic;
font-weight: bold;
height: 24px;
border-radius: 4px 4px 0 0;
margin: 0;
padding-left: 1em;
}
.news_header_link {
margin-bottom: 6px;
margin-left: 9px;
font-weight: bold;
font-style: italic;
text-align: left;
text-decoration: underline !important;
color: #FFFFFF !important;
}
.prev_newsitem {
border-bottom: 1px dotted #D3D3D3;
padding-bottom: 6px;
margin-bottom: 6px;
margin-left: 9px;
}
.news_link {
font-size: 9pt;
color: #5244D9 !important;
font-weight: normal;
font-style: italic;
line-height: 1.6em !important;
}
.news_preview {
font-size: 8pt !important;
font-weight: normal;
font-style: italic;
line-height: 1.4em !important;
color: #404040;
margin: 0;
margin-bottom: 4px;
padding: 0;
}
.news_date {
font-size: 70%;
font-style: italic;
color: #828282 !important;
float: right;
margin-left: 1em;
}
.news_date_a {
font-size: 70%;
font-style: italic !important;
color: #828282 !important;
}
.news_subcontent {
position: absolute;
visibility: hidden;
width: 308px;
height: 254px;
padding: 8px;
border-radius: 4px;
background-color: #ffffff;
border: 1px solid black;
}
.news_subcontent_pic {
width: 300px;
height: 246px;
margin-left: auto;
margin-right: auto;
}
/*-------------------------------------------------------*/
.allnews_list li {
list-style-type: none;
margin-left: -20px;
}
.allnews_head {
font-size: 13pt;
text-decoration: underline !important;
color: #686868 !important;
}
.allnews_date{
font-size: 80%;
font-style: italic;
color: #828282 !important;
}
.allnews_list hr {
margin-left: -35px;
}
.allnews_link {
font-size: 11pt;
color: #5244D9 !important;
font-weight: bold;
font-style: italic;
}
.all_news_article{
font-size: 10pt !important;
font-weight: normal;
font-style: normal;
color: #686868;
margin-bottom: 10px;
}
.anss_del_img {
border: 0;
background-color: transparent;
background-image:url(images/delete.gif);
margin-top: -10px ;
margin-right: -6px ;
margin-left: 10px ;
float: right;
}
.anss_del_img:hover {
border: 0;
background-color: transparent;
background-image:url(images/delete_hov.gif) !important;
margin-top: -10px ;
margin-right: -6px ;
margin-left: 10px ;
float: right;
}
.anss_edit_img {
border: 0;
background-color: transparent;
background-image:url(images/edit.gif);
margin-top: -10px ;
margin-right: -6px ;
margin-left: 20px ;
float: right;
background-color: transparent;
}
.anss_edit_img:hover {
border: 0;
background-color: transparent;
background-image:url(images/edit_hov.gif) !important;
margin-top: -10px ;
margin-right: -6px ;
margin-left: 20px ;
float: right;
}
.anss_sep {
color: #D8D8D8 !important;
}
.newsclouddiv { margin: 0.5em 1em 0.5em 1em; line-height: 145%; }
.newsclouddiv a { padding: 0; margin: 0 0.5em; }
.newsclouddiv1 {
border: 1px solid #999999;
margin: 0.5em 1em 0.5em 1em;
padding: 0.5em;
line-height: 145%;
border-radius: 4px;
box-shadow: 2px 2px 4px #6B6B6B;
}
.newsclouddiv1 a { padding: 0; margin: 0; }
.newscloud1 { font-size: 10px; color: #D3E0F5; }
.newscloud2 { font-size: 12px; color: #AEC4E5; }
.newscloud3 { font-size: 14px; color: #88A9DB; }
.newscloud4 { font-size: 16px; color: #4A7AC2; }
.newscloud5 { font-size: 18px; color: #003F9E; }
/*____________ NEWS Archive style-class = toc ________________________________*/
#archive__toc {
background-color: transparent;
float: right;
margin: 0 0 1.4em 1.4em;
width: 20em;
border-left: 1px solid #C3C3C3;
color: inherit;
}
#archive__toc_hr { clor: black; margin: 0; }
#archive__toc h3.toggle {
font-size: 0.875em;
letter-spacing: 0.1em;
margin-bottom: 0;
padding: 0.5em 1em;
font-weight: bold;
}
#archive__toc .toggle strong {
float: right;
margin: 0 .2em;
background: url("images/toc-arrows.png") repeat scroll 0 0 transparent;
height: 5px;
margin: 0.4em 0 0;
width: 8px;
}
#archive__toc div, #archive__box div { padding: 0em 1.5em; }
#archive__box div { padding-top: 0em; padding-bottom: 0.5em; }
#archive__toc ul, #archive__box ul {
padding: 0;
margin: 0;
font-size: .95em;
}
#archive__toc ul li, ul.n_box li {
padding-bottom: .75em;
margin: 0;
list-style-image: url("images/toc-bullet.png");
}
.archive_box .level3 {
padding-bottom: 0!important;
}
#archive__toc ul li div.li, #archive__box ul li div.li { padding: .15em 0; }
#archive__toc ul ul, #archive__box ul ul { padding-left: 1em; }
.news_subtitle {
font-size: 80%;
font-style: italic;
color: #828282;
}
.archive_item {
margin-top: 0;
margin-bottom: 5px;
}
div.backlinkDiv {
background: #EEEDFF;
border-radius: 4px;
padding: 0.25em 0 0.25em 1em;
}
.anss_intLink {
cursor: pointer;
}
img.anss_intLink {
border: 0;
margin-bottom: 3px;
margin-left: 1px;
margin-right: 1px;
}
img.anss_intLink:hover {
background: rgb(255,255,204);
border: 1px dotted rgb(204,0,51);
margin-bottom: 1px;
margin-left: 0px;
margin-right: 0px;
}
.anss_textBox {
background: rgb(255,255,255);
min-height: 200px;
border: 1px lightgrey solid;
padding: 12px;
overflow: scroll;
font-size:12pt;
font-family:Calibri;
}
.anss_textBox p, ul, ol, dl, pre, table, hr, blockquote, figure, details, fieldset, address {
margin: 0;
}
.anss_textBox #sourceText {
padding: 0;
margin: 0;
min-width: 498px;
min-height: 200px;
}
.anss_textBox blockquote {
margin: 0 0 0 4em;
border: 0;
}
.anss_textBox blockquote.ans_cite {
background: rgb(255,255,204);
border: 1px dotted rgb(192,192,192);
Border-left: 5px solid rgb(192,192,192);
border-radius: 5px;
margin: 0.5em 10px;
padding: 0.5em 10px;
font-style: italic;
box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.2);
}
.anss_textBox blockquote.ans_cite:before {
content: '\00BB';
color: #ccc;
background: rgb(255,255,204,0);
font-size: 2em;
line-height: 0.1em;
margin-right: 0.25em;
margin-left:-8px;
}
.anss_textBox blockquote.ans_cite p {
background: rgb(255,255,204);
display: inline;
border-radius: 0px 5px 5px 0px;
}
.anss_textBox code {
margin: 3px 3px 3px 0 !important;
padding: 3px !important;
border: 1px dotted #b0b0b0;
font-size: inherit;
line-height: inherit;
font-weight: normal !important;
position: relative;
float: none;
border-radius: 4px 4px 4px 4px;
box-shadow: 3px 3px 5px 2px #CCCCCC;
}

File diff suppressed because it is too large Load Diff

View File

@ -1,30 +0,0 @@
Arial,Arial
Arial Black,Arial Black
Arial Narrow,Arial Narrow
Arial Unicode MS,Arial Unicode MS
Bookman Old Style,Bookman Old Style
Calibri,Calibri
Cambria,Cambria
Century,Century
Century Gothic,Century Gothic
Comic Sans,Comic Sans
Consolas,Consolas
Courier,Courier
Courier New,Courier New
Georgia,Georgia
Helvetica,Helvetica
Impact,Impact
Lucida,Lucida
Monotype,Monotype
MS Serif,MS Serif
MS Sans Serif,MS Sans Serif
Terminal,Symbol
Tahoma,Tahoma
Terminal,Terminal
Times New Roman,Times New Roman
Trebuchet,Trebuchet
Verdana,Verdana
Terminal,Webdings
Terminal,Wingdings
Terminal,Wingdings 2
Terminal,Wingdings 3

View File

@ -1,10 +0,0 @@
//field |type |length |value |description | add info (<-do not delete this line)
anchor |label |size="14" | |Anchor |anchordescr
head |text |size="64" | |Headline |headdescr
subtitle |text |size="64" | |Sub-Title |subtitledescr
link |link |size="64" | |Linked page |linkdescr
start |date |size="10" |now |Publishing date |startdescr
stop |date |size="10" |4 month|Perishing date |stopdescr
text |textarea|cols="63" rows="7" | |Your news article:|msgdescr
author |label |size="14" | |Author |authordescr
tags |text |size="14" | |Tag&nbsp |tagdescr

View File

@ -1,10 +0,0 @@
//field |type |length |value |description | add info (<-do not delete this line)
anchor |label |size="14" | |Anker |anchordescr
head |text |size="64" | |Überschrift |headdescr
subtitle |text |size="64" | |Untertitel |subtitledescr
link |link |size="64" | |Referenz-Link |linkdescr
start |date |size="10" |now |veröffentlicht am |startdescr
stop |date |size="10" |4 month|abgelaufen am |stopdescr
text |textarea|cols="63" rows="7" | |Deine Neuigkeit: |msgdescr
author |label |size="14" | |Author |authordescr
tags |text |size="14" | |Tag&nbsp |tagdescr

View File

@ -1,10 +0,0 @@
//field |type |length |value |description | add info (<-do not delete this line)
anchor |label |size="14" | |Anchor |anchordescr
head |text |size="64" | |Headline |headdescr
subtitle |text |size="64" | |Sub-Title |subtitledescr
link |link |size="64" | |Linked page |linkdescr
start |date |size="10" |now |Publishing date |startdescr
stop |date |size="10" |4 month|Perishing date |stopdescr
text |textarea|cols="63" rows="7" | |Your news article:|msgdescr
author |label |size="14" | |Author |authordescr
tags |text |size="14" | |Tag&nbsp |tagdescr

View File

@ -1,10 +0,0 @@
//field |type |length |value |description | add info (<-do not delete this line)
anchor |label |size="14" | |Anchor |anchordescr
head |text |size="64" | |Headline |headdescr
subtitle |text |size="64" | |Sub-Title |subtitledescr
link |link |size="64" | |Linked page |linkdescr
start |date |size="10" |now |Publishing date |startdescr
stop |date |size="10" |4 month|Perishing date |stopdescr
text |textarea|cols="63" rows="7" | |Your news article:|msgdescr
author |label |size="14" | |Author |authordescr
tags |text |size="14" | |Tag&nbsp |tagdescr