Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

BLOBstreaming support (Google Summer of Code 2008, Raj Kissu Rajandra…

…n) -- work in progress
  • Loading branch information...
commit e77938bb20ef658d90a380ec51f72b02f4ec41dd 1 parent bcf4eb5
Marc Delisle lem9 authored

Showing 74 changed files with 2,515 additions and 21 deletions. Show diff stats Hide diff stats

  1. +1 0  ChangeLog
  2. +3 0  Documentation.html
  3. +94 0 bs_change_mime_type.php
  4. +60 0 bs_play_media.php
  5. +7 0 config.sample.inc.php
  6. +152 1 db_operations.php
  7. +28 1 db_structure.php
  8. +86 0 js/functions.js
  9. +12 0 lang/afrikaans-utf-8.inc.php
  10. +12 0 lang/albanian-utf-8.inc.php
  11. +12 0 lang/arabic-utf-8.inc.php
  12. +12 0 lang/azerbaijani-utf-8.inc.php
  13. +12 0 lang/bangla-utf-8.inc.php
  14. +12 0 lang/basque-utf-8.inc.php
  15. +12 0 lang/belarusian_cyrillic-utf-8.inc.php
  16. +12 0 lang/belarusian_latin-utf-8.inc.php
  17. +12 0 lang/bosnian-utf-8.inc.php
  18. +12 0 lang/brazilian_portuguese-utf-8.inc.php
  19. +12 0 lang/bulgarian-utf-8.inc.php
  20. +12 0 lang/catalan-utf-8.inc.php
  21. +12 0 lang/chinese_simplified-utf-8.inc.php
  22. +12 0 lang/chinese_traditional-utf-8.inc.php
  23. +12 0 lang/croatian-utf-8.inc.php
  24. +12 0 lang/czech-utf-8.inc.php
  25. +12 0 lang/danish-utf-8.inc.php
  26. +12 0 lang/dutch-utf-8.inc.php
  27. +12 0 lang/english-utf-8.inc.php
  28. +12 0 lang/estonian-utf-8.inc.php
  29. +12 0 lang/finnish-utf-8.inc.php
  30. +12 0 lang/french-utf-8.inc.php
  31. +12 0 lang/galician-utf-8.inc.php
  32. +12 0 lang/georgian-utf-8.inc.php
  33. +12 0 lang/german-utf-8.inc.php
  34. +12 0 lang/greek-utf-8.inc.php
  35. +12 0 lang/hebrew-utf-8.inc.php
  36. +12 0 lang/hindi-utf-8.inc.php
  37. +12 0 lang/hungarian-utf-8.inc.php
  38. +12 0 lang/indonesian-utf-8.inc.php
  39. +12 0 lang/italian-utf-8.inc.php
  40. +12 0 lang/japanese-utf-8.inc.php
  41. +12 0 lang/korean-utf-8.inc.php
  42. +12 0 lang/latvian-utf-8.inc.php
  43. +12 0 lang/lithuanian-utf-8.inc.php
  44. +12 0 lang/macedonian_cyrillic-utf-8.inc.php
  45. +12 0 lang/malay-utf-8.inc.php
  46. +12 0 lang/mongolian-utf-8.inc.php
  47. +12 0 lang/norwegian-utf-8.inc.php
  48. +12 0 lang/persian-utf-8.inc.php
  49. +12 0 lang/polish-utf-8.inc.php
  50. +12 0 lang/portuguese-utf-8.inc.php
  51. +12 0 lang/romanian-utf-8.inc.php
  52. +12 0 lang/russian-utf-8.inc.php
  53. +12 0 lang/serbian_cyrillic-utf-8.inc.php
  54. +12 0 lang/serbian_latin-utf-8.inc.php
  55. +12 0 lang/sinhala-utf-8.inc.php
  56. +12 0 lang/slovak-utf-8.inc.php
  57. +12 0 lang/slovenian-utf-8.inc.php
  58. +12 0 lang/spanish-utf-8.inc.php
  59. +12 0 lang/swedish-utf-8.inc.php
  60. +12 0 lang/tatarish-utf-8.inc.php
  61. +12 0 lang/thai-utf-8.inc.php
  62. +12 0 lang/turkish-utf-8.inc.php
  63. +12 0 lang/ukrainian-utf-8.inc.php
  64. +418 0 libraries/File.class.php
  65. +717 0 libraries/blobstreaming.lib.php
  66. +14 2 libraries/common.inc.php
  67. +19 3 libraries/common.lib.php
  68. +6 0 libraries/config.default.php
  69. +30 3 libraries/core.lib.php
  70. +53 5 libraries/display_tbl.lib.php
  71. +8 0 libraries/header_scripts.inc.php
  72. +6 0 scripts/setup.php
  73. +121 6 tbl_change.php
  74. +32 0 tbl_replace.php
1  ChangeLog
@@ -7,6 +7,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
7 7
8 8 3.1.0.0 (not yet released)
9 9 - bug #2046883 [core] Notices about deprecated dl() (so stop using it)
  10 ++ BLOBstreaming support, thanks to Raj Kissu Rajandran (work in progress)
10 11
11 12 3.0.0.0 (not yet released)
12 13 + [export] properly handle line breaks for YAML, thanks to Dan Barry -
3  Documentation.html
@@ -4207,6 +4207,9 @@ <h2 id="credits">Credits</h2>
4207 4207 - Ivan A Kirillov
4208 4208 * new relations Designer
4209 4209
  4210 +- Raj Kissu Rajandran (Google Summer of Code 2008)
  4211 + * BLOBstreaming support
  4212 +
