phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] old/anthill/templates/default prodselect.tpl, 1.1 sub


From: skwashd
Subject: [Phpgroupware-cvs] old/anthill/templates/default prodselect.tpl, 1.1 submit.tpl, 1.1 nav.tpl, 1.1 login.tpl, 1.1 home.tpl, 1.1 verselect.tpl, 1.1 footer.tpl, 1.1 editver.tpl, 1.1 anthill_setup_config.tpl, 1.1 editprod.tpl, 1.1 config.tpl, 1.1 config.inc.php.tpl, 1.1 compselect.tpl, 1.1 header.tpl, 1.1
Date: Thu, 5 May 2005 02:34:00 +0200

Update of old/anthill/templates/default

Added Files:
     Branch: MAIN
            prodselect.tpl 
            submit.tpl 
            nav.tpl 
            login.tpl 
            home.tpl 
            verselect.tpl 
            footer.tpl 
            editver.tpl 
            anthill_setup_config.tpl 
            editprod.tpl 
            config.tpl 
            config.inc.php.tpl 
            compselect.tpl 
            header.tpl 

Log Message:
retiring app

====================================================
Index: prodselect.tpl
  <table border="0" cellpadding="2" cellspacing="0">
    <!-- BEGIN product -->
    <tr>
      <td width="20%" align="right">
        <a href="{url}&pid={pid}"><b>{name}</b></a>:
      </td>
      <td width="80%">{description} {extra}</td>
    </tr>
    <!-- END product -->
    <tr>
      <td colspan="2"><a href="{url_add}">{lang_add}</a></td>
    </tr>
  </table>

====================================================
Index: submit.tpl
  <p>
    {lang_explain}<br>
    {errors}
  </p>
  <form method="post" action="{form_action}">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="10%" align="right">
        <b>{lang_reporter}:</b>
      </td>
      <td width="40%">
        {reporter}
        <input type="hidden" name="reporter" value="{account_id}">
      </td>
      <td width="10%" align="right">
        <b>{lang_product}:</b>
      </td>
      <td width="40%">{product_name}</td>
    </tr>
    <tr>
      <td width="10%" align="right">
        <b>{lang_version}:</b>
      </td>
      <td width="40%">
        {select_version}
      </td>
      <td width="10%" align="right">
        <b>{lang_component}:</b>
      </td>
      <td width="40%">
        {select_component}
      </td>
    </tr>
    <tr>
      <td width="10%" align="right">
        <b>{lang_priority}:</b>
      </td>
      <td width="40%">
        {select_priority}
      </td>
      <td width="10%" align="right">
        <b>{lang_severity}:</b>
      </td>
      <td width="40%">
        {select_severity}
      </td>
    </tr>
    <tr>
      <td width="10%" align="right">
        <b>{lang_assigned_to}:</b>
      </td>
      <td colspan="3" width="90%">
        {select_assign}&nbsp;
        <span class="tiny">{lang_explain_assign}</span>
      </td>
    </tr>
    <tr>
      <td width="10%" align="right">
        <b>{lang_summary}:</b>
      </td>
      <td colspan="3" width="90%">
        <input type="text" name="shortdesc" value="{def_shortdesc}" size="76" 
maxlength="100">
      </td>
    </tr>
    <tr>
      <td width="10%" align="right">
        <b>URL:</b>
      </td>
      <td colspan="3" width="90%">
        <input type="text" name="url" value="{def_url}" size="76" 
maxlength="128"> ({lang_inc_prefix})
      </td>
    </tr>
    <tr>
      <td width="10%" align="right">
        <b>{lang_description}:</b>
      </td>
      <td colspan="3" width="90%">
        <textarea name="longdesc" cols="76" rows="10" 
wrap="hard">{def_longdesc}</textarea>
      </td>
    </tr>
    <tr>
      <td width="10%" align="right">
        &nbsp;
      </td>
      <td colspan="3" width="90%">
        <input type="hidden" name="product" value="{pid}">
        &nbsp;&nbsp;&nbsp;&nbsp;
        <input type="submit" value="{lang_save}">
        &nbsp;&nbsp;&nbsp;&nbsp;
        <input type="reset" value="{lang_clear}">
  </table>
  </form>

