示例#1
0
    }
    // LTI supported
    if ($basiclti_tool_row !== false) {
        $blti_content_edit_form = filterForm($basiclti_tool_row, $blti_content_edit_form);
        at_form_generate($basiclti_content_row, $blti_content_edit_form);
        echo '<input type="submit" name="save" value="' . _AT('save') . '" class="button" />' . "\n";
    }
    echo '</div>';
    //--
    // // // // //
    echo '</form>';
    echo '<h3>' . $basiclti_tool_row['title'] . ' ' . _AT('bl_settings') . '</h3>';
    echo '<ul style="list-style-type:none;">';
    foreach ($basiclti_tool_row as $title => $setting) {
        if ($title == "password" || $title == "resourcekey" && $basiclti_tool_row['course_id'] == 0) {
            // Hide the tool password if its not an instructor created tool //
            // Don't print out the key or password id its an admin added tool
            continue;
        } else {
            echo '<li>' . $title . ' = ' . $setting . '</li>';
        }
    }
    echo '</ul>';
}
if ($basiclti_tool_row == false) {
    $blti_content_edit_form = filterForm($basiclti_tool_row, $blti_content_edit_form);
    at_form_generate($basiclti_content_row, $blti_content_edit_form);
    echo '<input type="submit" name="save" value="' . _AT('save') . '" class="button" />' . "\n";
}
//echo("<hr><pre>\n");print_r($basiclti_tool_row); echo("\n</pre>\n");
require AT_INCLUDE_PATH . 'footer.inc.php';
示例#2
0
<form method="post" action="<?php 
echo $_SERVER['PHP_SELF'];
?>
" name="basiclti_form" enctype="multipart/form-data">
  <input type="hidden" name="form_basiclti" value="true" />
  <input type="hidden" name="id" value="<?php 
echo $tool;
?>
" />
  <div class="input-form">
    <fieldset class="group_form"><legend class="group_form"><?php 
echo _AT('properties');
?>
</legend>
<?php 
at_form_generate($toolrow, $blti_admin_form);
?>
        <div class="buttons">
                <input type="submit" name="submit" value="<?php 
echo _AT('save');
?>
" accesskey="s" />
                <input type="submit" name="cancel" value="<?php 
echo _AT('cancel');
?>
" />
        </div>
    </fieldset>
  </div>
</form>
示例#3
0
}
include AT_INCLUDE_PATH . 'header.inc.php';
$msg->printAll();
?>
<form method="post" action="<?php 
echo $_SERVER['PHP_SELF'];
?>
" name="basiclti_form" enctype="multipart/form-data">
  <input type="hidden" name="form_basiclti" value="true" />
  <div class="input-form">
    <fieldset class="group_form"><legend class="group_form"><?php 
echo _AT('properties');
?>
</legend>
<?php 
at_form_generate($_POST, $blti_admin_form);
?>
        <div class="buttons">
                <input type="submit" name="submit" value="<?php 
echo _AT('save');
?>
" accesskey="s" />
                <input type="submit" name="cancel" value="<?php 
echo _AT('cancel');
?>
" />
        </div>
    </fieldset>
  </div>
</form>
示例#4
0
<form method="post" action="<?php 
echo $_SERVER['PHP_SELF'];
?>
" name="basiclti_form" enctype="multipart/form-data">
  <input type="hidden" name="form_basiclti" value="true" />
  <input type="hidden" name="id" value="<?php 
echo $tool;
?>
" />
  <div class="input-form">
    <fieldset class="group_form"><legend class="group_form"><?php 
echo _AT('properties');
?>
</legend>
<?php 
at_form_generate($toolrow, $blti_instructor_form);
?>
        <div class="buttons">
                <input type="submit" name="submit" value="<?php 
echo _AT('save');
?>
" accesskey="s" />
                <input type="submit" name="cancel" value="<?php 
echo _AT('cancel');
?>
" />
        </div>
    </fieldset>
  </div>
</form>
示例#5
0
}
include AT_INCLUDE_PATH . 'header.inc.php';
$msg->printAll();
?>
<form method="post" action="<?php 
echo $_SERVER['PHP_SELF'];
?>
" name="basiclti_form" enctype="multipart/form-data">
  <input type="hidden" name="form_basiclti" value="true" />
  <div class="input-form">
    <fieldset class="group_form"><legend class="group_form"><?php 
echo _AT('properties');
?>
</legend>
<?php 
at_form_generate($_POST, $blti_instructor_form);
?>
        <div class="buttons">
                <input type="submit" name="submit" value="<?php 
echo _AT('save');
?>
" accesskey="s" />
                <input type="submit" name="cancel" value="<?php 
echo _AT('cancel');
?>
" />
        </div>
    </fieldset>
  </div>
</form>