HEX
Server: Apache/2.4.29 (Ubuntu)
System: Linux bareserver 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User: root (0)
PHP: 7.2.24-0ubuntu0.18.04.17
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/moodle/evaluaciones/moodle/mod/glossary/editcategories.html
<?php
    global $CFG;
    require_once("../../config.php");
?>
<div class="boxaligncenter">
<form id="form" method="post" action="editcategories.php">
<div>
<table  class="generalbox" cellpadding="5">
<tr valign="top">
    <td align="right"><label for="name"><?php echo get_string("name") ?>:</label></td>
    <td>
        <input type="text" name="name" id="name" size="30" value="<?php p($name) ?>" />
    </td>
</tr>
<tr valign="top">
    <td align="right"><label for="usedynalink"><?php echo get_string("linkcategory","glossary") ?>:</label></td>
    <td>
      <select size="1" id="usedynalink" name="usedynalink">
      <option value="1" <?php
       if ( $usedynalink ) {
          echo "selected=\"selected\"";
       }
       ?>><?php echo get_string("yes") ?></option>
      <option value="0" <?php
       if ( !$usedynalink ) {
          echo "selected=\"selected\"";
       }
       ?>><?php echo get_string("no") ?>
      </option>
      </select> <?php echo $OUTPUT->help_icon('linkcategory', 'glossary') ?>
    </td>
</tr>
<tr>
<td colspan="2">
    <div class="buttons">
    <input type="hidden" name="sesskey" value="<?php echo sesskey(); ?>" />
    <input type="hidden" name="id" value="<?php p($cm->id) ?>" />
    <input type="hidden" name="action" value="<?php p($action) ?>" />
    <input type="hidden" name="confirm" value="1" />
    <input type="hidden" name="mode" value='cat' />
    <input type="hidden" name="hook" value="<?php p($hook) ?>" />
    <input type="submit" value="<?php print_string("savechanges") ?>" />
    <input type="reset" value="<?php print_string("back","glossary") ?>"  onclick="javascript:history.go(-1);" />
    </div>
</td>
</tr>
</table>
</div>
</form>
</div>