====================================================
Index: nav.tpl
      <table border="0" cellpadding="0" cellspacing="0" align="center" 
width="95%">
        <tr>
          <td>
            <table border="0" cellpadding="2" cellspacing="0" width="100%">
              <tr bgcolor="#8b95a8">
                <td width="70%" style="text-align: center;">[
                  <a href="{url_home}">{lang_home}</a>
                  <!-- BEGIN nav_link -->
                  | <a href="{url_nav}">{lang_nav}</a>
                  <!-- END nav_link -->
                  ]
                </td>
                <td width="30%" style="text-align: right;">{cur_user}</td>
              </tr>
              <tr>
                <td colspan="2">&nbsp;</td>
              </tr>
              <tr colspan="2" bgcolor="#8b95a8">
                <td colspan="2"><b>{section}</b></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <br />

====================================================
Index: login.tpl
<form method="POST" action="{form_action}">
<table border="0" cellpadding="0" cellspacing="0" width="95%">
  <tr>
    <td colspan="2" align="center">{msg}</td>
  </tr>
  <tr>
  <tr>
    <td align="right" width="50%">
      <b>{lang_username}:</b>
    </td>
    <td width="50%">
      <input type="text" name="uname" size="25" maxlength="25" 
value="{last_login}"><br />
    </td>
  </tr>
  <tr>
    <td align="right" width="50%">
      <b>{lang_password}:</b>
    </td>
    <td width="50%">
      <input type="password" name="passwd" size="25" maxlength="40"><br />
    </td>
  </tr>
  <tr>
    <td align="right" width="50%">&nbsp;</td>
    <td width="50%">
      <input type="submit" name="login" value="{lang_login}"><br />
    </td>
  </tr>
  <tr>
    <td align="center" colspan="2">
      <a href="{url_new_user}">{lang_new_user}</a><br />
      <a href="{url_anon}">{lang_anon}</a>
    </td>
  </tr>
</table>
</form>

====================================================
Index: home.tpl
  <table border="0" cellpadding="0" cellspacing="0" align="center" width="95%">
    <tr>
      <td>
        <table border="0" cellpadding="0" cellspacing="0" align="center" 
width="100%">
          <tr>
            <td bgcolor="#ffffff" width="100%">
              <p>{site_blurb}</p>
            </td>
          </tr>
        </table>
  <center>
  <table border="0" cellpadding="0" cellspacing="0" width="30%">
    <tr>
      <td width="50%" valign="top">
         {lang_accounting}<br /><br />
         <!-- BEGIN l_link -->
         <a href="{url_l}">{lang_l}</a><br />
         <!-- END l_link -->
      </td>
      <td width="50%" valign="top">
         {lang_problem_reporting}<br /><br />
         <!-- BEGIN r_link -->
         <a href="{url_r}">{lang_r}</a><br />
         <!-- END r_link -->
      </td>
    </tr>
  </table>
  </center>

====================================================
Index: verselect.tpl
  <table border="0" cellpadding="0" width="50%" style="{border: 1px solid 
#000000; padding:0px;}">
    <tr>
      <td style="{text-align: center;}"><b>{lang_vers_4_product}</b></td>
    </tr>
    <!-- BEGIN version -->
    <tr>
      <td>
        <a href="{url}&vid={vid}"><b>{name}</b></a>
      </td>
    </tr>
    <!-- END version -->
    <tr>
      <td style="{text-align: center;}">
        <br><a href="{url_add_new_version}">{lang_add_new_version}</a>
      </td>
    </tr>
  </table>

====================================================
Index: footer.tpl
      <br /><br />
      <p><font size="1"><center>
      <img src="{url_img}" width="109" height="30" alt="{lang_powered_by}"><br 
/>
      <a href="{url_anthill}">{lang_powered_by}</a> - {lang_copyright}
      </center></font></p>
    </td>
  </tr>
</table>

