e56a6973d881ed8b08c7f870a2ac46df7555afe3
[atutor.git] / docs / mods / _core / editor / editor_tabs / properties.inc.php
1 <?php
2 /****************************************************************/
3 /* ATutor                                                                                                               */
4 /****************************************************************/
5 /* Copyright (c) 2002-2010                                      */
6 /* Inclusive Design Institute                                   */
7 /* http://atutor.ca                                                                                             */
8 /*                                                              */
9 /* This program is free software. You can redistribute it and/or*/
10 /* modify it under the terms of the GNU General Public License  */
11 /* as published by the Free Software Foundation.                                */
12 /****************************************************************/
13 // $Id$
14
15 if (!defined('AT_INCLUDE_PATH')) { exit; }
16
17 ?>
18         <div class="row">
19                 <?php echo _AT('release_date');  ?><br />
20                 <?php if ($_POST['day']) { ?>
21                         <?php
22                                 $today_day   = $_POST['day'];
23                                 $today_mon   = $_POST['month'];
24                                 $today_year  = $_POST['year'];
25
26                                 $today_hour  = $_POST['hour'];
27                                 $today_min   = $_POST['min'];           
28                 }?>
29                 <?php require(AT_INCLUDE_PATH.'html/release_date.inc.php');     ?>
30                 <?php echo _AT('applies_to_all_sub_pages'); ?>
31         </div>
32
33         <div class="row">
34                 <label for="keys"><?php echo _AT('keywords'); ?></label><br />
35                 <textarea name="keywords" class="formfield" cols="73" rows="2" id="keys"><?php echo ContentManager::cleanOutput($_POST['keywords']); ?></textarea>
36         </div>
37
38         <div class="row">
39                 <input type="hidden" name="button_1" value="-1" />
40                 <?php
41                         if ($contentManager->getNumSections() > (1 - (bool)(!$cid))) {
42                                 echo '<p>' , _AT('editor_properties_insturctions_related') , '</p>';
43                         }
44                         ?><br />
45                         <table border="0">
46                         <tr>
47                                 <th><?php echo _AT('related_topics'); ?></th>
48                         </tr>
49                         <tr>
50                                 <td><?php echo _AT('home'); ?></td>
51                         </tr>
52                         <?php $contentManager->printActionMenu($contentManager->_menu, 0, 0, '', array(), "related_content"); ?>
53                 </table>
54         </div>