]> git.mjollnir.org Git - s9y.git/commitdiff
Pimping lesson #2: Media comments
authorgarvinhicking <garvinhicking>
Fri, 7 Apr 2006 16:01:20 +0000 (16:01 +0000)
committergarvinhicking <garvinhicking>
Fri, 7 Apr 2006 16:01:20 +0000 (16:01 +0000)
70 files changed:
deployment/serendipity_editor.js
docs/NEWS
include/admin/images.inc.php
include/functions_images.inc.php
include/functions_installer.inc.php
include/tpl/config_local.inc.php
include/tpl/config_personal.inc.php
lang/UTF-8/serendipity_lang_bg.inc.php
lang/UTF-8/serendipity_lang_cn.inc.php
lang/UTF-8/serendipity_lang_cs.inc.php
lang/UTF-8/serendipity_lang_cz.inc.php
lang/UTF-8/serendipity_lang_da.inc.php
lang/UTF-8/serendipity_lang_de.inc.php
lang/UTF-8/serendipity_lang_en.inc.php
lang/UTF-8/serendipity_lang_es.inc.php
lang/UTF-8/serendipity_lang_fa.inc.php
lang/UTF-8/serendipity_lang_fi.inc.php
lang/UTF-8/serendipity_lang_fr.inc.php
lang/UTF-8/serendipity_lang_hu.inc.php
lang/UTF-8/serendipity_lang_is.inc.php
lang/UTF-8/serendipity_lang_it.inc.php
lang/UTF-8/serendipity_lang_ja.inc.php
lang/UTF-8/serendipity_lang_ko.inc.php
lang/UTF-8/serendipity_lang_nl.inc.php
lang/UTF-8/serendipity_lang_no.inc.php
lang/UTF-8/serendipity_lang_pt.inc.php
lang/UTF-8/serendipity_lang_pt_PT.inc.php
lang/UTF-8/serendipity_lang_ro.inc.php
lang/UTF-8/serendipity_lang_ru.inc.php
lang/UTF-8/serendipity_lang_se.inc.php
lang/UTF-8/serendipity_lang_ta.inc.php
lang/UTF-8/serendipity_lang_tn.inc.php
lang/UTF-8/serendipity_lang_tr.inc.php
lang/UTF-8/serendipity_lang_tw.inc.php
lang/UTF-8/serendipity_lang_zh.inc.php
lang/addlang.txt
lang/plugin_lang.php
lang/serendipity_lang_bg.inc.php
lang/serendipity_lang_cn.inc.php
lang/serendipity_lang_cs.inc.php
lang/serendipity_lang_cz.inc.php
lang/serendipity_lang_da.inc.php
lang/serendipity_lang_de.inc.php
lang/serendipity_lang_en.inc.php
lang/serendipity_lang_es.inc.php
lang/serendipity_lang_fa.inc.php
lang/serendipity_lang_fi.inc.php
lang/serendipity_lang_fr.inc.php
lang/serendipity_lang_hu.inc.php
lang/serendipity_lang_is.inc.php
lang/serendipity_lang_it.inc.php
lang/serendipity_lang_ja.inc.php
lang/serendipity_lang_ko.inc.php
lang/serendipity_lang_nl.inc.php
lang/serendipity_lang_no.inc.php
lang/serendipity_lang_pt.inc.php
lang/serendipity_lang_pt_PT.inc.php
lang/serendipity_lang_ro.inc.php
lang/serendipity_lang_ru.inc.php
lang/serendipity_lang_se.inc.php
lang/serendipity_lang_ta.inc.php
lang/serendipity_lang_tn.inc.php
lang/serendipity_lang_tr.inc.php
lang/serendipity_lang_tw.inc.php
lang/serendipity_lang_zh.inc.php
serendipity_admin_image_selector.php
serendipity_config.inc.php
serendipity_editor.js
sql/db.sql
sql/db_update_1.1-alpha2_1.1-alpha3_mysql.sql [new file with mode: 0644]

index fa927da4ec0fc11ee802a1ed9b2ed1d4ecd1a188..67d50c6f7618862ca7ef4f807f48b1fb5c8e959e 100644 (file)
@@ -183,7 +183,7 @@ function serendipity_imageSelector_done(textarea)
     var src = '';
     var f = document.forms['serendipity[selForm]'].elements;
 
