diff --git a/website_code/php/properties/properties_library.php b/website_code/php/properties/properties_library.php index b98fb34a7a..5d4d2f3d60 100644 --- a/website_code/php/properties/properties_library.php +++ b/website_code/php/properties/properties_library.php @@ -1,461 +1,461 @@ " . PROPERTIES_LIBRARY_XML_TITLE . "

"; - - echo "

" . PROPERTIES_LIBRARY_XML_DESCRIPTION . "

"; - - $query = "select * from " . $xerte_toolkits_site->database_table_prefix . "additional_sharing where sharing_type=\"xml\" AND template_id =\"" . mysql_real_escape_string($_POST['template_id']) . "\""; - - $query_response = mysql_query($query); - - echo "

" . PROPERTIES_LIBRARY_XML_SHARING . "

"; - - if(mysql_num_rows($query_response)==1){ - - echo "

" . PROPERTIES_LIBRARY_ON . "

"; - echo "

" . PROPERTIES_LIBRARY_OFF . "

"; - echo "

The link for xml sharing is " . $xerte_toolkits_site->site_url . url_return("xml",$_POST['template_id']) . "

"; - - }else{ - - echo "

" . PROPERTIES_LIBRARY_ON . "

"; - echo "

" . PROPERTIES_LIBRARY_OFF . "

"; - - } - - $row = mysql_fetch_array($query_response); - - echo "

" . PROPERTIES_LIBRARY_XML_RESTRICT . "



"; - - if($change){ - - echo "

" . PROPERTIES_LIBRARY_XML_SAVE . "

"; - - } - - } - - function xml_template_display_fail(){ - - echo "

" . PROPERTIES_LIBRARY_XML_ERROR . "

"; - - } - - function properties_display($xerte_toolkits_site,$tutorial_id,$change){ - - echo "

" . PROPERTIES_LIBRARY_PROJECT . "

"; - - $query_for_names = "select template_name, date_created, date_modified from " . $xerte_toolkits_site->database_table_prefix . "templatedetails where template_id=\"". $tutorial_id . "\""; - - $query_names_response = mysql_query($query_for_names); - - $row = mysql_fetch_array($query_names_response); - - if(is_user_creator(mysql_real_escape_string($_POST['template_id']))){ - - $query_for_template_name = "select template_name from " . $xerte_toolkits_site->database_table_prefix . "templatedetails where template_id=" . mysql_real_escape_string($_POST['template_id']); - - $query_name_response = mysql_query($query_for_template_name); - - $row_template_name = mysql_fetch_array($query_name_response); - - echo "

" . PROPERTIES_LIBRARY_PROJECT_NAME . "

"; - - echo "
"; - - if($change){ - - echo "

" . PROPERTIES_LIBRARY_PROJECT_CHANGED . "

"; - - } - - } - - echo "


" . PROPERTIES_LIBRARY_PROJECT_CREATE . " " . $row['date_created'] . "

"; - - echo "

" . PROPERTIES_LIBRARY_PROJECT_MODIFY . " " . $row['date_modified'] . "

"; - - if(template_access_settings(mysql_real_escape_string($_POST['template_id']))=="Public"){ - - echo "

" . PROPERTIES_LIBRARY_PROJECT_LINK . "

"; - - echo "

" . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

"; - - // Get the template screen size - - $query_for_template_name = "select " . $xerte_toolkits_site->database_table_prefix . "originaltemplatesdetails.template_name, " . $xerte_toolkits_site->database_table_prefix . "originaltemplatesdetails.template_framework from " . $xerte_toolkits_site->database_table_prefix . "originaltemplatesdetails, " . $xerte_toolkits_site->database_table_prefix . "templatedetails where " . $xerte_toolkits_site->database_table_prefix . "templatedetails.template_type_id = " . $xerte_toolkits_site->database_table_prefix . "originaltemplatesdetails.template_type_id AND template_id =\"" . $tutorial_id . "\""; - - $query_name_response = mysql_query($query_for_template_name); - - $row_name = mysql_fetch_array($query_name_response); - - $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); - - $temp_array = explode("~",$temp_string); - - echo "

" . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

"; - - } - - } - - function properties_display_fail(){ - - echo "

" . PROPERTIES_LIBRARY_PROJECT_FAIL . "

"; - - } - - function notes_display($notes, $change){ - - echo "

" . PROPERTIES_LIBRARY_NOTES . "

"; - - echo "

" . PROPERTIES_LIBRARY_NOTES_EXPLAINED . "

"; - - if($change){ - - echo "

" . PROPERTIES_LIBRARY_NOTES_SAVED . "

"; - - } - - } - - function notes_display_fail(){ - - echo "

" . PROPERTIES_LIBRARY_NOTES_FAIL . "

"; - - } - - function peer_display($xerte_toolkits_site,$change){ - - echo "

" . PROPERTIES_LIBRARY_PEER . "

"; - - echo "

" . PROPERTIES_LIBRARY_PEER_EXPLAINED . "

"; - - $query = "select * from " . $xerte_toolkits_site->database_table_prefix . "additional_sharing where sharing_type=\"peer\" AND template_id =\"" . mysql_real_escape_string($_POST['template_id']) . "\""; +//PROPERTIES LIBRARY - $query_response = mysql_query($query); +require_once("../../../config.php"); - echo "

" . PROPERTIES_LIBRARY_PEER_STATUS . "

"; +_load_language_file("/website_code/php/properties/properties_library.inc"); - if(mysql_num_rows($query_response)==1){ +function xml_template_display($xerte_toolkits_site,$change){ - echo "

" . PROPERTIES_LIBRARY_ON . "

"; - echo "

" . PROPERTIES_LIBRARY_OFF . "

"; - echo "

The link for peer review is site_url . url_return("peerreview", $_POST['template_id']) . "\">" . $xerte_toolkits_site->site_url . url_return("peerreview", $_POST['template_id']) . "

"; + echo "

" . PROPERTIES_LIBRARY_XML_TITLE . "

"; - }else{ + echo "

" . PROPERTIES_LIBRARY_XML_DESCRIPTION . "

"; - echo "

" . PROPERTIES_LIBRARY_ON . "

"; - echo "

" . PROPERTIES_LIBRARY_OFF . "

"; + $query = "select * from " . $xerte_toolkits_site->database_table_prefix . "additional_sharing where sharing_type=\"xml\" AND template_id =\"" . mysql_real_escape_string($_POST['template_id']) . "\""; - } - - $row = mysql_fetch_array($query_response); + $query_response = mysql_query($query); - echo "

" . PROPERTIES_LIBRARY_PEER_PASSWORD_PROMPT . "

"; + echo "

" . PROPERTIES_LIBRARY_XML_SHARING . "

"; - if($change){ - - echo "

" . PROPERTIES_LIBRARY_PEER_SAVED . "

"; - - } + if(mysql_num_rows($query_response)==1){ - } - - function peer_display_fail(){ - - echo "

" . PROPERTIES_LIBRARY_PEER_FAIL . "

"; - - } - - function syndication_display($xerte_toolkits_site, $change){ - - echo "

" . PROPERTIES_LIBRARY_SYNDICATION . "

"; + echo "

" . PROPERTIES_LIBRARY_ON . "

"; + echo "

" . PROPERTIES_LIBRARY_OFF . "

"; + echo "

The link for xml sharing is " . $xerte_toolkits_site->site_url . url_return("xml",$_POST['template_id']) . "

"; - echo "

" . PROPERTIES_LIBRARY_SYNDICATION_EXPLAINED . " site_url . url_return("RSS_syndicate",null) . "\">" . $xerte_toolkits_site->site_url . url_return("RSS_syndicate",null) . "

"; + }else{ - $query_for_syndication = "select syndication,description,keywords,category,license from " . $xerte_toolkits_site->database_table_prefix . "templatesyndication where template_id=" . mysql_real_escape_string($_POST['tutorial_id']); + echo "

" . PROPERTIES_LIBRARY_ON . "

"; + echo "

" . PROPERTIES_LIBRARY_OFF . "

"; - $query_syndication_response = mysql_query($query_for_syndication); + } - $row_syndication = mysql_fetch_array($query_syndication_response); - - echo "

" . PROPERTIES_LIBRARY_SYNDICATION_PROMPT . " "; + $row = mysql_fetch_array($query_response); - if($row_syndication['syndication']=="true"){ + echo "

" . PROPERTIES_LIBRARY_XML_RESTRICT . "



"; - echo " " . PROPERTIES_LIBRARY_YES . " " . PROPERTIES_LIBRARY_NO . "

"; + if($change){ - }else{ + echo "

" . PROPERTIES_LIBRARY_XML_SAVE . "

"; - echo " " . PROPERTIES_LIBRARY_YES . " " . PROPERTIES_LIBRARY_NO . "

"; + } - } +} - echo "

" . PROPERTIES_LIBRARY_SYNDICATION_CATEGORY . "

"; + $query_name_response = mysql_query($query_for_template_name); - echo "

" . PROPERTIES_LIBRARY_SYNDICATION_LICENCE . "
"; - while($row_licenses = mysql_fetch_array($query_licenses_response)){ + if($change){ - echo "

"; - if($row_licenses['license_name']==$row_syndication['license']){ + } - echo " selected=\"selected\" "; + } - } + echo "


" . PROPERTIES_LIBRARY_PROJECT_CREATE . " " . $row['date_created'] . "

"; - echo ">" . $row_licenses['license_name'] . ""; + echo "

" . PROPERTIES_LIBRARY_PROJECT_MODIFY . " " . $row['date_modified'] . "

"; - } + if(template_access_settings(mysql_real_escape_string($_POST['template_id']))=="Public"){ - echo "

"; + echo "

" . PROPERTIES_LIBRARY_PROJECT_LINK . "

"; - echo "

" . PROPERTIES_LIBRARY_SYNDICATION_DESCRIPTION . "

"; - echo PROPERTIES_LIBRARY_SYNDICATION_KEYWORDS . "

"; + echo "

" . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

"; - if($change){ - - echo "

" . PROPERTIES_LIBRARY_SYNDICATION_SAVED . "

"; - - } + // Get the template screen size - } - - function syndication_not_public($xerte_toolkits_site){ - - echo "

" . PROPERTIES_LIBRARY_SYNDICATION_PUBLIC . "

"; + $query_for_template_name = "select " . $xerte_toolkits_site->database_table_prefix . "originaltemplatesdetails.template_name, " . $xerte_toolkits_site->database_table_prefix . "originaltemplatesdetails.template_framework from " . $xerte_toolkits_site->database_table_prefix . "originaltemplatesdetails, " . $xerte_toolkits_site->database_table_prefix . "templatedetails where " . $xerte_toolkits_site->database_table_prefix . "templatedetails.template_type_id = " . $xerte_toolkits_site->database_table_prefix . "originaltemplatesdetails.template_type_id AND template_id =\"" . $tutorial_id . "\""; - echo "

" . PROPERTIES_LIBRARY_SYNDICATION_URL . " site_url . url_return("RSS_syndicate",null) . "\">" . $xerte_toolkits_site->site_url . url_return("RSS_syndicate",null) . "

"; + $query_name_response = mysql_query($query_for_template_name); - } - - function syndication_display_fail(){ - - echo "

" . PROPERTIES_LIBRARY_SYNDICATION_FAIL . "

"; - - } - - function access_display($xerte_toolkits_site){ - - $query_for_template_access = "select access_to_whom from " . $xerte_toolkits_site->database_table_prefix . "templatedetails where template_id=" . mysql_real_escape_string($_POST['template_id']); + $row_name = mysql_fetch_array($query_name_response); - $query_access_response = mysql_query($query_for_template_access); + $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); - $row_access = mysql_fetch_array($query_access_response); + $temp_array = explode("~",$temp_string); - echo "

" . PROPERTIES_LIBRARY_ACCESS . " " . str_replace("-", " - ", $row_access['access_to_whom']) . "

"; + echo "

" . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

"; - echo "
"; - - if(template_access_settings(mysql_real_escape_string($_POST['template_id'])) == "Public"){ - - echo "

"; - - }else{ - - echo "

"; - - } - - echo " " . PROPERTIES_LIBRARY_ACCESS_PUBLIC . "

" . PROPERTIES_LIBRARY_ACCESS_PUBLIC_EXPLAINED . "

"; + } - if(template_access_settings(mysql_real_escape_string($_POST['template_id'])) == "Password"){ - - echo "

"; - - }else{ - - echo "

"; - - } - - echo " " . PROPERTIES_LIBRARY_ACCESS_PASSWORD . "

" . PROPERTIES_LIBRARY_ACCESS_PASSWORD_EXPLAINED . "

"; - - if(template_access_settings(mysql_real_escape_string($_POST['template_id'])) =="Other"){ +} - echo "

"; +function properties_display_fail(){ - }else{ + echo "

" . PROPERTIES_LIBRARY_PROJECT_FAIL . "

"; - echo "

"; +} - } +function notes_display($notes, $change){ - echo " " . PROPERTIES_LIBRARY_ACCESS_OTHER . "

" . PROPERTIES_LIBRARY_ACCESS_OTHER_EXPLAINED . "

"; - $temp = explode("-", $row_access['access_to_whom']); - - if(isset($temp[1])){ + if($change){ - echo $temp[1]; - - } - - } + echo "

" . PROPERTIES_LIBRARY_NOTES_SAVED . "

"; - echo "

"; + } - if(template_access_settings(mysql_real_escape_string($_POST['template_id'])) == "Private"){ +} - echo "

"; - - }else{ - - echo "

"; - } - - echo " " . PROPERTIES_LIBRARY_ACCESS_PRIVATE . "

" . PROPERTIES_LIBRARY_ACCESS_PRIVATE_EXPLAINED . "

"; +function notes_display_fail(){ - $query_for_security_content = "select * from " . $xerte_toolkits_site->database_table_prefix . "play_security_details"; + echo "

" . PROPERTIES_LIBRARY_NOTES_FAIL . "

"; - $query_for_security_content_response = mysql_query($query_for_security_content); +} - if(mysql_num_rows($query_for_security_content_response)!=0){ +function peer_display($xerte_toolkits_site,$change){ - while($row_security = mysql_fetch_array($query_for_security_content_response)){ + echo "

" . PROPERTIES_LIBRARY_PEER . "

"; - if(template_share_status($row_security['security_setting'])){ + echo "

" . PROPERTIES_LIBRARY_PEER_EXPLAINED . "

"; - echo "

"; - - }else{ - - echo "

"; + $query = "select * from " . $xerte_toolkits_site->database_table_prefix . "additional_sharing where sharing_type=\"peer\" AND template_id =\"" . mysql_real_escape_string($_POST['template_id']) . "\""; - } + $query_response = mysql_query($query); - echo " " . $row_security['security_setting'] . "

" . $row_security['security_info'] . "

"; + echo "

" . PROPERTIES_LIBRARY_PEER_STATUS . "

"; - } + if(mysql_num_rows($query_response)==1){ - } + echo "

" . PROPERTIES_LIBRARY_ON . "

"; + echo "

" . PROPERTIES_LIBRARY_OFF . "

"; + echo "

The link for peer review is site_url . url_return("peerreview", $_POST['template_id']) . "\">" . $xerte_toolkits_site->site_url . url_return("peerreview", $_POST['template_id']) . "

