summaryrefslogtreecommitdiff
path: root/core/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-05-18 19:34:03 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-05-18 19:34:03 +0000
commit762ca225443626b69c94f6d6c833f66de69b2ce1 (patch)
treef2c77401b6b6f018728fc37f0b6fdbb012d75654 /core/views
parentad16488643017f293dda6b226024751d15cb4426 (diff)
This takes us the next step closer to providing bulk edit. We still
can't edit, but we are getting closer :-). This change sets up a framework for modules to contribute edit panels to the organize drawer. Currently implemented General (albums and photos), Sort Order (albums only) and Manage Tags
Diffstat (limited to 'core/views')
-rw-r--r--core/views/organize_edit_general.html.php15
-rw-r--r--core/views/organize_edit_sort.html.php11
2 files changed, 26 insertions, 0 deletions
diff --git a/core/views/organize_edit_general.html.php b/core/views/organize_edit_general.html.php
new file mode 100644
index 00000000..84e666d8
--- /dev/null
+++ b/core/views/organize_edit_general.html.php
@@ -0,0 +1,15 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<ul>
+ <li>
+ <label for="title"><?= t("Title") ?></label>
+ <div id="title" type="text" class="textbox" ><?= $item->title ?></div>
+ </li>
+ <li>
+ <label for="description"><?= t("Description") ?></label>
+ <div id="description" class="textarea" ><?= $item->description ?></div>
+ </li>
+ <li>
+ <label for="dirname"><?= t("Directory Name") ?></label>
+ <div id="dirname" type="text" class="textbox" ><?= $item->name ?></div>
+ </li>
+</ul>
diff --git a/core/views/organize_edit_sort.html.php b/core/views/organize_edit_sort.html.php
new file mode 100644
index 00000000..1151b014
--- /dev/null
+++ b/core/views/organize_edit_sort.html.php
@@ -0,0 +1,11 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<ul>
+ <li>
+ <label for="sortby"><?= t("Sort By") ?></label>
+ <div id="sortby" class="textbox"><?= $sort_by ?></div>
+ </li>
+ <li>
+ <label for="sortorder"><?= t("Sort Order") ?></label>
+ <div id="sortorder" class="textbox"><?= $sort_order ?></div>
+ </li>
+</ul>