From: <var...@us...> - 2009-03-04 10:20:44
|
Revision: 6625 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6625&view=rev Author: vargenau Date: 2009-03-04 10:20:39 +0000 (Wed, 04 Mar 2009) Log Message: ----------- Remove history Modified Paths: -------------- trunk/lib/WysiwygEdit/Wikiwyg.php Modified: trunk/lib/WysiwygEdit/Wikiwyg.php =================================================================== --- trunk/lib/WysiwygEdit/Wikiwyg.php 2009-03-03 20:23:04 UTC (rev 6624) +++ trunk/lib/WysiwygEdit/Wikiwyg.php 2009-03-04 10:20:39 UTC (rev 6625) @@ -297,54 +297,6 @@ } } -/* - $Log: not supported by cvs2svn $ - Revision 1.13 2007/09/12 19:42:53 rurban - take global js vars - - Revision 1.12 2007/07/19 09:33:41 labbenes - Remove Internet Explorer Security Warning about non secure contents display. - - Revision 1.11 2007/07/17 14:38:40 labbenes - Remove the mode selector from wikiwyg toolbar. - - Revision 1.9 2007/01/07 18:44:00 rurban - Improve id: edit: to edit- - - Revision 1.8 2007/01/02 13:20:57 rurban - use the new _DEBUG_REMOTE flag. simplify default utf-8 charset conversion, not requiring iconv - - Revision 1.7 2006/12/22 16:53:38 rurban - Try to dl() load the iconv extension, if not already loaded - - Revision 1.6 2006/08/25 22:42:51 rurban - warn user about beta quality, not to save wrong edits - - Revision 1.5 2006/06/28 14:28:14 jeannicolas - Add preview and save button on the toolbar. - Fix an IE issue in wikitext mode. - - Revision 1.4 2006/06/19 17:33:06 jeannicolas - Add button to insert table of content plugin - Add button to insert wikitext section in wysiwyg mode - - Fix internet explorer issue in wikitext mode. The toolbar in this mode didn't work. - - Revision 1.3 2006/05/31 19:59:57 jeannicolas - Added wysiwyg_editor 1.1b - - Revision 1.2 2006/05/14 17:52:20 rurban - fix syntax error. delete a left-over attempt to add CSS links also. - We did put everything into phpwiki.css for browser compatibility. - - Revision 1.1 2006/05/13 19:59:55 rurban - added wysiwyg_editor-1.3a feature by Jean-Nicolas GEREONE <jea...@st...> - converted wysiwyg_editor-1.3a js to WysiwygEdit framework - changed default ENABLE_WYSIWYG = true and added WYSIWYG_BACKEND = Wikiwyg - - -*/ - // Local Variables: // mode: php // tab-width: 8 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2011-10-03 12:38:46
|
Revision: 8157 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8157&view=rev Author: vargenau Date: 2011-10-03 12:38:40 +0000 (Mon, 03 Oct 2011) Log Message: ----------- Table of Contents Modified Paths: -------------- trunk/lib/WysiwygEdit/Wikiwyg.php Modified: trunk/lib/WysiwygEdit/Wikiwyg.php =================================================================== --- trunk/lib/WysiwygEdit/Wikiwyg.php 2011-10-03 12:35:43 UTC (rev 8156) +++ trunk/lib/WysiwygEdit/Wikiwyg.php 2011-10-03 12:38:40 UTC (rev 8157) @@ -72,7 +72,7 @@ h3: '"._("Title 2")."', h4: '"._("Title 3")."', verbatim: '"._("Verbatim")."', - toc: '"._("Table of content")."', + toc: '"._("Table of Contents")."', wikitext: '"._("Insert Wikitext section")."', sup: '"._("Sup")."', sub: '"._("Sub")."', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-11-11 19:56:51
|
Revision: 9306 http://sourceforge.net/p/phpwiki/code/9306 Author: vargenau Date: 2014-11-11 19:56:43 +0000 (Tue, 11 Nov 2014) Log Message: ----------- Use __construct; PHP Doc Modified Paths: -------------- trunk/lib/WysiwygEdit/Wikiwyg.php Modified: trunk/lib/WysiwygEdit/Wikiwyg.php =================================================================== --- trunk/lib/WysiwygEdit/Wikiwyg.php 2014-11-11 14:14:55 UTC (rev 9305) +++ trunk/lib/WysiwygEdit/Wikiwyg.php 2014-11-11 19:56:43 UTC (rev 9306) @@ -20,7 +20,6 @@ function __construct() { - global $request, $LANG; $this->_transformer_tags = false; $this->BasePath = DATA_PATH . '/themes/default/Wikiwyg'; $this->_htmltextid = "edit-content"; @@ -96,6 +95,7 @@ wikiwyg.editMode();}" ); } + return ''; } function Textarea($textarea, $wikitext, $name = 'edit[content]') @@ -121,15 +121,21 @@ * Handler to convert the Wiki Markup to HTML before editing. * This will be converted back by WysiwygEdit_ConvertAfter if required. * *text* => '<b>text<b>' + * + * @param string $text + * @return string */ function ConvertBefore($text) { return $text; } - /* + /** * No special PHP HTML->Wikitext conversion needed. This is done in js thanksfully. * Avoided in editpage.php: PageEditor->getContent + * + * @param string $text + * @return string */ function ConvertAfter($text) { @@ -139,7 +145,7 @@ class WikiToHtml { - function WikiToHtml($wikitext, &$request) + function __construct($wikitext, &$request) { $this->_wikitext = $wikitext; $this->_request =& $request; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |