Update of /cvsroot/leaf/src/config/webconf/var/webconf/lib
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23276
Added Files:
tooltip.func ipsec_values
Log Message:
Initial version for tooltip support of ipsec.lwp
--- NEW FILE: tooltip.func ---
#!/bin/sh
#
# Copyleft 2009 Erich Titl ([email protected])
#
# 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. See <http://www.fsf.org/copyleft/gpl.txt>.
#
# This program 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.
#
# $Id: tooltip.func,v 1.1 2009/06/22 11:01:14 etitl Exp $
#
. /var/webconf/lib/ipsec_values
tooltips_installed()
{
[ -r /var/webconf/www/wz_tooltip.js ]
}
tooltip_from_file()
{
tooltips_installed && [ -r $1 ] && \
echo "onmouseover=\"Tip('`cat $1`')\" onmouseout=\"UnTip()\""
}
tooltip()
{
tooltips_installed && [ -r $1 ] && \
echo "onmouseover=\"Tip('$1')\" onmouseout=\"UnTip()\""
}
--- NEW FILE: ipsec_values ---
WEBCONF_DIR=/var/webconf
TEMPLATE_DIR=$WEBCONF_DIR/templates
FILTERDIR=$WEBCONF_DIR/lib/filter
IPSEC_CONN_TEMPLATE=$TEMPLATE_DIR/ipsec_conn
IPSEC_BLURB=$WEBCONF_DIR/www/blurb.ipsec_conn
NAME_BLURB=$WEBCONF_DIR/www/blurb.ipsec_name
TIMEOUT_BLURB=$WEBCONF_DIR/www/blurb.ipsec_timeout
DPD_BLURB=$WEBCONF_DIR/www/blurb.ipsec_dpd
RSA_BLURB=$WEBCONF_DIR/www/blurb.ipsec_rsa
LEFT_BLURB=$WEBCONF_DIR/www/blurb.ipsec_left
LEFTID_BLURB=$WEBCONF_DIR/www/blurb.ipsec_leftid
LEFTSUBNET_BLURB=$WEBCONF_DIR/www/blurb.ipsec_leftsubnet
LEFTCERT_BLURB=$WEBCONF_DIR/www/blurb.ipsec_leftcert
RIGHT_BLURB=$WEBCONF_DIR/www/blurb.ipsec_right
RIGHTSUBNET_BLURB=$WEBCONF_DIR/www/blurb.ipsec_rightsubnet
ID_BLURB=$WEBCONF_DIR/www/blurb.ipsec_id
PHASE1_BLURB=$WEBCONF_DIR/www/blurb.ipsec_phase1
PHASE2_BLURB=$WEBCONF_DIR/www/blurb.ipsec_phase2
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits