}
}
+function pubitems_callback() {
+ if (xmlhttp.readyState == 4) {
+ try {
+ var container = document.getElementById('prefContent');
+ container.innerHTML=xmlhttp.responseText;
+ selectTab("pubItems", true);
+
+ if (typeof correctPNG != 'undefined') {
+ correctPNG();
+ }
+ notify("");
+ } catch (e) {
+ exception_error("feedlist_callback", e);
+ }
+ }
+}
+
function feedlist_callback() {
if (xmlhttp.readyState == 4) {
try {
updateUsersList();
} else if (id == "feedBrowser") {
updateBigFeedBrowser();
+ } else if (id == "pubItems") {
+ updatePublishedItems();
}
}
notify_progress("Loading, please wait...");
updateFeedList()
}
+
+function updatePublishedItems() {
+ if (!xmlhttp_ready(xmlhttp)) {
+ printLockingError();
+ return
+ }
+
+ xmlhttp.open("GET", "backend.php?op=pref-pubitems");
+ xmlhttp.onreadystatechange=pubitems_callback;
+ xmlhttp.send(null);
+
+}
<div id="feedBrowserTab" class="prefsTab"
onclick="selectTab('feedBrowser')"><?php echo __('Other Feeds') ?></div>
<?php } ?>
+ <div id="pubItemsTab" class="prefsTab"
+ onclick="selectTab('pubItems')"><?php echo __('Published Articles') ?></div>
<div id="filterConfigTab" class="prefsTab"
onclick="selectTab('filterConfig')"><?php echo __('Content Filtering') ?></div>
<?php if (get_pref($link, 'ENABLE_LABELS')) { ?>