phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/templates/desktop login.tpl, 1.4 head.tpl, 1


From: skwashd
Subject: [Phpgroupware-cvs] phpgwapi/templates/desktop login.tpl, 1.4 head.tpl, 1.4 login_denylogin.tpl, 1.4 footer.tpl, 1.4 css.tpl, 1.4 about.tpl, 1.4 about_unknown.tpl, 1.4 login_selectdomain.tpl, 1.4 head.inc.php, 1.5 navbar.inc.php, 1.5 navbar.tpl, 1.4 navbar_app.tpl, 1.4 nextmatchs.tpl, 1.4
Date: Sun, 15 May 2005 04:10:00 +0200

Update of phpgwapi/templates/desktop

Added Files:
     Branch: MAIN
            login.tpl lines: +62 -183
            head.tpl lines: +89 -12
            login_denylogin.tpl lines: +9 -9
            footer.tpl lines: +11 -4
            css.tpl lines: +0 -0
            about.tpl lines: +5 -26
            about_unknown.tpl lines: +2 -12
            login_selectdomain.tpl lines: +59 -57
            head.inc.php lines: +47 -16
            navbar.inc.php lines: +189 -52
            navbar.tpl lines: +37 -119
            navbar_app.tpl lines: +1 -3
            nextmatchs.tpl lines: +33 -27

Log Message:
merged from 16

====================================================
Index: login.tpl
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<!-- BEGIN login_form -->
<head>

<meta http-equiv="Content-Type" content="text/html; charset={charset}" />
<meta name="AUTHOR" content="phpGroupWare http://www.phpgroupware.org"; />
<meta name="description" content="{website_title} login screen, working 
environment powered by phpGroupWare" />
<meta name="keywords" content="{website_title} login screen, phpgroupware, 
groupware, groupware suite" />
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
<title>{website_title} - {lang_login}</title>
</head>

<body bgcolor="#{bg_color}">
<a href="http://{logo_url}";><img 
src="phpgwapi/templates/{template_set}/images/{logo_file}" alt="{logo_title}" 
title="{logo_title}" border="0" /></a>
<p>&nbsp;</p>
<center>{lang_message}</center>
<p>&nbsp;</p>

<table bgcolor="#000000" border="0" cellpadding="0" cellspacing="0" width="40%" 
align="center">
 <tr>
  <td>
   <table border="0" width="100%" bgcolor="#486591" cellpadding="2" 
cellspacing="1">
    <tr bgcolor="#{bg_color_title}">
     <td align="left" valign="middle">
      <font color="#FEFEFE">&nbsp;{website_title}</font>
     </td>
    </tr>
    <tr bgcolor="#e6e6e6">
     <td valign="baseline">

                <form name="login" method="post" action="{login_url}" 
{autocomplete}>
                <input type="hidden" name="passwd_type" value="text" />
                        <table border="0" align="center" bgcolor="#486591" 
width="100%" cellpadding="0" cellspacing="0">
                                <tr bgcolor="#e6e6e6">
                                        <td colspan="2" align="center">{cd}</td>
                                </tr>
                                <tr bgcolor="#e6e6e6">
                                        <td align="right"><font 
color="#000000">{lang_username}:&nbsp;</font></td>
                                        <td><input name="login" 
value="{cookie}" />{logindomain}</td>
                                </tr>
                                <tr bgcolor="#e6e6e6">
                                        <td align="right"><font 
color="#000000">{lang_password}:&nbsp;</font></td>
                                        <td><input name="passwd" 
type="password" onchange="this.form.submit();" /></td>
                                </tr>
                                <tr bgcolor="#e6e6e6">
                                        <td colspan="2" align="center"><input 
type="submit" value="{lang_login}" name="submitit" /></td>
                                </tr>
                                <tr bgcolor="#e6e6e6">
                                        <td colspan="2" align="right"><font 
color="#000000" size="-1">phpGroupWare {version}</font></td>
                                </tr>
                        </table>
                </form>

     </td>
    </tr>
   </table>
  </td>
 </tr>
</table>
</body>
<!-- END login_form -->
</html>

====================================================
Index: head.tpl
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<!-- BEGIN head -->
<html>
        <head>
                <meta http-equiv="Content-Type" content="text/html; 
charset={charset}" />
                <meta name="AUTHOR" content="phpGroupWare 