"; - echo "
"; + }else{ - echo "

"; + echo "

" . PROPERTIES_LIBRARY_ON . "

"; + echo "

" . PROPERTIES_LIBRARY_OFF . "

"; - } - - function access_display_fail(){ - - echo "

" . PROPERTIES_LIBRARY_ACCESS_FAIL . "

"; - - } - - function rss_display($xerte_toolkits_site,$tutorial_id,$change){ - - $query_for_name = "select firstname,surname from " . $xerte_toolkits_site->database_table_prefix . "logindetails where login_id=" . $_SESSION['toolkits_logon_id']; + } - $query_for_name_response = mysql_query($query_for_name); + $row = mysql_fetch_array($query_response); - $row_name = mysql_fetch_array($query_for_name_response); + echo "

" . PROPERTIES_LIBRARY_PEER_PASSWORD_PROMPT . "

"; - $query_for_rss = "select rss,export,description from " . $xerte_toolkits_site->database_table_prefix . "templatesyndication where template_id=" . mysql_real_escape_string($tutorial_id); + if($change){ - $query_rss_response = mysql_query($query_for_rss); + echo "

" . PROPERTIES_LIBRARY_PEER_SAVED . "

"; - $row_rss = mysql_fetch_array($query_rss_response); + } - echo "

" . PROPERTIES_LIBRARY_RSS . "

"; +} - if($row_rss['rss']=="true"){ +function peer_display_fail(){ - echo "

" . PROPERTIES_LIBRARY_RSS_INCLUDE . " " . PROPERTIES_LIBRARY_YES . " " . PROPERTIES_LIBRARY_NO . "

"; + echo "

" . PROPERTIES_LIBRARY_PEER_FAIL . "

"; - }else{ - - echo "

" . PROPERTIES_LIBRARY_RSS_INCLUDE . " " . PROPERTIES_LIBRARY_YES . " " . PROPERTIES_LIBRARY_NO . "

"; +} - } +function syndication_display($xerte_toolkits_site, $change){ - if($row_rss['export']=="true"){ + echo "

" . PROPERTIES_LIBRARY_SYNDICATION . "

"; - echo "

" . PROPERTIES_LIBRARY_RSS_EXPORT . " " . PROPERTIES_LIBRARY_YES . " " . PROPERTIES_LIBRARY_NO . "

"; + echo "

" . PROPERTIES_LIBRARY_SYNDICATION_EXPLAINED . " site_url . url_return("RSS_syndicate",null) . "\">" . $xerte_toolkits_site->site_url . url_return("RSS_syndicate",null) . "

"; - }else{ - - echo "

" . PROPERTIES_LIBRARY_RSS_EXPORT . " " . PROPERTIES_LIBRARY_YES . " " . PROPERTIES_LIBRARY_NO . "

"; + $query_for_syndication = "select syndication,description,keywords,category,license from " . $xerte_toolkits_site->database_table_prefix . "templatesyndication where template_id=" . mysql_real_escape_string($_POST['tutorial_id']); - } + $query_syndication_response = mysql_query($query_for_syndication); - echo "

" . PROPERTIES_LIBRARY_RSS_DESCRIPTION . "



"; + $row_syndication = mysql_fetch_array($query_syndication_response); - echo "

" . PROPERTIES_LIBRARY_RSS_SITE . "

"; + echo "

" . PROPERTIES_LIBRARY_SYNDICATION_PROMPT . " "; - echo "

" . PROPERTIES_LIBRARY_RSS_SITE_LINK . " site_url . url_return("RSS",null) . "\">" . $xerte_toolkits_site->site_url . url_return("RSS",null) . ". " . PROPERTIES_LIBRARY_RSS_PERSONAL . "site_url . url_return("RSS_user", ($row_name['firstname'] . "_" . $row_name['surname'])) . "\">" . $xerte_toolkits_site->site_url . url_return("RSS_user", $row_name['firstname'] . "_" . $row_name['surname']) . ". " . PROPERTIES_LIBRARY_RSS_MINE . "