-    if (f['serendipity[linkThumbnail]'][0].checked == true) {
+    if (f['serendipity[linkThumbnail]'] && f['serendipity[linkThumbnail]'][0].checked == true) {
         img       = f['thumbName'].value;
         imgWidth  = f['imgThumbWidth'].value;
         imgHeight = f['imgThumbHeight'].value;
@@ -193,10 +193,30 @@ function serendipity_imageSelector_done(textarea)
         imgHeight = f['imgHeight'].value;
     }
 
-    if (f['serendipity[filename_only]'] && f['serendipity[filename_only]'].value == 'true') {
-        parent.self.opener.serendipity_imageSelector_addToElement(img, f['serendipity[htmltarget]'].value);
-        parent.self.close();
-        return true;
+    if (f['serendipity[filename_only]']) {
+        if (f['serendipity[htmltarget]']) {
+            starget = f['serendipity[htmltarget]'].value;
+        } else {
+            starget = 'serendipity[' + textarea + ']';
+        }
+
+        if (f['serendipity[filename_only]'].value == 'true') {
+            parent.self.opener.serendipity_imageSelector_addToElement(img, f['serendipity[htmltarget]'].value);
+            parent.self.close();
+            return true;
+        } else if (f['serendipity[filename_only]'].value == 'id') {
+            parent.self.opener.serendipity_imageSelector_addToElement(f['imgID'].value, starget);
+            parent.self.close();
+            return true;
+        } else if (f['serendipity[filename_only]'].value == 'thumb') {
+            parent.self.opener.serendipity_imageSelector_addToElement(f['thumbName'].value, starget);
+            parent.self.close();
+            return true;
+        } else if (f['serendipity[filename_only]'].value == 'big') {
+            parent.self.opener.serendipity_imageSelector_addToElement(f['imgName'].value, starget);
+            parent.self.close();
+            return true;
+        }
     }
 
     if (document.getElementById('serendipity_imagecomment').value != '') {
index cb9add9ae9c5fecf2d8d00f8a5447b98c2634c60..5ff90510aeb47131549d94910902d2ccabd298cb 100644 (file)
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -3,6 +3,14 @@
 Version 1.1-alpha1()
 ------------------------------------------------------------------------
 
+   * Make media manager able to store media properties (garvinhicking)
+     TODO:
+        - Show more existing properties in edit interface [see TODO in file]
+        - Read/Parse EXIF metadata
+        - Search/Filter for specific properties/keywords
+        - Move images/directories
+        - Create Smarty functions to access media properties by ID/filename
+
    * Added directory tree view widget (JS) to the Media Selector
      (garvinhicking)
 
index 28c32877d9d2cd80dc1e86a7c66506b768053760..2774939d9be2ba35124f578e0f95d9cca633c991 100644 (file)
@@ -125,19 +125,39 @@ switch ($serendipity['GET']['adminAction']) {
         // if we successfully rename
     ?>
         <script language="javascript" type="text/javascript">
-            location.href="?serendipity[adminModule]=images";
+            location.href="?serendipity[adminModule]=images&serendipity[adminAction]=default";
         </script>
         <noscript>
-            <a href="?serendipity[adminModule]=images"><?php echo DONE ?></a>
+            <a href="?serendipity[adminModule]=images&amp;serendipity[adminAction]=default"><?php echo DONE ?></a>
         </noscript>
     <?php
         break;
 
+    case 'properties':
+        $new_media = array(array('image_id' => $serendipity['GET']['fid']));
+        serendipity_showPropertyForm($new_media);
+        break;
+
     case 'add':
         if (!serendipity_checkFormToken() || !serendipity_checkPermission('adminImagesAdd')) {
             return;
         }
 
+        if ($serendipity['POST']['adminSubAction'] == 'properties') {
+            $properties        = serendipity_parsePropertyForm();
+            $image_id          = $properties['image_id'];
+            $created_thumbnail = true;
+?>
+        <script language="javascript" type="text/javascript">
+            location.href="?serendipity[adminModule]=images&serendipity[adminAction]=default";
+        </script>
+        <noscript>
+            <a href="?serendipity[adminModule]=images&amp;serendipity[adminAction]=default"><?php echo DONE ?></a>
+        </noscript>
+<?php
+            break;
+        }
+
 ?>
     <div class="image_add"><b><?php echo ADDING_IMAGE; ?></b></div>
     <br /><br />
@@ -145,6 +165,7 @@ switch ($serendipity['GET']['adminAction']) {
 
     $authorid = (isset($serendipity['POST']['all_authors']) && $serendipity['POST']['all_authors'] == 'true') ? '0' : $serendipity['authorid'];
 
+    $new_media = array();
     // First find out whether to fetch a file or accept an upload
     if ($serendipity['POST']['imageurl'] != '' && $serendipity['POST']['imageurl'] != 'http://') {
         if (!empty($serendipity['POST']['target_filename'][2])) {
@@ -218,6 +239,11 @@ switch ($serendipity['GET']['adminAction']) {
                     // Insert into database
                     $image_id = serendipity_insertImageInDatabase($tfile, $serendipity['POST']['target_directory'][$tindex], $authorid);
                     serendipity_plugin_api::hook_event('backend_image_add', $target);
+                    $new_media[] = array(
+                        'image_id'          => $image_id,
+                        'target'            => $target,
+                        'created_thumbnail' => $created_thumbnail
+                    );
                 }
             }
             serendipity_request_end();
@@ -276,12 +302,19 @@ switch ($serendipity['GET']['adminAction']) {
                     // Insert into database
                     $image_id = serendipity_insertImageInDatabase($tfile, $serendipity['POST']['target_directory'][$idx], $authorid);
                     serendipity_plugin_api::hook_event('backend_image_add', $target);
+                    $new_media[] = array(
+                        'image_id'          => $image_id,
+                        'target'            => $target,
+                        'created_thumbnail' => $created_thumbnail
+                    );
                 } else {
                     echo ERROR_UNKNOWN_NOUPLOAD . '<br />';
                 }
             }
         }
     }
+
+    serendipity_showPropertyForm($new_media);
     break;
 
 
@@ -783,7 +816,11 @@ switch ($serendipity['GET']['adminAction']) {
                 <script type="text/javascript">
                     document.write('<input class="serendipityPrettyButton" type="button" value="<?php echo IMAGE_MORE_INPUT; ?>" onclick="hideForeign(); addField()"' + '/><br' + '/>');
                 </script>
-                <input type="hidden" name="serendipity[all_authors]" value="true" checked="checked" id="all_authors" /> <input onclick="checkInputs();" type="submit" value="<?php echo GO; ?>" class="serendipityPrettyButton" />
+                <input type="hidden" name="serendipity[all_authors]" value="true" checked="checked" id="all_authors" />
+                <br />
+                <input onclick="checkInputs();" type="submit" value="<?php echo GO; ?>" class="serendipityPrettyButton" />
+                - <?php echo WORD_OR; ?> -
+                <input onclick="checkInputs();" name="go_properties" type="submit" value="<?php echo htmlspecialchars(GO_ADD_PROPERTIES); ?>" class="serendipityPrettyButton" />
             </div>
         </div>
         <div class="image_add_note"><?php echo ADD_MEDIA_BLAHBLAH_NOTE; ?></div>
@@ -797,12 +834,16 @@ switch ($serendipity['GET']['adminAction']) {
             return;
         }
 
+        if (empty($serendipity['adminFile_redirect'])) {
+            $serendipity['adminFile_redirect'] = htmlspecialchars($_SERVER['HTTP_REFERER']);
+        }
+
         if (serendipity_rotateImg($serendipity['GET']['fid'], -90)) {
 ?>
         <script language="javascript" type="text/javascript">
-            location.href="<?php echo htmlspecialchars($_SERVER['HTTP_REFERER']) ?>";
+            location.href="<?php echo $serendipity['adminFile_redirect'] ?>";
         </script>
-       <noscript><a href="<?php echo htmlspecialchars($_SERVER['HTTP_REFERER']) ?>"><?php echo DONE ?></a></noscript>
+       <noscript><a href="<?php echo $serendipity['adminFile_redirect'] ?>"><?php echo DONE ?></a></noscript>
 <?php
         }
     break;
@@ -813,12 +854,16 @@ switch ($serendipity['GET']['adminAction']) {
             return;
         }
 
+        if (empty($serendipity['adminFile_redirect'])) {
+            $serendipity['adminFile_redirect'] = htmlspecialchars($_SERVER['HTTP_REFERER']);
+        }
+
         if (serendipity_rotateImg($serendipity['GET']['fid'], 90)) {
 ?>
         <script language="javascript" type="text/javascript">
-            location.href="<?php echo htmlspecialchars($_SERVER['HTTP_REFERER']) ?>";
+            location.href="<?php echo $serendipity['adminFile_redirect'] ?>";
         </script>
-       <noscript><a href="<?php echo htmlspecialchars($_SERVER['HTTP_REFERER']) ?>"><?php echo DONE ?></a></noscript>
+       <noscript><a href="<?php echo $serendipity['adminFile_redirect'] ?>"><?php echo DONE ?></a></noscript>
 <?php
         }
     break;
@@ -843,9 +888,9 @@ switch ($serendipity['GET']['adminAction']) {
         // Forward user to overview (we don't want the user's back button to rename things again)
 ?>
     <script language="javascript" type="text/javascript">
-       // location.href="?serendipity[adminModule]=images";
+       location.href="?serendipity[adminModule]=images&serendipity[adminAction]=default";
     </script>
-    <noscript><a href="<?php echo htmlspecialchars($_SERVER['HTTP_REFERER']) ?>"><?php echo DONE ?></a></noscript>
+    <noscript><a href="?serendipity[adminModule]=images&amp;serendipity[adminAction]=default"><?php echo DONE ?></a></noscript>
 <?php
         break;
 
index 91c890284a17c787176860070be2565640785c2c..daac416c678e4c5c7af24559b8b7221de9010370 100644 (file)
@@ -1081,7 +1081,9 @@ function serendipity_resize_image_gd($infilename, $outfilename, $newwidth, $newh
     }
 
     imagecopyresampled($out, $in, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
+    @umask(0000);
     $func['save']($out, $outfilename, $func['qual']);
+    @chmod($outfilename, 0664);
     $out = null;
     $in  = null;
 
@@ -1456,15 +1458,18 @@ if ( !$manage ) {
                             <img class="serendipityImageButton" title="<?php echo MEDIA_FULLSIZE; ?>" alt="<?php echo MEDIA_FULLSIZE; ?>" src="<?php echo serendipity_getTemplateFile('admin/img/big_zoom.png') ?>"   border="0" onclick="F1 = window.open('<?php echo ($file['hotlink'] ? $file['path'] : $serendipity['serendipityHTTPPath'] . $serendipity['uploadHTTPPath'] . $file['path'] . $file['name'] . '.'. $file['extension']); ?>','Zoom','height=<?php echo $popupHeight; ?>,width=<?php echo $popupWidth; ?>,top='+ (screen.height-<?php echo $popupHeight ?>)/2 +',left='+ (screen.width-<?php echo $popupWidth ?>)/2 +',toolbar=no,menubar=no,location=no,resize=1,resizable=1<?php echo ($is_image ? '' : ',scrollbars=yes'); ?>');" /><br />
                             <img class="serendipityImageButton" title="<?php echo MEDIA_RENAME; ?>" alt="<?php echo MEDIA_RENAME; ?>" src="<?php echo serendipity_getTemplateFile('admin/img/big_rename.png') ?>" border="0" onclick="rename('<?php echo $file['id']; ?>', '<?php echo addslashes($file['name']); ?>')" /><br />
                             <?php if ($is_image && !$file['hotlink']) { ?><img class="serendipityImageButton" title="<?php echo IMAGE_RESIZE; ?>"   alt="<?php echo IMAGE_RESIZE; ?>"   src="<?php echo serendipity_getTemplateFile('admin/img/big_resize.png') ?>" border="0" onclick="location.href='?serendipity[adminModule]=images&amp;serendipity[adminAction]=scaleSelect&amp;serendipity[fid]=<?php echo $file['id']; ?>';" /><br /><?php } ?>
-                            <?php if ($is_image && !$file['hotlink']) { ?><a href="?serendipity[adminModule]=images&amp;serendipity[adminAction]=rotateCCW&amp;serendipity[fid]=<?php echo $file['id']; ?>"><img class="serendipityImageButton" title="<?php echo IMAGE_ROTATE_LEFT; ?>" alt="<?php echo IMAGE_ROTATE_LEFT; ?>" src="<?php echo serendipity_getTemplateFile('admin/img/big_rotate_ccw.png') ?>" border="0" /><br /><?php } ?>
-                            <?php if ($is_image && !$file['hotlink']) { ?><a href="?serendipity[adminModule]=images&amp;serendipity[adminAction]=rotateCW&amp;serendipity[fid]=<?php echo $file['id']; ?>"><img class="serendipityImageButton" title="<?php echo IMAGE_ROTATE_RIGHT; ?>" alt="<?php echo IMAGE_ROTATE_RIGHT; ?>" src="<?php echo serendipity_getTemplateFile('admin/img/big_rotate_cw.png') ?>" border="0" /><br /><?php } ?>
-                            <a href="?serendipity[adminModule]=images&amp;serendipity[adminAction]=delete&amp;serendipity[fid]=<?php echo $file['id']; ?>"><img class="serendipityImageButton" title="<?php echo MEDIA_DELETE; ?>"   alt="<?php echo MEDIA_DELETE; ?>"   src="<?php echo serendipity_getTemplateFile('admin/img/big_delete.png') ?>" border="0" /><br />
+                            <?php if ($is_image && !$file['hotlink']) { ?><a href="?serendipity[adminModule]=images&amp;serendipity[adminAction]=rotateCCW&amp;serendipity[fid]=<?php echo $file['id']; ?>"><img class="serendipityImageButton" title="<?php echo IMAGE_ROTATE_LEFT; ?>" alt="<?php echo IMAGE_ROTATE_LEFT; ?>" src="<?php echo serendipity_getTemplateFile('admin/img/big_rotate_ccw.png') ?>" border="0" /></a><br /><?php } ?>
+                            <?php if ($is_image && !$file['hotlink']) { ?><a href="?serendipity[adminModule]=images&amp;serendipity[adminAction]=rotateCW&amp;serendipity[fid]=<?php echo $file['id']; ?>"><img class="serendipityImageButton" title="<?php echo IMAGE_ROTATE_RIGHT; ?>" alt="<?php echo IMAGE_ROTATE_RIGHT; ?>" src="<?php echo serendipity_getTemplateFile('admin/img/big_rotate_cw.png') ?>" border="0" /></a><br /><?php } ?>
+                            <a href="?serendipity[adminModule]=images&amp;serendipity[adminAction]=properties&amp;serendipity[fid]=<?php echo $file['id']; ?>"><img class="serendipityImageButton" title="<?php echo MEDIA_PROP; ?>"   alt="<?php echo MEDIA_PROP; ?>"   src="<?php echo serendipity_getTemplateFile('admin/img/configure.png') ?>" border="0" /></a><br />
+                            <a href="?serendipity[adminModule]=images&amp;serendipity[adminAction]=delete&amp;serendipity[fid]=<?php echo $file['id']; ?>"><img class="serendipityImageButton" title="<?php echo MEDIA_DELETE; ?>"   alt="<?php echo MEDIA_DELETE; ?>"   src="<?php echo serendipity_getTemplateFile('admin/img/big_delete.png') ?>" border="0" /></a><br />
 <?php
                 }
 ?>
                             </td>
-                            <td height="10" align="left" style="font-weight: bold; font-size: 8pt"><?php echo $file['name'] . '.' . $file['extension']; ?></td>
-                            <td height="10" align="right" style="font-size: 8pt"><?php echo ($file['authorid'] == '0' ? ALL_AUTHORS : $file['authorname']); ?></td>
+                            <td colspan="2">
+                                <div class="serendipity_media_filename" style="font-weight: bold; font-size: 8pt"><?php echo $file['name'] . '.' . $file['extension']; ?></div>
+                                <div class="serendipity_media_author" style="font-size: 8pt"><?php echo ($file['authorid'] != '0' ? $file['authorname'] : ''); ?></div>
+                            </td>
                         </tr>
                         <tr>
                             <td align="center" colspan="2"><?php echo $preview ?></td>
@@ -2001,3 +2006,191 @@ function serendipity_getImageData($sRelativePath) {
     return $array;
 }
 
+/**
+ * Shows the HTML form to add/edit properties of uploaded media items
+ *
+ * @param  array    Associative array holding an array('image_id', 'target', 'created_thumbnail') that points to the uploaded media
+ * @param  int      How many keyword checkboxes to display next to each other?
+ * @param  boolean  Can existing data be modified?
+ * @return boolean
+ *
+ */
+function serendipity_showPropertyForm(&$new_media, $keywordsPerBlock = 3, $manage = true) {
+    global $serendipity;
+
+    if (!is_array($new_media) || count($new_media) < 1) {
+        return true;
+    }
+
+    $dprops   = explode(';', $serendipity['mediaProperties']);
+    $keywords = explode(';', $serendipity['mediaKeywords']);
+
+    if ($manage) {
+?>
+    <form id="mediaPropertyForm" action="?" method="POST">
+        <div>
+            <?php echo serendipity_setFormToken(); ?>
+            <input type="hidden" name="serendipity[action]"         value="admin" />
+            <input type="hidden" name="serendipity[adminModule]"    value="images" />
+            <input type="hidden" name="serendipity[adminAction]"    value="add" />
+            <input type="hidden" name="serendipity[adminSubAction]" value="properties" />
+<?php
+        if (isset($GLOBALS['image_selector_addvars']) && is_array($GLOBALS['image_selector_addvars'])) {
+            // These variables may come from serendipity_admin_image_selector.php to show embedded upload form
+            foreach($GLOBALS['image_selector_addvars'] AS $imgsel_key => $imgsel_val) {
+                echo '          <input type="hidden" name="serendipity[' . htmlspecialchars($imgsel_key) . ']" value="' . htmlspecialchars($imgsel_val) . '" />' . "\n";
+            }
+        }
+    }
+
+    foreach($new_media AS $idx => $media) {
+        $props =& serendipity_fetchMediaProperties($media['image_id']);
+        echo '<input type="hidden" name="serendipity[mediaProperties][' . $idx . '][image_id]"          value="' . (int)$media['image_id'] . '" />' . "\n";
+
+        echo '<h3>' . MEDIA_PROP . '</h3>';
+        foreach($dprops AS $prop) {
+            $type = 'input';
+            $parts = explode(':', trim($prop));
+
+            if ($parts[1] == 'MULTI') {
+                $type = 'textarea';
+            }
+            if (!$manage) {
+                $type = 'readonly';
+            }
+            $val =& $props['base_property'][$parts[0]];
+
+            echo '<label for="mediaProperty' . htmlspecialchars($parts[0]) . $idx . '">';
+            if (defined('MEDIA_PROPERTY_' . strtoupper($parts[0]))) {
+                echo constant('MEDIA_PROPERTY_' . strtoupper($parts[0]));
+            } else {
+                echo htmlspecialchars($parts[0]);
+            }
+            echo '</label><br /><div>';
+
+            switch($type) {
+                case 'textarea':
+                    echo '<textarea cols="80" rows="5" id="mediaProperty' . htmlspecialchars($parts[0]) . '%d" name="serendipity[mediaProperties][' . $idx . '][' . htmlspecialchars($parts[0]) . ']">' . htmlspecialchars($val) . '</textarea>' . "\n";
+                    break;
+
+                case 'readonly':
+                    echo '<div>' . htmlspecialchars($val) . '</div>';
+                    break;
+
+                case 'input':
+                default:
+                    echo '<input id="mediaProperty' . htmlspecialchars($parts[0]) . $idx . '" type="text" name="serendipity[mediaProperties][' . $idx . '][' . htmlspecialchars($parts[0]) . ']" value="' . htmlspecialchars($val) . '" />' . "\n";
+                    break;
+            }
+            echo '</div>';
+        }
+
+        echo '<h3>' . MEDIA_KEYWORDS . '</h3>';
+        echo '<div><table>';
+        $rows = ceil(count($keywords) / $keywordsPerBlock);
+        for($i = 0; $i < $rows; $i++) {
+            echo '<tr>';
+            for ($j = 0; $j < $keywordsPerBlock; $j++) {
+                $kidx = ($i*$keywordsPerBlock) + $j;
+                echo '<td>';
+                if (isset($keywords[$kidx])) {
+                    $kw = htmlspecialchars($keywords[$kidx]);
+                    if (isset($props['base_keyword'][$keywords[$kidx]])) {
+                        $selected = 'checked="checked"';
+                    } else {
+                        $selected = '';
+                    }
+                    echo '<input id="mediaKeyword' . $kw . $idx . '" type="checkbox" name="serendipity[mediaKeywords][' . $idx . '][' . $kw . ']" value="true" ' . $selected . ' />&nbsp;<label for="mediaKeyword' . $kw . $idx . '">' . $kw . '</label></td>';
+                }
+                echo '</td>';
+            }
+            echo '</tr>' . "\n";
+        }
+        echo '</table></div>' . "\n";
+
+        // TODO: EXIF!
+        // TODO: Upload date, Dimensions, Filename, Autor, Mime, ...
+    }
+?>
+        <br /><input type="submit" name="submit" value="<?php echo GO; ?>" class="serendipityPrettyButton" />
+        </div>
+    </form>
+<?php
+
+    return true;
+}
+
+/**
+ * Inserts the submitted properties of uploaded media items
+ *
+ * @return array    array('image_id') holding the last created thumbnail for immediate processing
+ *
+ */
+function serendipity_parsePropertyForm() {
+    global $serendipity;
+
+    if (!is_array($serendipity['POST']['mediaProperties'])) {
+        return false;
+    }
+
+    foreach($serendipity['POST']['mediaProperties'] AS $id => $media) {
+        serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}mediaproperties
+                                    WHERE mediaid = " . (int)$media['image_id'] . "
+                                      AND property_subgroup = ''
+                                      AND (property_group = 'base_property'
+                                       OR  property_group = 'base_keyword')");
+        foreach($media AS $key => $val) {
+            if ($key == 'image_id') continue;
+            $q = sprintf("INSERT INTO {$serendipity['dbPrefix']}mediaproperties
+                                      (mediaid, property_group, property_subgroup, property, value)
+                               VALUES (%d, 'base_property', '', '%s', '%s')",
+                         $media['image_id'],
+                         serendipity_db_escape_string($key),
+                         serendipity_db_escape_string($val));
+            serendipity_db_query($q);
+        }
+    }
+
+    foreach($serendipity['POST']['mediaKeywords'] AS $id => $keywords) {
+        foreach($keywords AS $keyword => $checked) {
+            $q = sprintf("INSERT INTO {$serendipity['dbPrefix']}mediaproperties
+                                      (mediaid, property_group, property_subgroup, property, value)
+                               VALUES (%d, 'base_keyword', '', '%s', '1')",
+                         $serendipity['POST']['mediaProperties'][$id]['image_id'],
+                         serendipity_db_escape_string($keyword));
+            serendipity_db_query($q);
+        }
+    }
+
+    $array = array(
+        'image_id'          => $serendipity['POST']['mediaProperties'][0]['image_id'],
+    );
+
+
+    return $array;
+}
+
+/**
+ * Fetches existing Media Properties for images
+ *
+ * @param  int      The media item id
+ * @return array    Array of image metadata
+ *
+ */
+function &serendipity_fetchMediaProperties($id) {
+    global $serendipity;
+
+    $sql = "SELECT property, property_group, property_subgroup, value
+              FROM {$serendipity['dbPrefix']}mediaproperties
+             WHERE mediaid = " . (int)$id;
+    $rows  = serendipity_db_query($sql, false, 'assoc');
+    $props = array();
+    if (is_array($rows)) {
+        foreach($rows AS $row) {
+            if (empty($row['property_subgroup'])) {
+                $props[$row['property_group']][$row['property']] = $row['value'];
+            }
+        }
+    }
+    return $props;
+}
\ No newline at end of file
index cc91f4b5148d4f1b0e5e521601e2ec12e5eff89f..7b32f88d07d4518b5855f457cc535ace5835d91b 100644 (file)
@@ -422,6 +422,10 @@ function serendipity_guessInput($type, $name, $value='', $default='') {
             echo '<input type="file" size="30" name="' . $name . '" />';
             break;
 
+        case 'textarea':
+            echo '<textarea rows="5" cols="40" name="' . $name . '">' . htmlspecialchars($value) . '</textarea>';
+            break;
+
         default:
             echo '<input type="text" size="30" name="' . $name . '" value="' . htmlspecialchars($value) . '" />';
             break;
index ecb41c7ef3843da587023fcef31216d868ee2cc3..8fe122ac934e948ef9f9f8c05b842837c3b478d8 100644 (file)
                                           'type'        => 'bool',
                                           'permission'  => 'siteConfiguration',
                                           'default'     => true),
+
+                                    array('var'         => 'mediaExif',
+                                          'title'       => MEDIA_EXIF,
+                                          'description' => MEDIA_EXIF_DESC,
+                                          'type'        => 'bool',
+                                          'permission'  => 'siteConfiguration',
+                                          'default'     => true),
+
+                                    array('var'         => 'mediaProperties',
+                                          'title'       => MEDIA_PROP,
+                                          'description' => MEDIA_PROP_DESC . MEDIA_PROP_MULTI_DESC,
+                                          'type'        => 'string',
+                                          'permission'  => 'blogConfiguration',
+                                          'default'     => 'DPI;COPYRIGHT;TITLE;COMMENT1:MULTI;COMMENT2:MULTI'),
+
+                                    array('var'         => 'mediaKeywords',
+                                          'title'       => MEDIA_KEYWORDS,
+                                          'description' => MEDIA_KEYWORDS_DESC,
+                                          'type'        => 'textarea',
+                                          'permission'  => 'blogConfiguration',
+                                          'default'     => ''),
                             ));
 
     return $res;
index c63b5999d63545361a64d34bc6ebe2008d5a53b8..5e244517aef20cfcbbc958f00fac9646474e8075 100644 (file)
@@ -48,7 +48,7 @@
                                           'description' => USERCONF_GROUPS_DESC,
                                           'type'        => 'multilist',
                                           'permission'  => array('adminUsersMaintainOthers', 'adminUsersMaintainSame'),
-                                          'perm_mode'   => 'or', 
+                                          'perm_mode'   => 'or',
                                           'default'     => serendipity_getAllGroups(),
                                           'flags'       => array('groups')),
 
                                           'default'     => array('publish' => PUBLISH, 'draft' => DRAFT),
                                           'permission'  => 'personalConfiguration',
                                           'flags'       => array('config')),
+
+                                    array('var'         => 'showMediaToolbar',
+                                          'title'       => SHOW_MEDIA_TOOLBAR,
+                                          'description' => '',
+                                          'type'        => 'bool',
+                                          'default'     => false,
+                                          'permission'  => 'personalConfiguration',
+                                          'flags'       => array('config')),
                             ));
 
     return $res;
