Changeset 263
- Timestamp:
- 03/08/08 21:30:04 (9 months ago)
- Files:
-
- bookmarks/trunk/lib/bookmarks_posts_edit.php (modified) (4 diffs)
- bookmarks/trunk/lib/bookmarks_subscriptions.php (modified) (2 diffs)
- bookmarks/trunk/remotepost.php (modified) (1 diff)
- bookmarks/trunk/remotepost2.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
bookmarks/trunk/lib/bookmarks_posts_edit.php
r249 r263 42 42 $title = (empty($post->title)) ? $post_b->title : $post->title; 43 43 $url_input_field = "<input type=\"text\" name=\"edit_bookmark_post\" value=\"".htmlspecialchars($post_b->url, ENT_COMPAT, 'utf-8')."\" style=\"width: 95%\" id=\"edit_bookmark_post\" readonly />"; 44 $description_input_field = "< input type=\"text\" name=\"edit_bookmark_desc\" value=\"".htmlspecialchars($post->description, ENT_COMPAT, 'utf-8')."\" style=\"width: 95%\" id=\"edit_bookmark_desc\" maxlength=\"80\" />";44 $description_input_field = "<textarea name=\"edit_bookmark_desc\" style=\"width: 95%; height: 100px\" />".htmlspecialchars($post->description, ENT_COMPAT, 'utf-8')."</textarea>"; 45 45 46 46 $postTitle = "<a href=\"javascript:changeVisibility('1', '$url_img', '')\" ><img id=\"img1\" src=\"".$url_img."minus.gif\" border=\"0\" name=\"close\"> $postTitle</a>"; … … 62 62 $title = html_entity_decode($title, ENT_COMPAT, 'utf-8'); 63 63 64 $body = <<< END64 $body = <<<END 65 65 66 66 <form method="post" name="elggform" action="{$CFG->wwwroot}{$username}/bookmarks/{$post->ident}.html" onsubmit="return keywordsAreSet('edit_bookmark_keywords');"> … … 69 69 END; 70 70 71 $body .= <<< END71 $body .= <<<END 72 72 <script language="JavaScript" type="text/javascript"> 73 73 <!-- … … 127 127 128 128 $js_keyword_message = __gettext("You must set at least one key word for your bookmark."); 129 $body .= <<< END129 $body .= <<<END 130 130 <p> 131 131 <input type="hidden" name="action" value="bookmarks:post:edit" /> bookmarks/trunk/lib/bookmarks_subscriptions.php
r249 r263 49 49 $keywordDesc = __gettext("Keywords commonly referred to as 'Tags' are words that represent the bookmark you are going to save. This will make it easier for others to search and find your posting."); // gettext variable 50 50 $accessRes = __gettext("Access restrictions:"); // gettext variable 51 $description_input_field = "< input type=\"text\" name=\"new_bookmark_desc\" value=\"".htmlspecialchars(stripslashes($desc), ENT_COMPAT, 'utf-8')."\" style=\"width: 95%\" id=\"new_bookmark_desc\" maxlength=\"80\" />";51 $description_input_field = "<textarea name=\"new_bookmark_desc\" style=\"width: 95%; height: 100px\" />".htmlspecialchars(stripslashes($desc), ENT_COMPAT, 'utf-8')."</textarea>"; 52 52 53 53 $redirect = url . user_info('username', $page_owner) . "/bookmarks/"; … … 200 200 $acc_input = str_replace("id=\"img26\"", "id=\"img14\"", $acc_input); 201 201 $acc_input = str_replace("id=\"element26\"", "id=\"element14\"", $acc_input); 202 202 203 203 204 bookmarks/trunk/remotepost.php
r260 r263 46 46 $uri = optional_param("url", ""); 47 47 $doc_title = optional_param("title", ""); 48 $doc_title = urlencode($doc_title); 48 49 $uri_encode = urlencode($uri); 49 50 global $CFG; bookmarks/trunk/remotepost2.php
r260 r263 93 93 $view = array(); 94 94 95 96 95 // Ajax call 97 96 $logMeOut = optional_param("logout", 0, PARAM_INT); … … 154 153 END; 155 154 155 156 156 // ajax tagsuggest plugin 157 157 if(plugin_is_loaded('tagsuggest')) … … 181 181 $keywordDesc = __gettext("Keywords commonly referred to as 'Tags' are words that represent the bookmark you are going to save. This will make it easier for others to search and find your posting."); // gettext variable 182 182 $accessRes = __gettext("Access restrictions:"); // gettext variable 183 $description_input_field = "< input type=\"text\" name=\"new_bookmark_desc\" value=\"\" style=\"width: 95%\" id=\"new_bookmark_desc\" maxlength=\"80\" />";183 $description_input_field = "<textarea name=\"new_bookmark_desc\" style=\"width: 95%; height: 100px\" /></textarea>"; 184 184 185 185 $body1 = "<form action=\"\" method=\"post\" onsubmit=\"return keywordsAreSet('new_bookmark_keywords');\">";