====================================================
Index: editver.tpl
    <form method="POST" action="{action}">
    <table cellpadding="0" cellspacing="0" style="border: 1px solid #000000;">
      <tr class="th">
        <td colspan="2">
                <b>{lang_edit_version}</b>
          <input type="hidden" name="vid" value="{vid}">
        </td>
      </tr>
      <tr class="row_on">
        <td style="text-align: right;"><b>{lang_version}:</b></td>
        <td><input type="text" name="fields[name]" size="50" maxlength="64" 
value="{value_name}"></td>
      </tr>
      <tr class="row_off">
        <td style="text-align: right; vertical-align: 
top;"><b>{lang_active}:</b></td>
        <td>
          <input type="checkbox" {value_active} name="fields[active]">
        </td>
      </tr>
      <tr class="th">
        <td colspan="2" style="text-align: center;">
          <input type="submit" name="submitit" value="{lang_save}">
          <input type="reset" name="reset" value="{lang_undo}">
          <input type="button" name="cancel" value="{lang_done}" 
onClick="window.location='{cancel_url}'">
        </td>
      </tr>
    </table>
    </form>

====================================================
Index: anthill_setup_config.tpl
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>
      Anthill - Edit Configuration File
    </title>
    <meta http-equiv="Content-Type" content=
    "text/html; charset={charset}">
    <meta http-equiv="Pragma" content="no-cache">
    <link rel="stylesheet" type="text/css">
    <style type="text/css">
      <!--
        body, p, td {font-family: Verdana, Arial, Helvetica, Monaco, 
sans-serif; font-size: 10pt}
        input, select {font-family: Arial, Helvetica, Monaco, sans-serif; 
font-size: 9pt}
      -->
          </style>
  </head>
  <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#0000FF">
    <form method="post" action="{form_action}">
      <table border="0" cellpadding="0" cellspacing="0" align="center" 
width="95%">
        <tr>
          <td>
            <table border="0" cellpadding="0" cellspacing="0" align="center" 
bgcolor="#FFFFFF" width="100%">
              <tr>
                <td>
                  <table border="0" cellpadding="2" cellspacing="2" 
width="100%">
                    <tr>
                      <td colspan="2" bgcolor="#8B95A8" width="100%">
                        <big><b>Edit your Anthill
                        Configuration</b></big>
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Setup password:</b><br>
                         leave blank for no change - must be set
                        for new installs
                      </td>
                      <td width="50%">
                        <input type="text" name="setup_pass" size="15" 
maxlength="15">
                      </td>
                    </tr>
                    <tr>
                      <td bgcolor="#8B95A8" colspan="2">
                        <b>File Locations</b>
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Anthill filesystem path:</b><br>
                         base Anthill directory
                      </td>
                      <td width="50%">
                        <input type="text" name="root" size="50" value="{root}">
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Anthill base URL:</b><br>
                         home url
                      </td>
                      <td width="50%">
                        <input type="text" name="webroot" size="50" 
value="{webroot}">
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Out of Document Root path:</b><br>
                         A directory which is out of the document
                        root for anthill to use
                      </td>
                      <td width="50%">
                        <input type="text" name="offroot" size="50" 
value="{offroot}">
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Template set:</b><br>
                         generally leave as default
                      </td>
                      <td width="50%">
                        {select_tpl}
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>gettext file locations:</b><br>
                         directory where locale/language
                        files/dirs are kept
                      </td>
                      <td width="50%">
                        <input type="text" name="lang" size="50" value="{lang}">
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Diff Tool:</b>
                      </td>
                      <td width="50%">
                        <input type="text" name="difftool" size="50" 
value="{difftool}">
                      </td>
                    </tr>
                    <tr>
                      <td bgcolor="#8B95A8" colspan="2">
                        <b>Formats</b>
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Date format:</b>
                      </td>
                      <td width="50%">
                        {select_date}
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Time format:</b>
                      </td>
                      <td width="50%">
                        {select_time}
                      </td>
                    </tr>
                    <tr>
                      <td bgcolor="#8B95A8" colspan="2">
                        <b>Sesssions/Security</b>
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Use cookies to pass session info:</b>
                      </td>
                      <td width="50%">
                        {select_cookies}
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Remember users for X days:</b><br>
                         set to 0 to disable feature
                      </td>
                      <td width="50%">
                        <input type="text" name="perm_days" size="5" 