4210 4213 And also to the following people who have contributed minor changes,
4211 4214 enhancements, bugfixes or support for a new language since version 2.1.0:
4212 4215
94 bs_change_mime_type.php
... ... @@ -0,0 +1,94 @@
  1 +<?php
  2 + /**
  3 + * @author Raj Kissu Rajandran
  4 + * @version 1.0
  5 + * @package BLOBStreaming
  6 + */
  7 + require_once './libraries/common.inc.php';
  8 +
  9 + /**
  10 + * @var string contains database name
  11 + */
  12 + $bsDB = isset($_REQUEST['bs_db']) ? urldecode($_REQUEST['bs_db']) : NULL;
  13 +
  14 + /**
  15 + * @var string contains table name
  16 + */
  17 + $bsTable = isset($_REQUEST['bs_table']) ? urldecode($_REQUEST['bs_table']) : NULL;
  18 +
  19 + /**
  20 + * @var string contains BLOB reference
  21 + */
  22 + $bsReference = isset($_REQUEST['bs_reference']) ? urldecode($_REQUEST['bs_reference']) : NULL;
  23 +
  24 + /**
  25 + * @var string contains MIME type
  26 + */
  27 + $bsNewMIMEType = isset($_REQUEST['bs_new_mime_type']) ? urldecode($_REQUEST['bs_new_mime_type']) : NULL;
  28 +
  29 + // necessary variables exist
  30 + if ($bsDB && $bsTable && $bsReference && $bsNewMIMEType)
  31 + {
  32 + // load PMA configuration
  33 + $PMA_Config = $_SESSION['PMA_Config'];
  34 +
  35 + // if PMA configuration exists
  36 + if (!empty($PMA_Config))
  37 + {
  38 + // if BS plugins exist
  39 + if ($PMA_Config->get('BLOBSTREAMING_PLUGINS_EXIST'))
  40 + {
  41 + $mybs_ref_tbl = $PMA_Config->get('PBMS_NAME') . '_reference';
  42 + $mybs_cust_content_type_tbl = $PMA_Config->get('PBMS_NAME') . '_custom_content_type';
  43 +
  44 + // if specified DB is selected
  45 + if (PMA_DBI_select_db($bsDB))
  46 + {
  47 + $query = "SELECT * FROM " . PMA_backquote($mybs_ref_tbl);
  48 + $query .= " WHERE Blob_url='" . PMA_sqlAddslashes($bsReference) . "'";
  49 +
  50 + $result = PMA_DBI_query($query);
  51 +
  52 + // if record exists
  53 + if ($data = PMA_DBI_fetch_assoc($result))
  54 + {
  55 + $query = "SELECT count(*) FROM " . PMA_backquote($mybs_cust_content_type_tbl);
  56 + $result = PMA_DBI_query($query);
  57 +
  58 + // if record exists
  59 + if ($data = PMA_DBI_fetch_assoc($result))
  60 + {
  61 + if (1 == $data['count(*)'])
  62 + {
  63 + $query = "UPDATE " . PMA_backquote($mybs_cust_content_type_tbl) . " SET Content_type='";
  64 + $query .= PMA_sqlAddslashes($bsNewMIMEType) . "' WHERE Blob_url='" . PMA_sqlAddslashes($bsReference) . "'";
  65 + }
  66 + else
  67 + {
  68 + $query = "INSERT INTO " . PMA_backquote($mybs_cust_content_type_tbl) . " (Blob_url, Content_type)";
  69 + $query .= " VALUES('" . PMA_sqlAddslashes($bsReference) . "', '" . PMA_sqlAddslashes($bsNewMIMEType) . "')";
  70 + }
  71 +
  72 + $result = PMA_DBI_query($query);
  73 +
  74 + // if query execution succeeded
  75 + if ($result)
  76 + {
  77 + // determine redirector page
  78 + $newLoc = $cfg['PmaAbsoluteUri'] . 'sql.php?' . PMA_generate_common_url ('','', '&') . (isset($bsDB) ? '&db=' . urlencode($bsDB) : '') . (isset($bsTable) ? '&table=' . urlencode($bsTable) : '') . (isset($token) ? '&token=' . urlencode($token) : '') . (isset($goto) ? '&goto=' . urlencode($goto) : '') . '&reload=1&purge=1';
  79 +
  80 + // redirect to specified page
  81 + ?>
  82 + <script>
  83 + window.location = "<?php echo $newLoc ?>";
  84 + </script>
  85 + <?php
  86 + } // end if ($result)
  87 + } // end if ($data = PMA_DBI_fetch_assoc($result))
  88 + } // end if ($data = PMA_DBI_fetch_assoc($result))
  89 + } // end if (PMA_DBI_select_db($bsDB))
  90 + } // end if ($PMA_Config->get('BLOBSTREAMING_PLUGINS_EXIST'))
  91 + } // end if (!empty($PMA_Config))
  92 + } // end if ($bsDB && $bsTable && $bsReference && $bsNewMIMEType)
  93 +
  94 +?>
60 bs_play_media.php
... ... @@ -0,0 +1,60 @@
  1 +<?php
  2 + /**
  3 + * @author Raj Kissu Rajandran
  4 + * @version 1.0
  5 + * @package BLOBStreaming
  6 + */
  7 + require_once './libraries/common.inc.php';
  8 +
  9 + /*
  10 + * @var string contains media type of BLOB reference
  11 + */
  12 + $mediaType = isset($_REQUEST['media_type']) ? $_REQUEST['media_type'] : NULL;
  13 +
  14 + /*
  15 + * @var string contains BLOB reference
  16 + */
  17 + $bsReference = isset($_REQUEST['bs_reference']) ? $_REQUEST['bs_reference'] : NULL;
  18 +
  19 + // if media type and BS reference are specified
  20 + if (isset($mediaType) && isset($bsReference))
  21 + {
  22 + // load PMA configuration
  23 + $PMA_Config = $_SESSION['PMA_Config'];
  24 +
  25 + // if PMA configuration exists
  26 + if (!empty($PMA_Config))
  27 + {
  28 + // retrieve BS server variables from PMA configuration
  29 + $bs_server = $PMA_Config->get('BLOBSTREAMING_SERVER');
  30 + $bs_file_path = "http://" . $bs_server . '/' . $bsReference;
  31 + ?>
  32 +<html>
  33 + <head>
  34 + </head>
  35 + <body>
  36 + <?php
  37 +
  38 + // supported media types
  39 + switch ($mediaType)
  40 + {
  41 + // audio content
  42 + case 'audio/mpeg':
  43 + ?><embed width=620 height=100 src="<?php echo $bs_file_path; ?>" autostart=true></embed><?php
  44 + break;
  45 + // video content
  46 + case 'application/x-flash-video':
  47 + case 'video/mpeg':
  48 + ?><embed width=620 height=460 src="<?php echo $bs_file_path; ?>" autostart=true></embed><?php
  49 + break;
  50 + default:
  51 + // do nothing
  52 + }
  53 + ?>
  54 + </body>
  55 +</html>
  56 + <?php
  57 + } // end if (!empty($PMA_Config))
  58 + } // end if (isset($mediaType) && isset($bsReference))
  59 +
  60 +?>
7 config.sample.inc.php
@@ -33,6 +33,13 @@
33 33 $cfg['Servers'][$i]['compress'] = false;
34 34 /* Select mysqli if your server has it */
35 35 $cfg['Servers'][$i]['extension'] = 'mysql';
  36 +
  37 +/* rajk - for blobstreaming */
  38 +$cfg['Servers'][$i]['bs_garbage_threshold'] = '';
  39 +$cfg['Servers'][$i]['bs_repository_threshold'] = '';
  40 +$cfg['Servers'][$i]['bs_temp_blob_timeout'] = '';
  41 +$cfg['Servers'][$i]['bs_temp_log_threshold'] = '';
  42 +
36 43 /* User for advanced features */
37 44 // $cfg['Servers'][$i]['controluser'] = 'pma';
38 45 // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
153 db_operations.php
@@ -19,6 +19,9 @@
19 19 require_once './libraries/Table.class.php';
20 20 require_once './libraries/mysql_charsets.lib.php';
21 21
  22 +// add blobstreaming library functions
  23 +require_once "./libraries/blobstreaming.lib.php";
  24 +
22 25 /**
23 26 * Rename/move or copy database
24 27 */
@@ -217,6 +220,67 @@
217 220 }
218 221 }
219 222 }
  223 +
  224 +/*
  225 + * Enable/Disable/Repair BLOB Repository Monitoring for current database
  226 +*/
  227 +if (strlen($db) > 0 && !empty($db_blob_streaming_op))
  228 +{
  229 + // load PMA_Config
  230 + $PMA_Config = $_SESSION['PMA_Config'];
  231 +
  232 + if (!empty($PMA_Config))
  233 + {
  234 + if ($PMA_Config->get('PBXT_NAME') !== strtolower($db))
  235 + {
  236 + // if Blobstreaming plugins exist, begin checking for Blobstreaming tables
  237 + if ($PMA_Config->get('BLOBSTREAMING_PLUGINS_EXIST'))
  238 + {
  239 + $bs_tables = $PMA_Config->get('BLOBSTREAMABLE_DATABASES');
  240 + $bs_tables = $bs_tables[$db];
  241 +
  242 + $oneBSTableExists = FALSE;
  243 +
  244 + // check if at least one blobstreaming table exists
  245 + foreach ($bs_tables as $table_key=>$tbl)
  246 + if ($bs_tables[$table_key]['Exists'])
  247 + {
  248 + $oneBSTableExists = TRUE;
  249 + break;
  250 + }
  251 +
  252 + switch ($db_blob_streaming_op)
  253 + {
  254 + // enable BLOB repository monitoring
  255 + case "enable":
  256 + // if blobstreaming tables do not exist, create them
  257 + if (!$oneBSTableExists)
  258 + PMA_BS_CreateTables($db);
  259 + break;
  260 + // disable BLOB repository monitoring
  261 + case "disable":
  262 + // if at least one blobstreaming table exists, execute drop
  263 + if ($oneBSTableExists)
  264 + PMA_BS_DropTables($db);
  265 + break;
  266 + // repair BLOB repository
  267 + case "repair":
  268 + // check if a blobstreaming table is missing
  269 + foreach ($bs_tables as $table_key=>$tbl)
  270 + if (!$bs_tables[$table_key]['Exists'])
  271 + {
  272 + PMA_DBI_select_db($db);
  273 + PMA_DBI_query(PMA_BS_GetTableStruct($table_key));
  274 + }
  275 + }
  276 +
  277 + // refresh side menu
  278 + PMA_sendHeaderLocation($cfg['PmaAbsoluteUri'] . 'db_operations.php?' . PMA_generate_common_url ('','', '&') . (isset($db) ? '&db=' . urlencode($db) : '') . (isset($token) ? '&token=' . urlencode($token) : '') . (isset($goto) ? '&goto=' . urlencode($goto) : '') . 'reload=1&purge=1');
  279 + } // end if ($PMA_Config->get('BLOBSTREAMING_PLUGINS_EXIST'))
  280 + } // end if ($PMA_Config->get('PBXT_NAME') !== strtolower($db))
  281 + }
  282 +}
  283 +
