D 2010-02-16T19:44:24 J comment Small\spatch,\sof\smany\sI\shope,\sto\smake\smore\sof\sfossil\s'skinable'\r\n\r\nThis\spatch\srenames\sthe\ssidebox\sobject\s->\sinfobox,\sto\smake\sit\smore\suseable\selsewhere,\sand\sapplies\ssome\scss\sto\sthe\sdefault\sskins\sto\semulate\scurrent\slook\sand\sfeel.\r\n\r\nOnly\stested\sagainst\sFirefox\s3.5\sand\sIE8.\r\n\r\nPatch\sgenerated\sagainst\s[94bb313444]\r\n\r\nIndex:\ssrc/branch.c\r\n===================================================================\r\n---\ssrc/branch.c\r\n+++\ssrc/branch.c\r\n@@\s-229,11\s+230,11\s@@\r\n\r\n\s\s\sstyle_header("Branches");\r\n\s\s\sstyle_submenu_element("Timeline",\s"Timeline",\s"brtimeline");\r\n\s\s\slogin_anonymous_available();\r\n\s\s\scompute_leaves(0,\s1);\r\n-\s\sstyle_sidebox_begin("Nomenclature:",\s"33%");\r\n+\s\sstyle_infobox_begin("Nomenclature:");\r\n\s\s\s@\s
    \r\n\s\s\s@\s
  1. \sAn\sopen\sbranch\sis\sa\sbranch\sthat\shas\sone\sor\r\n\s\s\s@\smore\sopen\sleaves.\r\n\s\s\s@\sThe\spresence\sof\sopen\sleaves\spresumably\smeans\r\n\s\s\s@\sthat\sthe\sbranch\sis\sstill\sbeing\sextended\swith\snew\scheck-ins.
  2. \r\n@@\s-240,11\s+241,11\s@@\r\n\s\s\s@\s
  3. \sA\sclosed\sbranch\sis\sa\sbranch\swith\sonly\r\n\s\s\s@\sclosed\sleaves.\r\n\s\s\s@\sClosed\sbranches\sare\sfixed\sand\sdo\snot\schange\s(unless\sthey\sare\sfirst\r\n\s\s\s@\sreopened)
  4. \r\n\s\s\s@\s
\r\n-\s\sstyle_sidebox_end();\r\n+\s\sstyle_infobox_end();\r\n\r\n\s\s\sdb_prepare(&q,\r\n\s\s\s\s\s"SELECT\sDISTINCT\svalue\sFROM\stagxref"\r\n\s\s\s\s\s"\sWHERE\stagid=%d\sAND\svalue\sNOT\sNULL"\r\n\s\s\s\s\s"\s\s\sAND\srid\sIN\sleaves"\r\n\r\nIndex:\ssrc/descendants.c\r\n===================================================================\r\n---\ssrc/descendants.c\r\n+++\ssrc/descendants.c\r\n@@\s-322,19\s+322,19\s@@\r\n\s\s\s\s\sstyle_submenu_element("Open",\s"Open",\s"leaves");\r\n\s\s\s}\r\n\s\s\sstyle_header("Leaves");\r\n\s\s\slogin_anonymous_available();\r\n\s\s\scompute_leaves(0,\sshowAll\s?\s0\s:\sshowClosed\s?\s2\s:\s1);\r\n-\s\sstyle_sidebox_begin("Nomenclature:",\s"33%");\r\n+\s\sstyle_infobox_begin("Nomenclature:");\r\n\s\s\s@\s
    \r\n\s\s\s@\s
  1. \sA\sleaf\sis\sa\scheck-in\swith\sno\sdescendants.
  2. \r\n\s\s\s@\s
  3. \sAn\sopen\sleaf\sis\sa\sleaf\sthat\sdoes\snot\shave\sa\s"closed"\stag\r\n\s\s\s@\sand\sis\sthus\sassumed\sto\sstill\sbe\sin\suse.
  4. \r\n\s\s\s@\s
  5. \sA\sclosed\sleaf\shas\sa\s"closed"\stag\sand\sis\sthus\sassumed\sto\r\n\s\s\s@\sbe\shistorical\sand\sno\slonger\sin\sactive\suse.
  6. \r\n\s\s\s@\s
