Lines Matching +full:h +full:- +full:ruler +(+path:plugin +path:anewssystem) -(+path:plugin +path:anewssystem +path:lang)

7  * @author     Taggic <taggic@t-online.de>
40 $this->Lexer->addSpecialPattern('\{\{anss>[^}]*\}\}',$mode,'plugin_anewssystem');
48 $match = substr($match,strlen('{{anss>'),-2); //strip markup from start and end
53 /* parameter 1 can be one of the following: xs-author, flash
66 msg('Syntax of anewssystem detected but unknown parameter was attached.', -1);
72 * @author Taggic <taggic@t-online.de>
79 $target = $this->getConf('news_datafile');
84 $allnewsdata1 = $this->getConf('news_output');
96 /*------- add news action part -----------------------------------------*/
97 $post_prefix = $_POST["xs-".$prefix];
130 $_POST["xs-".$prefix] = '';
131 msg($this->getLang('news_added'),1);
134 msg($this->getLang('no_permission'),-1);
136 /*------- delete a news record -----------------------------------------*/
153 /*------- show user form -----------------------------------------------*/
158 if($this->getConf('wysiwyg')==true) { $myFunc = 'onsubmit="myFunction()"'; }
162 $output .= '<input type="hidden" name="xs-'.$prefix.'" value="check" />'.NL;
172 …name="nws_charcount">'.$this->getLang('wordcount2').$this->getConf('prev_length').' )</label><br /…
173 if($this->getConf('wysiwyg')==false) {
174 $output .= $this->news_edit_toolbar('news_input_'.trim($fields[0]));
179 … ' title="'.trim($this->getLang(trim($fields[5]))).'" '.trim($fields[2]).'"'.
180 … ' onkeyup="count_chars(this,'.$this->getConf('prev_length').')" >'.
183 …<a href="javascript:resizeBoxId(\'news_input_'.trim($fields[0]).'\', -20)"><img src="'.$imgBASE.'r…
192 // $Font = font-family
194 $Font[0] = trim($Font[0]); // font-family
196 …$fontOptions .= '<option style="font-family:'.$Font[0].';" value="'.$Font[1].'" title="'.$Font[1].…
202 …<div style="border: 1px dotted grey;padding-left:10px;border-radius:3px 3px 0px 0px;padding-top:4p…
204 <div id="toolBar2" style="margin-top:3px;">
205 …<img class="anss_intLink" title="'.$this->getLang("Undo").'" onclick="formatDoc(\'undo\');" src="d…
206 …<img class="anss_intLink" title="'.$this->getLang("Redo").'" onclick="formatDoc(\'redo\');" src="d…
207 …<img class="anss_intLink" title="'.$this->getLang("Clean").'" onclick="oDoc.innerHTML=sDefTxt;" sr…
208 …<img class="anss_intLink" title="'.$this->getLang("Remove_formatting").'" onclick="formatDoc(\'rem…
211 …<img class="anss_intLink" title="'.$this->getLang("Bold").'" onclick="formatDoc(\'bold\');" src="d…
212 …<img class="anss_intLink" title="'.$this->getLang("Italic").'" onclick="formatDoc(\'italic\');" sr…
213 …<img class="anss_intLink" title="'.$this->getLang("Underline").'" onclick="formatDoc(\'underline\'…
215 …<img title="'.$this->getLang("Font_color").'" id="hoveritem1" onMouseOver="ShowPopup(\'hoveritem1\…
222 …<img title="'.$this->getLang("Background_color").'" id="hoveritem2" onMouseOver="ShowPopup(\'hover…
229 …<img class="anss_intLink" title="'.$this->getLang("Strikethrough").'" onclick="formatDoc(\'striket…
230 …<img class="anss_intLink" title="'.$this->getLang("Superscript").'" onclick="formatDoc(\'superscri…
231 …<img class="anss_intLink" title="'.$this->getLang("Subscript").'" onclick="formatDoc(\'subscript\'…
235 …<img class="anss_intLink" title="'.$this->getLang("Left_align").'" onclick="formatDoc(\'justifylef…
236 …<img class="anss_intLink" title="'.$this->getLang("Center_align").'" onclick="formatDoc(\'justifyc…
237 …<img class="anss_intLink" title="'.$this->getLang("Right_align").'" onclick="formatDoc(\'justifyri…
238 …<img class="anss_intLink" title="'.$this->getLang("Full_align").'" onclick="formatDoc(\'justifyful…
242 …<img class="anss_intLink" title="'.$this->getLang("Add_indentation").'" onclick="formatDoc(\'inden…
243 …<img class="anss_intLink" title="'.$this->getLang("Delete_indentation").'" onclick="formatDoc(\'ou…
244 …<img class="anss_intLink" title="'.$this->getLang("Numbered_list").'" onclick="formatDoc(\'inserto…
245 …<img class="anss_intLink" title="'.$this->getLang("Dotted_list").'" onclick="formatDoc(\'insertuno…
247 …<img class="anss_intLink" title="'.$this->getLang("H-Ruler").'" onclick="formatDoc(\'inserthorizon…
248 …<img class="anss_intLink" title="'.$this->getLang("Quote").'" onclick="makeCite();" src="data:imag…
249 …<img class="anss_intLink" title="'.$this->getLang("Code").'" onclick="makeCode();" src="data:image…
250 …<img class="anss_intLink" title="'.$this->getLang("Hyperlink").'" onclick="var sLnk=prompt(\'Write…
251 …<img class="anss_intLink" title="'.$this->getLang("Unlink").'" onclick="formatDoc(\'unlink\');" sr…
256 …<img class="anss_intLink" title="'.$this->getLang("Smaller").'" onclick="addTags(\'small\');" src=…
257 …<img class="anss_intLink" title="'.$this->getLang("Bigger").'" onclick="addTags(\'big\');" src="d…
264 … title="'.trim($this->getLang(trim($fields[5]))).'" '.trim($fields[2]).'"
265 … onkeyup="count_chars(this,'.$this->getConf("prev_length").')"
352 …if($this->getConf('soapp')>0) $link_anker = $this->getConf('act_delim').'anchor='.$default_anker; …
356 …if((stripos($fields[1],'hidden') === false) && ($this->getConf('hide_anchorID')< 1)) { …
363 … 'value="'.$default_anker.'" title="'.trim($this->getLang(trim($fields[5]))).
372 … 'value="'.$default_anker.'" title="'.trim($this->getLang(trim($fields[5]))).
377 $default_value = date("Y-m-d", strtotime($fields[3]));
384 … 'value="'.$default_value.'" title="'.trim($this->getLang(trim($fields[5]))).
415 … ' value="'.$default_value.'" title="'.trim($this->getLang(trim($fields[5]))).
426 … 'value="'.$default_value.'" title="'.trim($this->getLang(trim($fields[5]))).
436 … 'value="'.trim($fields[3]).'" title="'.trim($this->getLang(trim($fields[5]))).
446 value="'.$this->getLang('anss_input_btn_save').'"
447 title="'.$this->getLang('anss_input_btn_save_descr').'" />'.NL;
449 if($this->getConf('wysiwyg')==true) {
625 var cextract = extract.length + bextract.length -1;
628 … document.getElementById("nws_charcount").innerHTML = "'.$this->getLang('wordcount').'"
645 $renderer->doc .= $output;
648 /*------- show perview -------------------------------------------------*/
660 if($prefs[0]<10) $prefs[0] = $this->getConf('prev_length');
668 $item_width = 'style="margin-right: 10px !important;"';
677 if($this->getConf('newsflash_link') == false) {
678 $output .= '<div class="news_header">'.$this->getLang('newsflash_title').'</div>'.NL;
681 …="news_header"><a class="news_header_link" href="'. $allnewsdata .'">'.$this->getLang('newsflash_t…
687 // $entries = explode("\n----\n\n",$oldrecord);
708 $value = date($this->getConf('d_format'), strtotime($value));
722 $linkx = $this->replace_links($pattern, $value, 'medi');
727 $links = $this->replace_links($pattern, $value, 'url');
739 if(count($check)-1>$preview_length) $prvw_string .= ' ...';
742 $links = $this->replace_placeholder($links, $prvw_string, 'url');
743 $linkx = $this->replace_placeholder($linkx, $prvw_string, 'medi');
756 $start= stripos($news_rawcontent,$value)-5;
765 $url = wl($this->getConf('news_datafile'),'',true);
773 … <input type="hidden" name="range" value="'.$start.'-'.$stop.'" />
774 …ib/plugins/anewssystem/images/dot2.gif" alt="'.$this->getLang('anss_edit_imgttl').'" title="'.$thi…
782 ….DOKU_BASE.'lib/plugins/anewssystem/images/dot.gif" alt="Del" title="'.$this->getLang('del_title')…
792 if($this->getConf('convert')) {
794 msg($response,-1);
801 $theLink = sprintf($this->getConf('convert'), $theLink);
839 $output .= '<div class="prev_newsitem">'.$this->getLang('noNews').'</div>'.NL;
843 $renderer->doc .= $output;
845 /* --- Display a cloud of News Tags --------------------------------*/
864 $value = date($this->getConf('d_format'), strtotime($value));
886 $tokens = preg_split('/\s+/', $tmp,-1, PREG_SPLIT_NO_EMPTY);
895 (\#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}))| #color value
896 (rgb\(([0-9]{1,3}%?,){2}[0-9]{1,3}%?\)) #rgb triplet
898 $styles .= ' background-color: '.$token.';';
906 $styles .= ' text-align: '.substr(trim($token),1).';';
928 $styles .= ' text-transform: '.$token.';';
948 $delta = ($max-$min)/16;
955 …output .= $tab_left.'<a href="'.DOKU_URL.'doku.php?id='.$this->getConf('news_output').$this->getCo…
959 $renderer->doc .= $output;
961 /* --- Show all news -------------------------------------------------*/
977 if($prefs[0]<10) $prefs[0] = $this->getConf('prev_length');
994 $yh_level = $this->getConf('yh_level');
995 $mh_level = $this->getConf('mh_level');
996 $h_level = $this->getConf('h_level');
1017 $value = date($this->getConf('d_format'), strtotime($value));
1033 $linkx = $this->replace_links($pattern, $value, 'medi');
1038 $links = $this->replace_links($pattern, $value, 'url');
1051 if(count($check)-1>$preview_length) $prvw_string .= ' ...';
1057 $links = $this->replace_placeholder($links, $prvw_string, 'url');
1058 $linkx = $this->replace_placeholder($linkx, $prvw_string, 'medi');
1071 $start= stripos($news_rawcontent,$value)-5;
1080 $url = wl($this->getConf('news_datafile'),'',true);
1087 … <input type="hidden" name="range" value="'.$start.'-'.$stop.'" />
1088 …ib/plugins/anewssystem/images/dot2.gif" alt="'.$this->getLang('anss_edit_imgttl').'" title="'.$thi…
1096 ….DOKU_BASE.'lib/plugins/anewssystem/images/dot.gif" alt="Del" title="'.$this->getLang('del_title')…
1131 …$output .= '<div>'.NL.'<h'.$h_level.'>'.$news_head.$news_date.$news_subtitle.'</h'.$h_level.'>'.NL…
1136 …$output .= '<div>'.NL.'<h'.$h_level.'>'.$news_head.$news_date.$news_subtitle.'</h'.$h_level.'>'.NL…
1139 // --- just ouput only the linked article on the page ----------
1140 $archive_lnkTitle = $this->getConf('lnk_newsarchive');
1144 $backlink = '<a href="javascript:history.back(-1)">'.$this->getLang('lnk_back').'</a>';
1146 …<a href="'.DOKU_URL.'doku.php?id='.$this->getConf('news_output').'">'.$this->getLang('allnews').'<…
1147 $output = '<div style="font-size:.85em;">'.$backlink.NL.
1148 …lass="anss_sep">&nbsp;|&nbsp;</span><a class"wikilink" href="'.wl($ID).$this->getConf('act_delim')…
1151 '<div style="font-size:.85em;">'.$backlink.NL.
1152 …lass="anss_sep">&nbsp;|&nbsp;</span><a class"wikilink" href="'.wl($ID).$this->getConf('act_delim')…
1163 $output .= '<span>'.$this->getLang('noNews').'</span>'.NL;
1166 $renderer->doc .= $output;
1168 /* --- Show archive ----------------------------------------------------------*/
1207 $yh_level = $this->getConf('yh_level');
1208 $mh_level = $this->getConf('mh_level');
1209 $h_level = $this->getConf('h_level');
1228 $value = date($this->getConf('d_format'), strtotime($value));
1283 // to do such would lead into re-development of the plugin
1302 // strip all HTML-tags except a few selected
1336 … document.getElementById(img_ID).style.backgroundPosition = "0px -5px";
1346 <div style="text-align:left;">
1350 … <div style="text-align:right;font-size:.85em; border-top: 1px dotted #828282;">
1351 …<a href="'.$news_root.':allnewsdata'.$this->getConf('act_delim').'do=shownewsarchive">&raquo; News…
1364 $renderer->doc .= $output;
1367 // --- faulty syntax ----------------------------------------------------------
1369 …$renderer->doc .= msg('Syntax of anewssystem plugin detected but unknown parameter ['.$ans_conf['…
1372 //---------------------------------------------------------------------------------------
1377 if(is_array($array[$k])) { $out=array_merge($out,$this->array_flat($array[$k])); }
1382 //---------------------------------------------------------------------------------------
1394 //---------------------------------------------------------------------------------------
1405 /* return html-code for news edit toolbar */
1533 var cextract = extract.length + bextract.length -1;
1536 … document.getElementById("nws_charcount").innerHTML = "'.$this->getLang('wordcount').'"
1544 …n\" src=\"".$imgBASE."mono.png\" name=\"btnMono\" title=\"mono-spaced font [m]\" acc…
1549 … name=\"btnLine\" title=\"Horizontal ruler [r]\" accesskey=\"r\" onClick=\"doHLine('
1550 … name=\"btn_o_List\" title=\"Ordered List [-]\" accesskey=\"-\" onClick=\"doList('