From b20b30b6fe46f3a8ca8111e1a8f787eae5a7de50 Mon Sep 17 00:00:00 2001 From: Frank Karlitschek <frank@owncloud.org> Date: Mon, 30 Apr 2012 19:18:00 +0200 Subject: [PATCH] =?UTF-8?q?Implement=20a=20basic=20versioning=20configurat?= =?UTF-8?q?ion.=20Only=20a=20on/off=20switch=20for=20now.=20I=20changed=20?= =?UTF-8?q?my=20mind=20about=20the=20more=20complex=20configuration=20opti?= =?UTF-8?q?ons.=20We=20go=20with=20good=20default=20for=20now=20and=20don?= =?UTF-8?q?=C2=B4t=20expose=20all=20the=20technical=20options=20to=20the?= =?UTF-8?q?=20users.=20They=20can=20still=20override=20in=20the=20config?= =?UTF-8?q?=20file=20if=20it=C2=B4s=20really=20really=20needed=20and=20the?= =?UTF-8?q?y=20know=20what=20they=20are=20doing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/files_versions/js/versions.js | Bin 3253 -> 3582 bytes apps/files_versions/templates/settings.php | 12 +++++------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/apps/files_versions/js/versions.js b/apps/files_versions/js/versions.js index c2dfcd9f3b60b937630df88ea18e8f6bb72a86bb..071efc9ef01a0b405f61ca413c31972b7e6ac50f 100644 GIT binary patch delta 314 zcmdlg`A>R+Oua%imjV>1Xs9cfr4|)u=I0fwYw9Is=A~$;Cubz)rKhUvD5RC<C6@rD zG&GU4z_gYn7AYiWq$X#lrYP7d7+S;4gek~OQ_xT>$;d3$gDQiXQV&yrLL-baz%;5B z!*CV7g8bqV4S#37w9K5;fW(pv4RsK!I3DgD9reVl#0qsC^^*Mbbf8RXNl9j2da<5f hK}LbPrjCL-Or@>5Hq3<xt7|o_xj>j}!&V+fE&$5FQ0)K! delta 11 Scmew-y;X98%;prvnLGd<5Cl;G diff --git a/apps/files_versions/templates/settings.php b/apps/files_versions/templates/settings.php index 2f918257360..74882473168 100644 --- a/apps/files_versions/templates/settings.php +++ b/apps/files_versions/templates/settings.php @@ -1,7 +1,5 @@ -<form id="external"> - <fieldset class="personalblock"> - <strong>Versions</strong><br /> - - Configuration goes here... - </fieldset> -</form> \ No newline at end of file +<form id="versions"> + <fieldset class="personalblock"> + <input type="checkbox" name="versions" id="versions" value="1" <?php if (OC_Config::getValue('versions', 'true')=='true') echo ' checked="checked"'; ?> /> <label for="versions"><?php echo $l->t('Enable Files Versioning'); ?></label> <br/> + </fieldset> +</form> -- GitLab