summaryrefslogtreecommitdiff
path: root/modules/gallery/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-11-06 07:02:55 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-11-06 07:02:55 -0800
commit44ae88e8e17713cab81a5cf08820e18896615196 (patch)
tree45ecb24e92cbd8454c67a4840eea8ae579ebe68f /modules/gallery/views
parent1faa2492952a54f0b80cce149ae42b59b91039df (diff)
parent04c10a0720b57bc4b6273ea7127d9880c2c28354 (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/views')
-rw-r--r--modules/gallery/views/in_place_edit.html.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/gallery/views/in_place_edit.html.php b/modules/gallery/views/in_place_edit.html.php
new file mode 100644
index 00000000..64671d57
--- /dev/null
+++ b/modules/gallery/views/in_place_edit.html.php
@@ -0,0 +1,16 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<?= form::open($action, array("method" => "post", "id" => "g-inplace-edit-form", "class" => "g-short-form"), $hidden) ?>
+ <ul>
+ <li <? if (!empty($errors["input"])): ?> class="g-error"<? endif ?>>
+ <?= form::input("input", $form["input"], " class='textbox'") ?>
+ </li>
+ <li>
+ <?= form::submit(array("class" => "submit ui-state-default"), t("Save")) ?>
+ </li>
+ <li><a href="#" class="g-cancel"><?= t("Cancel") ?></a></li>
+ </ul>
+<?= form::close() ?>
+<? if (!empty($errors["input"])): ?>
+<div id="g-inplace-edit-message" class="g-error"><?= $errors["input"] ?></div>
+<? endif ?>
+