[
  { /* system layout specs */

    blockid=test;

    localvar=
    {
      .label.size=200;
      .units.size=90;

      .menu.storage="Permisos de almacenamiento...";
      .menu.paths="Rutas...";

      .conn.title=[titled, "Configuraci\u00f3n de conexi\u00f3n"];
      .conn.enabled="Activar servicio NNTP de forma predeterminada";
      .conn.maxreaders="N\u00famero m\u00e1ximo de conexiones de usuario:";
      .conn.maxfeeds="N\u00famero m\u00e1ximo de conexiones de repetici\u00f3n:";
      .conn.timeout="Tiempo de espera de conexi\u00f3n:";
      .conn.timeout.items=
      [
        sec,
        min,
        hour
      ];

      .label.size=200;
      .enc.encryption.label="Cifrado:";
      .enc.enable.items=
      [
        false,
        true
      ];
      .enc.enable.labels=
      [
        Disabled,
        Enabled
      ];
      .enc.port.label="Puerto del servidor NNTP:";
      .enc.def.auth.label="M\u00e9todo de autenticaci\u00f3n predeterminado:";
      .enc.auth.method.items=
      [
        basic,
        certs
      ];
      .enc.auth.method.labels=
      [
        "B\u00e1sico",
        "Certificados"
      ];
    },

    content=
    [ /* system layout contents */

      { /* service enabled */
        ctrl=togglepane;
        text=$.conn.enabled;
        val=$service.nntp.service.enabled.value;
      }, /* service enabled */

      { /* comp. space */
        ctrl=vstrut;
        size=$.g.comp.space;
      }, /* comp. space */

      { /* start of connection settings group */
        ctrl=pane;
        border=$.conn.title;
        layout=[ybox];
        content=
        [ /* start of conn. settings contents */

          { /* Start of max readers */
            ctrl=pane;
            layout=[xbox];
            content=
            [ /* contents of max readers */

              { /* max readers label */
                ctrl=label;
                wrap=$.label.size;
                alignh=right;
                aligny=0.5;
                text=$.conn.maxreaders;
                id=connmaxreaders;
                label=maxreaders;
              }, /* max readers label */

              { /* comp. space */
                ctrl=rigid;
              }, /* comp. space */

              { /* max readers textfield */
                ctrl=number;
                aligny=0.5;
                label=maxreaders;
                val=$service.nntp.network.maxreaders.value;
              }, /* max readers textfield */
	      {
		ctrl=hglue;
	      }

            ] /* max readers contents */
          }, /* End of max readers */

          { /* vertical spacing between components */
            ctrl=vstrut;
            size=$.g.comp.space;
          },
  
          { /* Start of max feeds */
            ctrl=pane;
            layout=[xbox];
            content=
            [ /* contents of max feeds */
              { /* max feeds label */
                ctrl=label;
                wrap=$.label.size;
                alignh=right;
                aligny=0.5;
                text=$.conn.maxfeeds;
                id=connmaxfeeds;
                label=maxfeeds;
              }, /* max feeds label */

              { /* comp. space */
                ctrl=rigid;
              }, /* comp. space */

              { /* max feeds textfield */
                ctrl=number;
                aligny=0.5;
                label=maxfeeds;
                val=$.service.nntp.network.maxfeeds;
              } /* max feeds textfield */

            ] /* max feeds contents */
          }, /* End of max feeds */

          { /* vertical spacing between components */
            ctrl=vstrut;
            size=$.g.comp.space;
          },

          { /* Start of timeout */
            ctrl=pane;
            layout=[xbox];
            content=
            [ /* contents of timeout */
              { /* timeout label */
                ctrl=label;
                wrap=$.label.size;
                alignh=right;
                aligny=0.5;
                text=$.conn.timeout;
                id=conntimeout;
                label=timeout;
              }, /* timeout label */

              { /* comp. space */
                ctrl=rigid;
              }, /* comp. space */

              { /* timeout textfield */
                ctrl=number;
                label=timeout;
                alignh=left;
                items=$.conn.timeout.items;
                labels=$g.timeunit.labels;
                val=$.service.nntp.network.timeout;
                unit=sec;
                aligny=0.5;
              }, /* timeout textfield */
	      {
		ctrl=hglue;
	      }

            ] /* timeout contents */
          } /* End of timeout */

        ] /* end of conn. settings contents */
      }, /* end of connection settings group */

      { /* comp. space */
        ctrl=vstrut;
        size=$.g.comp.space;
      } /* comp. space */


    ] /* system layout contents */
  } /* system layout specs */

]



