moved code up one level to eliminate the docs subdirectory
[acontent.git] / themes / default / home / editor / arrange_content.tmpl.php
1 <?php
2 /************************************************************************/
3 /* AContent                                                             */
4 /************************************************************************/
5 /* Copyright (c) 2010                                                   */
6 /* Inclusive Design Institute                                           */
7 /*                                                                      */
8 /* This program is free software. You can redistribute it and/or        */
9 /* modify it under the terms of the GNU General Public License          */
10 /* as published by the Free Software Foundation.                        */
11 /************************************************************************/
12
13 if (!defined('TR_INCLUDE_PATH')) { exit; } 
14
15 global $contentManager;
16
17 require(TR_INCLUDE_PATH.'header.inc.php');
18 ?>
19 <div class="input-form">
20 <form action="<?php echo $_SERVER['PHP_SELF'].'?_course_id='.$this->course_id; if ($this->cid > 0) echo SEP.'_cid='.$this->cid; else if ($this->pid > 0) echo SEP.'pid='.$this->pid;?>" method="post" name="form"> 
21         <input type="hidden" name="button_1" value="-1" />
22 <?php
23         if ($contentManager->getNumSections() > (1 - (bool)(!$cid))) {
24                 echo '<p>' 
25                         , _AT('editor_properties_instructions', 
26                                 '<img src="'.$_base_path.'images/after.gif" alt="'._AT('after_topic', '').'" title="'._AT('after_topic', '').'" />', 
27                                 '<img src="'.$_base_path.'images/before.gif" alt="'._AT('before_topic', '').'" title="'._AT('before_topic', '').'" />',
28                                 '<img src="'.$_base_path.'images/child_of.gif" alt="'._AT('child_of', '').'" title="'._AT('child_of', '').'"  />')
29                         , '</p>';
30
31         }
32
33         ?><br />
34         <table border="0" align="center">
35         <tr>
36                 <th colspan="3"><?php echo _AT('move'); ?></th>
37                 <th><?php echo _AT('content'); ?></th>
38         </tr>
39         <tr>
40                 <td colspan="3">&nbsp;</td>
41                 <td><?php echo _AT('home'); ?></td>
42         </tr>
43 <?php
44                 $contentManager->printActionMenu($contentManager->_menu, 0, 0, '', array(), "movable");
45                         
46 ?>
47         </table>
48 </form>
49 </div>
50 <?php require(TR_INCLUDE_PATH.'footer.inc.php'); ?>