cvs: phpweb / tips.php

From: Date: Mon, 28 Jul 2003 08:10:41 +0000
Subject: cvs: phpweb / tips.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-19590@lists.php.net to get a copy of this message
goba Mon Jul 28 04:10:41 2003 EDT Modified files: /phpweb tips.php Log: AppleScript fix, also trying to make the line a bit shorter, thanks to Stian Index: phpweb/tips.php diff -u phpweb/tips.php:1.34 phpweb/tips.php:1.35 --- phpweb/tips.php:1.34 Sun Jul 27 05:42:37 2003 +++ phpweb/tips.php Mon Jul 28 04:10:41 2003 @@ -1,5 +1,5 @@ <?php -/* $Id: tips.php,v 1.34 2003/07/27 09:42:37 goba Exp $ */ +/* $Id: tips.php,v 1.35 2003/07/28 08:10:41 goba Exp $ */ require_once './include/prepend.inc'; commonHeader("Cool Quick Reference Tips"); @@ -46,14 +46,13 @@ </p> <pre> tell application "BBEdit" - set my_function to selection of window 1 as string - if my_function = "" then - set my_function to text returned of - (display dialog "PHP Function:" default answer "") + set fu to selection of window 1 as string + if fu = "" then + set fu to text returned of (display dialog "PHP Function:" default answer "") end if - if my_function is not "" then - set target_URL to "http://www.php.net/" & my_function + if fu is not "" then + set target_URL to "http://www.php.net/" & fu open location target_URL end if end tell

« previous php.mirrors (#19590) next »