Changeset 693
- Timestamp:
- 11/05/06 15:40:37 (2 years ago)
- Files:
-
- devel/units/files/edit_folder.php (modified) (14 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/units/files/edit_folder.php
r688 r693 17 17 $folder_details = get_record('file_folders','ident',$this_folder); 18 18 if (!empty($folder) && (run("permissions:check", array("files:edit",$folder_details->owner)) || run("permissions:check", array("files:edit",$folder_details->files_owner)))) { 19 $edit = gettext("Edit this folder"); // gettext variable19 $edit = __gettext("Edit this folder"); // gettext variable 20 20 $run_result .= <<< END 21 21 <h3> … … 24 24 <form action="" method="post"> 25 25 END; 26 $labelValue = gettext("Folder name:"); // gettext variable27 $parentFolder = gettext("Parent folder"); // gettext variable26 $labelValue = __gettext("Folder name:"); // gettext variable 27 $parentFolder = __gettext("Parent folder"); // gettext variable 28 28 $body = <<< END 29 29 <table width="100%"> … … 47 47 END; 48 48 $body .= run("folder:select", array("edit_folder_parent",$_SESSION['userid'],$folder_details->parent)); 49 $accessLabel = gettext("Access restrictions"); // gettext variable49 $accessLabel = __gettext("Access restrictions"); // gettext variable 50 50 $body .= <<< END 51 51 </p></td> … … 60 60 END; 61 61 $body .= run("display:access_level_select",array("edit_folder_access",$folder_details->access)); 62 $keywords = gettext("Keywords (comma separated):"); // gettext variable62 $keywords = __gettext("Keywords (comma separated):"); // gettext variable 63 63 $body .= <<< END 64 64 </p></td> … … 73 73 END; 74 74 $body .= display_input_field(array("edit_folder_keywords","","keywords","folder",$this_folder)); 75 $save = gettext("Save"); // gettext variable75 $save = __gettext("Save"); // gettext variable 76 76 $body .= <<< END 77 77 </p></td> … … 87 87 </form> 88 88 END; 89 $title = gettext("Edit this folder");89 $title = __gettext("Edit this folder"); 90 90 $run_result .= templates_draw(array( 91 91 'context' => 'databoxvertical', … … 97 97 } 98 98 99 $header = gettext("Upload files and folders");//gettext variable99 $header = __gettext("Upload files and folders");//gettext variable 100 100 $run_result .= <<< END 101 101 <h4> … … 105 105 END; 106 106 107 $title = gettext("Create a new folder");108 $createLabel = gettext("To create a new folder, enter its name:"); //gettext variable109 $accessLabel = gettext("Access restrictions"); //gettext variable107 $title = __gettext("Create a new folder"); 108 $createLabel = __gettext("To create a new folder, enter its name:"); //gettext variable 109 $accessLabel = __gettext("Access restrictions"); //gettext variable 110 110 111 111 $body = <<< END … … 132 132 END; 133 133 $body .= run("display:access_level_select",array("new_folder_access",default_access)); 134 $keywords = gettext("Keywords (comma separated):"); // gettext variable134 $keywords = __gettext("Keywords (comma separated):"); // gettext variable 135 135 $body .= <<< END 136 136 </p></td> … … 145 145 END; 146 146 $body .= display_input_field(array("new_folder_keywords","","keywords","folder")); 147 $create = gettext("Create"); // gettext variable147 $create = __gettext("Create"); // gettext variable 148 148 $body .= <<< END 149 149 </p></td> … … 171 171 END; 172 172 173 $title = gettext("Upload a file");173 $title = __gettext("Upload a file"); 174 174 175 175 $body = <<< END … … 185 185 $totalquota = user_info('file_quota',$page_owner); 186 186 if ($page_owner == $_SESSION['userid']) { 187 $body .= sprintf( gettext("You have used %s Mb of a total %s Mb."),round(($usedquota / 1000000),4),round(($totalquota / 1000000),4));187 $body .= sprintf(__gettext("You have used %s Mb of a total %s Mb."),round(($usedquota / 1000000),4),round(($totalquota / 1000000),4)); 188 188 } else { 189 $body .= sprintf( gettext("Used space: %s Mb."),round(($usedquota / 1000000),4));189 $body .= sprintf(__gettext("Used space: %s Mb."),round(($usedquota / 1000000),4)); 190 190 } 191 $fileLabel = gettext("File to upload:"); //gettext variable192 $fileTitle = gettext("File title:"); //gettext variable193 $fileDesc = gettext("File Description:"); //gettext variable194 $fileAccess = gettext("Access restrictions:"); //gettext variable191 $fileLabel = __gettext("File to upload:"); //gettext variable 192 $fileTitle = __gettext("File title:"); //gettext variable 193 $fileDesc = __gettext("File Description:"); //gettext variable 194 $fileAccess = __gettext("Access restrictions:"); //gettext variable 195 195 196 196 … … 242 242 END; 243 243 $body .= run("display:access_level_select",array("new_file_access",default_access)); 244 $keywords = gettext("Keywords (comma separated):"); // gettext variable244 $keywords = __gettext("Keywords (comma separated):"); // gettext variable 245 245 $body .= <<< END 246 246 </p></td> … … 264 264 $body .= run("metadata:edit"); 265 265 266 $copyright = gettext("By checking this box, you are asserting that you have the legal right to share this file, and that you understand you are sharing it with other users of the system."); //gettext variable267 $upload = gettext("Upload"); //gettext variable266 $copyright = __gettext("By checking this box, you are asserting that you have the legal right to share this file, and that you understand you are sharing it with other users of the system."); //gettext variable 267 $upload = __gettext("Upload"); //gettext variable 268 268 $body .= <<< END 269 269
