Skip to content

Instantly share code, notes, and snippets.

@Jaybus2
Jaybus2 / opendocman-1.3.2.patch-jaybus-2.diff
Created February 26, 2015 15:16
OpenDocMan 1.3.2 patch fixes password length limit
diff -ur opendocman-1.3.2/templates/common/user/edit.tpl opendocman-1.3.2.rev/templates/common/user/edit.tpl
--- opendocman-1.3.2/templates/common/user/edit.tpl 2015-02-16 10:37:10.000000000 -0500
+++ opendocman-1.3.2.rev/templates/common/user/edit.tpl 2015-02-26 09:04:27.334000783 -0500
@@ -24,7 +24,7 @@
<tr>
<td><b>{$g_lang_userpage_password}</b></td>
<td>
- <input name="password" type="password" maxlength="10">
+ <input name="password" type="password" maxlength="32">
{$g_lang_userpage_leave_empty}
@Jaybus2
Jaybus2 / opendocman-1.3.2.patch-jaybus-1.diff
Last active August 29, 2015 14:16
OpenDocMan patch for 1.3.2 fixes email body length issues
diff -ur opendocman-1.3.2/add.php opendocman-1.3.2.rev/add.php
--- opendocman-1.3.2/add.php 2015-02-16 10:37:10.000000000 -0500
+++ opendocman-1.3.2.rev/add.php 2015-02-25 17:43:34.000000000 -0500
@@ -414,14 +414,14 @@
// Build email for general notices
$mail_subject = msg('addpage_new_file_added');
- $mail_body2 = msg('email_a_new_file_has_been_added') . "\n\n";
- $mail_body2.=msg('label_filename') . ': ' . $file_obj->getName() . "\n\n";
- $mail_body2.=msg('label_status') . ': ' . msg('addpage_new') . "\n\n";