Skip to content

Commit

Permalink
dev Corrected favicon link for administration
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@7442 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Aug 11, 2009
1 parent f622b8a commit 1b5c06e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions common.php
Expand Up @@ -3627,7 +3627,7 @@ function doAdminHeader()

function getAdminHeader($meta=false)
{
global $sitename, $admintheme, $rooturl, $defaultlang, $js_adminheader_includes, $css_adminheader_includes;
global $sitename, $admintheme, $rooturl, $defaultlang, $js_adminheader_includes, $css_adminheader_includes, $homeurl;
if (!isset($_SESSION['adminlang']) || $_SESSION['adminlang']=='') {$_SESSION['adminlang']=$defaultlang;}
$strAdminHeader="<?xml version=\"1.0\"?><!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"
."<html ";
Expand Down Expand Up @@ -3658,7 +3658,10 @@ function getAdminHeader($meta=false)
$strAdminHeader.= "<link rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\"styles/$admintheme/tab.webfx.css \" />\n"
. "<link rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\"../scripts/jquery/css/start/jquery-ui-1.7.1.custom.css\" />\n"
. "<link rel=\"stylesheet\" type=\"text/css\" href=\"styles/$admintheme/printablestyle.css\" media=\"print\" />\n"
. "<link rel=\"stylesheet\" type=\"text/css\" href=\"styles/$admintheme/adminstyle.css\" />\n";
. "<link rel=\"stylesheet\" type=\"text/css\" href=\"styles/$admintheme/adminstyle.css\" />\n"
. '<link rel="shortcut icon" href="'.$homeurl.'/favicon.ico" type="image/x-icon" />'
. '<link rel="icon" href="'.$homeurl.'/favicon.ico" type="image/x-icon" />';

if (getLanguageRTL($_SESSION['adminlang']))
{
$strAdminHeader.="\t\t<link rel=\"stylesheet\" type=\"text/css\" href=\"styles/$admintheme/adminstyle-rtl.css\" />\n";
Expand Down

0 comments on commit 1b5c06e

Please sign in to comment.