http://www.phpgroupware.org"; />
                <meta name="description" content="phpGroupWare" />
                <meta name="keywords" content="phpGroupWare" />
                <meta name="robots" content="none" />
                <link rel="ICON" href="{img_icon}" type="image/x-ico" />
                <link rel="SHORTCUT ICON" href="{img_shortcut}" />
                {css}
                <link href="{theme_css}" type="text/css" rel="StyleSheet" />
                <title>{website_title}</title>
                {java_script}
                <script>
                        //<![CDATA[
                        //Parts based public doman code from ALA - 
http://www.alistapart.com/articles/dropdowns/
                        function fixIE()
                        {
                                if( document.all && document.getElementById )
                                {
                                        navRoot = 
document.getElementById('navbar_ul');
                                        for( i=0; i < 
navRoot.childNodes.length; i++ )
                                        {
                                                node = navRoot.childNodes[i];
                                                if( node.nodeName == 'LI' )
                                                {
                                                        
node.onmouseover=function()
                                                        {
                                                                this.className 
+= ' over';
                                                        }

                                                        
node.onmouseout=function()
                                                        {
                                                                this.className 
= this.className.replace(' over', '');
                                                        }
                                                        if( 
node.childNodes.length )
                                                        {
                                                                for( j=0; j < 
node.childNodes.length; j++)
                                                                {
                                                                        subNode 
= node.childNodes[j];
                                                                        if( 
subNode.nodeName == 'UL' )
                                                                        {
                                                                                
if( subNode.childNodes.length )
                                                                                
{
                                                                                
        for( k = 0; k < subNode.childNodes.length; k++)
                                                                                
        {
                                                                                
                if( subNode.childNodes[k].nodeName == 'LI' )
                                                                                
                {
                                                                                
                        subNode.childNodes[k].onmouseover=function()
                                                                                
                        {
                                                                                
                                this.className += ' over';
                                                                                
                        }

                                                                                
                        subNode.childNodes[k].onmouseout=function()
                                                                                
                        {
                                                                                
                                this.className = this.className.replace(' 
over', '');
                                                                                
                        }

                                                                                
                }
                                                                                
        }
                                                                                
}
                                                                        }

                                                                }
                                                        }
                                                }
                                        }
                                }
                        }

                        function updateClock()
                        {
                                var oDate = new Date();

                                strHr = oDate.getHours();
                                strMin = ( oDate.getMinutes() < 10 ? "0" + 
oDate.getMinutes() : oDate.getMinutes() );

                                document.getElementById('clock').innerHTML = 
strHr + ':' + strMin;

                                setTimeout('updateClock()', 1000);
                        }

                        function initPage()
                        {
                                fixIE();
                                updateClock();
                        }
                        //]]>
                </script>
</head>
<body {body_tags}>
<!-- END Head -->

====================================================
Index: login_denylogin.tpl

<!-- BEGIN form -->
<body bgcolor="#FFFFFF">
<a href="http://www.phpgroupware.org";><img 
src="phpgwapi/templates/{template_set}/images/logo.gif" alt="phpGroupWare" 
border="0" /></a>

<table border="0" height="94%" width="100%">
 <tr>
  <td align="center">
    Opps! You caught us in the middle of a system upgrade.<br />Please, check 
back with us shortly.
  </td>
 </tr>
</table>

<!-- END form -->

====================================================
Index: footer.tpl
<!-- BEGIN footer -->
                        </div>
                </div>
                <div id="footer">
                        <ul>
                                <li class="first">{powered_by}</li>
                                <li>&nbsp;</li>
                                <li class="last">{current_users}</li>
                        </ul>
                </div>
<!-- END footer -->
        </body>
</html>


====================================================
Index: css.tpl
<style type="text/css">
<!--
        {app_css}
-->
</style>

====================================================
Index: about.tpl
<div id="about_box">
        <h2><a href="http://www.phpgroupware.org"; target="_blank"><img 
src="{phpgw_logo}" />phpGroupWare</a></h2>
        <p><a href="http://www.phpgroupware.org"; 
target="_blank">phpGroupWare</a> is a multi-user, web-based groupware suite 
written in <a href="http://www.php.net"; target="_blank">PHP</a>.</p>
        <p>{phpgw_app_about}</p>
</div>&nbsp;

====================================================
Index: about_unknown.tpl
<h3>{app_header}</h3>
<p>Sorry, no further information is available on this application.</p>

====================================================
Index: login_selectdomain.tpl
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<!-- BEGIN login_form -->
<head>

<meta http-equiv="Content-Type" content="text/html; charset={charset}" />
<meta name="AUTHOR" content="phpGroupWare http://www.phpgroupware.org"; />
<meta name="description" content="phpGroupWare login screen" />
<meta name="keywords" content="phpGroupWare login screen" />

<title>{website_title} - Login</title>
</head>

<body bgcolor="#FFFFFF">
<a href="http://www.phpgroupware.org";><img 
src="phpgwapi/templates/{template_set}/images/logo.gif" alt="phpGroupWare"  
border="0" /></a>
<p>&nbsp;</p>
<center>{lang_message}</center>
<p>&nbsp;</p>

<table bgcolor="#000000" border="0" cellpadding="0" cellspacing="0" width="50%" 
align="center">
 <tr>
  <td>
   <table border="0" width="100%" bgcolor="#486591" cellpadding="2" 
cellspacing="1">
    <tr bgcolor="#486591">
     <td align="left" valign="middle">
      <font color="#fefefe">&nbsp;phpGroupWare</font>
     </td>
    </tr>
    <tr bgcolor="#e6e6e6">
     <td valign="baseline">

      <form method="post" action="{login_url}">
          <input type="hidden" name="passwd_type" value="text" />
       <table border="0" align="center" bgcolor="#486591" width="100%" 
cellpadding="0" cellspacing="0">
        <tr bgcolor="#e6e6e6">
         <td colspan="3" align="center">
          {cd}
         </td>
        </tr>
        <tr bgcolor="#e6e6e6">
         <td align="right"><font color="#000000">{lang_username}:</font></td>
         <td align="right"><input name="login" value="{cookie}" /></td>
         <td align="left">&nbsp;@&nbsp;<select 
name="logindomain">{select_domain}</select></td>
        </tr>
        <tr bgcolor="#e6e6e6">
         <td align="right"><font color="#000000">{lang_password}:</font></td>
         <td align="right"><input name="passwd" type="password" 
onchange="this.form.submit()" /></td>
         <td>&nbsp;</td>
        </tr>
        <tr bgcolor="#e6e6e6">
         <td colspan="3" align="center">
          <input type="submit" value="{lang_login}" name="submitit" />
         </td>
        </tr>
        <tr bgcolor="#e6e6e6">
         <td colspan="3" align="right">
          <font color="#000000" size="-1">{version}</font>
         </td>
        </tr>
       </table>
      </form>

     </td>
    </tr>
   </table>
  </td>
 </tr>
</table>

<!-- END login_form -->
</html>

====================================================
Index: head.inc.php
<?php
  /**************************************************************************\
  * phpGroupWare                                                             *
  * http://www.phpgroupware.org                                              *
  * --------------------------------------------                             *
  *  This program is free software; you can redistribute it and/or modify it *
  *  under the terms of the GNU General Public License as published by the   *
  *  Free Software Foundation; either version 2 of the License, or (at your  *
  *  option) any later version.                                              *
  \**************************************************************************/

  /* $Id: head.inc.php,v 1.5 2005/05/15 02:10:56 skwashd Exp $ */

        $tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
        $tpl->set_unknowns('remove');
        $tpl->set_file(array('head' => 'head.tpl'));

        $app = $GLOBALS['phpgw_info']['flags']['currentapp'];
        $app = $app ? ' ['.(isset($GLOBALS['phpgw_info']['apps'][$app]) ? 
$GLOBALS['phpgw_info']['apps'][$app]['title'] : lang($app)).']':'';

        if(file_exists(PHPGW_SERVER_ROOT . '/phpgwapi/templates/desktop/css/' . 
$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'] . '.css'))
        {
                $theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] 
. 
'/phpgwapi/templates/desktop/css/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'].'.css';
        }
        else
        {
                $theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] 
. '/phpgwapi/templates/desktop/css/desktop.css';
        }

        if( !is_object($GLOBALS['phpgw']->js) )
        {
                $GLOBALS['phpgw']->js = createObject('phpgwapi.javascript');
        }
        $GLOBALS['phpgw']->js->set_onload('initPage();');

        $var = Array (
                'img_icon'      => PHPGW_IMAGES_DIR . '/favicon.ico',
                'img_shortcut'  => PHPGW_IMAGES_DIR . '/favicon.ico',
                'charset'       => lang('charset'),
                'font_family'   => $GLOBALS['phpgw_info']['theme']['font'],
                'website_title' => 
$GLOBALS['phpgw_info']['server']['site_title'] . $app,
                'body_tags'     => 
$GLOBALS['phpgw']->common->get_body_attribs(),
                'theme_css'     => $theme_css,
                'css'           => $GLOBALS['phpgw']->common->get_css(),
                'java_script'   => $GLOBALS['phpgw']->common->get_java_script(),
        );
        $tpl->set_var($var);
        $tpl->pfp('out','head');
        unset($tpl);
