[geeklog-cvs] Geeklog-1.x/public_html/admin/plugins/links index.php, 1.43, 1.44
Oliver
ospiess at qs1489.pair.com
Thu Aug 9 02:48:07 EDT 2007
Update of /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/links
In directory qs1489.pair.com:/tmp/cvs-serv34756
Modified Files:
index.php
Log Message:
configurable target after save for links plugin
Index: index.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/links/index.php,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** index.php 5 Aug 2007 08:05:08 -0000 1.43
--- index.php 9 Aug 2007 06:48:05 -0000 1.44
***************
*** 229,233 ****
function savelink ($lid, $old_lid, $category, $categorydd, $url, $description, $title, $hits, $owner_id, $group_id, $perm_owner, $perm_group, $perm_members, $perm_anon)
{
! global $_CONF, $_GROUPS, $_TABLES, $_USER, $MESSAGE, $LANG_LINKS_ADMIN;
$retval = '';
--- 229,233 ----
function savelink ($lid, $old_lid, $category, $categorydd, $url, $description, $title, $hits, $owner_id, $group_id, $perm_owner, $perm_group, $perm_members, $perm_anon)
{
! global $_CONF, $_GROUPS, $_TABLES, $_USER, $MESSAGE, $LANG_LINKS_ADMIN, $_LI_CONF;
$retval = '';
***************
*** 302,306 ****
COM_rdfUpToDateCheck ('links', $category, $lid);
! return COM_refresh ($_CONF['site_admin_url'] . '/plugins/links/index.php?msg=2');
} else { // missing fields
$retval .= COM_siteHeader('menu', $LANG_LINKS_ADMIN[1]);
--- 302,312 ----
COM_rdfUpToDateCheck ('links', $category, $lid);
! // return COM_refresh ($_CONF['site_admin_url'] . '/plugins/links/index.php?msg=2');
! return PLG_afterSaveSwitch (
! $_LI_CONF['aftersave'],
! COM_buildURL ("{$_CONF['site_url']}/links/portal.php?what=link&item=$lid"),
! 'links',
! 2
! );
} else { // missing fields
$retval .= COM_siteHeader('menu', $LANG_LINKS_ADMIN[1]);
More information about the geeklog-cvs
mailing list