220 284 /**
221 285 * Settings for relations stuff
222 286 */
@@ -275,7 +339,7 @@
275 339 </legend>
276 340 <input type="text" name="comment" class="textfield" size="30"
277 341 value="<?php
278   - echo htmlspecialchars(PMA_getDbComment($db)); ?>" />
  342 + echo htmlspecialchars(PMA_getDBComment($db)); ?>" />
279 343 <input type="submit" value="<?php echo $strGo; ?>" />
280 344 </fieldset>
281 345 </form>
@@ -393,6 +457,93 @@
393 457 </form>
394 458
395 459 <?php
  460 + /*
  461 + * BLOB streaming support
  462 + */
  463 +
  464 + // load PMA_Config
  465 + $PMA_Config = $_SESSION['PMA_Config'];
  466 +
  467 + // if all blobstreaming plugins exist, begin checking for blobstreaming tables
  468 + if (!empty($PMA_Config))
  469 + {
  470 + if ($PMA_Config->get('PBXT_NAME') !== strtolower($db))
  471 + {
  472 + if ($PMA_Config->get('BLOBSTREAMING_PLUGINS_EXIST'))
  473 + {
  474 + $bs_tables = $PMA_Config->get('BLOBSTREAMABLE_DATABASES');
  475 + $bs_tables = $bs_tables[$db];
  476 +
  477 + $oneBSTableExists = FALSE;
  478 + $allBSTablesExist = TRUE;
  479 +
  480 + // first check that all blobstreaming tables do not exist
  481 + foreach ($bs_tables as $table_key=>$tbl)
  482 + if ($bs_tables[$table_key]['Exists'])
  483 + $oneBSTableExists = TRUE;
  484 + else
  485 + $allBSTablesExist = FALSE;
  486 +
  487 + ?>
  488 +
  489 + <form method="post" action="./db_operations.php">
  490 + <?php echo PMA_generate_common_hidden_inputs($db); ?>
  491 + <fieldset>
  492 + <legend>
  493 + <?php echo PMA_getIcon('b_edit.png', $strBLOBRepository, false, true); ?>
  494 + </legend>
  495 +
  496 + <?php echo $strBLOBRepositoryStatus; ?>:
  497 +
  498 + <?php
  499 +
  500 + // if the blobstreaming tables exist, provide option to disable the BLOB repository
  501 + if ($allBSTablesExist)
  502 + {
  503 + ?>
  504 + <?php echo $strBLOBRepositoryEnabled; ?>
  505 + </fieldset>
  506 + <fieldset class="tblFooters">
  507 + <input type="hidden" name="db_blob_streaming_op" value="disable" />
  508 + <input type="submit" onclick="return confirmDisableRepository('<?php echo $db; ?>');" value="<?php echo $strBLOBRepositoryDisable; ?>" />
  509 + </fieldset>
  510 + <?php
  511 + }
  512 + else
  513 + {
  514 + // if any of the blobstreaming tables are missing, provide option to repair the BLOB repository
  515 + if ($oneBSTableExists && !$allBSTablesExist)
  516 + {
  517 + ?>
  518 + <?php echo $strBLOBRepositoryDamaged; ?>
  519 + </fieldset>
  520 + <fieldset class="tblFooters">
  521 + <input type="hidden" name="db_blob_streaming_op" value="repair" />
  522 + <input type="submit" value="<?php echo $strBLOBRepositoryRepair; ?>" />
  523 + </fieldset>
  524 + <?php
  525 + }
  526 + // if none of the blobstreaming tables exist, provide option to enable BLOB repository
  527 + else
  528 + {
  529 + ?>
  530 + <?php echo $strBLOBRepositoryDisabled; ?>
  531 + </fieldset>
  532 + <fieldset class="tblFooters">
  533 + <input type="hidden" name="db_blob_streaming_op" value="enable" />
  534 + <input type="submit" value="<?php echo $strBLOBRepositoryEnable; ?>" />
  535 + </fieldset>
  536 + <?php
  537 + }
  538 + } // end if ($allBSTablesExist)
  539 +
  540 + ?>
  541 + </form>
  542 + <?php
  543 + } // end if ($PMA_Config->get('BLOBSTREAMING_PLUGINS_EXIST'))
  544 + } // end if ($PMA_Config->get('PBXT_NAME') !== strtolower($db))
  545 + }
  546 +
396 547 /**
397 548 * Change database charset
398 549 */
29 db_structure.php
@@ -186,7 +186,27 @@ function PMA_TableHeader($db_is_information_schema = false)
186 186 $odd_row = true;
187 187 $sum_row_count_pre = '';
188 188
  189 +// added by rajk - for blobstreaming
  190 +$PMA_Config = $_SESSION['PMA_Config'];
  191 +
  192 +if (!empty ($PMA_Config))
  193 + $session_bs_tables = $PMA_Config->get('BLOBSTREAMING_TABLES'); // list of blobstreaming tables
  194 +
  195 +$tableReductionCount = 0; // the amount to reduce the table count by
  196 +
