Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 14. október 2026

Rozdiely pre phpMyEdit/doc/sgml/configuration.general.sgml medzi verziami 1.27 a 1.28

verzia 1.27, 2003/04/06 01:26:18 verzia 1.28, 2003/04/06 19:32:33
Riadok 1 
Riadok 1 
 <!-- $Platon: phpMyEdit/doc/sgml/configuration.general.sgml,v 1.26 2003/04/05 20:32:05 nepto Exp $ -->  <!-- $Platon: phpMyEdit/doc/sgml/configuration.general.sgml,v 1.27 2003/04/06 01:26:18 nepto Exp $ -->
   
 <sect1 id="configuration.mysql-options">  <sect1 id="configuration.mysql-options">
 <title id="configuration.mysql-options.title">Database connection</title>  <title id="configuration.mysql-options.title">Database connection</title>
Riadok 743  $opts['cgi']['persist'] = array(
Riadok 743  $opts['cgi']['persist'] = array(
   
 CSS classes policy in &name; is one from the most complicated and complex  CSS classes policy in &name; is one from the most complicated and complex
 features. The goal is to reach almost any possible classification of HTML  features. The goal is to reach almost any possible classification of HTML
 elements with possibility to simplify classification to lower number of  elements with the possibility to simplify classification to lower number of
 classes.  classes.
   
 </para>  </para>
Riadok 753  The phpMyEdit CSS class schema is displa
Riadok 753  The phpMyEdit CSS class schema is displa
   
 <example><title>CSS class name schema</title>  <example><title>CSS class name schema</title>
 <programlisting><![CDATA[  <programlisting><![CDATA[
 <prefix>-<element>-<page_type>-<position>-<dividor>-<postfix>  <prefix>-<element>-<page_type>-<position>-<divider>-<postfix>
 ]]></programlisting></example>  ]]></programlisting></example>
 </para>  </para>
 <para>  <para>
Riadok 762  Particular parts are described here:
Riadok 762  Particular parts are described here:
   
 <itemizedlist spacing=compact>  <itemizedlist spacing=compact>
 <listitem><para>  <listitem><para>
 The <varname>prefix</> part is straighforward. Every &name; CSS class has user  The <varname>prefix</> part is straighforward. Every &name; CSS class has a user
 configurable prefix. It can be empty.  configurable prefix. It can be empty.
 </para></listitem>  </para></listitem>
 <listitem><para>  <listitem><para>
 The <varname>element</> represent the name or type of element.  The examples  The <varname>element</> represents the name or type of element.  The examples
 are <varname>form</>, <varname>row</>, <varname>value</>, <varname>input</>  are <varname>form</>, <varname>row</>, <varname>value</>, <varname>input</>
 and others.  and others.
 </para></listitem>  </para></listitem>
 <listitem><para>  <listitem><para>
 For design distinguish between various types of pages there is  In order to distinguish between different types of pages there is a
 <varname>page_type</> present. The possible values for this part are  <varname>page_type</> present. The possible values for this part are
 <varname>add</>, <varname>view</>, <varname>change</>, <varname>copy</>,  <varname>add</>, <varname>view</>, <varname>change</>, <varname>copy</>,
 <varname>delete</>.  This part is empty for table listing and table filtering  <varname>delete</>.  This part is empty for table listing and table filtering
 pages.  pages.
 </para></listitem>  </para></listitem>
 <listitem><para>  <listitem><para>
 There are also some elements, which occurs on the top and on the bottom of  There are also some elements, which occur on the top and on the bottom of
 page as well. For this matter there is <varname>position</> part present with  page as well. For this matter there is <varname>position</> part present with
 possible values <varname>up</> and <varname>down</>.  possible values <varname>up</> and <varname>down</>.
 </para></listitem>  </para></listitem>
 <listitem><para>  <listitem><para>
 The <varname>dividor</> aim is to provide difference between even and odd  The <varname>divider</> aim is to provide difference between even and odd
 table listing rows. This part, if present, is always numeric with values  table listing rows. This part, if present, is always numeric with values
 starting from <constant>0</>.  starting from <constant>0</>.
 </para></listitem>  </para></listitem>
 <listitem><para>  <listitem><para>
 At the end of CSS class name is <varname>postfix</> part located. This part is  At the end of CSS class name is <varname>postfix</>. This part is related to a
 related to particular field. Every field can have its own postfix. See field's  particular field. Every field can have its own postfix. See field's <xref
 <xref linkend="configuration.fields.css" endterm="configuration.fields.css">  linkend="configuration.fields.css" endterm="configuration.fields.css"> for
 for more information.  more information.
 </para></listitem>  </para></listitem>
 <listitem><para>  <listitem><para>
 The separator between parts is by default dash (<constant>-</>) and can be  The default separator between parts is dash (<constant>-</>) and can be
 changed if desired.  changed if desired.
 </para></listitem>  </para></listitem>
 </itemizedlist>  </itemizedlist>
Riadok 802  changed if desired.
Riadok 802  changed if desired.
 </para>  </para>
 <para>  <para>
   
 CSS class names configuration is handle via <varname>$opts['css']</>  CSS class names configuration is handled via <varname>$opts['css']</>
 associative array. Here follows possible configuration options related to this  associative array. Here are possible configuration options related to this
 issue.  issue.
   
 </para>  </para>
Riadok 815  issue.
Riadok 815  issue.
 <member><varname>$opts['css']['page_type']</></>  <member><varname>$opts['css']['page_type']</></>
 <member> &nbsp; if page type should occur in class name (disabled by default)</>  <member> &nbsp; if page type should occur in class name (disabled by default)</>
 <member><varname>$opts['css']['position']</></>  <member><varname>$opts['css']['position']</></>
 <member> &nbsp; if possition on the page should occur in class name (disabled by default)</>  <member> &nbsp; if position on the page should occur in class name (disabled by default)</>
 <member><varname>$opts['css']['dividor']</></>  <member><varname>$opts['css']['divider']</></>
 <member> &nbsp; how many list table rows should have own number before  <member> &nbsp; how many list table rows should have their own number before
 starting counting again from <constant>0</> (by default <constant>2</>; value  starting counting again from <constant>0</> (by default <constant>2</>; value
 of <constant>-1</> means every row has its own number and value of  of <constant>-1</> means every row has its own number and value of
 <constant>0</> means disabled)</>  <constant>0</> means disabled)</>
 <member><varname>$opts['css']['separator']</></>  <member><varname>$opts['css']['separator']</></>
 <member> &nbsp; separator between CSS class name elements (dash <constant>-</> by default)</>  <member> &nbsp; separator between CSS class name parts (dash <constant>-</> by default)</>
 </simplelist>  </simplelist>
   
 </para>  </para>
 <para>  <para>
   
 For concrete names of CSS classes look into HTML source code of your generated  For concrete names of CSS classes look into HTML source code of your generated
 page. In the following box are examples how CSS class names may looks like.  page. In the following box are examples of how CSS class names may appear.
 However your CSS class names can differ according to your fields and  However your CSS class names can differ according to your fields and
 configuration appropriatelly.  configuration respectively.
   
 <example><title>CSS class name examples</title>  <example><title>CSS class name examples</title>
 <programlisting><![CDATA[  <programlisting><![CDATA[

Legend:
Odstranené z verzie1.27  
zmenené riadky
  Pridané vo verzii1.28

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok