2 /************************************************************************/
\r
4 /************************************************************************/
\r
5 /* Copyright (c) 2010 */
\r
6 /* Inclusive Design Institute */
\r
8 /* This program is free software. You can redistribute it and/or */
\r
9 /* modify it under the terms of the GNU General Public License */
\r
10 /* as published by the Free Software Foundation. */
\r
11 /************************************************************************/
\r
13 if (!defined('TR_INCLUDE_PATH')) { exit; }
\r
16 $onload = 'document.form.title.focus();';
\r
18 <form action="<?php echo $_SERVER['PHP_SELF'].'?'; if ($this->cid > 0) echo '_cid='.$this->cid; else if ($this->pid > 0) echo 'pid='.$this->pid.SEP.'_course_id='.$this->course_id; else echo '_course_id='.$this->course_id;?>" method="post" name="form">
\r
19 <div class="input-form" style="width:95%;margin-left:1.5em;">
\r
21 if ($this->shortcuts):
\r
23 <fieldset id="shortcuts" style="margin-top:1em;float:right;clear:right;"><legend><?php echo _AT('shortcuts'); ?></legend>
\r
25 <?php foreach ($this->shortcuts as $link): ?>
\r
26 <li><a href="<?php echo $link['url']; ?>"><?php echo $link['title']; ?></a></li>
\r
27 <?php endforeach; ?>
\r
32 <div style="font-weight:bold;"><span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="ftitle"><?php echo _AT('content_folder_title'); ?></label></div>
\r
33 <input type="text" name="title" id="ftitle" size="70" class="formfield" value="<?php echo ContentManager::cleanOutput($this->ftitle); ?>" />
\r
36 <div class="row buttons">
\r
37 <input type="submit" name="submit" value="<?php echo _AT('save'); ?>" title="<?php echo _AT('save_changes'); ?> alt-s" accesskey="s" />
\r