From 36df6fa3069d55db3c35724c4f465bde9c50b53a Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 31 Jul 2005 18:35:54 +0200 Subject: image metadata editor This patch adds an meta data editor for JPEG files. Currently title, caption, artist, copyright and keywords can be saved. The data is saved to the apropriate IPTC fields. Additional fields can be added in the appropriate template. Compatibility testing with other programs is needed! darcs-hash:20050731163554-7ad00-dd936ec19549203dcf72de8774309c0b17d0b679.gz --- lib/tpl/default/design.css | 22 +++++++++++ lib/tpl/default/mediaedit.php | 90 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) create mode 100644 lib/tpl/default/mediaedit.php (limited to 'lib/tpl') diff --git a/lib/tpl/default/design.css b/lib/tpl/default/design.css index 48453a736..ee03815ff 100644 --- a/lib/tpl/default/design.css +++ b/lib/tpl/default/design.css @@ -733,3 +733,25 @@ div.mediaselect-right li, div.uploadform { clear: both; } +div.mediaedit div.data label{ + display: block; + text-align: right; + width: 20%; + float: left; + margin-right: 0.5em; +} + +div.mediaedit div.data input, div.mediaedit div.data textarea{ + width: 75%; + padding: 0.1em; + margin: 0.1em; +} + +div.mediaedit div.data input.button { + width: 10em; + display: block; + margin-left: auto; + margin-right: auto; +} + + diff --git a/lib/tpl/default/mediaedit.php b/lib/tpl/default/mediaedit.php new file mode 100644 index 000000000..53a969e1b --- /dev/null +++ b/lib/tpl/default/mediaedit.php @@ -0,0 +1,90 @@ + + + */ +?> + + + <?php echo hsc($lang['mediaselect'])?> [<?php echo hsc($conf['title'])?>] + + + + + + + + + + +
+ + +

+ +
+ + +
+
+ + + + +
+ + +
+ + +
+ + +
+ + + +
+ + + + +
+
+ + + +
+ +
+ + + -- cgit v1.2.3