<!-- -*- html -*- -->
<define container="st-tabs">
  <colorscope ::="&usr.subtabs-tableargs:none;">
    <cset preparse="" quote="none" variable="var.__tabs"><contents/></cset>
  </colorscope>
</define>

<define container="st-page">
  <colorscope bgcolor="&usr.content-bg;">
    <cset preparse="" quote="none" variable="var.__contents"><contents/></cset>
  </colorscope>
</define>

<define container="cv-leftside">
  <colorscope ::="&usr.left-tableargs:none;">
    <cset preparse="" quote="none" variable="var.leftside"><contents/></cset>
  </colorscope>
</define>

<define container="cv-split">
 <table ::="&usr.content-toptableargs:none;">
   <tr>
     <td width="10"><img src="/internal-roxen-unit" width="10" height="1" /></td>
     <td ::="&usr.left-tableargs:none;">
       <img src="/internal-roxen-unit" width="150" height="1" /><br />
       &var.leftside:none;&var.leftimage:none;
     </td>
     <td ::="&usr.content-tableargs:none;">
       <contents/>
     </td>
   </tr>
  </table>
</define>

<define container="cv-startpage">
  <cv-split>
    <subtablist>
      <st-tabs><insert file="/standard/cv_startpage_tabs.pike" nocache="1"></st-tabs>
      <st-page><contents/></st-page>
    </subtablist>
   </cv-split>
</define>

<define container="cv-obox">
  <table cellpadding="1" cellspacing="0" border="0" width="202" align="center" bgcolor="&usr.obox-border;">
  <tr><td>
  <table cellpadding="2" cellspacing="0" border="0" width="200" align="center">
  <tr bgcolor="&usr.obox-titlebg;">
    <td valign="top">
      <font color="&usr.obox-titlefg;" face="&usr.obox-titlefont;"
            size="+1"><b>&_.title;</b></font>
    </td>
  </tr>

  <tr><td bgcolor="&usr.obox-bodybg;"><font color="&usr.obox-bodyfg;" size="2">
    <contents/>
  </font></td></tr>
  </table>
  </td></tr></table>
</define>

<define container="subtablist">
<nooutput>
  <contents/>
</nooutput><p><br /></p>
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td ::="&usr.subtabs-tableargs:none;"><tablist preparse="1" ::="&usr.subtabs-args:none;">
        <eval>&var.__tabs:none;</eval>
      </tablist></td>
    </tr>
    <tr>
      <td bgcolor="&usr.content-bg;">&var.__contents:none;</td>
    </tr>
  </table>
</define>

<define tag="topmenu">
 <attrib name="base"></attrib>
 <attrib name="selected">home</attrib>
 <cset variable="var._top_content"><insert file="/standard/topmenu.pike" nocache="1" /></define>
</define>

<define container="submit-gbutton">
<attrib name="align">baseline</attrib>
  <cset variable="var.contents"><contents/></cset>
  <cset variable="var.url"><gbutton-url font="&usr.gbutton-font;" preparse="">&var.contents;</gbutton-url></cset>
   <input align="&_.align;" type="image" name="&var.contents;" value="&var.contents;" src="&var.url;" border="0" />
</define>

<define container="submit-gbutton2">
<attrib name="img-align">baseline</attrib>
<cset variable="var.url"><gbutton-url ::='&_.args;' font="&usr.gbutton-font;"><contents/></gbutton-url></cset>
   <input align="&_.img-align;" type="image" name="&_.name;" value="&var.contents;" src="&var.url;" border="0" />
</define>

<define tag="cf-save"> <submit-gbutton2 name='save' img-align="right"> <translate id="bA">Save</translate> </submit-gbutton2> </define>
<define tag="cf-ok"> <submit-gbutton2 name='ok'> <translate id="201">Ok</translate> </submit-gbutton2> </define>
<define tag="cf-cancel"> <gbutton preparse="1" href="&_.href;"> <translate id="202">Cancel</translate> </gbutton> </define>

<define tag="cf-next">
   <submit-gbutton2 preparse="1" name="next" icon_src="&usr.next;" align_icon="right"> <translate id="203">Next</translate> </submit-gbutton2>
</define>

<define container="content"><cset quote="none" variable="var.content"><contents/></cset></define>

<define container="tmpl">
  <trans-reg project="roxen_config" />
<html><head>
<title>&roxen.version; <translate id="204">Administration Interface</translate><eval>&_.title:none;</eval></title>
</head>
<nooutput>
  <eval><insert file="/standard/themes/&usr.theme;/theme" nocache="1" /></eval>
  <define preparse="" variable="var.leftimage"><img src="&usr.left-image;" /></define>
  <define preparse="" name="tab-frame-image">&usr.tab-frame-image;</define>
  <define preparse="" name="tab-font-size">&usr.tab-font-size;</define>
  <define preparse="" name="gbutton-frame-image">&usr.gbutton-frame-image;</define>
  <define name="font" preparse="1">&usr.font;</define>
  <expire-time now="1"/>
  <contents/>
</nooutput>
  <body ::="&usr.body-args:none;">
      <table width="100%" cellpadding="0" cellspacing="0" border="0"
             ::="&usr.top-tableargs:none;">
      <tr>
      <td><a href="http://www.roxen.com/">&usr.logo-html:none;</a></td>
      <td align="right" valign="top">
        <table>
         <cf-userwants option=translations>
          <tr><td align="right">
           <gtext preparse="1"  font="&usr.font;"
                  fgcolor="&usr.top-fgcolor;" scale="0.45"
                  hspace="3"><translate id="205">Language</translate>:</gtext>
           </td>
           <td>
             <font color="&usr.fgcolor;">
              <emit source="locales">
                <a href="&_.path;"
                  ><img src="/internal-roxen-flag-&_.name;&_.-selected;.gif"
                       alt="&_.latin1-name;" border="0" height="16"
                /></a>
              </emit>
             </font>
           </td>
          </tr>
         </cf-userwants>
         <tr>
           <td align="right">
             <font color="&usr.top-fgcolor;">
              <gbutton preparse="1"
                 href="/standard/change_user.pike?uid=&usr.user-uid;"
                  align="right" textcolor="&usr.top-fgcolor;"
                  width="70"> <translate id="206">User</translate>: </gbutton>
            </td>
            <td>
               <font color="&usr.top-fgcolor;">
                &usr.user-name; (&usr.user-uid;)
               </font>
            </td>
         </tr>
       </table>
     </td>
   </tr>
   <tr>
     <td colspan="2" ::="&usr.toptabs-tableargs:none;" width="100%" valign="bottom"><img src="/internal-roxen-unit" width="50" height="1" />&var._top_content:none;</td>
   </tr>
  </table>

   <form method="POST" action="&cf.current-url;">
     <roxen-automatic-charset-variable/>
     &var.content:none;
   </form>
    <div align="right">
    <b><font size="-1">&roxen.version; / &roxen.pike-version;</font></b>
    </div>
 </body>
</html>
</define>
