summaryrefslogtreecommitdiff
path: root/code/admin/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'code/admin/index.php')
-rw-r--r--code/admin/index.php26
1 files changed, 15 insertions, 11 deletions
diff --git a/code/admin/index.php b/code/admin/index.php
index dc10206..8cf1b39 100644
--- a/code/admin/index.php
+++ b/code/admin/index.php
@@ -26,9 +26,10 @@
<h1><?=$page_title?></h1>
<form>
+<span class="inline_half">
<fieldset>
<legend><?=_('Page tree')?></legend>
-<input id="page_add" class="tree_add" type="button" value="<?=_('Add page')?>" onclick="go_add_form('page');">
+<input id="page_add" class="tree_add" type="button" value="<?=_('Add/Delete page')?>" onclick="go_add_form('page');">
<div class="css-treeview">
<?php
$page_tree=find_all('./content', 'page');
@@ -37,7 +38,7 @@
?>
</div>
</fieldset>
-
+</span><!-- No blanks here, important for CSS --><span class="inline_half">
<fieldset>
<legend><?=_('Selected page')?></legend>
<label for="page_path"><?=_('Page path')?></label>
@@ -45,7 +46,8 @@
<label for="page_edit"><?=_('Actions')?></label>
<input id="page_edit" type="button" value="<?=_('Edit page')?>" onclick="go_edit_page();">
-<input id="page_delete" type="button" value="<?=_('Delete page')?>" onclick="go_delete_page();">
+<!--<input id="page_delete" type="button" value="<?=_('Delete page')?>" onclick="go_delete_page();">-->
+<input id="page_rename" type="button" value="<?=_('Rename page')?>" onclick="rename_page();">
<br><br>
@@ -61,10 +63,10 @@
<label for="page_submit"></label>
<input id="page_submit" type="button" value="<?=_('Save properties')?>" onclick="save_page_props();"><br>
</fieldset>
-
+</span><!-- No blanks here, important for CSS --><span class="inline_half">
<fieldset>
<legend><?=_('Media tree')?></legend>
-<input id="media_add" class="tree_add" type="button" value="<?=_('Add media')?>" onclick="go_add_form('media');">
+<input id="media_add" class="tree_add" type="button" value="<?=_('Add/Delete media')?>" onclick="go_add_form('media');">
<div class="css-treeview">
<?php
$media_tree=find_all('../media', 'media');
@@ -73,17 +75,17 @@
?>
</div>
</fieldset>
-
+</span><!-- No blanks here, important for CSS --><span class="inline_half">
<fieldset>
<legend><?=_('Selected Media')?></legend>
<label for="media_path"><?=_('Media path')?></label>
<input id="media_path" name="media_path" readonly="readonly" value="<?=_('(choose a media in the tree)')?>"><br>
-<label for="media_edit"><?=_('Actions')?></label>
-<!--<input id="media_edit" type="button" value="Edit media">-->
+<!--<label for="media_edit"><?=_('Actions')?></label>
+<input id="media_edit" type="button" value="Edit media">
<input id="media_delete" type="button" value="<?=_('Delete media')?>" onclick="go_delete_media();">
-
<br><br>
+-->
<label for="media_title"><?=_('Media title')?></label>
<input id="media_title" name="media_title" value=""><br>
@@ -97,7 +99,7 @@
<label for="media_submit"></label>
<input id="media_submit" type="button" value="<?=_('Save properties')?>" onclick="save_media_props();"><br>
</fieldset>
-
+</span><!-- No blanks here, important for CSS --><span class="inline_half">
<fieldset>
<legend><?=_('Site properties')?></legend>
<label for="site_admin_lang"><?=_('Admin lang')?></label>
@@ -109,7 +111,9 @@
<label for="site_submit"></label>
<input id="site_submit" type="button" value="<?=_('Save properties')?>" onclick="save_site_props();"><br>
</fieldset>
-
+</span><!-- No blanks here, important for CSS --><span class="inline_half">
+<!-- Place holder -->
+</span>
</form>
</body>
</html>