Roxen.git
/
server
/
modules
/
tags
/
obox.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/modules/tags/obox.pike:1:
// The outlined box module, Copyright © 1996 - 2001, Roxen IS. // // Fredrik Noring et al // // Several modifications by Francesco Chemolli.
-
constant cvs_version = "$Id: obox.pike,v 1.
39
2002/
06
/
14
10
:
34
:
58
nilsson Exp $";
+
constant cvs_version = "$Id: obox.pike,v 1.
40
2002/
10
/
22
00
:
19
:
14
nilsson Exp $";
constant thread_safe=1; #include <module.h> inherit "module"; constant module_type = MODULE_TAG; constant module_name = "Tags: Outlined box"; constant module_doc = ("This module provides the <tt><obox></tt> tag that " "draws outlined boxes.");
Roxen.git/server/modules/tags/obox.pike:85:
args->bgcolor ? " bgcolor=\""+args->bgcolor+"\"" : "", args->outlinecolor, empty, args->outlinecolor, empty, args->bgcolor ? " bgcolor=\""+args->bgcolor+"\"" : "", args->outlinecolor, empty, args->left ? " width=\""+args->left+"\"" : "", (args->fixedleft ?
-
String.strmult (
" "
,
(int)
args->fixedleft
)
: " "),
+
" "
*
(int)args->fixedleft : " "),
args->right ? " width=\""+args->right+"\"" : "", (args->fixedright ?
-
String.strmult (
" "
,
(int)
args->fixedright
)
: " "),
+
" "
*
(int)args->fixedright : " "),
args->outlinecolor, empty); case "caption": return sprintf("<tr%s><td colspan=\"2\"><font size=\"-3\"> </font></td>\n" "<td rowspan=\"3\" nowrap=\"nowrap\"> <b>" /* bgcolor */ "%s%s%s" /* titlecolor, title, titlecolor */ "</b> </td>\n" "<td colspan=\"2\"><font size=\"-3\"> </font></td></tr>\n" "<tr bgcolor=\"%s\">" /* outlinecolor */ "<td colspan=\"2\">\n"
Roxen.git/server/modules/tags/obox.pike:121:
args->titlecolor ? "<font color=\""+args->titlecolor+"\">" : "", args->title, args->titlecolor ? "</font>" : "", args->outlinecolor, empty, empty, args->outlinecolor, empty, args->left ? " width=\""+args->left+"\"" : "", (args->fixedleft ?
-
String.strmult (
" "
,
(int)
args->fixedleft
)
: " "),
+
" "
*
(int)args->fixedleft : " "),
args->right ? " width=\""+args->right+"\"" : "", (args->fixedright ?
-
String.strmult (
" "
,
(int)
args->fixedright
)
: " "),
+
" "
*
(int)args->fixedright : " "),
args->outlinecolor, empty); } } string simpletag_obox(string name, mapping args, string contents) { string s; // Set the defaults...