value="{perm_days}">
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Session time out in seconds:</b><br>
                         ie 3660 = 1 hour
                      </td>
                      <td width="50%">
                        <input type="text" name="timeout" size="5" 
value="{timeout}">
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Cookie path:</b>
                      </td>
                      <td width="50%">
                        <input type="text" name="path" size="50" value="{path}">
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Cookie domain:</b>
                      </td>
                      <td width="50%">
                        <input type="text" name="domain" size="50" 
value="{domain}">
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Use secure cookies:</b><br>
                         set to Yes only if using SSL
                      </td>
                      <td width="50%">
                        {select_secure}
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Verify user's IP address:</b><br>
                         More secure, but causes problems for
                        users behind transparent proxies (ie AOL)
                      </td>
                      <td width="50%">
                        {select_verify_ip}
                      </td>
                    </tr>
                    <tr>
                      <td bgcolor="#8B95A8" colspan="2">
                        <b>International Support</b>
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Character set:</b><br>
                         set to utf-8 if you are unsure
                      </td>
                      <td width="50%">
                        <input type="text" name="meta_lang" size="5" 
value="{meta_lang}">
                      </td>
                    </tr>
                    <tr>
                      <td bgcolor="#8B95A8" colspan="2">
                        <b>Database</b>
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Database username:</b>
                      </td>
                      <td width="50%">
                        <input type="text" name="user" size="50"
                        value="{user}">
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Database password:</b>
                      </td>
                      <td width="50%">
                        <input type="text" name="pw" size="50" value="{pw}">
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Database hostname:</b>
                      </td>
                      <td width="50%">
                        <input type="text" name="host" size="50" value="{host}">
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Database name:</b>
                      </td>
                      <td width="50%">
                        <input type="text" name="name" size="50" value="{name}">
                      </td>
                    </tr>
                    <tr>
                      <td align="right" width="50%">
                        <b>Database type:</b>
                      </td>
                      <td width="50%">
                        {select_db_type}
                      </td>
                    </tr>
                    <tr>
                      <td colspan="2" align="center">
                        <input type="submit" name="submitit" value=" Generate 
config.inc.php ">   
                        <input type="reset" value=" Undo Changes ">
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </form>
  </body>
</html>


====================================================
Index: editprod.tpl
    <form method="POST" action="{action}">
    <table cellpadding="0" cellspacing="0" style="border: 1px solid #000000;">
      <tr class="th">
        <td colspan="2"><b>{lang_edit_product}</b><input type="hidden" 
name="pid" value="{pid}"></td>
      </tr>
      <tr class="row_on">
        <td style="text-align: right;"><b>{lang_product}:</b></td>
        <td><input type="text" name="fields[name]" size="50" maxlength="64" 
value="{value_name}"></td>
      </tr>
      <tr class="row_off">
        <td style="text-align: right; vertical-align: 
top;"><b>{lang_description}:</b></td>
        <td>
          <textarea name="fields[description]" cols="50" rows="2" 
wrap="Virtual">{value_description}</textarea>
        </td>
      </tr>
      <tr class="row_off">
        <td style="text-align: right; vertical-align: 
top;"><b>{lang_active}:</b></td>
        <td>
          <input type="checkbox" {value_active} name="fields[active]">
        </td>
      </tr>
      <tr class="th">
        <td colspan="2" style="text-align: center;">
          <input type="submit" name="submitit" value="{lang_save}">
          <input type="reset" name="reset" value="{lang_undo}">
          <input type="button" name="cancel" value="{lang_done}" 
onClick="window.location='{cancel_url}'">
        </td>
      </tr>
    </table>
    </form>

====================================================
Index: config.tpl
<!-- BEGIN header -->
<form method="POST" action="{action_url}">
<table align="center" cellspacing=0 style="border: 1px solid #000000;">
<!-- END header -->

