Skip to content

Commit

Permalink
Dev: realy PHP error with list_dropdown
Browse files Browse the repository at this point in the history
Dev : last commit was: fix js_header for time_limit, now js_header are in return_timer_script
  • Loading branch information
Shnoulle committed Jun 4, 2012
1 parent 7a0bcf3 commit bb897f4
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions application/helpers/common_helper.php
Expand Up @@ -3855,15 +3855,15 @@ function questionAttributes($returnByName=false)

//Timer attributes
$qattributes["time_limit"]=array(
"types"=>"STUXL",
"types"=>"STUXL!",
'category'=>$clang->gT('Timer'),
'sortorder'=>90,
"inputtype"=>"integer",
"help"=>$clang->gT("Limit time to answer question (in seconds)"),
"caption"=>$clang->gT("Time limit"));

$qattributes["time_limit_action"]=array(
"types"=>"STUXL",
"types"=>"STUXL!",
'category'=>$clang->gT('Timer'),
'sortorder'=>92,
'inputtype'=>'singleselect',
Expand All @@ -3875,7 +3875,7 @@ function questionAttributes($returnByName=false)
"caption"=>$clang->gT("Time limit action"));

$qattributes["time_limit_disable_next"]=array(
"types"=>"STUXL",
"types"=>"STUXL!",
'category'=>$clang->gT('Timer'),
'sortorder'=>94,
"inputtype"=>"singleselect",
Expand All @@ -3886,7 +3886,7 @@ function questionAttributes($returnByName=false)
"caption"=>$clang->gT("Time limit disable next"));

$qattributes["time_limit_disable_prev"]=array(
"types"=>"STUXL",
"types"=>"STUXL!",
'category'=>$clang->gT('Timer'),
'sortorder'=>96,
"inputtype"=>"singleselect",
Expand All @@ -3897,7 +3897,7 @@ function questionAttributes($returnByName=false)
"caption"=>$clang->gT("Time limit disable prev"));

$qattributes["time_limit_countdown_message"]=array(
"types"=>"STUXL",
"types"=>"STUXL!",
'category'=>$clang->gT('Timer'),
'sortorder'=>98,
"inputtype"=>"textarea",
Expand All @@ -3906,23 +3906,23 @@ function questionAttributes($returnByName=false)
"caption"=>$clang->gT("Time limit countdown message"));

$qattributes["time_limit_timer_style"]=array(
"types"=>"STUXL",
"types"=>"STUXL!",
'category'=>$clang->gT('Timer'),
'sortorder'=>100,
"inputtype"=>"textarea",
"help"=>$clang->gT("CSS Style for the message that displays in the countdown timer during the countdown"),
"caption"=>$clang->gT("Time limit timer CSS style"));

$qattributes["time_limit_message_delay"]=array(
"types"=>"STUXL",
"types"=>"STUXL!",
'category'=>$clang->gT('Timer'),
'sortorder'=>102,
"inputtype"=>"integer",
"help"=>$clang->gT("Display the 'time limit expiry message' for this many seconds before performing the 'time limit action' (defaults to 1 second if left blank)"),
"caption"=>$clang->gT("Time limit expiry message display time"));

$qattributes["time_limit_message"]=array(
"types"=>"STUXL",
"types"=>"STUXL!",
'category'=>$clang->gT('Timer'),
'sortorder'=>104,
"inputtype"=>"textarea",
Expand All @@ -3931,31 +3931,31 @@ function questionAttributes($returnByName=false)
"caption"=>$clang->gT("Time limit expiry message"));

$qattributes["time_limit_message_style"]=array(
"types"=>"STUXL",
"types"=>"STUXL!",
'category'=>$clang->gT('Timer'),
'sortorder'=>106,
"inputtype"=>"textarea",
"help"=>$clang->gT("CSS style for the 'time limit expiry message'"),
"caption"=>$clang->gT("Time limit message CSS style"));

$qattributes["time_limit_warning"]=array(
"types"=>"STUXL",
"types"=>"STUXL!",
'category'=>$clang->gT('Timer'),
'sortorder'=>108,
"inputtype"=>"integer",
"help"=>$clang->gT("Display a 'time limit warning' when there are this many seconds remaining in the countdown (warning will not display if left blank)"),
"caption"=>$clang->gT("1st time limit warning message timer"));

$qattributes["time_limit_warning_display_time"]=array(
"types"=>"STUXL",
"types"=>"STUXL!",
'category'=>$clang->gT('Timer'),
'sortorder'=>110,
"inputtype"=>"integer",
"help"=>$clang->gT("The 'time limit warning' will stay visible for this many seconds (will not turn off if this setting is left blank)"),
"caption"=>$clang->gT("1st time limit warning message display time"));

$qattributes["time_limit_warning_message"]=array(
"types"=>"STUXL",
"types"=>"STUXL!",
'category'=>$clang->gT('Timer'),
'sortorder'=>112,
"inputtype"=>"textarea",
Expand All @@ -3964,31 +3964,31 @@ function questionAttributes($returnByName=false)
"caption"=>$clang->gT("1st time limit warning message"));

$qattributes["time_limit_warning_style"]=array(
"types"=>"STUXL",
"types"=>"STUXL!",
'category'=>$clang->gT('Timer'),
'sortorder'=>114,
"inputtype"=>"textarea",
"help"=>$clang->gT("CSS style used when the 'time limit warning' message is displayed"),
"caption"=>$clang->gT("1st time limit warning CSS style"));

$qattributes["time_limit_warning_2"]=array(
"types"=>"STUXL",
"types"=>"STUXL!",
'category'=>$clang->gT('Timer'),
'sortorder'=>116,
"inputtype"=>"integer",
"help"=>$clang->gT("Display the 2nd 'time limit warning' when there are this many seconds remaining in the countdown (warning will not display if left blank)"),
"caption"=>$clang->gT("2nd time limit warning message timer"));

$qattributes["time_limit_warning_2_display_time"]=array(
"types"=>"STUXL",
"types"=>"STUXL!",
'category'=>$clang->gT('Timer'),
'sortorder'=>118,
"inputtype"=>"integer",
"help"=>$clang->gT("The 2nd 'time limit warning' will stay visible for this many seconds (will not turn off if this setting is left blank)"),
"caption"=>$clang->gT("2nd time limit warning message display time"));

$qattributes["time_limit_warning_2_message"]=array(
"types"=>"STUXL",
"types"=>"STUXL!",
'category'=>$clang->gT('Timer'),
'sortorder'=>120,
"inputtype"=>"textarea",
Expand All @@ -3997,7 +3997,7 @@ function questionAttributes($returnByName=false)
"caption"=>$clang->gT("2nd time limit warning message"));

$qattributes["time_limit_warning_2_style"]=array(
"types"=>"STUXL",
"types"=>"STUXL!",
'category'=>$clang->gT('Timer'),
'sortorder'=>122,
"inputtype"=>"textarea",
Expand Down

0 comments on commit bb897f4

Please sign in to comment.