?>

====================================================
Index: navbar.inc.php
<?php
  /**************************************************************************\
  * phpGroupWare                                                             *
  * http://www.phpgroupware.org                                              *
  * --------------------------------------------                             *
  *  This program is free software; you can redistribute it and/or modify it *
  *  under the terms of the GNU General Public License as published by the   *
  *  Free Software Foundation; either version 2 of the License, or (at your  *
  *  option) any later version.                                              *
  \**************************************************************************/

  /* $Id: navbar.inc.php,v 1.5 2005/05/15 02:10:56 skwashd Exp $ */

  function parse_navbar($force = False)
  {
                $tpl = createobject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
                $tpl->set_unknowns('remove');

                $tpl->set_file(
                        array(
                                'navbar'        => 'navbar.tpl',
                                'navbar_app'    => 'navbar_app.tpl'
                        )
                );

                $tpl->set_block('navbar', 'app_text', 'apps_text');
                $tpl->set_block('navbar', 'app_icon', 'apps_icon');
                $tpl->set_block('navbar', 'app_both', 'apps_both');
                $tpl->set_block('navbar', 'prefs', 'prefs_block');

                switch 
($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format'])
                {
                        case 'text':
                                $block = 'app_text';
                                $block_out = 'apps_text';
                                $tpl->set_var(
                                                array(
                                                        'apps_icon'     => '',
                                                        'apps_both'     => ''
                                                )
                                );
                                break;

                        case 'icons':
                                $block = 'app_icon';
                                $block_out = 'apps_icon';
                                $tpl->set_var(
                                                array(
                                                        'apps_text'     => '',
                                                        'apps_both'     => ''
                                                )
                                );

                                break;

                        default:
                                $block = 'app_both';
                                $block_out = 'apps_both';
                                $tpl->set_var(
                                                array(
                                                        'apps_text'     => '',
                                                        'apps_icon'     => ''
                                                )
                                );
                                break;
                }

                if ($GLOBALS['phpgw_info']['flags']['navbar_target'])
                {
                        $target = ' target="' . 
$GLOBALS['phpgw_info']['flags']['navbar_target'] . '"';
                }

                $prefs_ok = False;
                foreach($GLOBALS['phpgw_info']['navbar'] as $app => $app_data)
                {
                        if($app == 'preferences')
                        {
                                $tpl->set_var(
                                        array(
                                                'prefs_url'     => 
$app_data['url'],
                                                'lang_prefs'    => 
$app_data['title']
                                        )
                                );
                                $tpl->parse('prefs_block', 'prefs');
                                $prefs_ok = True;
                                continue;
                        }

                        if($app == 'logout' || $app == 'about')
                        {
                                continue;
                        }

                        $app_data['target'] = $target;
                        $tpl->set_var($app_data);
                        $tpl->parse($block_out, $block, True);
                }

                if( !$prefs_ok )
                {
                        $tpl->set_var('prefs', '');
                }

                $var = array();
                $var['lang_applications'] = lang('applications');
                $var['img_base_url'] = 
$GLOBALS['phpgw_info']['server']['webserver_url'] . 
'/phpgwapi/templates/desktop/images/';
                $var['lang_logout'] = lang('logout');
                $var['logout_url'] = 
$GLOBALS['phpgw_info']['navbar']['logout']['url'];
                $var['lang_about'] = lang('about');
                $var['about_url'] = 
$GLOBALS['phpgw_info']['navbar']['about']['url'];
                $var['cur_app_title'] = 
$GLOBALS['phpgw_info']['navbar'][$GLOBALS['phpgw_info']['flags']['currentapp']]['title'];
                $var['cur_app_icon'] = 
$GLOBALS['phpgw_info']['navbar'][$GLOBALS['phpgw_info']['flags']['currentapp']]['icon'];

                if ($GLOBALS['phpgw_info']['server']['showpoweredbyon'] == 
'top')
                {
                        $var['powered_by'] = lang('Powered by phpGroupWare 
version %1',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']);
                }
                if (isset($GLOBALS['phpgw_info']['navbar']['admin']) && 
$GLOBALS['phpgw_info']['user']['preferences']['common']['show_currentusers'])
                {
                        $var['current_users'] = '<a href="' . 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions')
                                . '">&nbsp;' . lang('Current users') . ': ' . 
$GLOBALS['phpgw']->session->total() . '</a>';
                }
                $now = time();
                $var['user_info'] = 
$GLOBALS['phpgw']->common->display_fullname() . ' - '
                                . 
lang($GLOBALS['phpgw']->common->show_date($now,'l')) . ' '
                                . 
$GLOBALS['phpgw']->common->show_date($now,$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']);

                // Maybe we should create a common function in the 
phpgw_accounts_shared.inc.php file
                // to get rid of duplicate code.
                if ($GLOBALS['phpgw_info']['user']['lastpasswd_change'] == 0)
                {
                        $api_messages = lang('You are required to change your 
password during your first login')
                                . '<br /> Click this image on the navbar: <img 
src="'
                                . 
$GLOBALS['phpgw']->common->image('preferences','navbar.gif').'">';
                }
                elseif ($GLOBALS['phpgw_info']['user']['lastpasswd_change'] < 
time() - (86400*30))
                {
                        $api_messages = lang('it has been more then %1 days 
since you changed your password',30);
                }

                // This is gonna change
                if (isset($cd))
                {
                        $var['messages'] = $api_messages . '<br />' . 
checkcode($cd);
                }

                if (isset($GLOBALS['phpgw_info']['flags']['app_header']))
                {
                        $var['current_app_header'] = 
$GLOBALS['phpgw_info']['flags']['app_header'];
                        $var['th_bg'] = 
$GLOBALS['phpgw_info']['theme']['th_bg'];
                }
                else
                {
                        $tpl->set_block('navbar','app_header','app_header');
                        $var['app_header'] = '';
                }

                $tpl->set_var($var);
                $tpl->pfp('out','navbar');
                // If the application has a header include, we now include it
                if( !$GLOBALS['phpgw_info']['flags']['noappheader'] && 
isset($_GET['menuaction']) )
                {
                        list($app,$class,$method) = 
explode('.',$_GET['menuaction']);
                        if (is_array($GLOBALS[$class]->public_functions) && 
$GLOBALS[$class]->public_functions['header'])
                        {
                                $GLOBALS[$class]->header();
                        }
                }
                $GLOBALS['phpgw']->hooks->process('after_navbar');
                return;
        }

        function parse_navbar_end()
        {
                $tpl = createobject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
                $tpl->set_unknowns('remove');

                $tpl->set_file(
                        array(
                                'footer' => 'footer.tpl'
                        )
                );
                $var = array();
                $var['powered_by'] = lang('Powered by phpGroupWare version 
%1',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']);
                if (isset($GLOBALS['phpgw_info']['navbar']['admin']) && 
$GLOBALS['phpgw_info']['user']['preferences']['common']['show_currentusers'])
                {
                        $var['current_users'] = '<a href="' . 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions')
                                . '">' . lang('Current users') . ': ' . 
$GLOBALS['phpgw']->session->total() . '</a>';
                }
                $now = time();
                $var['user_info'] = 
$GLOBALS['phpgw']->common->display_fullname() . ' - '
                                . 
lang($GLOBALS['phpgw']->common->show_date($now,'l')) . ' '
                                . $GLOBALS['phpgw']->common->show_date($now, 
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']);
                $tpl->set_var($var);
                $GLOBALS['phpgw']->hooks->process('navbar_end');
                $tpl->pfp('out','footer');
        }

====================================================
Index: navbar.tpl
<!-- BEGIN navbar -->
                <div id="header">
                        <div id="navbar">
                                <ul id="navbar_ul">
                                        <li><img src="{img_base_url}logo.png" 
alt="phpGroupWare Logo" height="21" width="25" />{lang_applications}
                                                <ul>
                                                        <!-- BEGIN app_both -->
                                                        <li><a 
href="{url}"{target}><img src="{icon}" alt="{title}"
                                                                title="{title}" 
height="16" width="16" /> {title}</a></li>
                                                        <!-- END app_both -->
                                                        <!-- BEGIN app_text -->
                                                        <li><a 
href="{url}"{target}>{title}</a></li>
                                                        <!-- END app_text -->
                                                        <!-- BEGIN app_icon -->
                                                        <li><a 
href="{url}"{target}><img src="{icon}" alt="{title}"
                                                                title="{title}" 
height="16" width="16" /></a></li>
                                                        <!-- END app_icon -->
                                                </ul>
                                        </li>
                                        <!-- BEGIN prefs -->
                                        <li><a 
href="{prefs_url}">{lang_prefs}</a></li>
                                        <!-- END prefs -->
                                        <li><a 
href="{logout_url}">{lang_logout}</a></li>
                                </ul>
                        </div>
                        <div id="about"><a href="{about_url}">?</a></div>
                        <div id="user">{user_info} <span 
id="clock"></span></div>
                </div>
                <div id="content">
                        <div id="content_title">
                                <img src="{cur_app_icon}" alt="{cur_app_title} 
icon" height="16" width="16" /> {cur_app_title}</div>
                        <!-- BEGIN app_header -->
                                <strong>{current_app_header}</strong><hr />
                        <!-- END app_header -->
                        {messages}<br />
                        <div id="content_body">
<!-- END navbar -->

====================================================
Index: navbar_app.tpl
<div>{value}</div>

====================================================
Index: nextmatchs.tpl
<!-- BEGIN nextmatchs -->
 <table width="{table_width}" border="0" bgcolor="{th_bg}" cellspacing="0" 
cellpadding="0" cols="5">
  <tr>   {left}
   <td align="center" bgcolor="{th_bg}" valign="top" 
width="92%">{cats_search_filter_data}</td>   {right}
  </tr>
 </table>

<br />

<!-- END nextmatchs -->


<!-- BEGIN filter -->
       <td>
{select}
        <noscript>
         <input type="submit" value="{lang_filter}" />
        </noscript>
       </td>
<!-- END filter -->


<!-- BEGIN form -->
<td width="2%" align="{align}" valign="top">
        <form method="post" action="{action}" name="{form_name}">
        {hidden}
        <table border="0" bgcolor="{th_bg}" cellspacing="0" cellpadding="0">
        <tr>
                <td align="{align}">
                        <input type="image" src="{img}" border="{border}" 
alt="{label}" width="12" height="12" name="start" value="{start}" />
                </td>
        </tr>
        </table>
</form>
</td>
<!-- END form -->


<!-- BEGIN icon -->
<td width="2%" align="{align}">&nbsp;{_link}</td>
<!-- END icon -->


<!-- BEGIN link -->
<td width="2%" align="{align}" valign="top">
        <table border="0" bgcolor="{th_bg}" cellspacing="0" cellpadding="0">
        <tr>
                <td align="{align}">
                        <img src="{img}" border="{border}" width="12" 
height="12" alt="{label}" />
                </td>
        </tr>
        </table>
</td>
<!-- END link -->


<!-- BEGIN search -->
        <input type="text" name="query" 
value="{query_value}">&nbsp;{searchby}<input type="submit" name="Search" 
value="{lang_search}">
<!-- END search -->

<!-- BEGIN cats -->
       <td>
        {lang_category}&nbsp;&nbsp;<select name="{cat_field}" 
onchange="this.form.submit();">
         <option value="0">{lang_all}</option>
         {categories}
        </select>
        <noscript><input type="submit" name="cats" value="{lang_select}" 
/></noscript>
       </td>
<!-- END cats -->

<!-- BEGIN search_filter -->
    <form method="post" action="{form_action}" name="filter">
     <input type="hidden" name="filter" value="{filter_value}" />
     <input type="hidden" name="qfield" value="{qfield_value}" />
     <input type="hidden" name="start" value="{start_value}" />
     <input type="hidden" name="order" value="{order_value}" />
     <input type="hidden" name="sort" value="{sort_value}" />
     <input type="hidden" name="query" value="{query_value}" />
     <table border="0" bgcolor="{th_bg}" cellspacing="0" cellpadding="0">
      <tr>
                <td>{search}</td>
                <td>&nbsp;</td>
                {filter}
      </tr>
     </table>
    </form>
<!-- END search_filter -->

<!-- BEGIN cats_search_filter -->
    <form method="post" action="{form_action}" name="filter">
     <input type="hidden" name="filter" value="{filter_value}" />
     <input type="hidden" name="qfield" value="{qfield_value}" />
     <input type="hidden" name="start" value="{start_value}" />
     <input type="hidden" name="order" value="{order_value}" />
     <input type="hidden" name="sort" value="{sort_value}" />
     <input type="hidden" name="query" value="{query_value}" />
     <table border="0" bgcolor="{th_bg}" cellspacing="0" cellpadding="0">
      <tr>
                {cats}
                <td>&nbsp;</td>
                <td>{search}</td>
                <td>&nbsp;&nbsp;</td>
                {filter}
      </tr>
     </table>
    </form>
<!-- END cats_search_filter -->







reply via email to

[Prev in Thread] Current Thread [Next in Thread]