"; + if($row_syndication['syndication']=="true"){ - echo "

" . PROPERTIES_LIBRARY_RSS_FOLDER . "

"; + echo " " . PROPERTIES_LIBRARY_YES . " " . PROPERTIES_LIBRARY_NO . "

"; - echo "

" . PROPERTIES_LIBRARY_RSS_EXPORT . "

"; + }else{ + + echo " " . PROPERTIES_LIBRARY_YES . " " . PROPERTIES_LIBRARY_NO . "

"; + + } + + echo "

" . PROPERTIES_LIBRARY_SYNDICATION_CATEGORY . "

"; + + echo "

" . PROPERTIES_LIBRARY_SYNDICATION_LICENCE . "

"; + + echo "

" . PROPERTIES_LIBRARY_SYNDICATION_DESCRIPTION . "

"; + echo PROPERTIES_LIBRARY_SYNDICATION_KEYWORDS . "

"; + + if($change){ + + echo "

" . PROPERTIES_LIBRARY_SYNDICATION_SAVED . "

"; + + } + +} + +function syndication_not_public($xerte_toolkits_site){ + + echo "

" . PROPERTIES_LIBRARY_SYNDICATION_PUBLIC . "

"; + + echo "

" . PROPERTIES_LIBRARY_SYNDICATION_URL . " site_url . url_return("RSS_syndicate",null) . "\">" . $xerte_toolkits_site->site_url . url_return("RSS_syndicate",null) . "

"; + +} + +function syndication_display_fail(){ + + echo "

" . PROPERTIES_LIBRARY_SYNDICATION_FAIL . "

"; + +} + +function access_display($xerte_toolkits_site){ + + $query_for_template_access = "select access_to_whom from " . $xerte_toolkits_site->database_table_prefix . "templatedetails where template_id=" . mysql_real_escape_string($_POST['template_id']); + + $query_access_response = mysql_query($query_for_template_access); + + $row_access = mysql_fetch_array($query_access_response); + + echo "

" . PROPERTIES_LIBRARY_ACCESS . " " . str_replace("-", " - ", $row_access['access_to_whom']) . "

"; + + echo "
"; + + if(template_access_settings(mysql_real_escape_string($_POST['template_id'])) == "Public"){ + + echo "

"; + + }else{ + + echo "

"; + + } + + echo " " . PROPERTIES_LIBRARY_ACCESS_PUBLIC . "

" . PROPERTIES_LIBRARY_ACCESS_PUBLIC_EXPLAINED . "

"; + + if(template_access_settings(mysql_real_escape_string($_POST['template_id'])) == "Password"){ + + echo "

"; + + }else{ + + echo "

"; + + } + + echo " " . PROPERTIES_LIBRARY_ACCESS_PASSWORD . "

" . PROPERTIES_LIBRARY_ACCESS_PASSWORD_EXPLAINED . "

"; + + if(template_access_settings(mysql_real_escape_string($_POST['template_id'])) =="Other"){ + + echo "

"; + + }else{ + + echo "

"; + + } + + echo " " . PROPERTIES_LIBRARY_ACCESS_OTHER . "

" . PROPERTIES_LIBRARY_ACCESS_OTHER_EXPLAINED . "

"; + + if(template_access_settings(mysql_real_escape_string($_POST['template_id'])) == "Private"){ + + echo "

"; + + }else{ + + echo "

"; + } + + echo " " . PROPERTIES_LIBRARY_ACCESS_PRIVATE . "

" . PROPERTIES_LIBRARY_ACCESS_PRIVATE_EXPLAINED . "

"; + + $query_for_security_content = "select * from " . $xerte_toolkits_site->database_table_prefix . "play_security_details"; + + $query_for_security_content_response = mysql_query($query_for_security_content); + + if(mysql_num_rows($query_for_security_content_response)!=0){ + + while($row_security = mysql_fetch_array($query_for_security_content_response)){ + + if(template_share_status($row_security['security_setting'])){ + + echo "