\r\n-\s\sstyle_sidebox_end();\r\n+\s\sstyle_infobox_end();\r\n\r\n\s\s\sif(\sshowAll\s){\r\n\s\s\s\s\s@\s

All\sleaves,\sboth\sopen\sand\sclosed:

\r\n\s\s\s}else\sif(\sshowClosed\s){\r\n\s\s\s\s\s@\s

Closed\sleaves:

\r\n\r\nIndex:\ssrc/skins.c\r\n===================================================================\r\n---\ssrc/skins.c\r\n+++\ssrc/skins.c\r\n@@\s-156,11\s+156,19\s@@\r\n\s@\s/*\sThe\slabel/value\spairs\son\s(for\sexample)\sthe\svinfo\spage\s*/\r\n\s@\stable.label-value\sth\s{\r\n\s@\s\s\svertical-align:\stop;\r\n\s@\s\s\stext-align:\sright;\r\n\s@\s\s\spadding:\s0.2ex\s2ex;\r\n-@\s}');\r\n+@\s}\r\n+@\r\n+@\s/*\sInformation/instruction\sboxes\s*/\r\n+@\stable.infoBox\s{\r\n+@\s\s\sborder:2px\ssolid\s#606060;\r\n+@\s\s\sfloat:right;\r\n+@\s\s\swidth:33%;\r\n+@\s}\r\n+@');\r\n\s@\sREPLACE\sINTO\sconfig\sVALUES('header','\r\n\s@\s\r\n\s@\s$<project_name>:\s$<title>\r\n\s@\s\r\n@@\s-361,11\s+369,18\s@@\r\n\s@\stable.label-value\sth\s{\r\n\s@\s\s\svertical-align:\stop;\r\n\s@\s\s\stext-align:\sright;\r\n\s@\s\s\spadding:\s0.2ex\s2ex;\r\n\s@\s}\r\n-@\s');\r\n+@\r\n+@\s/*\sInformation/instruction\sboxes\s*/\r\n+@\stable.infoBox\s{\r\n+@\s\s\sborder:2px\ssolid\s#a09048;\r\n+@\s\s\sfloat:right;\r\n+@\s\s\swidth:33%;\r\n+@\s}\r\n+@');\r\n\s@\sREPLACE\sINTO\sconfig\sVALUES('header','\r\n\s@\s\r\n\s@\s$<project_name>:\s$<title>\r\n\s@\s\r\n@@\s-594,11\s+609,19\s@@\r\n\s@\s/*\sThe\slabel/value\spairs\son\s(for\sexample)\sthe\sci\spage\s*/\r\n\s@\stable.label-value\sth\s{\r\n\s@\s\s\svertical-align:\stop;\r\n\s@\s\s\stext-align:\sright;\r\n\s@\s\s\spadding:\s0.2ex\s2ex;\r\n-@\s}');\r\n+@\s}\r\n+@\r\n+@\s/*\sInformation/instruction\sboxes\s*/\r\n+@\stable.infoBox\s{\r\n+@\s\s\sborder:2px\ssolid\s#eeeeee;\r\n+@\s\s\sfloat:right;\r\n+@\s\s\swidth:33%;\r\n+@\s}\r\n+@');\r\n\s@\sREPLACE\sINTO\sconfig\sVALUES('header','\r\n\s@\s\r\n\s@\s$<project_name>:\s$<title>\r\n\s@\s\r\n\r\nIndex:\ssrc/style.c\r\n===================================================================\r\n---\ssrc/style.c\r\n+++\ssrc/style.c\r\n@@\s-158,24\s+158,22\s@@\r\n\s\s\s\s\scgi_append_content("\\n",\s-1);\r\n\s\s\s}\r\n\s}\r\n\r\n\s/*\r\n-**\sBegin\sa\sside-box\son\sthe\sright-hand\sside\sof\sa\spage.\s\sThe\stitle\sand\r\n-**\sthe\swidth\sof\sthe\sbox\sare\sgiven\sas\sarguments.\s\sThe\swidth\sis\susually\r\n-**\sa\spercentage\sof\stotal\sscreen\swidth.\r\n+**\sBegin\sa\sside-box\son\sthe\sright-hand\sside\sof\sa\spage.\s\sThe\stitle\r\n+**\sof\sthe\sbox\sis\sgiven\sas\sarguments.\r\n\s*/\r\n-void\sstyle_sidebox_begin(const\schar\s*zTitle,\sconst\schar\s*zWidth){\r\n-\s\s@\s\r\n+void\sstyle_infobox_begin(const\schar\s*zTitle){\r\n+\s\s@\s\r\n\s\s\s@\s\r\n\s\s\s@\s%h(zTitle)\r\n\s}\r\n\r\n\s/*\sEnd\sthe\sside-box\r\n\s*/\r\n-void\sstyle_sidebox_end(void){\r\n+void\sstyle_infobox_end(void){\r\n\s\s\s@\s\r\n\s}\r\n\r\n\s/*\s@-comment:\s//\s*/\r\n\s/*\r\n@@\s-379,10\s+377,15\s@@\r\n\s@\s/*\sThe\slabel/value\spairs\son\s(for\sexample)\sthe\sci\spage\s*/\r\n\s@\stable.label-value\sth\s{\r\n\s@\s\s\svertical-align:\stop;\r\n\s@\s\s\stext-align:\sright;\r\n\s@\s\s\spadding:\s0.2ex\s2ex;\r\n+@\s}\r\n+@\r\n+@\s/*\sInfo\sbox\s*/\r\n+@\stable.infoBox\s{\r\n+@\s\s\swidth:33%;\r\n\s@\s}\r\n\s;\r\n\r\n\s/*\r\n\s**\sWEBPAGE:\sstyle.css\r\n
J foundin 94bb313444 J private_contact 89fb7932f6cf1ff580ce979fd5eefb40af6860a4 J severity Cosmetic J status Open J title Patch\sto\sallow\ssidebox\sto\sbe\sskinable. J type Feature_Request K 993287b389d78384ca1ab16641e08885f04b898a U anonymous Z 03cdfc56de9abcbd2eb1ecf4ec2ac35c