189 197 foreach ($tables as $keyname => $each_table) {
  198 + if (isset($session_bs_tables))
  199 + {
  200 + // compare table name against blobstreaming tables
  201 + foreach ($session_bs_tables as $table_key=>$table_val)
  202 + // if the table is a blobstreaming table, reduce table count and skip outer foreach loop
  203 + if ($table_key == $keyname)
  204 + {
  205 + $tableReductionCount++;
  206 + continue 2;
  207 + }
  208 + }
  209 +
190 210 // loic1: Patch from Joshua Nye <josh at boxcarmedia.com> to get valid
191 211 // statistics whatever is the table type
192 212
@@ -422,7 +442,14 @@ function PMA_TableHeader($db_is_information_schema = false)
422 442 <tbody>
423 443 <tr><td></td>
424 444 <th align="center" nowrap="nowrap">
425   - <?php echo sprintf($strTables, PMA_formatNumber($num_tables, 0)); ?>
  445 + <?php
  446 + // for blobstreaming - if the number of tables is 0, set tableReductionCount to 0
  447 + // (we don't want negative numbers here) - rajk
  448 + if ($num_tables == 0)
  449 + $tableReductionCount = 0;
  450 +
  451 + echo sprintf($strTables, PMA_formatNumber($num_tables - $tableReductionCount, 0));
  452 + ?>
426 453 </th>
427 454 <th colspan="<?php echo ($db_is_information_schema ? 3 : 6) ?>" align="center">
428 455 <?php echo $strSum; ?></th>
86 js/functions.js
@@ -191,6 +191,28 @@ function confirmQuery(theForm1, sqlQuery1)
191 191
192 192
193 193 /**
  194 + * Displays a confirmation box before disabling the BLOB repository for a given database.
  195 + * This function is called while clicking links
  196 + *
  197 + * @param object the database
  198 + *
  199 + * @return boolean whether to disable the repository or not
  200 + */
  201 +function confirmDisableRepository(theDB)
  202 +{
  203 + // Confirmation is not required in the configuration file
  204 + // or browser is Opera (crappy js implementation)
  205 + if (PMA_messages['strDoYouReally'] == '' || typeof(window.opera) != 'undefined') {
  206 + return true;
  207 + }
  208 +
  209 + var is_confirmed = confirm(PMA_messages['strBLOBRepositoryDisableStrongWarning'] + '\n' + PMA_messages['strBLOBRepositoryDisableAreYouSure']);
  210 +
  211 + return is_confirmed;
  212 +} // end of the 'confirmDisableBLOBRepository()' function
  213 +
  214 +
  215 +/**
194 216 * Displays an error message if the user submitted the sql query form with no
195 217 * sql query, else checks for "DROP/DELETE/ALTER" statements
196 218 *
@@ -1217,3 +1239,67 @@ function pdfPaperSize(format, axis) {
1217 1239
1218 1240 return 0;
1219 1241 }
  1242 +
  1243 +/**
  1244 + * rajk - for playing media from the BLOB repository
  1245 + *
  1246 + * @param var
  1247 + * @param var bs_ref BLOB repository reference
  1248 + * @param var m_type type of BLOB repository media
  1249 + * @param var w_width width of popup window
  1250 + * @param var w_height height of popup window
  1251 + */
  1252 +function popupBSMedia(bs_ref, m_type, w_width, w_height)
  1253 +{
  1254 + // if width not specified, use default
  1255 + if (w_width == undefined)
  1256 + w_width = 640;
  1257 +
  1258 + // if height not specified, use default
  1259 + if (w_height == undefined)
  1260 + w_height = 480;
  1261 +
  1262 + // open popup window (for displaying video/playing audio)
  1263 + var mediaWin = window.open('bs_play_media.php?bs_reference=' + bs_ref + '&media_type=' + m_type, 'viewBSMedia', 'width=' + w_width + ', height=' + w_height + ', resizable=1, scrollbars=1, status=0');
  1264 +}
  1265 +
  1266 +/**
  1267 + * rajk - popups a request for changing MIME types for files in the BLOB repository
  1268 + *
  1269 + * @param var db database name
  1270 + * @param var table table name
  1271 + * @param var reference BLOB repository reference
  1272 + * @param var current_mime_type current MIME type associated with BLOB repository reference
  1273 + */
  1274 +function requestMIMETypeChange(db, table, reference, current_mime_type)
  1275 +{
  1276 + // no mime type specified, set to default (nothing)
  1277 + if (undefined == current_mime_type)
  1278 + current_mime_type == "";
  1279 +
  1280 + // prompt user for new mime type
  1281 + var new_mime_type = prompt("Enter custom MIME type", current_mime_type);
  1282 +
  1283 + // if new mime_type is specified and is not the same as the previous type, request for mime type change
  1284 + if (new_mime_type && new_mime_type != current_mime_type)
  1285 + changeMIMEType(db, table, reference, new_mime_type);
  1286 +}
  1287 +
  1288 +/**
  1289 + * rajk - changes MIME types for files in the BLOB repository
  1290 + *
  1291 + * @param var db database name
  1292 + * @param var table table name
  1293 + * @param var reference BLOB repository reference
  1294 + * @param var mime_type new MIME type to be associated with BLOB repository reference
  1295 + */
  1296 +function changeMIMEType(db, table, reference, mime_type)
  1297 +{
  1298 + // specify url and parameters for mootools AJAx request
  1299 + var url = 'bs_change_mime_type.php';
  1300 + var params = { bs_db: db, bs_table: table, bs_reference: reference, bs_new_mime_type: mime_type };
  1301 +
  1302 + // create AJAX object with above options and execute request
  1303 + var chgRequest = new Ajax('bs_change_mime_type.php', { method: 'post', data: params, evalScripts: true });
  1304 + chgRequest.request();
  1305 +}
12 lang/afrikaans-utf-8.inc.php
@@ -1102,4 +1102,16 @@
1102 1102 $strWebServer = 'Web server'; //to translate
1103 1103 $strPHPExtension = 'PHP extension'; //to translate
1104 1104 $strCustomColor = 'Custom color'; //to translate
  1105 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1106 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1107 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1108 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1109 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1110 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1111 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1112 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1113 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1114 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1115 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1116 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1105 1117 ?>
12 lang/albanian-utf-8.inc.php
@@ -1101,4 +1101,16 @@
1101 1101 $strWebServer = 'Web server'; //to translate
1102 1102 $strPHPExtension = 'PHP extension'; //to translate
1103 1103 $strCustomColor = 'Custom color'; //to translate
  1104 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1105 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1106 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1107 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1108 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1109 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1110 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1111 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1112 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1113 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1114 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1115 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1104 1116 ?>
12 lang/arabic-utf-8.inc.php
@@ -1103,4 +1103,16 @@
1103 1103 $strWebServer = 'Web server'; //to translate
1104 1104 $strPHPExtension = 'PHP extension'; //to translate
1105 1105 $strCustomColor = 'Custom color'; //to translate
  1106 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1107 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1108 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1109 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1110 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1111 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1112 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1113 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1114 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1115 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1116 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1117 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1106 1118 ?>
12 lang/azerbaijani-utf-8.inc.php
@@ -1098,4 +1098,16 @@
1098 1098 $strWebServer = 'Web server'; //to translate
1099 1099 $strPHPExtension = 'PHP extension'; //to translate
1100 1100 $strCustomColor = 'Custom color'; //to translate
  1101 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1102 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1103 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1104 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1105 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1106 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1107 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1108 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1109 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1110 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1111 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1112 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1101 1113 ?>
12 lang/bangla-utf-8.inc.php
@@ -1077,4 +1077,16 @@
1077 1077 $strWebServer = 'Web server'; //to translate
1078 1078 $strPHPExtension = 'PHP extension'; //to translate
1079 1079 $strCustomColor = 'Custom color'; //to translate
  1080 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1081 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1082 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1083 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1084 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1085 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1086 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1087 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1088 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1089 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1090 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1091 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1080 1092 ?>
12 lang/basque-utf-8.inc.php
@@ -1095,4 +1095,16 @@
1095 1095 $strWebServer = 'Web server'; //to translate
1096 1096 $strPHPExtension = 'PHP extension'; //to translate
1097 1097 $strCustomColor = 'Custom color'; //to translate
  1098 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1099 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1100 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1101 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1102 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1103 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1104 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1105 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1106 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1107 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1108 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1109 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1098 1110 ?>
12 lang/belarusian_cyrillic-utf-8.inc.php
@@ -1078,4 +1078,16 @@
1078 1078 $strWebServer = 'Web server'; //to translate
1079 1079 $strPHPExtension = 'PHP extension'; //to translate
1080 1080 $strCustomColor = 'Custom color'; //to translate
  1081 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1082 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1083 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1084 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1085 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1086 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1087 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1088 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1089 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1090 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1091 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1092 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1081 1093 ?>
12 lang/belarusian_latin-utf-8.inc.php
@@ -1077,4 +1077,16 @@
1077 1077 $strWebServer = 'Web server'; //to translate
1078 1078 $strPHPExtension = 'PHP extension'; //to translate
1079 1079 $strCustomColor = 'Custom color'; //to translate
  1080 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1081 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1082 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1083 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1084 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1085 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1086 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1087 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1088 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1089 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1090 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1091 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1080 1092 ?>
12 lang/bosnian-utf-8.inc.php
@@ -1101,4 +1101,16 @@
1101 1101 $strWebServer = 'Web server'; //to translate
1102 1102 $strPHPExtension = 'PHP extension'; //to translate
1103 1103 $strCustomColor = 'Custom color'; //to translate
  1104 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1105 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1106 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1107 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1108 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1109 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1110 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1111 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1112 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1113 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1114 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1115 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1104 1116 ?>
12 lang/brazilian_portuguese-utf-8.inc.php
@@ -1075,4 +1075,16 @@
1075 1075 $strWebServer = 'Web server'; //to translate
1076 1076 $strPHPExtension = 'PHP extension'; //to translate
1077 1077 $strCustomColor = 'Custom color'; //to translate
  1078 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1079 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1080 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1081 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1082 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1083 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1084 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1085 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1086 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1087 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1088 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1089 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1078 1090 ?>
12 lang/bulgarian-utf-8.inc.php
@@ -1098,4 +1098,16 @@
1098 1098 $strWebServer = 'Web server'; //to translate
1099 1099 $strPHPExtension = 'PHP extension'; //to translate
1100 1100 $strCustomColor = 'Custom color'; //to translate
  1101 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1102 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1103 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1104 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1105 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1106 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1107 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1108 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1109 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1110 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1111 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1112 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1101 1113 ?>
12 lang/catalan-utf-8.inc.php
@@ -1073,4 +1073,16 @@
1073 1073 $strWebServer = 'Web server'; //to translate
1074 1074 $strPHPExtension = 'PHP extension'; //to translate
1075 1075 $strCustomColor = 'Custom color'; //to translate
  1076 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1077 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1078 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1079 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1080 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1081 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1082 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1083 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1084 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1085 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1086 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1087 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1076 1088 ?>
12 lang/chinese_simplified-utf-8.inc.php
@@ -1103,4 +1103,16 @@
1103 1103 $strWebServer = 'Web server'; //to translate
1104 1104 $strPHPExtension = 'PHP extension'; //to translate
1105 1105 $strCustomColor = 'Custom color'; //to translate
  1106 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1107 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1108 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1109 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1110 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1111 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1112 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1113 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1114 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1115 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1116 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1117 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1106 1118 ?>
12 lang/chinese_traditional-utf-8.inc.php
@@ -1082,4 +1082,16 @@
1082 1082 $strWebServer = 'Web server'; //to translate
1083 1083 $strPHPExtension = 'PHP extension'; //to translate
1084 1084 $strCustomColor = 'Custom color'; //to translate
  1085 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1086 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1087 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1088 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1089 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1090 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1091 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1092 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1093 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1094 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1095 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1096 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1085 1097 ?>
12 lang/croatian-utf-8.inc.php
@@ -1076,4 +1076,16 @@
1076 1076 $strWebServer = 'Web server'; //to translate
1077 1077 $strPHPExtension = 'PHP extension'; //to translate
1078 1078 $strCustomColor = 'Custom color'; //to translate
  1079 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1080 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1081 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1082 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1083 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1084 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1085 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1086 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1087 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1088 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1089 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1090 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1079 1091 ?>
12 lang/czech-utf-8.inc.php
@@ -1077,4 +1077,16 @@
1077 1077 $strWebServer = 'Web server'; //to translate
1078 1078 $strPHPExtension = 'PHP extension'; //to translate
1079 1079 $strCustomColor = 'Custom color'; //to translate
  1080 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1081 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1082 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1083 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1084 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1085 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1086 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1087 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1088 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1089 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1090 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1091 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1080 1092 ?>
12 lang/danish-utf-8.inc.php
@@ -1077,4 +1077,16 @@
1077 1077 $strWebServer = 'Web server'; //to translate
1078 1078 $strPHPExtension = 'PHP extension'; //to translate
1079 1079 $strCustomColor = 'Custom color'; //to translate
  1080 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1081 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1082 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1083 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1084 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1085 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1086 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1087 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1088 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1089 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1090 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1091 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1080 1092 ?>
12 lang/dutch-utf-8.inc.php
@@ -1099,4 +1099,16 @@
1099 1099 $strWebServer = 'Web server'; //to translate
1100 1100 $strPHPExtension = 'PHP extension'; //to translate
1101 1101 $strCustomColor = 'Custom color'; //to translate
  1102 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1103 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1104 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1105 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1106 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1107 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1108 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1109 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1110 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1111 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1112 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1113 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1102 1114 ?>
12 lang/english-utf-8.inc.php
@@ -86,6 +86,18 @@
86 86 $strBinLogOriginalPosition = 'Original position';
87 87 $strBinLogPosition = 'Position';
88 88 $strBinLogServerId = 'Server ID';
  89 +$strBLOBRepository = 'BLOB Repository';
  90 +$strBLOBRepositoryDamaged = 'Damaged';
  91 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?';
  92 +$strBLOBRepositoryDisabled = 'Disabled';
  93 +$strBLOBRepositoryDisable = 'Disable';
  94 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!';
  95 +$strBLOBRepositoryEnabled = 'Enabled';
  96 +$strBLOBRepositoryEnable = 'Enable';
  97 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference';
  98 +$strBLOBRepositoryRepair = 'Repair';
  99 +$strBLOBRepositoryStatus = 'Status';
  100 +$strBLOBRepositoryUpload = 'Upload to BLOB repository';
89 101 $strBookmarkAllUsers = 'Let every user access this bookmark';
90 102 $strBookmarkCreated = 'Bookmark %s created';
91 103 $strBookmarkDeleted = 'The bookmark has been deleted.';
12 lang/estonian-utf-8.inc.php
@@ -1083,4 +1083,16 @@
1083 1083 $strWebServer = 'Web server'; //to translate
1084 1084 $strPHPExtension = 'PHP extension'; //to translate
1085 1085 $strCustomColor = 'Custom color'; //to translate
  1086 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1087 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1088 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1089 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1090 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1091 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1092 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1093 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1094 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1095 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1096 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1097 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1086 1098 ?>
12 lang/finnish-utf-8.inc.php
@@ -1077,4 +1077,16 @@
1077 1077 $strWebServer = 'Web server'; //to translate
1078 1078 $strPHPExtension = 'PHP extension'; //to translate
1079 1079 $strCustomColor = 'Custom color'; //to translate
  1080 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1081 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1082 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1083 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1084 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1085 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1086 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1087 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1088 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1089 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1090 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1091 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1080 1092 ?>
12 lang/french-utf-8.inc.php
@@ -1074,4 +1074,16 @@
1074 1074 $strZeroRemovesTheLimit = 'Note: Une valeur de 0 (zero) enlève la limite.';
1075 1075 $strZip = '"zippé"';
1076 1076
  1077 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1078 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1079 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1080 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1081 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1082 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1083 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1084 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1085 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1086 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1087 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1088 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1077 1089 ?>
12 lang/galician-utf-8.inc.php
@@ -1076,4 +1076,16 @@
1076 1076 $strWebServer = 'Web server'; //to translate
1077 1077 $strPHPExtension = 'PHP extension'; //to translate
1078 1078 $strCustomColor = 'Custom color'; //to translate
  1079 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1080 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1081 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1082 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1083 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1084 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1085 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1086 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1087 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1088 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1089 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1090 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1079 1091 ?>
12 lang/georgian-utf-8.inc.php
@@ -1103,4 +1103,16 @@
1103 1103 $strWebServer = 'Web server'; //to translate
1104 1104 $strPHPExtension = 'PHP extension'; //to translate
1105 1105 $strCustomColor = 'Custom color'; //to translate
  1106 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1107 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1108 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1109 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1110 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1111 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1112 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1113 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1114 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1115 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1116 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1117 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1106 1118 ?>
12 lang/german-utf-8.inc.php
@@ -1083,4 +1083,16 @@
1083 1083 $strWebServer = 'Web server'; //to translate
1084 1084 $strPHPExtension = 'PHP extension'; //to translate
1085 1085 $strCustomColor = 'Custom color'; //to translate
  1086 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1087 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1088 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1089 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1090 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1091 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1092 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1093 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1094 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1095 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1096 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1097 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1086 1098 ?>
12 lang/greek-utf-8.inc.php
@@ -1100,4 +1100,16 @@
1100 1100 $strWebServer = 'Web server'; //to translate
1101 1101 $strPHPExtension = 'PHP extension'; //to translate
1102 1102 $strCustomColor = 'Custom color'; //to translate
  1103 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1104 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1105 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1106 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1107 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1108 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1109 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1110 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1111 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1112 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1113 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1114 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1103 1115 ?>
12 lang/hebrew-utf-8.inc.php
@@ -1095,4 +1095,16 @@
1095 1095 $strWebServer = 'Web server'; //to translate
1096 1096 $strPHPExtension = 'PHP extension'; //to translate
1097 1097 $strCustomColor = 'Custom color'; //to translate
  1098 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1099 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1100 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1101 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1102 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1103 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1104 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1105 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1106 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1107 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1108 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1109 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1098 1110 ?>
12 lang/hindi-utf-8.inc.php
@@ -1103,4 +1103,16 @@
1103 1103 $strWebServer = 'Web server'; //to translate
1104 1104 $strPHPExtension = 'PHP extension'; //to translate
1105 1105 $strCustomColor = 'Custom color'; //to translate
  1106 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1107 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1108 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1109 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1110 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1111 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1112 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1113 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1114 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1115 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1116 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1117 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1106 1118 ?>
12 lang/hungarian-utf-8.inc.php
@@ -1094,4 +1094,16 @@
1094 1094 $strWebServer = 'Web server'; //to translate
1095 1095 $strPHPExtension = 'PHP extension'; //to translate
1096 1096 $strCustomColor = 'Custom color'; //to translate
  1097 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1098 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1099 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1100 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1101 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1102 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1103 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1104 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1105 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1106 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1107 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1108 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1097 1109 ?>
12 lang/indonesian-utf-8.inc.php
@@ -1093,4 +1093,16 @@
1093 1093 $strWebServer = 'Web server'; //to translate
1094 1094 $strPHPExtension = 'PHP extension'; //to translate
1095 1095 $strCustomColor = 'Custom color'; //to translate
  1096 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1097 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1098 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1099 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1100 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1101 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1102 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1103 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1104 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1105 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1106 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1107 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1096 1108 ?>
12 lang/italian-utf-8.inc.php
@@ -1078,4 +1078,16 @@
1078 1078 $strWebServer = 'Web server'; //to translate
1079 1079 $strPHPExtension = 'PHP extension'; //to translate
1080 1080 $strCustomColor = 'Custom color'; //to translate
  1081 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1082 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1083 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1084 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1085 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1086 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1087 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1088 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1089 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1090 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1091 +$strBLOBRepositoryStatus = 'Status'; //to translate
  1092 +$strBLOBRepositoryUpload = 'Upload to BLOB repository'; //to translate
1081 1093 ?>
12 lang/japanese-utf-8.inc.php
@@ -1094,4 +1094,16 @@
1094 1094 $strWebServer = 'Web server'; //to translate
1095 1095 $strPHPExtension = 'PHP extension'; //to translate
1096 1096 $strCustomColor = 'Custom color'; //to translate
  1097 +$strBLOBRepository = 'BLOB Repository'; //to translate
  1098 +$strBLOBRepositoryDamaged = 'Damaged'; //to translate
  1099 +$strBLOBRepositoryDisableAreYouSure = 'Are you sure you want to disable all BLOB references fot database %s?'; //to translate
  1100 +$strBLOBRepositoryDisabled = 'Disabled'; //to translate
  1101 +$strBLOBRepositoryDisable = 'Disable'; //to translate
  1102 +$strBLOBRepositoryDisableStrongWarning = 'You are about to DISABLE a BLOB Repository!'; //to translate
  1103 +$strBLOBRepositoryEnabled = 'Enabled'; //to translate
  1104 +$strBLOBRepositoryEnable = 'Enable'; //to translate
  1105 +$strBLOBRepositoryRemove = 'Remove BLOB Repository Reference'; //to translate
  1106 +$strBLOBRepositoryRepair = 'Repair'; //to translate
  1107 +$strBLOBRepositoryStatus = 'Status'; //to translate