"; + + }else{ + + echo "

"; + + } + + echo " " . $row_security['security_setting'] . "

" . $row_security['security_info'] . "

"; + + } + + } + + echo "
"; + + echo "

"; + +} + +function access_display_fail(){ + + echo "

" . PROPERTIES_LIBRARY_ACCESS_FAIL . "

"; + +} + +function rss_display($xerte_toolkits_site,$tutorial_id,$change){ + + $query_for_name = "select firstname,surname from " . $xerte_toolkits_site->database_table_prefix . "logindetails where login_id=" . $_SESSION['toolkits_logon_id']; + + $query_for_name_response = mysql_query($query_for_name); + + $row_name = mysql_fetch_array($query_for_name_response); + + $query_for_rss = "select rss,export,description from " . $xerte_toolkits_site->database_table_prefix . "templatesyndication where template_id=" . mysql_real_escape_string($tutorial_id); + + $query_rss_response = mysql_query($query_for_rss); + + $row_rss = mysql_fetch_array($query_rss_response); + + echo "

" . PROPERTIES_LIBRARY_RSS . "

"; + + if($row_rss['rss']=="true"){ + + echo "

" . PROPERTIES_LIBRARY_RSS_INCLUDE . " " . PROPERTIES_LIBRARY_YES . " " . PROPERTIES_LIBRARY_NO . "

"; + + }else{ + + echo "

" . PROPERTIES_LIBRARY_RSS_INCLUDE . " " . PROPERTIES_LIBRARY_YES . " " . PROPERTIES_LIBRARY_NO . "

"; + + } + + if($row_rss['export']=="true"){ + + echo "

" . PROPERTIES_LIBRARY_RSS_EXPORT . " " . PROPERTIES_LIBRARY_YES . " " . PROPERTIES_LIBRARY_NO . "

"; + + }else{ + + echo "

" . PROPERTIES_LIBRARY_RSS_EXPORT . " " . PROPERTIES_LIBRARY_YES . " " . PROPERTIES_LIBRARY_NO . "

"; + + } + + echo "

" . PROPERTIES_LIBRARY_RSS_DESCRIPTION . "



"; + + echo "

" . PROPERTIES_LIBRARY_RSS_SITE . "

"; + + echo "

" . PROPERTIES_LIBRARY_RSS_SITE_LINK . " site_url . url_return("RSS",null) . "\">" . $xerte_toolkits_site->site_url . url_return("RSS",null) . ". " . PROPERTIES_LIBRARY_RSS_PERSONAL . "site_url . url_return("RSS_user", ($row_name['firstname'] . "_" . $row_name['surname'])) . "\">" . $xerte_toolkits_site->site_url . url_return("RSS_user", $row_name['firstname'] . "_" . $row_name['surname']) . ". " . PROPERTIES_LIBRARY_RSS_MINE . "

"; + + echo "

" . PROPERTIES_LIBRARY_RSS_FOLDER . "

"; + + echo "

" . PROPERTIES_LIBRARY_RSS_EXPORT . "

"; + + if($change){ + + echo "

" . PROPERTIES_LIBRARY_RSS_SAVED . "

"; + + } + +} + +function rss_display_public(){ + + echo "

" . PROPERTIES_LIBRARY_RSS_PUBLIC . "

"; + +} + +function rss_display_fail(){ + + echo "

" . PROPERTIES_LIBRARY_RSS_FAIL . "

"; + +} - if($change){ - - echo "

" . PROPERTIES_LIBRARY_RSS_SAVED . "

"; - - } - - } - - function rss_display_public(){ - - echo "

" . PROPERTIES_LIBRARY_RSS_PUBLIC . "

"; - - } - - function rss_display_fail(){ - - echo "

" . PROPERTIES_LIBRARY_RSS_FAIL . "

"; - - } - ?> - +