Skip to content
Permalink
Browse files

Dev: Follow non indexed change for http://git.io/DBo3FQ

  • Loading branch information
Shnoulle committed May 14, 2012
1 parent b216f3e commit 281108ac8ae98cfacdf2eb87b7e9a1d89073878b
Showing with 6 additions and 7 deletions.
  1. +6 −7 application/helpers/replacements_helper.php
@@ -127,20 +127,19 @@ function templatereplace($line, $replacements = array(), &$redata = array(), $de
if(stripos ($line,"{TEMPLATECSS}"))
{
global $css_header_includes;
$_templatecss .="<link rel='stylesheet' type='text/css' media='all' href='".Yii::app()->getConfig('generalscripts')."jquery/css/start/jquery-ui.css' />\n"; // Remove it after corrected slider
if (file_exists($templatedir . '/jquery-ui-custom.css'))
{
$_jqueryuicssurl = "{$templateurl}jquery-ui-custom.css";
$_templatecss.= "<link rel='stylesheet' type='text/css' media='all' href='{$_jqueryuicssurl}' />\n";
}
elseif(file_exists($templatedir . '/jquery-ui.css'))
{
$_jqueryuicssurl = "{$templateurl}jquery-ui.css";
$_templatecss.= "<link rel='stylesheet' type='text/css' media='all' href='{$_jqueryuicssurl}' />\n";
}
# else
# { // Review for slider
else
{
# $_jqueryuicssurl =Yii::app()->getConfig('generalscripts')."jquery/css/start/jquery-ui.css";
# }
$_templatecss .="<link rel='stylesheet' type='text/css' media='all' href='".Yii::app()->getConfig('generalscripts')."jquery/css/start/jquery-ui.css' />\n"; // Remove it after corrected slider
$_templatecss.= "<link rel='stylesheet' type='text/css' media='all' href='{$_jqueryuicssurl}' />\n";
}
if(Yii::app()->getConfig("css_admin_includes"))
{
if(!$js_header_includes){$js_header_includes=array();}

2 comments on commit 281108a

@c-schmitz

This comment has been minimized.

Copy link
Contributor

c-schmitz replied May 15, 2012

@Shnoulle This completely breaks the template editor. Can you please provide a fix asap?

@c-schmitz

This comment has been minimized.

Copy link
Contributor

c-schmitz replied May 15, 2012

Actually this seems to break survey taking, too. :-(

Please sign in to comment.
You can’t perform that action at this time.