483bcd5aa306a7136389045cecef2104cd4d7ac7
[acontent.git] / docs / themes / default / home / editor / edit_content_folder.tmpl.php
1 <?php\r
2 /************************************************************************/\r
3 /* AContent                                                             */\r
4 /************************************************************************/\r
5 /* Copyright (c) 2010                                                   */\r
6 /* Inclusive Design Institute                                           */\r
7 /*                                                                      */\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
12 \r
13 if (!defined('TR_INCLUDE_PATH')) { exit; } \r
14 \r
15 global $onload;\r
16 $onload = 'document.form.title.focus();';\r
17 ?>\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
20 <!-- <?php\r
21 if ($this->shortcuts): \r
22 ?>\r
23  <fieldset id="shortcuts" style="margin-top:1em;float:right;clear:right;"><legend><?php echo _AT('shortcuts'); ?></legend>\r
24         <ul>\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
28         </ul>\r
29 </fieldset>\r
30 <?php endif; ?> -->\r
31         <div class="row">\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
34         </div>\r
35         \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
38         </div>\r
39 </div>\r
40 </form>\r