Changeset 1700430
- Timestamp:
- 07/21/2017 03:03:00 PM (9 years ago)
- Location:
- dms/trunk
- Files:
-
- 1 added
- 12 edited
-
dms.php (modified) (4 diffs)
-
includes/general/i_db_upgrade.php (modified) (3 diffs)
-
includes/general/i_main_ui_2.php (modified) (2 diffs)
-
includes/languages/english.php (modified) (9 diffs)
-
includes/languages/german.php (added)
-
pages/config.php (modified) (31 diffs)
-
pages/file_import.php (modified) (4 diffs)
-
pages/file_options.php (modified) (1 diff)
-
pages/file_retrieve.php (modified) (4 diffs)
-
pages/folder_move.php (modified) (1 diff)
-
pages/folder_options.php (modified) (1 diff)
-
pages/search_prop.php (modified) (6 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dms/trunk/dms.php
r1616381 r1700430 4 4 Plugin URI: http://blitzenware.com 5 5 Description: The complete document management solution. 6 Version: 1.1 26 Version: 1.14 7 7 Author: Brian E. Reifsnyder 8 8 Author URI: http://blitzenware.com … … 29 29 } 30 30 31 define( 'DMS_VERSION', '1.1 2' );32 define( 'DMS_RELEASE_DATE', date_i18n( 'F j, Y', strtotime( '0 3/17/2017' ) ) );31 define( 'DMS_VERSION', '1.14' ); 32 define( 'DMS_RELEASE_DATE', date_i18n( 'F j, Y', strtotime( '07/21/2017' ) ) ); 33 33 define( 'DMS_DIR', plugin_dir_path( __FILE__ ) ); 34 34 define( 'DMS_URL', plugin_dir_url( __FILE__ ) ); … … 245 245 add_action('init', 'dmsStartSession', 1); 246 246 add_action('wp_logout', 'dmsEndSession'); 247 add_action('wp_login', 'dms EndSession');247 add_action('wp_login', 'dmsStartSession'); 248 248 249 249 function dmsStartSession() … … 252 252 { 253 253 session_start(); 254 255 global $dms_wp_user_id; 256 global $dms_user_id; 257 global $dms_users; 258 global $dms_global; 259 260 $dms_user_id = $dms_users->get_current_user_id(); 261 $dms_global['dms_user_id'] = $dms_user_id; 262 $_SESSION['dms_global'] = $dms_global; 254 263 } 255 264 } -
dms/trunk/includes/general/i_db_upgrade.php
r1616381 r1700430 19 19 $old_version = dms_get_old_version(); 20 20 21 while($old_version != DMS_VERSION) 21 //$update_exit_counter = 0; // Counter to prevent infinite loops if version numbers do not match up. 22 23 while($old_version != DMS_VERSION) // || $update_exit_counter < 100) 22 24 { 23 25 if ($old_version==0.96) dms_update_0096(); // First public release. … … 34 36 if ($old_version==1.10) dms_update_0110(); 35 37 if ($old_version==1.11) dms_update_0111(); 38 if ($old_version==1.12) dms_update_0112(); 39 if ($old_version==1.13) dms_update_0113(); 36 40 $old_version = dms_get_old_version(); 41 42 //$update_exit_counter++; 37 43 } 38 44 … … 225 231 } 226 232 233 function dms_update_0112() 234 { 235 global $dmsdb; 236 237 $query = "UPDATE ".$dmsdb->prefix("dms_config")." "; 238 $query .= "SET data='1.13' WHERE name='version'"; 239 $dmsdb->query($query); 240 } 241 242 function dms_update_0113() 243 { 244 global $dmsdb; 245 246 $query = "UPDATE ".$dmsdb->prefix("dms_config")." "; 247 $query .= "SET data='1.14' WHERE name='version'"; 248 $dmsdb->query($query); 249 } 250 227 251 228 252 -
dms/trunk/includes/general/i_main_ui_2.php
r1425649 r1700430 708 708 && ($dms_anon_flag == 0) ) 709 709 || ($dms_admin_flag = 1) ) 710 print " <a href='".$options_url."&obj_id=".$sifted_results['obj_id'][$obj_index]."'> Options</a>\r"; // Properties710 print " <a href='".$options_url."&obj_id=".$sifted_results['obj_id'][$obj_index]."'>"._DMS_L_OPTIONS."</a>\r"; // Properties 711 711 } 712 712 print " </td>\r"; … … 801 801 $loc_index++; 802 802 } 803 $loc_obj_name[$loc_index] = "Top";803 $loc_obj_name[$loc_index] = _DMS_L_TOP_BREADCRUMB; //"Top"; 804 804 $loc_obj_id[$loc_index] = 0; 805 805 -
dms/trunk/includes/languages/english.php
r1606114 r1700430 11 11 12 12 //Administration Buttons 13 define("_DMS_L_ADMINISTRATION","Administration"); 13 14 define("_DMS_L_AUDITING","Auditing"); 14 15 define("_DMS_L_GROUP_EDITOR","Group Editor"); … … 17 18 18 19 //Main Screen and others... 20 define("_DMS_L_TOP_BREADCRUMB","Top"); 19 21 define("_DMS_L_IMPORT_DOCUMENT","Import Document"); 20 22 define("_DMS_L_LIFECYCLES","Lifecycles"); … … 53 55 // File Import 54 56 define("_DMS_L_FILE_TO_UPLOAD","Please select or enter a file to upload."); 55 define("_DMS_L_IMPORT_DOC","Import Document :");56 define("_DMS_L_FILE_NAME","Name :");57 define("_DMS_L_IMPORT_DOC","Import Document"); 58 define("_DMS_L_FILE_NAME","Name"); 57 59 define("_DMS_L_INITIAL_VERSION","Initial Version"); 58 define("_DMS_L_SELECT_FILE","Select File :");60 define("_DMS_L_SELECT_FILE","Select File"); 59 61 define("_DMS_L_SUBMIT","Submit"); 60 62 define("_DMS_L_CANCEL","Cancel"); … … 83 85 define("_DMS_L_PROPERTIES_SEARCH","Properties Search"); 84 86 define("_DMS_L_SEARCH","Search"); 85 define("_DMS_L_DOCUMENTS","Document(s) :");87 define("_DMS_L_DOCUMENTS","Document(s)"); 86 88 define("_DMS_L_VERSION","Version"); 87 89 define("_DMS_L_ACCESS_DENIED","Access Denied"); … … 90 92 define("_DMS_L_REFINE_PARAMETERS"," You may want to refine your search parameters."); 91 93 define("_DMS_L_NO_FILES_FOUND","No files have been found that match your query."); 94 95 define("_DMS_L_PS_NOT_APPLICABLE","Not Applicable"); 96 define("_DMS_L_PS_ON","On"); 97 define("_DMS_L_PS_BEFORE","Before"); 98 define("_DMS_L_PS_AFTER","After"); 99 define("_DMS_L_PS_LIMIT","Limit Search to Active Folder and Sub-Folders"); 100 101 define("_DMS_L_PS_ANYONE","Anyone"); 92 102 93 103 // Life Cycle … … 124 134 define("_DMS_L_AUDIT_LOG","Audit Log"); 125 135 define("_DMS_L_PROPAGATE_PERMISSIONS","Propagate Permissions"); 136 define("_DMS_L_FOLDER_SUBSCRIPTIONS","Folder Subscriptions"); 137 define("_DMS_L_UPDATE_FOLDER_SUBSCRIPTIONS","Update Folder Subscriptions"); 126 138 //define("_DMS_L_OPTIONS","Options"); 127 139 128 140 // inc_perms_set.php 129 define("_DMS_L_PERMISSIONS","Permissions :");141 define("_DMS_L_PERMISSIONS","Permissions"); 130 142 define("_DMS_L_OWNER","Owner"); 131 143 define("_DMS_L_EVERYONE","Everyone:"); … … 174 186 define("_DMS_L_EMAIL","E-Mail"); 175 187 define("_DMS_L_REVERT","Revert"); 188 define("_DMS_L_VIEW_OLDER_VERSION","View Older Version"); 176 189 177 190 // link_options.php … … 230 243 define("_DMS_L_DOCUMENT_NAME","Document Name"); 231 244 define("_DMS_L_FOLDER","Folder"); 245 define("_DMS_L_ROUTED_DOCUMENT","Routed Document"); 246 define("_DMS_L_ROUTED_DOCUMENT_NAME","Routed Document Name"); 247 248 232 249 233 250 //define("_DMS_L_EMPTY","Empty"); … … 251 268 252 269 270 271 //Move Folder 272 define("_DMS_L_MOVE_FOLDER","Move Folder"); 273 define("_DMS_L_MOVE_FOLDER_NAME","Folder Name"); 274 275 276 277 //Configuration Screen 278 define("_DMS_L_CONFIG_TITLE","DMS Configuration"); 279 define("_DMS_L_CONFIG_UPGRADE_NOTICE_URL","Upgrade to DMS Pro at "); 280 define("_DMS_L_CONFIG_UPGRADE_NOTICE","Please upgrade to DMS Pro for this feature."); 281 define("_DMS_L_CONFIG_COMMENTS","Comments"); 282 define("_DMS_L_CONFIG_ENABLE","Enable"); 283 284 define("_DMS_L_CONFIG_DOCUMENT_PROPERTIES","Document Properties"); 285 define("_DMS_L_CONFIG_PROPERTY","Property"); 286 287 define("_DMS_L_CONFIG_DOCUMENT_REPOSITORY","Document Repository"); 288 define("_DMS_L_CONFIG_DOCUMENT_STORAGE_PATH","Document Storage Path"); 289 290 define("_DMS_L_CONFIG_EMAIL_CONFIGURATION","E-Mail Configuration"); 291 292 define("_DMS_L_CONFIG_FOLDER_SUBSCRIPTIONS","Folder Subscriptions"); 293 define("_DMS_L_CONFIG_FOLDER_SUBSCRIPTIONS_SENDER_EMAIL","Sender E-mail Address"); 294 define("_DMS_L_CONFIG_FOLDER_SUBSCRIPTIONS_SENDER_SUBJECT","Subject Line"); 295 296 define("_DMS_L_CONFIG_INTERFACE_SETTINGS","Interface Settings"); 297 define("_DMS_L_CONFIG_INTERFACE_SETTINGS_PAGE_TITLE","DMS Page Title"); 298 define("_DMS_L_CONFIG_INTERFACE_SETTINGS_DOCS_PER_PAGE","Documents Displayed Per Page"); 299 define("_DMS_L_CONFIG_INTERFACE_SETTINGS_FRAME_WIDTH","Frame Width"); 300 define("_DMS_L_CONFIG_INTERFACE_SETTINGS_FRAME_HEIGHT","Frame Height"); 301 302 define("_DMS_L_CONFIG_PERMISSIONS_SYSTEM","Permissions System"); 303 define("_DMS_L_CONFIG_PERMISSIONS_SYSTEM_INHERIT","Inherit Permissions from Parent Directory"); 304 define("_DMS_L_CONFIG_PERMISSIONS_SYSTEM_EVERYONE","Everyone Includes Non-Authenticated Users"); 305 306 define("_DMS_L_CONFIG_ROUTING","Routing"); 307 308 define("_DMS_L_CONFIG_SEARCH_CONFIGURATION","Search Configuration"); 309 define("_DMS_L_CONFIG_SEARCH_LIMIT","Search Limit"); 310 311 define("_DMS_L_CONFIG_DOCUMENTS_PER_PAGE","Documents Per Page"); 312 define("_DMS_L_CONFIG_SEARCH_SUMMARIES","Search Summaries"); 313 define("_DMS_L_CONFIG_THUMBNAILS","Thumbnails"); 314 define("_DMS_L_CONFIG_THUMBNAILS_DISPLAY_GLOBALLY","Display Image Thumbnails Globally"); 315 define("_DMS_L_CONFIG_THUMBNAILS_WIDTH","Width (in pixels)"); 316 317 define("_DMS_L_CONFIG_VERSION_CONTROL","Version Control"); 318 319 define("_DMS_L_CONFIG_UPDATE","Update"); 320 321 253 322 ?> -
dms/trunk/pages/config.php
r1608851 r1700430 301 301 print "<div ".$dms_config['class_content']." style='text-align: left' >\r"; 302 302 303 print "<b> DMS Configuration</b><BR><BR>\r";303 print "<b>"._DMS_L_CONFIG_TITLE."</b><BR><BR>\r"; 304 304 305 305 … … 313 313 314 314 // print "<BR>\r"; 315 print "Upgrade to DMS Pro at<a href=\"http://www.blitzenware.com\">Blitzenware</a><BR>";315 print _DMS_L_CONFIG_UPGRADE_NOTICE_URL ." <a href=\"http://www.blitzenware.com\">Blitzenware</a><BR>"; 316 316 print "<BR>\r"; 317 317 } … … 321 321 // Comments 322 322 dms_display_spaces(5); 323 printf( "Comments:<BR><BR>\r");323 printf( _DMS_L_CONFIG_COMMENTS .":<BR><BR>\r"); 324 324 325 325 $checked = $dms_config['comments_enable']; … … 329 329 dms_display_spaces(10); 330 330 331 print "Enable: ";331 print _DMS_L_CONFIG_ENABLE .": "; 332 332 333 333 if(defined("DMS_PRO")) … … 337 337 else 338 338 { 339 print " Please upgrade to DMS Pro for this feature.";339 print " ". _DMS_L_CONFIG_UPGRADE_NOTICE; 340 340 } 341 341 … … 421 421 422 422 dms_display_spaces(5); 423 printf( "Document Properties:<BR><BR>\r");423 printf( _DMS_L_CONFIG_DOCUMENT_PROPERTIES .":<BR><BR>\r"); 424 424 425 425 for ($index = 0; $index < 10; $index++) … … 429 429 430 430 dms_display_spaces(10); 431 print "Property".$index.": ";431 print _DMS_L_CONFIG_PROPERTY ." ".$index.": "; 432 432 print "<input type=text name='txt_property_".$index."_name' value='".$result."' size='".$text_field_size_big."' maxlength='250'><BR>\r"; 433 433 } … … 439 439 440 440 dms_display_spaces(5); 441 printf( "Document Repository:<BR><BR>");442 443 dms_display_spaces(10); 444 print 'Document Storage Path: ';441 printf( _DMS_L_CONFIG_DOCUMENT_REPOSITORY .":<BR><BR>"); 442 443 dms_display_spaces(10); 444 print _DMS_L_CONFIG_DOCUMENT_STORAGE_PATH .": "; 445 445 // if($dms_config['init_config_lock'] == "UNLOCKED") 446 446 printf("<input type=text name='txt_doc_path' value='%s' size='%d' maxlength='250'>",$dms_config['doc_path'], $text_field_size_big); … … 479 479 480 480 dms_display_spaces(5); 481 printf( "E-Mail Configuration:<BR><BR>");481 printf( _DMS_L_CONFIG_EMAIL_CONFIGURATION .":<BR><BR>"); 482 482 483 483 if(defined("DMS_PRO")) … … 504 504 */ 505 505 dms_display_spaces(10); 506 print "Folder Subscriptions:<BR>";506 print _DMS_L_CONFIG_FOLDER_SUBSCRIPTIONS .":<BR>"; 507 507 508 508 $checked = $dms_config['notify_enable']; … … 511 511 512 512 dms_display_spaces(15); 513 print "Enable: ";513 print _DMS_L_CONFIG_ENABLE .": "; 514 514 print "<input type='checkbox' name='chk_notify_enable' ".$checked."><BR>\r"; 515 515 516 516 dms_display_spaces(15); 517 print "Sender E-mail Address: ";517 print _DMS_L_CONFIG_FOLDER_SUBSCRIPTIONS_SENDER_EMAIL . ": "; 518 518 printf("<input type=text name='txt_notify_email_from' value='%s' size='%d' maxlength='60'><BR>",$dms_config['notify_email_from'], $text_field_size_big); 519 519 520 520 dms_display_spaces(15); 521 print "Subject Line: ";521 print _DMS_L_CONFIG_FOLDER_SUBSCRIPTIONS_SENDER_SUBJECT .": "; 522 522 printf("<input type=text name='txt_notify_email_subject' value='%s' size='%d' maxlength='250'><BR>",$dms_config['notify_email_subject'], $text_field_size_big); 523 523 … … 527 527 { 528 528 dms_display_spaces(10); 529 print "Please upgrade to DMS Pro for this feature.<BR>";529 print _DMS_L_CONFIG_UPGRADE_NOTICE . "<BR>"; 530 530 } 531 531 … … 560 560 561 561 dms_display_spaces(5); 562 printf( "Interface Settings:<BR><BR>\r");563 564 dms_display_spaces(10); 565 print 'DMS Page Title: ';562 printf( _DMS_L_CONFIG_INTERFACE_SETTINGS .":<BR><BR>\r"); 563 564 dms_display_spaces(10); 565 print _DMS_L_CONFIG_INTERFACE_SETTINGS_PAGE_TITLE .": "; 566 566 567 567 if(defined("DMS_PRO")) … … 575 575 576 576 dms_display_spaces(10); 577 printf( "Documents Displayed per Page: ");577 printf( _DMS_L_CONFIG_INTERFACE_SETTINGS_DOCS_PER_PAGE .": "); 578 578 printf("<input type=text name='txt_doc_display_limit' value='%s' size='4'><BR>",$dms_config['doc_display_limit']); 579 579 580 580 dms_display_spaces(10); 581 printf( "Frame Width: ");581 printf(_DMS_L_CONFIG_INTERFACE_SETTINGS_FRAME_WIDTH .": "); 582 582 printf("<input type=text name='txt_frame_width' value='%s' size='4'><BR>",$dms_config['frame_width']); 583 583 584 584 dms_display_spaces(10); 585 printf( "Frame Height: ");585 printf(_DMS_L_CONFIG_INTERFACE_SETTINGS_FRAME_HEIGHT .": "); 586 586 printf("<input type=text name='txt_frame_height' value='%s' size='4'><BR>",$dms_config['frame_height']); 587 587 … … 658 658 // Permissions System 659 659 dms_display_spaces(5); 660 printf( "Permissions System:<BR><BR>\r");660 printf( _DMS_L_CONFIG_PERMISSIONS_SYSTEM .":<BR><BR>\r"); 661 661 /* 662 662 $checked = $dms_config['prop_perms_enable']; … … 675 675 676 676 dms_display_spaces(10); 677 printf( "Inherit Permissions from Parent Directory: ");677 printf( _DMS_L_CONFIG_PERMISSIONS_SYSTEM_INHERIT . ": "); 678 678 printf("<input type='checkbox' name='chk_inherit_perms' %s><BR>\r",$checked); 679 679 … … 683 683 684 684 dms_display_spaces(10); 685 printf( "Everyone Includes Non-Authenticated Users: ");685 printf( _DMS_L_CONFIG_PERMISSIONS_SYSTEM_EVERYONE .": "); 686 686 687 687 if(defined("DMS_PRO")) … … 691 691 else 692 692 { 693 print " Please upgrade to DMS Pro for this feature.";693 print " " . _DMS_L_CONFIG_UPGRADE_NOTICE; 694 694 } 695 695 … … 699 699 // Routing 700 700 dms_display_spaces(5); 701 print "Routing:<BR><BR>";701 print _DMS_L_CONFIG_ROUTING .":<BR><BR>"; 702 702 703 703 $checked = $dms_config['routing_enable']; … … 706 706 707 707 dms_display_spaces(10); 708 print "Enable: ";708 print _DMS_L_CONFIG_ENABLE .": "; 709 709 710 710 if(defined("DMS_PRO")) … … 714 714 else 715 715 { 716 print " Please upgrade to DMS Pro for this feature.";716 print " " . _DMS_L_CONFIG_UPGRADE_NOTICE; 717 717 } 718 718 … … 751 751 752 752 dms_display_spaces(5); 753 print "Search Configuration:<BR><BR>\r";754 755 dms_display_spaces(10); 756 print "Search Limit: ";753 print _DMS_L_CONFIG_SEARCH_CONFIGURATION .":<BR><BR>\r"; 754 755 dms_display_spaces(10); 756 print _DMS_L_CONFIG_SEARCH_LIMIT .": "; 757 757 printf("<input type=text name='txt_search_limit' value='%s' size='5' maxlength='5'><BR>\r",$dms_config['search_limit']); 758 758 759 759 dms_display_spaces(10); 760 print "Documents Per Page: ";760 print _DMS_L_CONFIG_DOCUMENTS_PER_PAGE .": "; 761 761 printf("<input type=text name='txt_search_results_per_page' value='%s' size='5' maxlength='5'><BR><BR>\r",$dms_config['search_results_per_page']); 762 762 /* … … 795 795 */ 796 796 dms_display_spaces(10); 797 print "Search Summaries:<BR>\r";797 print _DMS_L_CONFIG_SEARCH_SUMMARIES.":<BR>\r"; 798 798 799 799 $checked = $dms_config['search_summary_flag']; … … 802 802 803 803 dms_display_spaces(15); 804 print "Enable: ";804 print _DMS_L_CONFIG_ENABLE .": "; 805 805 806 806 if(defined("DMS_PRO")) … … 810 810 else 811 811 { 812 print " Please upgrade to DMS Pro for this feature.";812 print " " . _DMS_L_CONFIG_UPGRADE_NOTICE; 813 813 } 814 814 … … 830 830 // Thumbnails 831 831 dms_display_spaces(5); 832 printf( "Thumbnails:<BR><BR>\r");832 printf( _DMS_L_CONFIG_THUMBNAILS .":<BR><BR>\r"); 833 833 834 834 dms_display_spaces(10); 835 print "Display Image Thumbnails Globally: ";835 print _DMS_L_CONFIG_THUMBNAILS_DISPLAY_GLOBALLY .": "; 836 836 837 837 if(defined("DMS_PRO")) … … 844 844 845 845 dms_display_spaces(10); 846 print "Width (in pixels): ";846 print _DMS_L_CONFIG_THUMBNAILS_WIDTH .": "; 847 847 printf("<input type=text name='txt_global_thumbnail_width' value='%s' size='5' maxlength='5'><BR>\r",$dms_config['global_thumbnail_width']); 848 848 } 849 849 else 850 850 { 851 print " Please upgrade to DMS Pro for this feature.<BR>";851 print " ". _DMS_L_CONFIG_UPGRADE_NOTICE ."<BR>"; 852 852 } 853 853 … … 857 857 // Checkin/Checkout/Versioning 858 858 dms_display_spaces(5); 859 printf( "Version Control:<BR><BR>\r");859 printf( _DMS_L_CONFIG_VERSION_CONTROL .":<BR><BR>\r"); 860 860 861 861 $checked = $dms_config['checkinout_enable']; … … 864 864 865 865 dms_display_spaces(10); 866 print "Enable: ";866 print _DMS_L_CONFIG_ENABLE .": "; 867 867 868 868 if(defined("DMS_PRO")) … … 872 872 else 873 873 { 874 print " Please upgrade to DMS Pro for this feature.";874 print " ". _DMS_L_CONFIG_UPGRADE_NOTICE .""; 875 875 } 876 876 … … 887 887 print "<BR><BR><BR>\r"; 888 888 print "<input type='hidden' name='hdn_update_form' value='TRUE'>\r"; 889 print "<input type='submit' value=' Update'> \r";889 print "<input type='submit' value='"._DMS_L_CONFIG_UPDATE."'> \r"; 890 890 print "<input type='button' value='"._DMS_L_EXIT."' onclick='location=\"".$dms_config['dms_url']."\";'>\r"; 891 891 print "</form>"; -
dms/trunk/pages/file_import.php
r1616381 r1700430 236 236 dms_display_header(2,"","",FALSE); 237 237 print " <tr><td colspan='2' align='left'><BR></td></tr>\r"; 238 print " <tr><td colspan='2' align='left'><b> Import Document:</b></td></tr>\r";238 print " <tr><td colspan='2' align='left'><b>" . _DMS_L_IMPORT_DOCUMENT . ":</b></td></tr>\r"; 239 239 240 240 print " <tr><td colspan='2'><BR></td></tr>\r"; 241 241 242 242 print " <tr>\r"; 243 print " <td align='left' colspan='2'> Select File:</td>";243 print " <td align='left' colspan='2'>"._DMS_L_SELECT_FILE.":</td>"; 244 244 print " </tr>\r"; 245 245 print " <tr>\r"; … … 251 251 print " <tr><td colspan='2' align='left'><BR></td></tr>\r"; 252 252 print " <tr>\r"; 253 print " <td align='left'> Name:</td>\r";253 print " <td align='left'>"._DMS_L_FILE_NAME.":</td>\r"; 254 254 print " <td align='left'><input type='text' name='txt_file_name' size='40' maxlength='250' class='".$dms_config['class_content']."' tabindex='".$dms_tab_index++."' onchange='set_doc_length();'></td>\r"; 255 255 print " </tr>\r"; … … 262 262 263 263 print " <tr>\r"; 264 print " <td align='left'> Initial Version:</td>\r";264 print " <td align='left'>"._DMS_L_INITIAL_VERSION.":</td>\r"; 265 265 266 266 print " <td align='left'>\r"; … … 271 271 272 272 print " <tr><td colspan='2'><BR></td></tr>\r"; 273 print " <td colspan='2' align='left'><input type=submit name='btn_submit' value=' Submit' tabindex='".$dms_tab_index++."'> ";274 print " <input type=button name='btn_cancel' value=' Cancel' onclick='location=\"".$dms_config['dms_url']."\";' tabindex=".$dms_tab_index++."></td>\r";273 print " <td colspan='2' align='left'><input type=submit name='btn_submit' value='"._DMS_L_SUBMIT."' tabindex='".$dms_tab_index++."'> "; 274 print " <input type=button name='btn_cancel' value='"._DMS_L_CANCEL."' onclick='location=\"".$dms_config['dms_url']."\";' tabindex=".$dms_tab_index++."></td>\r"; 275 275 print "</table>\r"; 276 276 print "<input type='hidden' name='hdn_temp_file_name' value='".$temp_file_name."'>\r"; -
dms/trunk/pages/file_options.php
r1356575 r1700430 339 339 if ( $perms_level == OWNER ) 340 340 { 341 print "<input type='button' name='btn_perms' value=' Permissions' onclick='location=\"".$dms_config['dms_url'].$dms_global["first_separator"]."dms_page=file_options&obj_id=".$obj_id."#perms_set\";'>";341 print "<input type='button' name='btn_perms' value='"._DMS_L_PERMISSIONS."' onclick='location=\"".$dms_config['dms_url'].$dms_global["first_separator"]."dms_page=file_options&obj_id=".$obj_id."#perms_set\";'>"; 342 342 print " "; 343 343 } -
dms/trunk/pages/file_retrieve.php
r1616381 r1700430 17 17 $fake_data_loaded = false; 18 18 19 $dms_wp_user_id = 0; 20 19 21 if(isset($_SESSION)) 20 22 { … … 47 49 $dms_global["first_separator"] = "?"; 48 50 49 $dms_wp_user_id = $dms_global['dms_user_id']; 51 if($dms_wp_user_id != 0) 52 { 53 $dms_global['dms_user_id'] = $dms_wp_user_id; 54 } 55 50 56 $dms_admin_flag = $dms_global['dms_admin_flag']; 51 57 $dms_wp_admin_flag = $dms_global['dms_admin_flag']; … … 111 117 { 112 118 dms_auditing($obj_id,"document/open--FAILED"); 113 print "Unable to retrieve file due to insufficient permissions."; 119 print "Unable to retrieve file due to insufficient permissions.<BR>\r"; 120 121 // print "User ID = " . $dms_global['dms_user_id']; 114 122 115 123 exit(0); … … 293 301 // Debugging 294 302 303 print "User ID = " . $dms_global['dms_user_id']; 304 print "<BR>\r"; 305 295 306 if($fake_data_loaded == true) print "FAKE SESSION DATA USED"; 296 307 if($fake_data_loaded == false) print "REAL SESSION DATA USED"; -
dms/trunk/pages/folder_move.php
r1308516 r1700430 65 65 66 66 print " <tr><td colspan='2'><BR></td></tr>\r"; 67 print " <tr><td colspan='2' align='left'><b> Move Folder</b></td></tr>\r";67 print " <tr><td colspan='2' align='left'><b>"._DMS_L_MOVE_FOLDER."</b></td></tr>\r"; 68 68 print " <tr><td colspan='2'><BR></td></tr>\r"; 69 69 print " <tr>\r"; 70 print " <td colspan='2' align='left'> Folder Name: ";70 print " <td colspan='2' align='left'>"._DMS_L_MOVE_FOLDER_NAME.": "; 71 71 print " ".$obj_name."</td>\r"; 72 72 print " </tr>\r"; -
dms/trunk/pages/folder_options.php
r1356575 r1700430 150 150 // Permissions Button 151 151 if($perms_level == OWNER || $dms_admin_flag == 1) 152 print "<input type='button' name='btn_perms' value=' Permissions' onclick='location=\"".$dms_config['dms_url'].$dms_global["first_separator"]."dms_page=folder_options&obj_id=".$obj_id."#perms_set\";'>";152 print "<input type='button' name='btn_perms' value='"._DMS_L_PERMISSIONS."' onclick='location=\"".$dms_config['dms_url'].$dms_global["first_separator"]."dms_page=folder_options&obj_id=".$obj_id."#perms_set\";'>"; 153 153 154 154 -
dms/trunk/pages/search_prop.php
r1608851 r1700430 93 93 94 94 print " <tr>\r"; 95 print " <td width='100%' colspan='3' align='left'><b> Document(s):</b></td>\r";95 print " <td width='100%' colspan='3' align='left'><b>"._DMS_L_DOCUMENTS.":</b></td>\r"; 96 96 print " </tr>\r"; 97 97 } … … 127 127 } 128 128 129 if ($disp_nff_flag == TRUE) print "<tr><td colspan='2'><b> No files have been found that match your query.</b><br></td></tr>";129 if ($disp_nff_flag == TRUE) print "<tr><td colspan='2'><b>"._DMS_L_NO_FILES_FOUND."</b><br></td></tr>"; 130 130 } 131 131 … … 284 284 print " <tr>\r"; 285 285 print " <td width='100%' ".$dms_config['class_content']." align='left'>\r"; 286 print " <b> Properties Search:</b>\r";286 print " <b>"._DMS_L_PROPERTIES_SEARCH.":</b>\r"; 287 287 print " </td>\r"; 288 288 print " </tr>\r"; … … 461 461 print "\r<select name='slct_srch_doc_owner'>\r"; 462 462 463 print " <option value='0'> Anyone</option>\r";463 print " <option value='0'>"._DMS_L_PS_ANYONE."</option>\r"; 464 464 465 465 foreach ($result as $key=>$value) … … 481 481 482 482 print " <select name='slct_srch_create_date'>\r"; 483 print " <option value='0' ".$slct_srch_create_date_option[0]."> Not Applicable</option>\r";484 print " <option value='1' ".$slct_srch_create_date_option[1]."> On</option>\r";485 print " <option value='2' ".$slct_srch_create_date_option[2]."> Before</option>\r";486 print " <option value='3' ".$slct_srch_create_date_option[3]."> After</option>\r";483 print " <option value='0' ".$slct_srch_create_date_option[0].">"._DMS_L_PS_NOT_APPLICABLE."</option>\r"; 484 print " <option value='1' ".$slct_srch_create_date_option[1].">"._DMS_L_PS_ON."</option>\r"; 485 print " <option value='2' ".$slct_srch_create_date_option[2].">"._DMS_L_PS_BEFORE."</option>\r"; 486 print " <option value='3' ".$slct_srch_create_date_option[3].">"._DMS_L_PS_AFTER."</option>\r"; 487 487 print " </select> \r"; 488 488 print " "; … … 503 503 print " <tr>\r"; 504 504 print " <td align='left'>\r"; 505 print " Limit Search to Active Folder and Sub-Folders: <input type='checkbox' name='chk_folder_limit' ".$chk_folder_limit.">";505 print " "._DMS_L_PS_LIMIT.": <input type='checkbox' name='chk_folder_limit' ".$chk_folder_limit.">"; 506 506 print " </td>\r"; 507 507 print " </tr>\r"; -
dms/trunk/readme.txt
r1616386 r1700430 6 6 7 7 Requires at least: 4.5 8 Tested up to: 4. 78 Tested up to: 4.8 9 9 Stable tag: trunk 10 10 License: GPLv2 or later … … 104 104 == Changelog == 105 105 106 = 1.14 = 107 * Fixed a bug that prevented direct links to documents without first going to the DMS page. 108 * Added additional support for localization. 109 110 = 1.13 = 111 * Bug Fix for DMS Pro 1.45 112 106 113 = 1.12 = 107 114 * Added filename fix to remove additional characters added to the end of a filename by some web browsers. … … 169 176 == Upgrade Notice == 170 177 178 = 1.14 = 179 * Fixed a bug that prevented direct links to documents without first going to the DMS page. 180 * Added additional support for localization. 181 182 = 1.13 = 183 * Bug Fix for DMS Pro 1.45 184 171 185 = 1.12 = 172 186 * Added filename fix to remove additional characters added to the end of a filename by some web browsers.
Note: See TracChangeset
for help on using the changeset viewer.