<!-- BEGIN body -->
    <tr class="th">
      <td colspan="2"><b>{lang_anthill_config}</b></td>
    </tr>
    <tr class="row_on">
      <td style="text-align: right;"><b>{lang_default_cc}:</b></td>
      <td>
        <input type="text" name="newsettings[autocc]" size="50" maxlength="100" 
value="">
      </td>
    </tr>
    <tr class="row_off">
      <td style="text-align: right;"><b>{lang_default_bug_private}:</b></td>
      <td>
        <select name="newsettings[default_bug_private]">
          <option value=""{default_bug_private_False}>{lang_No}</option>
          <option value="True"{default_bug_private_True}>{lang_Yes}</option>
        </select>
      </td>
    </tr>
    <tr class="row_on">
      <td style="text-align: right;"><b>{lang_mailer_daemon_name}:</b></td>
      <td><input type="text" name="newsettings[mdaemon]" size="50" 
maxlength="100" value="{value_mdaemon}"></td>
    </tr>
    <tr class="row_off">
      <td style="text-align: right;"><b>{lang_mailer_daemon_email}:</b></td>
      <td><input type="text" name="newsettings[memail]" size="50" 
maxlength="100" value="{value_memail}"></td>
    </tr>
    <tr class="row_on">
      <td style="text-align: right;"><b>{lang_mailer_daemon_reply_to}:</b>
      </td>
      <td>
        <input type="text" name="newsettings[mdaemonreplyto]" size="50" 
maxlength="100" value="{value_mdaemonreplyto}"><br />
        <span style="font-size: smaller;">
          
{lang_(this_is_useful_if_you_want_replies_to_Anthill_diff_messages_to_go_to_a_real_email_address_or_mailing_list_instead_of_to_the_daemons_email_address)}
        </span>
      </td>
    </tr>
    <tr class="row_off">
      <td style="text-align:right; 
vertical-align:top;"><b>{lang_site_text_(used_in_index)}:</b></td>
      <td>
        <textarea name="newsettings[siteblurb]" cols="50" rows="3" 
wrap="Virtual">{value_siteblurb}</textarea>
      </td>
    </tr>
<!-- END body -->

<!-- BEGIN footer -->
  <tr class="th">
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" style="text-align:center;">
      <input type="submit" name="submit" value="{lang_save}">
      <input type="submit" name="cancel" value="{lang_done}">
    </td>
  </tr>
</table>
</form>
<br>
<!-- END footer -->


====================================================
Index: config.inc.php.tpl
<?php
  /****************************************************************************
   * Anthill                                                                  *
   * http://anthill.vmlinuz.ca                                                *
   *                                                                          *
   * Written by Vincent Danen address@hidden                              *
   *   and Dave Hall [skwashd AT 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: config.inc.php.tpl,v 1.1 2005/05/05 00:34:03 skwashd Exp $ */

   // Please use the setup.php script to edit this file - you may break
   // something by manually editting it.

  ###########################################################################
  # Config password: used for accessing the setup.php script
  ###########################################################################
  $GLOBALS['anthill_setup']['pass'] = '{setup_pass}';

  ###########################################################################
  # Directory locations:
  #
  # root:      base Anthill directory
  # webroot:   home url
  # offroot:   directory which is out of the document root
  #            (should be rw to user running the web server; ie. apache, 
