Automad
 All Classes Functions Variables Pages
edit_shared.php
1 <?php
2 /*
3  * ....
4  * .: '':.
5  * :::: ':..
6  * ::. ''..
7  * .:'.. ..':.:::' . :. '':.
8  * :. '' '' '. ::::.. ..:
9  * ::::. ..':.. .'''::::: .
10  * :::::::.. '..:::: :. :::: :
11  * ::'':::::::. ':::.'':.:::: :
12  * :.. ''::::::....': '':: :
13  * :::::. '::::: : .. '' .
14  * .''::::::::... ':::.'' ..'' :.''''.
15  * :..:::''::::: :::::...:'' :..:
16  * ::::::. ':::: :::::::: ..:: .
17  * ::::::::.:::: :::::::: :'':.:: .''
18  * ::: '::::::::.' ''::::: :.' '': :
19  * ::: :::::::::..' :::: ::...' .
20  * ::: .:::::::::: :::: :::: .:'
21  * '::' ''::::::: :::: : :: :
22  * ':::: :::: :'' .:
23  * :::: :::: ..''
24  * :::: ..:::: .:''
25  * '''' '''''
26  *
27  *
28  * AUTOMAD
29  *
30  * Copyright (c) 2014 by Marc Anton Dahmen
31  * http://marcdahmen.de
32  *
33  * Licensed under the MIT license.
34  * http://automad.org/license
35  */
36 
37 
38 defined('AUTOMAD') or die('Direct access not permitted!');
39 
40 
41 /*
42  * The GUI page to edit the global content. As part of the GUI, this file is only to be included via the GUI class.
43  */
44 
45 
46 $this->guiTitle = $this->guiTitle . ' / ' . $this->tb['shared_title'];
47 $this->element('header');
48 
49 
50 ?>
51 
52  <div class="column subnav">
53  <div class="scroll">
54  <div class="inner">
55  <!-- Nav tabs -->
56  <ul class="nav nav-pills nav-stacked">
57  <li class="active">
58  <a href="#data" data-toggle="tab">
59  <span class="glyphicon glyphicon-align-left"></span><span class="hidden-md"> <?php echo $this->tb['btn_data']; ?></span>
60  </a>
61  </li>
62  <li>
63  <a href="#files" data-toggle="tab">
64  <span class="glyphicon glyphicon-folder-open"></span><span class="hidden-md"> <?php echo $this->tb['btn_files']; ?></span>
65  </a>
66  </li>
67  </ul>
68  </div>
69  </div>
70  </div>
71 
72  <div class="column content">
73  <div class="inner">
74  <div class="alert alert-info">
75  <h3><?php echo $this->tb['shared_title']; ?></h3>
76  </div>
77  <!-- Tab panes -->
78  <div class="tab-content">
79  <div id="data" class="tab-pane fade in active">
80  <form class="automad-form automad-init" data-automad-handler="shared_data" role="form"><span class="glyphicon glyphicon-time"></span> <?php echo $this->tb['btn_loading']; ?></form>
81  </div>
82  <div id="files" class="tab-pane fade">
83  <script src="<?php echo AM_BASE_URL; ?>/automad/lib/jquery-file-upload/jquery.ui.widget.js" type="text/javascript" charset="utf-8"></script>
84  <script src="<?php echo AM_BASE_URL; ?>/automad/lib/jquery-file-upload/jquery.fileupload.js" type="text/javascript" charset="utf-8"></script>
85  <script src="<?php echo AM_BASE_URL; ?>/automad/lib/jquery-file-upload/jquery.iframe-transport.js" type="text/javascript" charset="utf-8"></script>
86  <form class="automad-form automad-init" data-automad-handler="files" role="form"></form>
87  </div>
88  </div>
89  </div>
90  </div>
91 
92 <?php
93 
94 
95 $this->element('footer');
96 
97 
98 ?>