Plugin Directory

Changeset 1700430


Ignore:
Timestamp:
07/21/2017 03:03:00 PM (9 years ago)
Author:
reifsnyderb
Message:

Version 1.14

Location:
dms/trunk
Files:
1 added
12 edited

Legend:

Unmodified
Added
Removed
  • dms/trunk/dms.php

    r1616381 r1700430  
    44Plugin URI: http://blitzenware.com
    55Description: The complete document management solution.
    6 Version: 1.12
     6Version: 1.14
    77Author: Brian E. Reifsnyder
    88Author URI: http://blitzenware.com
     
    2929}
    3030
    31 define( 'DMS_VERSION', '1.12' );
    32 define( 'DMS_RELEASE_DATE', date_i18n( 'F j, Y', strtotime( '03/17/2017' ) ) );
     31define( 'DMS_VERSION', '1.14' );
     32define( 'DMS_RELEASE_DATE', date_i18n( 'F j, Y', strtotime( '07/21/2017' ) ) );
    3333define( 'DMS_DIR', plugin_dir_path( __FILE__ ) );
    3434define( 'DMS_URL', plugin_dir_url( __FILE__ ) );
     
    245245add_action('init', 'dmsStartSession', 1);
    246246add_action('wp_logout', 'dmsEndSession');
    247 add_action('wp_login', 'dmsEndSession');
     247add_action('wp_login', 'dmsStartSession');
    248248
    249249function dmsStartSession()
     
    252252        {
    253253        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;
    254263        }
    255264    }
  • dms/trunk/includes/general/i_db_upgrade.php

    r1616381 r1700430  
    1919    $old_version = dms_get_old_version();
    2020
    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)
    2224        {
    2325        if ($old_version==0.96) dms_update_0096();  //  First public release.
     
    3436        if ($old_version==1.10) dms_update_0110();
    3537        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();
    3640        $old_version = dms_get_old_version();
     41
     42        //$update_exit_counter++;
    3743        }
    3844
     
    225231    }
    226232
     233function 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
     242function 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
    227251
    228252
  • dms/trunk/includes/general/i_main_ui_2.php

    r1425649 r1700430  
    708708                  && ($dms_anon_flag == 0) )
    709709                  || ($dms_admin_flag = 1) )
    710                     print "    <a href='".$options_url."&obj_id=".$sifted_results['obj_id'][$obj_index]."'>Options</a>\r";  // Properties
     710                    print "    <a href='".$options_url."&obj_id=".$sifted_results['obj_id'][$obj_index]."'>"._DMS_L_OPTIONS."</a>\r";  // Properties
    711711                }
    712712            print "  </td>\r";
     
    801801    $loc_index++;
    802802    }
    803 $loc_obj_name[$loc_index] = "Top";
     803$loc_obj_name[$loc_index] = _DMS_L_TOP_BREADCRUMB;  //"Top";
    804804$loc_obj_id[$loc_index] = 0;
    805805
  • dms/trunk/includes/languages/english.php

    r1606114 r1700430  
    1111
    1212//Administration Buttons
     13define("_DMS_L_ADMINISTRATION","Administration");
    1314define("_DMS_L_AUDITING","Auditing");
    1415define("_DMS_L_GROUP_EDITOR","Group Editor");
     
    1718
    1819//Main Screen and others...
     20define("_DMS_L_TOP_BREADCRUMB","Top");
    1921define("_DMS_L_IMPORT_DOCUMENT","Import Document");
    2022define("_DMS_L_LIFECYCLES","Lifecycles");
     
    5355// File Import
    5456define("_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:");
     57define("_DMS_L_IMPORT_DOC","Import Document");
     58define("_DMS_L_FILE_NAME","Name");
    5759define("_DMS_L_INITIAL_VERSION","Initial Version");
    58 define("_DMS_L_SELECT_FILE","Select File:");
     60define("_DMS_L_SELECT_FILE","Select File");
    5961define("_DMS_L_SUBMIT","Submit");
    6062define("_DMS_L_CANCEL","Cancel");
     
    8385define("_DMS_L_PROPERTIES_SEARCH","Properties Search");
    8486define("_DMS_L_SEARCH","Search");
    85 define("_DMS_L_DOCUMENTS","Document(s):");
     87define("_DMS_L_DOCUMENTS","Document(s)");
    8688define("_DMS_L_VERSION","Version");
    8789define("_DMS_L_ACCESS_DENIED","Access Denied");
     
    9092define("_DMS_L_REFINE_PARAMETERS","        You may want to refine your search parameters.");
    9193define("_DMS_L_NO_FILES_FOUND","No files have been found that match your query.");
     94
     95define("_DMS_L_PS_NOT_APPLICABLE","Not Applicable");
     96define("_DMS_L_PS_ON","On");
     97define("_DMS_L_PS_BEFORE","Before");
     98define("_DMS_L_PS_AFTER","After");
     99define("_DMS_L_PS_LIMIT","Limit Search to Active Folder and Sub-Folders");
     100
     101define("_DMS_L_PS_ANYONE","Anyone");
    92102
    93103// Life Cycle
     
    124134define("_DMS_L_AUDIT_LOG","Audit Log");
    125135define("_DMS_L_PROPAGATE_PERMISSIONS","Propagate Permissions");
     136define("_DMS_L_FOLDER_SUBSCRIPTIONS","Folder Subscriptions");
     137define("_DMS_L_UPDATE_FOLDER_SUBSCRIPTIONS","Update Folder Subscriptions");
    126138//define("_DMS_L_OPTIONS","Options");
    127139
    128140// inc_perms_set.php
    129 define("_DMS_L_PERMISSIONS","Permissions:");
     141define("_DMS_L_PERMISSIONS","Permissions");
    130142define("_DMS_L_OWNER","Owner");
    131143define("_DMS_L_EVERYONE","Everyone:");
     
    174186define("_DMS_L_EMAIL","E-Mail");
    175187define("_DMS_L_REVERT","Revert");
     188define("_DMS_L_VIEW_OLDER_VERSION","View Older Version");
    176189
    177190// link_options.php
     
    230243define("_DMS_L_DOCUMENT_NAME","Document Name");
    231244define("_DMS_L_FOLDER","Folder");
     245define("_DMS_L_ROUTED_DOCUMENT","Routed Document");
     246define("_DMS_L_ROUTED_DOCUMENT_NAME","Routed Document Name");
     247
     248
    232249
    233250//define("_DMS_L_EMPTY","Empty");
     
    251268
    252269
     270
     271//Move Folder
     272define("_DMS_L_MOVE_FOLDER","Move Folder");
     273define("_DMS_L_MOVE_FOLDER_NAME","Folder Name");
     274
     275
     276
     277//Configuration Screen
     278define("_DMS_L_CONFIG_TITLE","DMS Configuration");
     279define("_DMS_L_CONFIG_UPGRADE_NOTICE_URL","Upgrade to DMS Pro at ");
     280define("_DMS_L_CONFIG_UPGRADE_NOTICE","Please upgrade to DMS Pro for this feature.");
     281define("_DMS_L_CONFIG_COMMENTS","Comments");
     282define("_DMS_L_CONFIG_ENABLE","Enable");
     283
     284define("_DMS_L_CONFIG_DOCUMENT_PROPERTIES","Document Properties");
     285define("_DMS_L_CONFIG_PROPERTY","Property");
     286
     287define("_DMS_L_CONFIG_DOCUMENT_REPOSITORY","Document Repository");
     288define("_DMS_L_CONFIG_DOCUMENT_STORAGE_PATH","Document Storage Path");
     289
     290define("_DMS_L_CONFIG_EMAIL_CONFIGURATION","E-Mail Configuration");
     291
     292define("_DMS_L_CONFIG_FOLDER_SUBSCRIPTIONS","Folder Subscriptions");
     293define("_DMS_L_CONFIG_FOLDER_SUBSCRIPTIONS_SENDER_EMAIL","Sender E-mail Address");
     294define("_DMS_L_CONFIG_FOLDER_SUBSCRIPTIONS_SENDER_SUBJECT","Subject Line");
     295
     296define("_DMS_L_CONFIG_INTERFACE_SETTINGS","Interface Settings");
     297define("_DMS_L_CONFIG_INTERFACE_SETTINGS_PAGE_TITLE","DMS Page Title");
     298define("_DMS_L_CONFIG_INTERFACE_SETTINGS_DOCS_PER_PAGE","Documents Displayed Per Page");
     299define("_DMS_L_CONFIG_INTERFACE_SETTINGS_FRAME_WIDTH","Frame Width");
     300define("_DMS_L_CONFIG_INTERFACE_SETTINGS_FRAME_HEIGHT","Frame Height");
     301
     302define("_DMS_L_CONFIG_PERMISSIONS_SYSTEM","Permissions System");
     303define("_DMS_L_CONFIG_PERMISSIONS_SYSTEM_INHERIT","Inherit Permissions from Parent Directory");
     304define("_DMS_L_CONFIG_PERMISSIONS_SYSTEM_EVERYONE","Everyone Includes Non-Authenticated Users");
     305
     306define("_DMS_L_CONFIG_ROUTING","Routing");
     307
     308define("_DMS_L_CONFIG_SEARCH_CONFIGURATION","Search Configuration");
     309define("_DMS_L_CONFIG_SEARCH_LIMIT","Search Limit");
     310
     311define("_DMS_L_CONFIG_DOCUMENTS_PER_PAGE","Documents Per Page");
     312define("_DMS_L_CONFIG_SEARCH_SUMMARIES","Search Summaries");
     313define("_DMS_L_CONFIG_THUMBNAILS","Thumbnails");
     314define("_DMS_L_CONFIG_THUMBNAILS_DISPLAY_GLOBALLY","Display Image Thumbnails Globally");
     315define("_DMS_L_CONFIG_THUMBNAILS_WIDTH","Width (in pixels)");
     316
     317define("_DMS_L_CONFIG_VERSION_CONTROL","Version Control");
     318
     319define("_DMS_L_CONFIG_UPDATE","Update");
     320
     321
    253322?>
  • dms/trunk/pages/config.php

    r1608851 r1700430  
    301301    print "<div ".$dms_config['class_content']." style='text-align: left' >\r";
    302302
    303     print "<b>DMS Configuration</b><BR><BR>\r";
     303    print "<b>"._DMS_L_CONFIG_TITLE."</b><BR><BR>\r";
    304304
    305305
     
    313313
    314314//        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>";
    316316        print "<BR>\r";
    317317        }
     
    321321    //  Comments
    322322    dms_display_spaces(5);
    323     printf("Comments:<BR><BR>\r");
     323    printf( _DMS_L_CONFIG_COMMENTS .":<BR><BR>\r");
    324324
    325325    $checked = $dms_config['comments_enable'];
     
    329329    dms_display_spaces(10);
    330330
    331     print "Enable:  ";
     331    print  _DMS_L_CONFIG_ENABLE .":  ";
    332332
    333333    if(defined("DMS_PRO"))
     
    337337    else
    338338        {
    339         print "&nbsp;&nbsp;Please upgrade to DMS Pro for this feature.";
     339        print "&nbsp;&nbsp;". _DMS_L_CONFIG_UPGRADE_NOTICE;
    340340        }
    341341
     
    421421
    422422    dms_display_spaces(5);
    423     printf("Document Properties:<BR><BR>\r");
     423    printf( _DMS_L_CONFIG_DOCUMENT_PROPERTIES .":<BR><BR>\r");
    424424
    425425    for ($index = 0; $index < 10; $index++)
     
    429429
    430430        dms_display_spaces(10);
    431         print "Property ".$index.":  ";
     431        print _DMS_L_CONFIG_PROPERTY ." ".$index.":  ";
    432432        print "<input type=text name='txt_property_".$index."_name' value='".$result."' size='".$text_field_size_big."' maxlength='250'><BR>\r";
    433433        }
     
    439439
    440440    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 .":  ";
    445445//  if($dms_config['init_config_lock'] == "UNLOCKED")
    446446        printf("<input type=text name='txt_doc_path' value='%s' size='%d' maxlength='250'>",$dms_config['doc_path'], $text_field_size_big);
     
    479479
    480480    dms_display_spaces(5);
    481     printf("E-Mail Configuration:<BR><BR>");
     481    printf( _DMS_L_CONFIG_EMAIL_CONFIGURATION .":<BR><BR>");
    482482
    483483    if(defined("DMS_PRO"))
     
    504504*/
    505505        dms_display_spaces(10);
    506         print "Folder Subscriptions:<BR>";
     506        print _DMS_L_CONFIG_FOLDER_SUBSCRIPTIONS .":<BR>";
    507507
    508508        $checked = $dms_config['notify_enable'];
     
    511511
    512512        dms_display_spaces(15);
    513         print "Enable:  ";
     513        print _DMS_L_CONFIG_ENABLE .":  ";
    514514        print "<input type='checkbox' name='chk_notify_enable' ".$checked."><BR>\r";
    515515
    516516        dms_display_spaces(15);
    517         print "Sender E-mail Address:  ";
     517        print _DMS_L_CONFIG_FOLDER_SUBSCRIPTIONS_SENDER_EMAIL . ":  ";
    518518        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);
    519519
    520520        dms_display_spaces(15);
    521         print "Subject Line:  ";
     521        print _DMS_L_CONFIG_FOLDER_SUBSCRIPTIONS_SENDER_SUBJECT .":  ";
    522522        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);
    523523
     
    527527        {
    528528        dms_display_spaces(10);
    529         print "Please upgrade to DMS Pro for this feature.<BR>";
     529        print  _DMS_L_CONFIG_UPGRADE_NOTICE . "<BR>";
    530530        }
    531531
     
    560560
    561561    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 .":  ";
    566566
    567567    if(defined("DMS_PRO"))
     
    575575
    576576    dms_display_spaces(10);
    577     printf("Documents Displayed per Page:  ");
     577    printf(  _DMS_L_CONFIG_INTERFACE_SETTINGS_DOCS_PER_PAGE .":  ");
    578578    printf("<input type=text name='txt_doc_display_limit' value='%s' size='4'><BR>",$dms_config['doc_display_limit']);
    579579
    580580    dms_display_spaces(10);
    581     printf("Frame Width:  ");
     581    printf(_DMS_L_CONFIG_INTERFACE_SETTINGS_FRAME_WIDTH .":  ");
    582582    printf("<input type=text name='txt_frame_width' value='%s' size='4'><BR>",$dms_config['frame_width']);
    583583
    584584    dms_display_spaces(10);
    585     printf("Frame Height:  ");
     585    printf(_DMS_L_CONFIG_INTERFACE_SETTINGS_FRAME_HEIGHT .":  ");
    586586    printf("<input type=text name='txt_frame_height' value='%s' size='4'><BR>",$dms_config['frame_height']);
    587587
     
    658658    //  Permissions System
    659659    dms_display_spaces(5);
    660     printf("Permissions System:<BR><BR>\r");
     660    printf( _DMS_L_CONFIG_PERMISSIONS_SYSTEM .":<BR><BR>\r");
    661661/*
    662662    $checked = $dms_config['prop_perms_enable'];
     
    675675
    676676    dms_display_spaces(10);
    677     printf("Inherit Permissions from Parent Directory:  ");
     677    printf( _DMS_L_CONFIG_PERMISSIONS_SYSTEM_INHERIT . ":  ");
    678678    printf("<input type='checkbox' name='chk_inherit_perms' %s><BR>\r",$checked);
    679679
     
    683683
    684684    dms_display_spaces(10);
    685     printf("Everyone Includes Non-Authenticated Users:  ");
     685    printf( _DMS_L_CONFIG_PERMISSIONS_SYSTEM_EVERYONE .":  ");
    686686
    687687    if(defined("DMS_PRO"))
     
    691691    else
    692692        {
    693         print "&nbsp;&nbsp;Please upgrade to DMS Pro for this feature.";
     693        print "&nbsp;&nbsp;" . _DMS_L_CONFIG_UPGRADE_NOTICE;
    694694        }
    695695
     
    699699    //  Routing
    700700    dms_display_spaces(5);
    701     print "Routing:<BR><BR>";
     701    print _DMS_L_CONFIG_ROUTING .":<BR><BR>";
    702702
    703703    $checked = $dms_config['routing_enable'];
     
    706706
    707707    dms_display_spaces(10);
    708     print "Enable:  ";
     708    print _DMS_L_CONFIG_ENABLE .":  ";
    709709
    710710    if(defined("DMS_PRO"))
     
    714714    else
    715715        {
    716         print "&nbsp;&nbsp;Please upgrade to DMS Pro for this feature.";
     716        print "&nbsp;&nbsp;" . _DMS_L_CONFIG_UPGRADE_NOTICE;
    717717        }
    718718
     
    751751
    752752    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 .":  ";
    757757    printf("<input type=text name='txt_search_limit' value='%s' size='5' maxlength='5'><BR>\r",$dms_config['search_limit']);
    758758
    759759    dms_display_spaces(10);
    760     print "Documents Per Page:  ";
     760    print _DMS_L_CONFIG_DOCUMENTS_PER_PAGE .":  ";
    761761    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']);
    762762/*
     
    795795*/
    796796    dms_display_spaces(10);
    797     print "Search Summaries:<BR>\r";
     797    print _DMS_L_CONFIG_SEARCH_SUMMARIES.":<BR>\r";
    798798
    799799    $checked = $dms_config['search_summary_flag'];
     
    802802
    803803    dms_display_spaces(15);
    804     print "Enable:  ";
     804    print _DMS_L_CONFIG_ENABLE .":  ";
    805805
    806806    if(defined("DMS_PRO"))
     
    810810    else
    811811        {
    812         print "&nbsp;&nbsp;Please upgrade to DMS Pro for this feature.";
     812        print "&nbsp;&nbsp;" . _DMS_L_CONFIG_UPGRADE_NOTICE;
    813813        }
    814814
     
    830830    //  Thumbnails
    831831    dms_display_spaces(5);
    832     printf("Thumbnails:<BR><BR>\r");
     832    printf( _DMS_L_CONFIG_THUMBNAILS .":<BR><BR>\r");
    833833
    834834    dms_display_spaces(10);
    835     print "Display Image Thumbnails Globally:  ";
     835    print _DMS_L_CONFIG_THUMBNAILS_DISPLAY_GLOBALLY .":  ";
    836836
    837837    if(defined("DMS_PRO"))
     
    844844
    845845        dms_display_spaces(10);
    846         print "Width (in pixels):  ";
     846        print _DMS_L_CONFIG_THUMBNAILS_WIDTH .":  ";
    847847        printf("<input type=text name='txt_global_thumbnail_width' value='%s' size='5' maxlength='5'><BR>\r",$dms_config['global_thumbnail_width']);
    848848        }
    849849    else
    850850        {
    851         print "&nbsp;&nbsp;Please upgrade to DMS Pro for this feature.<BR>";
     851        print "&nbsp;&nbsp;". _DMS_L_CONFIG_UPGRADE_NOTICE ."<BR>";
    852852        }
    853853
     
    857857    //  Checkin/Checkout/Versioning
    858858    dms_display_spaces(5);
    859     printf("Version Control:<BR><BR>\r");
     859    printf( _DMS_L_CONFIG_VERSION_CONTROL .":<BR><BR>\r");
    860860
    861861    $checked = $dms_config['checkinout_enable'];
     
    864864
    865865    dms_display_spaces(10);
    866     print "Enable:  ";
     866    print _DMS_L_CONFIG_ENABLE .":  ";
    867867
    868868    if(defined("DMS_PRO"))
     
    872872    else
    873873        {
    874         print "&nbsp;&nbsp;Please upgrade to DMS Pro for this feature.";
     874        print "&nbsp;&nbsp;". _DMS_L_CONFIG_UPGRADE_NOTICE ."";
    875875        }
    876876
     
    887887    print "<BR><BR><BR>\r";
    888888    print "<input type='hidden' name='hdn_update_form' value='TRUE'>\r";
    889     print "<input type='submit' value='Update'>&nbsp;&nbsp;\r";
     889    print "<input type='submit' value='"._DMS_L_CONFIG_UPDATE."'>&nbsp;&nbsp;\r";
    890890    print "<input type='button' value='"._DMS_L_EXIT."' onclick='location=\"".$dms_config['dms_url']."\";'>\r";
    891891    print "</form>";
  • dms/trunk/pages/file_import.php

    r1616381 r1700430  
    236236    dms_display_header(2,"","",FALSE);
    237237    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";
    239239
    240240    print "  <tr><td colspan='2'><BR></td></tr>\r";
    241241
    242242    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>";
    244244    print "  </tr>\r";
    245245    print "  <tr>\r";
     
    251251    print "  <tr><td colspan='2' align='left'><BR></td></tr>\r";
    252252    print "  <tr>\r";
    253     print "    <td align='left'>Name:</td>\r";
     253    print "    <td align='left'>"._DMS_L_FILE_NAME.":</td>\r";
    254254    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";
    255255    print "  </tr>\r";
     
    262262
    263263    print "  <tr>\r";
    264     print "    <td align='left'>Initial Version:</td>\r";
     264    print "    <td align='left'>"._DMS_L_INITIAL_VERSION.":</td>\r";
    265265
    266266    print "    <td align='left'>\r";
     
    271271
    272272    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++."'>&nbsp;&nbsp;";
    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++."'>&nbsp;&nbsp;";
     274    print "    <input type=button name='btn_cancel' value='"._DMS_L_CANCEL."' onclick='location=\"".$dms_config['dms_url']."\";' tabindex=".$dms_tab_index++."></td>\r";
    275275    print "</table>\r";
    276276    print "<input type='hidden' name='hdn_temp_file_name' value='".$temp_file_name."'>\r";
  • dms/trunk/pages/file_options.php

    r1356575 r1700430  
    339339    if ( $perms_level == OWNER )
    340340        {
    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\";'>";
    342342        print "&nbsp;&nbsp;";
    343343        }
  • dms/trunk/pages/file_retrieve.php

    r1616381 r1700430  
    1717$fake_data_loaded = false;
    1818
     19$dms_wp_user_id = 0;
     20
    1921if(isset($_SESSION))
    2022    {
     
    4749$dms_global["first_separator"] = "?";
    4850
    49 $dms_wp_user_id = $dms_global['dms_user_id'];
     51if($dms_wp_user_id != 0)
     52    {
     53    $dms_global['dms_user_id'] = $dms_wp_user_id;
     54    }
     55
    5056$dms_admin_flag = $dms_global['dms_admin_flag'];
    5157$dms_wp_admin_flag = $dms_global['dms_admin_flag'];
     
    111117    {
    112118    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'];
    114122
    115123    exit(0);
     
    293301    // Debugging
    294302
     303    print "User ID = " . $dms_global['dms_user_id'];
     304    print "<BR>\r";
     305
    295306    if($fake_data_loaded == true) print "FAKE SESSION DATA USED";
    296307    if($fake_data_loaded == false) print "REAL SESSION DATA USED";
  • dms/trunk/pages/folder_move.php

    r1308516 r1700430  
    6565
    6666    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";
    6868    print "  <tr><td colspan='2'><BR></td></tr>\r";
    6969    print "  <tr>\r";
    70     print "    <td colspan='2' align='left'>Folder Name:&nbsp;&nbsp;&nbsp;";
     70    print "    <td colspan='2' align='left'>"._DMS_L_MOVE_FOLDER_NAME.":&nbsp;&nbsp;&nbsp;";
    7171    print "        ".$obj_name."</td>\r";
    7272    print "  </tr>\r";
  • dms/trunk/pages/folder_options.php

    r1356575 r1700430  
    150150    // Permissions Button
    151151    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\";'>";
    153153
    154154
  • dms/trunk/pages/search_prop.php

    r1608851 r1700430  
    9393
    9494            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";
    9696            print "  </tr>\r";
    9797            }
     
    127127        }
    128128
    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>";
    130130    }
    131131
     
    284284print "  <tr>\r";
    285285print "    <td width='100%' ".$dms_config['class_content']." align='left'>\r";
    286 print "      <b>Properties Search:</b>\r";
     286print "      <b>"._DMS_L_PROPERTIES_SEARCH.":</b>\r";
    287287print "    </td>\r";
    288288print "  </tr>\r";
     
    461461print "\r<select name='slct_srch_doc_owner'>\r";
    462462
    463 print "  <option value='0'>Anyone</option>\r";
     463print "  <option value='0'>"._DMS_L_PS_ANYONE."</option>\r";
    464464
    465465foreach ($result as $key=>$value)
     
    481481
    482482print "              <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";
     483print "                <option value='0' ".$slct_srch_create_date_option[0].">"._DMS_L_PS_NOT_APPLICABLE."</option>\r";
     484print "                <option value='1' ".$slct_srch_create_date_option[1].">"._DMS_L_PS_ON."</option>\r";
     485print "                <option value='2' ".$slct_srch_create_date_option[2].">"._DMS_L_PS_BEFORE."</option>\r";
     486print "                <option value='3' ".$slct_srch_create_date_option[3].">"._DMS_L_PS_AFTER."</option>\r";
    487487print "              </select>&nbsp;\r";
    488488print "            &nbsp;&nbsp;&nbsp;";
     
    503503print "        <tr>\r";
    504504print "          <td align='left'>\r";
    505 print "            Limit Search to Active Folder and Sub-Folders:&nbsp;&nbsp;&nbsp;<input type='checkbox' name='chk_folder_limit' ".$chk_folder_limit.">";
     505print "            "._DMS_L_PS_LIMIT.":&nbsp;&nbsp;&nbsp;<input type='checkbox' name='chk_folder_limit' ".$chk_folder_limit.">";
    506506print "          </td>\r";
    507507print "        </tr>\r";
  • dms/trunk/readme.txt

    r1616386 r1700430  
    66
    77Requires at least: 4.5
    8 Tested up to: 4.7
     8Tested up to: 4.8
    99Stable tag: trunk
    1010License: GPLv2 or later
     
    104104== Changelog ==
    105105
     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
    106113= 1.12 =
    107114* Added filename fix to remove additional characters added to the end of a filename by some web browsers.
     
    169176== Upgrade Notice ==
    170177
     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
    171185= 1.12 =
    172186* 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.