nobody, www-data)
  # tpl:       template set to be used - generally leave as default
  # langdir:   directory where locale/language files/dirs are kept
  # difftool:  /path/to/diff
  ###########################################################################

  $GLOBALS['anthill_info']['path']['root']      = '{root}';
  $GLOBALS['anthill_info']['path']['webroot']   = '{webroot}';
  $GLOBALS['anthill_info']['path']['offroot']   = '{offroot}';
  $GLOBALS['anthill_info']['path']['tpl']       = '{tpl}';
  $GLOBALS['anthill_info']['path']['lang']      = '{lang}';
  $GLOBALS['anthill_info']['path']['difftool']  = '{difftool}';

  ###########################################################################
  # Time/date details:
  #
  # datefmt:    date format to use (see PHP manual for proper syntax)
  # timefmt:    time format to use (see PHP manual for proper syntax)
  ###########################################################################

  $GLOBALS['anthill_info']['format']['date']     = '{date}';
  $GLOBALS['anthill_info']['format']['time']     = '{time}';

  ###########################################################################
  # Session details:
  #
  # cookies:    enable cookies for sessions? True = COOKIE else False = GET
  # perm_days:     default seconds for cookie expiry for permanent cookies
  #                (can be overriden by users in their prefs)
  # timeout:    default seconds for session cookie persistence (only
  #                 useful if you don't want persistent cookies)
  # path:       cookie path (usually just '/')
  # domain:     the domain in which the cookie should be sent to server
  #                 for (default is $SERVER_NAME, which is the name of the
  #                 running server, but you can change this if you need to)
  # secure:     0=HTTP, 1=HTTPS (does site run over SSL?)
  # verify_ip:  verify the client ip address - False needed for some users who
  #                 connect through a transparent proxy - such as AOL
  ###########################################################################

  $GLOBALS['anthill_info']['sessions']['cookies']     = {cookies};
  $GLOBALS['anthill_info']['sessions']['perm_days']   = {perm_days};
  $GLOBALS['anthill_info']['sessions']['timeout']     = {timeout};
  $GLOBALS['anthill_info']['sessions']['path']        = '{path}';
  $GLOBALS['anthill_info']['sessions']['domain']      = '{domain}';
  $GLOBALS['anthill_info']['sessions']['secure']      = {secure};
  $GLOBALS['anthill_info']['sessions']['verify_ip']   = {verify_ip};

  ###########################################################################
  # Language details:
  #
  # meta_lang:  charset to send to browser (meta tag)
  ###########################################################################

  $GLOBALS['anthill_info']['charset']['meta_lang'] = '{meta_lang}';

  ###########################################################################
  # SQL connection info:
  #
  # user:  SQL username
  # pw:    SQL user's password
  # host:  SQL server hostname
  # name:  SQL database name
  # type:  SQL database type ("mysql" or "pgsql");
  ###########################################################################

  $GLOBALS['anthill_info']['db']['user']    = '{user}';
  $GLOBALS['anthill_info']['db']['pw']      = '{pw}';
  $GLOBALS['anthill_info']['db']['host']    = '{host}';
  $GLOBALS['anthill_info']['db']['name']    = '{name}';
  $GLOBALS['anthill_info']['db']['type']    = '{type}';

  #### DO NOT TOUCH ANYTHING BELOW THIS LINE ################################

  if(! @$GLOBALS['inc_from_setup'])
  {
    if(file_exists($GLOBALS['anthill_info']['path']['root'] . 
'/inc/functions.inc.php'))
    {
      include_once($GLOBALS['anthill_info']['path']['root'] . 
'/inc/functions.inc.php');
    }
    else
    {
      echo '<p><b><font color="red">Configuration file does not 
exist!!</font></b></p>';
      exit;
    }
  }
?>

====================================================
Index: compselect.tpl
  <table border="0" cellpadding="0" width="50%" style="{border: 1px solid 
#000000; padding:0px;}">
    <tr>
      <td style="{text-align: center;}"><b>{lang_comp_4_product}</b></td>
    </tr>
    <!-- BEGIN component -->
    <tr>
      <td>
        <a href="{url}&cid={cid}"><b>{name}</b></a>
      </td>
    </tr>
    <!-- END component -->
    <tr>
      <td style="{text-align: center;}">
        <br><a href="{url_add_new_component}">{lang_add_new_component}</a>
      </td>
    </tr>
  </table>

====================================================
Index: header.tpl
    <html>
    <head>
      <title>{sitename}{page_title}</title>
      <meta http-equiv="Content-Type" content="text/html; charset={charset}">
      <meta http-equiv="Pragma" content="no-cache">
      <link rel="stylesheet" href="{cssfile'}">
      <style type="text/css">
      <!--
        {css}
      -->
      </style>
    </head>
    <body bgcolor="{bgcol}" text="{textcol}" link="{linkcol}" vlink="{linkcol}">







reply via email to

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