Skip to content

Commit

Permalink
Removed obsolete tabpane library
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@10856 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Aug 26, 2011
1 parent b776c83 commit 471b9a7
Show file tree
Hide file tree
Showing 18 changed files with 96 additions and 2,600 deletions.
12 changes: 6 additions & 6 deletions application/helpers/expressions/em_manager_helper.php
Expand Up @@ -14,7 +14,7 @@ class LimeExpressionManager {
private $em; // Expression Manager
private $groupRelevanceInfo;
private $groupNum;
private $debugLEM = true; // set this to false to turn off debugging
private $debugLEM = false; // set this to false to turn off debugging
private $debugLEMonlyVars = true; //set this to true to only show log replacements of questions (e.g. no tokens or templates)
private $knownVars;
private $pageRelevanceInfo;
Expand All @@ -25,9 +25,9 @@ class LimeExpressionManager {
private $jsVar2qid; // reverse mapping of JavaScript Variable name to Question
private $alias2varName; // JavaScript array of mappings of aliases to the JavaScript variable names
private $varNameAttr; // JavaScript array of mappings of canonical JavaScript variable name to key attributes.

// A private constructor; prevents direct creation of object
private function __construct()
private function __construct()
{
$this->em = new ExpressionManager();
}
Expand All @@ -41,7 +41,7 @@ public static function singleton()
}
return self::$instance;
}

// Prevent users to clone the instance
public function __clone()
{
Expand Down Expand Up @@ -419,7 +419,7 @@ public function setVariableAndTokenMappingsForExpressionManager($forceRefresh=fa
$debugLog_html .= "</table>";
file_put_contents('/tmp/LimeExpressionManager-page.html',$debugLog_html);
}

$this->knownVars = $knownVars;
$this->qid2code = $qid2code;
$this->jsVar2qid = $jsVar2qid;
Expand Down Expand Up @@ -797,7 +797,7 @@ static function GetRelevanceAndTailoringJavaScript()
$jsParts[] = "<input type='hidden' id='relevance" . $qid . "codes' name='relevance" . $qid . "codes' value='" . $lem->qid2code[$qid] . "'/>\n";
}
}

return implode('',$jsParts);
}

Expand Down
9 changes: 4 additions & 5 deletions application/views/admin/Super/header.php
Expand Up @@ -3,7 +3,6 @@
<head>
<?php echo $meta;?>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="<?php echo $this->config->item('adminscripts');?>tabpane/js/tabpane.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('generalscripts');?>jquery/jquery.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('generalscripts');?>jquery/jquery-ui.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('generalscripts');?>jquery/jquery.qtip.js"></script>
Expand Down Expand Up @@ -32,20 +31,20 @@
<?php } ?>
<?php if(isset($flashmessage)) { ?>
<div id="flashmessage" style="display:none;">

<div id="themeroller" class="ui-state-highlight ui-corner-all">
<!-- close link -->
<a class="ui-notify-close" href="#">
<span class="ui-icon ui-icon-close" style="float:right"></span>
</a>

<!-- alert icon -->
<span style="float:left; margin:2px 5px 0 0;" class="ui-icon ui-icon-info"></span>

<h1></h1>
<p><?php echo $flashmessage; ?></p>
</div>

<!-- other templates here, maybe.. -->
</div>
<?php } ?>
Expand Down
3 changes: 1 addition & 2 deletions installer/sql/create-postgre.sql
Expand Up @@ -410,8 +410,7 @@ CREATE TABLE prefix_participants (
"email" character varying( 80 ) NOT NULL,
"language" character varying( 2 ) NOT NULL,
"blacklisted" character( 1 ) NOT NULL,
"owner_uid" integer NOT NULL,
PRIMARY KEY (participant_id)
"owner_uid" integer NOT NULL
);


Expand Down

0 comments on commit 471b9a7

Please sign in to comment.