index 7eecad4fc597f2cc2127b5bae17ac049fb7e7465..abac5567fe3fa7779e9510f2a06efd167f251585 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Текущ Ð°Ð²Ñ‚ор');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 638e5f54eb11dede65ce5fcdd2cddcdd6b240483..f4d95bdb583167312193cab9f63d06e7cd80126d 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_cn.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_cn.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 /* vim: set sts=4 ts=4 expandtab : */
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 784050a5b666b86c4ee6028061e6d5d1520d4ad4..56a01b91a95addad9ba88b8375d0a9644194140b 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_cs.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_cs.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) 2005 Josef Klimosz <ok2wo@centrum.cz>
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 9474f13de5f5748b04f104fcf86a1928a52247db..178252b23483374b8dbe99e95aca6c04b476e531 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_cz.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_cz.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) 2004 Josef Klimosz <ok2wo@centrum.cz>
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index e41a7d81d189e3a03ae2740530d02e398100b600..654a956f7c9bfefbb31dc08fd3fe65a09e45a927 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_da.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_da.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Tom Sommer, <ts@dreamcoder.dk>
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index dffd596d95c07f7856bf36b6780950432969a2ea..a4769a3045ec5c190473613ca8b7c40585a07723 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_de.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_de.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) Jannis Hermanns, Garvin Hicking and others
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index cc3f755534c3e98c8ed2ed9999e42f3dc04b1782..6ddeade53fb909bc0703aeb1ba4fb7756aaa3ed6 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_en.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_en.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 /* vim: set sts=4 ts=4 expandtab : */
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index e646323bda9a02091fa3cec9629769510749c099..69e1a93de75ce327137f195da3c5eddaafd04df9 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_es.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_es.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Luis Cervantes <LuisCervantes@ono.com>,
@@ -838,3 +838,21 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ??
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 8aec5e858930461bb68795b6430577fd7962f728..9dec6fdd581d29345465e40de42eeac7566c1bce 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_fa.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_fa.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved. See LICENSE file for licensing details
 # this translation, translated by Omid Mottaghi <http://oxygenws.com>
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 14831b88f2beb181d370fac6f0f6ce93749bc815..a8b70f84f893608b21b3baccf050e7bd48066ca6 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_fi.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_fi.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation by Mauri Sahlberg <mos@iki.fi>
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index bafd6cf1309d086e229b06314ed908e6c879e4aa..133404d376d9a32b3da1d24cac993568f8c4fd50 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_fr.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_fr.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation by Sebastian Mordziol <argh@php-tools.net>
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 0eab42f2de52531b15ac5980d24673f26e701092..5078c62065709df00630f276a1361f36a4ce38e5 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 91bb6356e6af435eac1e5db804e09a9ff6305491..35fa184e11a4af9357016f91b0ba97708d9dfc00 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_is.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_is.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation by Ã–rn Arnarson <orn@arnarson.net>
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 5be35614e426b5ccdb4c4a7aa4cd621775f12123..b7897a87917504e8bba51c7aa15cbf3eec421ca6 100644 (file)
 @define('COMMENT_IS_DELETED', '(Comment removed)');
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 95dac0c550b6c07bf48440fde50d372732edbbcf..b027959d28b3062d79f2f842c093b80f56fc5994 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_ja.inc.php 1016 2006-03-14 21:12:15Z elf2000 $
+<?php # $Id: serendipity_lang_ja.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) Tadashi Jokagi <elf2000@users.sourceforge.net>, 2004-2005.
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 33bed24869d1e22ffe3f9ae3f49b7706f4a813b2..898348170c544e1eae1d8a953c22b0c18eefcf33 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_ko.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_ko.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translated by: Wesley Hwang-Chung <wesley96@gmail.com>
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index b76b0fe43e4991e369ca3b864e32f8ee0d840f6c..12affe937a2c3e1bf1b07b869a57e242377c4282 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_nl.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_nl.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Christiaan Heerze <webmaster@heimp.nl>
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 911b46dfc22293d846e5c7e586fa1c09f0ee46da..efe91f5672368fdbe61f1ff31188252e384a4dc6 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_no.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_no.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Jo Christian Oterhals <oterhals@gmail.com>
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 3be61bb53e63a4804c01121384afb8aa2e526e03..564ed2658a6d139c31f1316434faf3788246ad43 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_pt.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_pt.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Agner Olson <agner@agner.net>
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 8910e7180c07c4b18820552983a209dfdc9212f3..2b5a924791fe0443bda2853b96a9f5515053057a 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 34c40ab1bc4557404eaf3f212fad0dd6cbf44d1c..3828d08aecc20260507aef2f407befd4f4b4279e 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 45fd207731e264aa955ca9587da73c1bd365098d..ddcc63ea38cc908d31bf92d4974d791b61a82cd6 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_ru.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_ru.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation by Nightly <nightly@reys.net>
@@ -824,3 +824,21 @@ $i18n_filename_to   = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index a927b5b880ba644599940e8dff7427d678301bac..4b114dd7366d425895e61e6e4ee77d47343e9bee 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 005210316bcd9dd31005ce44d3c71e56225431aa..eb4076582ab52a0b15f62cb9b7c539ff815bb106 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 672ab3d9e82e0cbe9ca18273bc1ea7e1ae00e99f..85c3875342008cdaf4b28ca4f05e7708cc271906 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_tn.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_tn.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translated by CapriSkye <admin@capriskye.com>
@@ -823,3 +823,21 @@ $i18n_unknown = 'tw';
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 1e823129a79199045c293e868f1cd068420d43f3..8e0ab0300fcd5578ffd16e7ce9c7194206b360cd 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 32289467bd8cab919bd1b63c22607ea53367ae22..6eba486224886d75ab14d4732dd31cbcc261d47d 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_tw.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_tw.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translated by CapriSkye <admin@capriskye.com>
@@ -823,3 +823,21 @@ $i18n_unknown = 'tw';
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 1e424133c532da125ba609fac0b41f9f73d1a601..169d2e9970549a547b989ad11f973637eaac1663 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_zh.inc.php 988 2006-02-28 17:27:52Z garvinhicking $
+<?php # $Id: serendipity_lang_zh.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 /* vim: set sts=4 ts=4 expandtab : */
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index ea2804a2bcc70304c91728db1708fe35490a849e..1a51f427e9891a140632b39ebc1a24e4af6f1575 100644 (file)
@@ -1,2 +1,2 @@
-@define('CURRENT_AUTHOR', 'Current author');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
index 246e470dc79b37f06d5dfc12775cd4c1b6f4d92c..69b3ff2595ade198279e0a47c11a3983fb72262f 100644 (file)
@@ -96,3 +96,21 @@ foreach($const['missing'] AS $file => $constants) {
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 95c363a340d706d0c96dc808b0ccfdaa22e4174a..552c6ccdf335804bd2dec1562825b37fd6f96b09 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Òåêóù Ã Ã¢Ã²Ã®Ã°');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 66e7000f683e1dbab4d2ddc5edea9ec552ef16c9..a2632fb9767c3d0b1c97bfd6e2262f9d41770a03 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 2e6087fb2bbadb7912b192e7aa9493d5fdcb0ecc..f707602e80faf07070f77e30516c51b95b83700b 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 104f080f74ddb885f0cee54a961fc63eb410d9ed..8c99ad7621cfa6e81a55987c2f0c75943153a074 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 86582b8480908cc9d8fd6f8d722ae0a4b7de6322..ad1d497e6dfe6428a8f48f809d7576a8b82e3b70 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 84fb4490024c691d2ab125595d4849305414e27a..6b9db38092047b27e7067e42bda6fb7dab36a0cd 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 9b9beebab8bcaee77e6b7335dbc94540126fd7de..1fe67e6456fc7053ecff58970104c661727d4b9e 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 74f3c3793a48c264a400c9c81dede6ee300092a0..92f3276cf67187b00d49f937f431d7c9c86da5bf 100644 (file)
@@ -838,3 +838,21 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ??
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index e91155da5d30c03ab9909ea6dc94740d7d1028ea..0c64482c3f3c6fbb9dd15ddf5b172ff18c49201d 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index c1347254440929d88447f113293abcaeb2ce779d..2b73176584f1f3d07813cb0d211ddd9c821617dd 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index a37f003bdc1e000783a1e1670e446738aaf4a65d..c725ad7e3ff352d4e89d6dda6ab8b8ac8d316d32 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 298dcbf278342d2be2bb0471bd6c2777178cfc5a..0992966af248ef4f5caa47b1ea2bb05a7f030ccf 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 6dc5bc088fe5fe0e2e93247c5c3863f618a45871..1a8407bfa902050e961735bf3e40235cc89d9d9d 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index b1dfcbd3933d094a45adad0753006b51771ce987..24f0fba57eff5bad69554d88af4a9930c6e02ca9 100644 (file)
 @define('COMMENT_IS_DELETED', '(Comment removed)');
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 8bbec37a933a4471f6be27af047a6f69e7213570..ded04d1023d867f12dcd7c82ec9b94af33f75b89 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 9f6e3015accbce57163017b496e934edc6bd1bd2..7a40c450f91ed02715b22334e9e5cae7f96f6828 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index c7b1885b34e754aea4f0dc332910fee93b2e047e..1a5c31f19c324ab42c824b70310ae30730b2f486 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 99902a75f9fb82ca39954f66a9901352ae98af73..8540a13947daddaea6bc96ec4bb91d1d0a517f86 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 8478de6c5bdc8d20ae6fcaa43666856805972902..c14001a572d64fef1fb7c59040b8cf66ed0ddc39 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index be457074a55eeca263de412c9d464a3f102c6fd3..d9232ec391f399790b05d01a568f86e310f1fa86 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 34c40ab1bc4557404eaf3f212fad0dd6cbf44d1c..3828d08aecc20260507aef2f407befd4f4b4279e 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 2aad120d5b31a4e0b2f916b0d68da835f3f7f5c3..17c89fa155c2bf4d1b4ca2811284f3830f45a142 100644 (file)
@@ -824,3 +824,21 @@ $i18n_filename_to   = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 063b9c32ad4f851fa4b4c6caef288dd5db6a1450..3060cde8442cf62455cbd8de39ad2f13598229f2 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 005210316bcd9dd31005ce44d3c71e56225431aa..eb4076582ab52a0b15f62cb9b7c539ff815bb106 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 93e3805161dc28472d40dc1b45f5f1450afc3080..51a1135f43280c7f2930f45d13fde121da3fb373 100644 (file)
@@ -823,3 +823,21 @@ $i18n_unknown = 'tw';
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 1e823129a79199045c293e868f1cd068420d43f3..8e0ab0300fcd5578ffd16e7ce9c7194206b360cd 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index f3ba287a386d3bef0adde8d4a2b3a7f3b8a6cc58..a1f6f79debac56f98f0b9d3ba782929bbd2fd0d9 100644 (file)
@@ -823,3 +823,21 @@ $i18n_unknown = 'tw';
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index cca9c5bff29035d323389db25d635cdfcf5f75e0..de184a4ff7b1b2ccff1d646c365f8d4d4e301439 100644 (file)
 
 @define('CURRENT_AUTHOR', 'Current author');
 
+@define('WORD_NEW', 'New');
+@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?');
+@define('MEDIA_KEYWORDS', 'Media keywords');
+@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.');
+@define('MEDIA_EXIF', 'Import EXIF/JPEG image data');
+@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.');
+@define('MEDIA_PROP', 'Media properties');
+
+
+@define('GO_ADD_PROPERTIES', 'Go & enter properties');
+@define('MEDIA_PROPERTY_DPI', 'DPI');
+@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright');
+@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment');
+@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment');
+@define('MEDIA_PROPERTY_TITLE', 'Title');
+@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
+@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+
index 53676b8e628c02b03d32a30fa27c7f0a84afee58..1b16cd190dab06b894ec226e57357c08228bded5 100644 (file)
@@ -22,6 +22,10 @@ if (!isset($serendipity['GET']['step'])) {
     $serendipity['GET']['step']        = (isset($serendipity['POST']['step'])        ? $serendipity['POST']['step']        : '');
 }
 
+if (empty($serendipity['GET']['step']) && isset($serendipity['GET']['adminAction'])) {
+    $serendipity['GET']['step'] = $serendipity['GET']['adminAction'];
+}
+
 function ifRemember($name, $value, $isDefault = false, $att = 'checked') {
     global $serendipity;
 
@@ -122,33 +126,34 @@ if (!empty($serendipity['GET']['only_path'])) {
 switch ($serendipity['GET']['step']) {
     case '1':
         if (isset($serendipity['GET']['adminAction'])) { // Embedded upload form
+            if (!empty($serendipity['POST']['textarea'])) {
+                $serendipity['GET']['textarea'] = $serendipity['POST']['textarea'];
+            }
+
+            if (!empty($serendipity['POST']['htmltarget'])) {
+                $serendipity['GET']['htmltarget'] = $serendipity['POST']['htmltarget'];
+            }
+
+            if (!empty($serendipity['POST']['filename_only'])) {
+                $serendipity['GET']['filename_only'] = $serendipity['POST']['filename_only'];
+            }
+
+            $image_selector_addvars = array(
+                'step'          => 1,
+                'textarea'      => (!empty($serendipity['GET']['textarea'])      ? $serendipity['GET']['textarea']      : ''),
+                'htmltarget'    => (!empty($serendipity['GET']['htmltarget'])    ? $serendipity['GET']['htmltarget']    : ''),
+                'filename_only' => (!empty($serendipity['GET']['filename_only']) ? $serendipity['GET']['filename_only'] : '')
+            );
+
             switch ($serendipity['GET']['adminAction']) {
                 case 'addSelect':
-                    $image_selector_addvars = array(
-                        'step'          => 1,
-                        'textarea'      => (!empty($serendipity['GET']['textarea'])      ? $serendipity['GET']['textarea']      : ''),
-                        'htmltarget'    => (!empty($serendipity['GET']['htmltarget'])    ? $serendipity['GET']['htmltarget']    : ''),
-                        'filename_only' => (!empty($serendipity['GET']['filename_only']) ? $serendipity['GET']['filename_only'] : '')
-                    );
                     include S9Y_INCLUDE_PATH . 'include/admin/images.inc.php';
                     break 2;
 
                 case 'add':
                     include S9Y_INCLUDE_PATH . 'include/admin/images.inc.php';
-                    if (isset($created_thumbnail) && is_array($created_thumbnail)) {
+                    if (isset($created_thumbnail) && isset($image_id)) {
                         $serendipity['GET']['image'] = (int)$image_id; // $image_id is passed from images.inc.php
-
-                        if (!empty($serendipity['POST']['htmltarget'])) {
-                            $serendipity['GET']['htmltarget'] = $serendipity['POST']['htmltarget'];
-                        }
-
-                        if (!empty($serendipity['POST']['filename_only'])) {
-                            $serendipity['GET']['filename_only'] = $serendipity['POST']['filename_only'];
-                        }
-
-                        if (!empty($serendipity['POST']['textarea'])) {
-                            $serendipity['GET']['textarea'] = $serendipity['POST']['textarea'];
-                        }
                         break;
                     } else {
                         break 2;
@@ -224,6 +229,16 @@ switch ($serendipity['GET']['step']) {
                 <input type="hidden" name="serendipity[filename_only]" value="<?php echo htmlspecialchars($serendipity['GET']['filename_only']); ?>" />
                 <?php } ?>
 
+<?php
+            if (!empty($serendipity['GET']['filename_only']) && $serendipity['GET']['filename_only'] !== 'true') {
+?>
+    <script type="text/javascript">
+        <?php serendipity_plugin_api::hook_event('frontend_image_add_filenameonly', $serendipity); ?>
+        <?php echo 'serendipity_imageSelector_done(\'' . htmlspecialchars($serendipity['GET']['textarea']) . '\')'; ?>
+    </script>
+<?php
+            } else {
+?>
                 <b><?php echo IMAGE_SIZE; ?>:</b>
                 <br />
                 <input id="radio_link_no" type="radio" name="serendipity[linkThumbnail]" value="no" <?php echo ifRemember('linkThumbnail', 'no', true); ?> /><label for="radio_link_no"><?php echo I_WANT_THUMB; ?></label><br />
@@ -231,7 +246,7 @@ switch ($serendipity['GET']['step']) {
                 <?php serendipity_plugin_api::hook_event('frontend_image_selector_imagesize', $file); ?>
                 <br />
 
-                <?php if (empty($serendipity['GET']['filename_only']) || $serendipity['GET']['filename_only'] != 'true') { ?>
+                <?php if (empty($serendipity['GET']['filename_only'])) { ?>
                 <b><?php echo IMAGE_ALIGNMENT; ?>:</b>
                 <br />
                 <input type="radio" name="serendipity[align]" <?php echo ifRemember('align', ''); ?>      value="" />                       <img src="<?php echo serendipity_getTemplateFile('img/img_align_top.png') ?>"   vspace="5" /><br />
@@ -267,6 +282,9 @@ switch ($serendipity['GET']['step']) {
                 <input type="button" value="<?php echo BACK; ?>" onclick="history.go(-1);" />
                 <input type="button" value="<?php echo DONE; ?>" onclick="rememberOptions(); <?php echo $file['finishJSFunction']; ?>" />
                 <?php serendipity_plugin_api::hook_event('frontend_image_selector_submit', $file); ?>
+<?php
+            }
+?>
             </div>
         </form>
     </p>
@@ -369,7 +387,7 @@ if (parent.frames['tree']) {
 
     <div id="footerContainer">
         <div id="footer">
-            <p><a id="newdirlink" target="media" class="serendipityPrettyButton" href="<?php echo $serendipity['serendipityHTTPPath']; ?>serendipity_admin_image_selector.php?serendipity[step]=directoryCreate"><?php echo CREATE_DIRECTORY; ?></a></p>
+            <p><a id="newdirlink" target="media" class="serendipityPrettyButton" href="<?php echo $serendipity['serendipityHTTPPath']; ?>serendipity_admin_image_selector.php?serendipity[step]=directoryCreate"><?php echo WORD_NEW; ?></a></p>
         </div>
     </div>
 
@@ -413,16 +431,34 @@ if (parent.frames['tree']) {
 
     case 'default':
     default:
+        if (!empty($serendipity['GET']['adminAction']) && $serendipity['GET']['adminModule'] == 'images' && $serendipity['GET']['adminAction'] != 'default') {
+            // Might need to set $serendipity['adminFile_redirect'] here.
+            $serendipity['adminFile']          = 'serendipity_admin_image_selector.php';
+            include S9Y_INCLUDE_PATH . 'include/admin/images.inc.php';
+            break;
+        }
+
         $add_url = '';
         if (!empty($serendipity['GET']['htmltarget'])) {
-            $add_url .= '&amp;serendipity[htmltarget]=' . $serendipity['GET']['htmltarget'];
+            $add_url .= '&amp;serendipity[htmltarget]=' . htmlspecialchars($serendipity['GET']['htmltarget']);
         }
 
         if (!empty($serendipity['GET']['filename_only'])) {
-            $add_url .= '&amp;serendipity[filename_only]=' . $serendipity['GET']['filename_only'];
+            $add_url .= '&amp;serendipity[filename_only]=' . htmlspecialchars($serendipity['GET']['filename_only']);
         }
 ?>
 
+<script type="text/javascript" language="javascript">
+<!--
+    function rename(id, fname) {
+        if(newname = prompt('<?php echo ENTER_NEW_NAME; ?>' + fname, fname)) {
+            newloc = '?<?php echo serendipity_setFormToken('url'); ?>&serendipity[adminModule]=images&serendipity[adminAction]=rename&serendipity[fid]='+ escape(id) + '&serendipity[newname]='+ escape(newname);
+            location.href=newloc;
+        }
+    }
+//-->
+</script>
+
     <h1><?php echo SELECT_FILE; ?></h1>
     <h2><?php echo CLICK_FILE_TO_INSERT; ?></h2>
     <br />
@@ -435,7 +471,7 @@ if (parent.frames['tree']) {
         serendipity_displayImageList(
           isset($serendipity['GET']['page'])   ? $serendipity['GET']['page']   : 1,
           $serendipity['thumbPerPage2'],
-          false,
+          ($serendipity['showMediaToolbar'] ? true : false),
           '?serendipity[step]=1' . $add_url . '&amp;serendipity[textarea]='. $serendipity['GET']['textarea'],
           true
         );
index 1ad5354d00a94e12782ee63ab56eeb602d32ae40..2578e1beff24bfe3013a31a081c419534d4b1e17 100644 (file)
@@ -27,7 +27,7 @@ if (IS_installed === true && !defined('IN_serendipity')) {
 include(S9Y_INCLUDE_PATH . 'include/compat.inc.php');
 
 // The version string
-$serendipity['version']         = '1.1-alpha2';
+$serendipity['version']         = '1.1-alpha3';
 
 // Name of folder for the default theme
 $serendipity['defaultTemplate'] = 'carl_contest';
@@ -78,6 +78,10 @@ if (!isset($serendipity['use_PEAR'])) {
     $serendipity['use_PEAR'] = false;
 }
 
+if (!isset($serendipity['mediaProperties'])) {
+    $serendipity['mediaProperties'] = 'DPI;COPYRIGHT;TITLE;COMMENT1:MULTI;COMMENT2:MULTI';
+}
+
 // Should IFRAMEs be used for previewing entries and sending trackbacks?
 $serendipity['use_iframe'] = true;
 
index fa927da4ec0fc11ee802a1ed9b2ed1d4ecd1a188..67d50c6f7618862ca7ef4f807f48b1fb5c8e959e 100644 (file)
@@ -183,7 +183,7 @@ function serendipity_imageSelector_done(textarea)
     var src = '';
     var f = document.forms['serendipity[selForm]'].elements;
 
-    if (f['serendipity[linkThumbnail]'][0].checked == true) {
+    if (f['serendipity[linkThumbnail]'] && f['serendipity[linkThumbnail]'][0].checked == true) {
         img       = f['thumbName'].value;
         imgWidth  = f['imgThumbWidth'].value;
         imgHeight = f['imgThumbHeight'].value;
@@ -193,10 +193,30 @@ function serendipity_imageSelector_done(textarea)
         imgHeight = f['imgHeight'].value;
     }
 
-    if (f['serendipity[filename_only]'] && f['serendipity[filename_only]'].value == 'true') {
-        parent.self.opener.serendipity_imageSelector_addToElement(img, f['serendipity[htmltarget]'].value);
-        parent.self.close();
-        return true;
+    if (f['serendipity[filename_only]']) {
+        if (f['serendipity[htmltarget]']) {
+            starget = f['serendipity[htmltarget]'].value;
+        } else {
+            starget = 'serendipity[' + textarea + ']';
+        }
+
+        if (f['serendipity[filename_only]'].value == 'true') {
+            parent.self.opener.serendipity_imageSelector_addToElement(img, f['serendipity[htmltarget]'].value);
+            parent.self.close();
+            return true;
+        } else if (f['serendipity[filename_only]'].value == 'id') {
+            parent.self.opener.serendipity_imageSelector_addToElement(f['imgID'].value, starget);
+            parent.self.close();
+            return true;
+        } else if (f['serendipity[filename_only]'].value == 'thumb') {
+            parent.self.opener.serendipity_imageSelector_addToElement(f['thumbName'].value, starget);
+            parent.self.close();
+            return true;
+        } else if (f['serendipity[filename_only]'].value == 'big') {
+            parent.self.opener.serendipity_imageSelector_addToElement(f['imgName'].value, starget);
+            parent.self.close();
+            return true;
+        }
     }
 
     if (document.getElementById('serendipity_imagecomment').value != '') {
index a9340447d7483f59eda9c181db543d734663abda..5089808ec64d0de547ea30af1df697bc83596dac 100644 (file)
@@ -248,6 +248,17 @@ create table {PREFIX}entryproperties (
 CREATE INDEX entrypropid_idx ON {PREFIX}entryproperties (entryid);
 CREATE UNIQUE INDEX prop_idx ON {PREFIX}entryproperties (entryid, property);
 
+create table {PREFIX}mediaproperties (
+  mediaid int(11) not null,
+  property varchar(128) not null,
+  property_group varchar(50) not null default '',
+  property_subgroup varchar(50) not null default '',
+  value text
+) {UTF_8};
+
+CREATE INDEX mediapropid_idx ON {PREFIX}mediaproperties (mediaid);
+CREATE UNIQUE INDEX media_idx ON {PREFIX}mediaproperties (mediaid, property, property_group, property_subgroup);
+
 CREATE TABLE {PREFIX}permalinks (
     permalink varchar(255) not null default '',
     entry_id int(10) {UNSIGNED} not null default '0',
diff --git a/sql/db_update_1.1-alpha2_1.1-alpha3_mysql.sql b/sql/db_update_1.1-alpha2_1.1-alpha3_mysql.sql
new file mode 100644 (file)
index 0000000..ad9fb32
--- /dev/null
@@ -0,0 +1,10 @@
+create table {PREFIX}mediaproperties (
+  mediaid int(11) not null,
+  property varchar(128) not null,
+  property_group varchar(50) not null default '',
+  property_subgroup varchar(50) not null default '',
+  value text
+) {UTF_8};
+
+CREATE INDEX mediapropid_idx ON {PREFIX}mediaproperties (mediaid);
+CREATE UNIQUE INDEX media_idx ON {PREFIX}mediaproperties (mediaid, property, property_group, property_subgroup);