Remove requirement for vhs extension
authorstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 7 Feb 2013 05:10:34 +0000 (05:10 +0000)
committerstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 7 Feb 2013 05:10:34 +0000 (05:10 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/sr_freecap/trunk@70939 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
Configuration/TypoScript/setup.txt
Resources/Private/Partials/CaptchaElement.html
ext_emconf.php

index 30ec683..456cef5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
        * Remove alias on SessionStorage class
        * Cleanup translation view helper
        * Require extension vhs 1.5.0
+       * Remove requirement for vhs extension
 
 2012-12-15  Stanislas Rolland  <typo3@sjbr.ca>
 
index d652422..ce9119c 100644 (file)
@@ -40,6 +40,14 @@ plugin.tx_srfreecap {
                partialRootPath = {$plugin.tx_srfreecap.view.partialRootPath}
                layoutRootPath = {$plugin.tx_srfreecap.view.layoutRootPath}
        }
+       _CSS_DEFAULT_STYLE (
+               .tx-srfreecap-captcha label { display: inline-block; width: 150px; }
+               img.tx-srfreecap-image { margin-left: 1em; margin-right: 1em; vertical-align: middle; }
+               .tx-srfreecap-accessible-image { vertical-align: middle; }
+               .tx-srfreecap-accessible-link { width: 10em; float: right; vertical-align: middle; margin-right: 7em; }
+               .tx-srfreecap-cant-read { display: inline-block; width: 150px; }
+               .tx-srfreecap-cant-read a:link { background-color:transparent; font-weight:bold; text-decoration:none; }
+       )
 }
 
 ## Configuring the Font Maker backend module
index 1e76618..5c955b6 100644 (file)
@@ -1,9 +1,9 @@
 {namespace freeCap=SJBR\SrFreecap\ViewHelpers}
-{namespace vhs=Tx_Vhs_ViewHelpers}
-<div class="tx-srfreecap-captcha">
-       <vhs:page.header.link rel="stylesheet" type="text/css" href="{f:uri.resource(path:'StyleSheets/CaptchaElement.css', extensionName:'sr_freecap')}" />
+<dt class="tx-srfreecap-captcha">
        <label for="sjbr-freecap-captcha-response">{freeCap:translate(key: 'notice')} {freeCap:translate(key: 'explain')}</label>
+</dt>
+<dd>
        <f:form.textfield id="sjbr-freecap-captcha-response" property="captchaResponse" size="15" title="{freeCap:translate(key: 'notice')}{freeCap:translate(key: 'explain')}" />
        <freeCap:image />
        <freeCap:audio />
-</div>
\ No newline at end of file
+</dd>
\ No newline at end of file
index a5c2d98..6c27444 100644 (file)
@@ -36,7 +36,6 @@ $EM_CONF[$_EXTKEY] = array(
                'depends' => array(\r
                        'php' => '5.3.0-0.0.0',\r
                        'typo3' => '6.0.0-0.0.0',\r
-                       'vhs' => '1.5.0-0.0.0'\r
                ),\r
                'conflicts' => array(\r
                ),\r