mirror of
https://github.com/owncloud/bookmarks.git
synced 2025-02-20 17:54:25 +01:00
Merge branch 'master' into navigation
This commit is contained in:
commit
cc97112e06
@ -6,6 +6,6 @@
|
||||
<licence>AGPL</licence>
|
||||
<author>Arthur Schiwon, Marvin Thomas Rabe</author>
|
||||
<standalone/>
|
||||
<require>4.9</require>
|
||||
<require>4.91</require>
|
||||
<shipped>true</shipped>
|
||||
</info>
|
||||
|
22
l10n/sr.php
22
l10n/sr.php
@ -3,30 +3,30 @@
|
||||
"Bookmarks" => "Обележивачи",
|
||||
"Tags" => "Ознаке",
|
||||
"Filter by tag" => "Филтрирај по ознаци",
|
||||
"Edit bookmark" => "Промени обележивач",
|
||||
"Are you sure you want to remove this tag from every entry?" => "Да ли сигурно желите да уклоните ову ознаку из сваког уноса?",
|
||||
"Edit bookmark" => "Уреди обележивач",
|
||||
"Are you sure you want to remove this tag from every entry?" => "Желите ли да уклоните ову ознаку из сваког уноса?",
|
||||
"Warning" => "Упозорење",
|
||||
"Import completed successfully." => "Увоз је успешан.",
|
||||
"Uploading..." => "Отпремам...",
|
||||
"Bookm." => "Обеле.",
|
||||
"Import completed successfully." => "Увоз је успешно завршен.",
|
||||
"Uploading..." => "Отпремам…",
|
||||
"Bookm." => "Обележ.",
|
||||
"Add a bookmark" => "Додај обележивач",
|
||||
"Close" => "Затвори",
|
||||
"The title of the page" => "Наслов странице",
|
||||
"The address of the page" => "Адреса странице",
|
||||
"Description of the page" => "Опис странице",
|
||||
"Save" => "Сними",
|
||||
"Save" => "Сачувај",
|
||||
"Delete" => "Обриши",
|
||||
"Edit" => "Уреди",
|
||||
"Cancel" => "Откажи",
|
||||
"Drag this to your browser bookmarks and click it, when you want to bookmark a webpage quickly:" => "Превуците ово у ваш прегледач и кликните уколико желите да обележите ову веб страницу на брзину:",
|
||||
"Drag this to your browser bookmarks and click it, when you want to bookmark a webpage quickly:" => "Превуците ово у прегледач и кликните ако на брзину желите да обележите веб страницу:",
|
||||
"Read later" => "Прочитаћу касније",
|
||||
"Address" => "Адреса",
|
||||
"Add" => "Додај",
|
||||
"Related Tags" => "Повезане ознаке",
|
||||
"Settings" => "Подешавања",
|
||||
"Related Tags" => "Сродне ознаке",
|
||||
"Settings" => "Поставке",
|
||||
"You have no bookmarks" => "Немате обележиваче",
|
||||
"You can also try to import a bookmark file" => "Можете такође пробати са увозом датотеке са обележивачима",
|
||||
"Bookmarklet" => "Маркер",
|
||||
"You can also try to import a bookmark file" => "Можете да пробате да увезете и датотеку са обележивачима",
|
||||
"Bookmarklet" => "Активан обележивач",
|
||||
"Export & Import" => "Извоз и увоз",
|
||||
"Export" => "Извези",
|
||||
"Import" => "Увези"
|
||||
|
@ -53,6 +53,7 @@ class OC_Bookmarks_Bookmarks{
|
||||
}
|
||||
|
||||
public static function findOneBookmark($id) {
|
||||
$CONFIG_DBTYPE = OCP\Config::getSystemValue( 'dbtype', 'sqlite' );
|
||||
if($CONFIG_DBTYPE == 'pgsql') {
|
||||
$group_fct = 'array_agg(tag)';
|
||||
}
|
||||
@ -314,13 +315,11 @@ class OC_Bookmarks_Bookmarks{
|
||||
$is_public = $is_public ? 1 : 0;
|
||||
$enc_url = htmlspecialchars_decode($url);
|
||||
$_ut = self::getNowValue();
|
||||
|
||||
// Change lastmodified date if the record if already exists
|
||||
$sql = "SELECT * from *PREFIX*bookmarks WHERE url = ? and user_id = ?";
|
||||
$query = OCP\DB::prepare($sql, 1);
|
||||
$result = $query->execute(array($enc_url, OCP\USER::getUser()));
|
||||
if(count($result) != 0) {
|
||||
$row = $result->fetchRow();
|
||||
if ($row = $result->fetchRow()){
|
||||
$params = array();
|
||||
$title_str = '';
|
||||
if(trim($title) != '') { // Do we replace the old title
|
||||
@ -339,8 +338,6 @@ class OC_Bookmarks_Bookmarks{
|
||||
$query->execute($params);
|
||||
return $row['id'];
|
||||
}
|
||||
|
||||
|
||||
$query = OCP\DB::prepare("
|
||||
INSERT INTO *PREFIX*bookmarks
|
||||
(url, title, user_id, public, added, lastmodified, description)
|
||||
|
Loading…
x
Reference in New Issue
Block a user