Update of /cvsroot/phpwebsite-comm/modules/featuredphoto/inc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16018/inc
Modified Files:
close.php
Log Message:
Switch to linkAddress function
Index: close.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/featuredphoto/inc/close.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** close.php 28 May 2007 20:00:48 -0000 1.4
--- close.php 22 Feb 2008 04:06:19 -0000 1.5
***************
*** 30,35 ****
if (Key::checkKey($key) && javascriptEnabled())
{
! $val['address'] = sprintf('index.php?module=featuredphoto&action=editJSBlock&key_id=%s&authkey=%s',
! $key->id, Current_User::getAuthkey());
$val['label'] = dgettext('featuredphoto', 'Add photo block here');
$val['width'] = 640;
--- 30,34 ----
if (Key::checkKey($key) && javascriptEnabled())
{
! $val['address'] = PHPWS_Text::linkAddress('featuredphoto', array('action'=>'editJSBlock', 'key_id'=>$key->id), true);
$val['label'] = dgettext('featuredphoto', 'Add photo block here');
$val['width'] = 640;
|