diff --git a/langs/ru.php b/langs/ru.php
index 7c80088..6072539 100644
--- a/langs/ru.php
+++ b/langs/ru.php
@@ -22,7 +22,6 @@ class Lang extends DefaultLang
'error' => "Ошибка",
'denied' => "Доступ запрещен",
'invalidpass' => "Неверный пароль",
- 'readonly' => "только для чтения",
'tagfilter' => "Тег:",
'addList' => "Новый список",
'renameList' => "Переименовать список",
@@ -52,6 +51,7 @@ class Lang extends DefaultLang
'btn_login' => "Войти",
'a_login' => "Вход",
'a_logout' => "Выйти",
+ 'public_tasks' => "Опубликованные задачи",
'tags' => "Теги",
'tagfilter_cancel' => "отменить фильтр по тегу",
'sortByHand' => "Сортировка вручную",
diff --git a/src/ajax.js b/src/ajax.js
index fb6e515..017b981 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -468,12 +468,11 @@ function updateAccessStatus()
}
if(flag.needAuth && !flag.isLogged) {
$('#page_tasks').addClass('readonly')
- $("#authstr").text(lang.readonly).show();
addsearchToggle(1);
}
else {
$('#page_tasks').removeClass('readonly')
- $("#authstr").text('').hide();
+ $("#bar_public").hide();
addsearchToggle(0);
}
$('#page_ajax').hide();
@@ -931,6 +930,7 @@ function loadLists(onInit, updAccess)
else $('#btnPublish').removeClass('mtt-item-checked');
//if(curList.published)
$('#rss_icon').show().find('a').attr('href', 'feed.php?list='+curList.id);
+ if(flag.needAuth && !flag.isLogged) $('#bar_public').show();
}
else {
curList = 0;
diff --git a/src/index.php b/src/index.php
index c18f059..457d67d 100644
--- a/src/index.php
+++ b/src/index.php
@@ -96,8 +96,8 @@ $().ajaxStop( function(r,s) {$("#loading").fadeOut();} );
|
+ |
-
diff --git a/src/lang/class.default.php b/src/lang/class.default.php
index f64e11a..283b903 100644
--- a/src/lang/class.default.php
+++ b/src/lang/class.default.php
@@ -17,7 +17,6 @@ class DefaultLang
'error' => "Some error occurred (click for details)",
'denied' => "Access denied",
'invalidpass' => "Wrong password",
- 'readonly' => "read-only",
'tagfilter' => "Tag:",
'addList' => "Create new list",
'addListDefault' => "Todo",
@@ -48,6 +47,7 @@ class DefaultLang
'btn_login' => "Login",
'a_login' => "Login",
'a_logout' => "Logout",
+ 'public_tasks' => "Public Tasks",
'tags' => "Tags",
'tagfilter_cancel' => "cancel filter",
'sortByHand' => "Sort by hand",
diff --git a/src/lang/en.php b/src/lang/en.php
index b881e9f..fb99648 100644
--- a/src/lang/en.php
+++ b/src/lang/en.php
@@ -22,7 +22,6 @@ class Lang extends DefaultLang
'error' => "Some error occurred (click for details)",
'denied' => "Access denied",
'invalidpass' => "Wrong password",
- 'readonly' => "read-only",
'tagfilter' => "Tag:",
'addList' => "Create new list",
'renameList' => "Rename list",
@@ -52,6 +51,7 @@ class Lang extends DefaultLang
'btn_login' => "Login",
'a_login' => "Login",
'a_logout' => "Logout",
+ 'public_tasks' => "Public Tasks",
'tags' => "Tags",
'tagfilter_cancel' => "cancel filter",
'sortByHand' => "Sort by hand",
diff --git a/src/pda.css b/src/pda.css
index b801d43..b14a68f 100644
--- a/src/pda.css
+++ b/src/pda.css
@@ -40,7 +40,6 @@ div.task-note-area textarea { width:95%; }
#loading { padding:0px; padding-top:1px; padding-right:1px; height:16px; overflow:hidden; }
#loading img { /*width:8px; height:8px;*/ }
-#authstr { float:none; }
#tagcloud { max-width:100%; }
.mtt-settings-table .in350 { min-width:50px; }
\ No newline at end of file
diff --git a/src/style.css b/src/style.css
index 9a9a7dc..a65627f 100644
--- a/src/style.css
+++ b/src/style.css
@@ -109,8 +109,6 @@ div.task-note-area textarea { color:#999999; width:100%; display:block; height:6
.prio-o { background-color:#dedede; }
.task-prio.prio-o { display:none; }
-#authstr { display: none; color:#ff0000; }
-
.form-row { margin-top:4px; margin-bottom:4px; }
.form-row .h { font-weight:bold; color:#333333; }
#overlay { position:fixed; z-index:200; background-color:#111111; display:none; top:0px; left:0px; width:100%; height:100%; }