Location: PHPKode > projects > FiForms Framework > FiForms/FiForms-includes/FiForms_genericIcons.inc.php
<?php
/*
*******************************************************************************

    FiForms 0.1 -- A collection of PHP classes designed 
    to facilitate rapid development of web-database software

    Copyright (C) 2003-2008  Daniel McFeeters

    This library 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.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    General Public License for more details.

    You should have received a copy of the GNU General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA


    The original author of this library can be contacted at the following 
    address:

    Daniel McFeeters
    182 Baker Rd.
    Faubush, KY 42544-6526
    email: databases [at] fiforms [dot] org
    http://www.fiforms.org/

February 16, 2004

*******************************************************************************
FiForms_genericIcons.inc.php

Base class for external icons sets (for form navigation)
*******************************************************************************
*/

/* ?><code><?php */

class genericIcons
{
    public $first;
    public $previous;
    public $next;
    public $last;
    public $firstDisabled;
    public $previousDisabled;
    public $nextDisabled;
    public $lastDisabled;
    public $new;
    public $delete;
    public $update;
    public $sv;
    public $svVew;
    public $svNew;
    public $down;
    public $downURI;
    public $ascSort;
    public $descSort;
    public $poweredBy;
    public $buttonType;
    public $refresh;
    public $refreshURI;
    public $filter;

    function FiForms_genericIcons()
    {
        global $FIFORMS_CONFIG;
        $this->first = "First";
        $this->previous = "Previous";
        $this->next = "Next";
        $this->last = "Last";
        $this->firstDisabled = "First";
        $this->previousDisabled = "Previous";
        $this->nextDisabled = "Next";
        $this->lastDisabled = "Last";
        $this->new = "New";
        $this->delete = "Delete";
        $this->update = "Update";
        $this->sv = "Sheet View";
        $this->svView = "Edit";
        $this->svNew = "New Record";
        $this->down = "+";
        $this->downURI = $this->refreshURI = "about:blank";
        if(array_key_exists('ICON_SET',$FIFORMS_CONFIG))
        {
            $this->downURI = $FIFORMS_CONFIG['URI'].'themes/'.$FIFORMS_CONFIG['ICON_SET']."/png-small/down.gif";
            $this->refreshURI = $FIFORMS_CONFIG['URI'].'themes/'.$FIFORMS_CONFIG['ICON_SET']."/png-small/refresh.gif";
        }
        $this->ascSort = "(asc)";
        $this->descSort = "(desc)";
        $this->poweredBy = "<a href=\"http://www.fiforms.org\">Powered by FiForms</a>";
        $this->buttonType = "link";
    $this->refresh = "Refresh";
    $this->refreshURI = "about:blank";
    $this->filter = "*";
    }
} // class genericIcons
/* ?></code><?php */

?>
Return current item: FiForms Framework