<?php
/**
* File: $Id$
*
* Module admin function to update configuration Xaraya core CSS
*
* @package Xaraya eXtensible Management System
* @copyright (C) 2003 by the Xaraya Development Team.
* @license GPL <http://www.gnu.org/licenses/gpl.html>
* @link http://www.xaraya.com
*
* @subpackage Themes
* @author AndyV_at_Xaraya_dot_Com
*/
/**
* Module admin function to update configuration Xaraya core CSS
*
* @author AndyV_at_Xaraya_dot_Com
* @returns true
*/
function themes_admin_corecssupdate()
{
    // Confirm authorisation code
    if (!xarSecConfirmAuthKey()) return; 
    // Security Check
    if (!xarSecurityCheck('AdminTheme')) return;
    
    // params
    if (!xarVarFetch('linkoptions', 'str::', $linkoptions, '', XARVAR_NOT_REQUIRED)) return;
    
    
    // set modvars
    xarModSetVar('themes', 'csslinkoption', $linkoptions);

    xarResponseRedirect(xarModURL('themes','admin','cssconfig',array('component'=>'core'))); 
    // Return
    return true;
}

?>