mirror of
https://github.com/standardebooks/web.git
synced 2025-07-19 04:44:48 -04:00
Restructure some files to match new URL structure
This commit is contained in:
parent
b340c55460
commit
ec0b81817d
4 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ RewriteRule ^/ebooks/(.+?)/download$ /ebooks/download.php?url-path=$1 [QSA]
|
|||
|
||||
# Misc ebook rewrites
|
||||
RewriteRule ^/subjects/([^\./]+?)$ /ebooks/index.php?tags[]=$1 [QSA]
|
||||
RewriteRule ^/ebooks/([^\./]+?)$ /ebooks/author.php?url-path=$1 [QSA]
|
||||
RewriteRule ^/ebooks/([^\./]+?)$ /authors/get.php?url-path=$1 [QSA]
|
||||
RewriteRule ^/ebooks/([^\./]+?)/downloads$ /bulk-downloads/get.php?author=$1 [QSA]
|
||||
RewriteRule ^/ebooks/([^\./]+?)/feeds$ /feeds/get.php?author=$1 [QSA]
|
||||
RewriteRule ^/collections/([^\./]+?)$ /collections/get.php?collection=$1 [QSA]
|
||||
|
@ -42,4 +42,4 @@ RewriteRule ^/ebooks/jules-verne/twenty-thousand-leagues-under-the-seas/f-p-walt
|
|||
# Prevent this rule from firing if we're getting a distribution file
|
||||
RewriteCond %{REQUEST_FILENAME} !^/ebooks/.+?/downloads/.+$
|
||||
RewriteCond %{REQUEST_FILENAME} !^/ebooks/.+?/text.*$
|
||||
RewriteRule ^/ebooks/([^\.]+?)$ /ebooks/ebook.php?url-path=$1
|
||||
RewriteRule ^/ebooks/([^\.]+?)$ /ebooks/get.php?url-path=$1
|
||||
|
|
|
@ -34,7 +34,7 @@ if($exception){
|
|||
<input type="text" name="automationtest" value="" maxlength="80" />
|
||||
</label>
|
||||
<label>Your email address
|
||||
<input type="email" name="email" value="<? if($subscription->User !== null){ ?><?= Formatter::EscapeHtml($subscription->User->Email) ?><? } ?>" maxlength="80" required="required" />
|
||||
<input type="email" name="email" value="<?= Formatter::EscapeHtml($subscription->User?->Email) ?>" maxlength="80" required="required" />
|
||||
</label>
|
||||
<label class="captcha">
|
||||
Type the letters in the <abbr class="acronym">CAPTCHA</abbr> image
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue