Skip to content

Commit

Permalink
FEAT: add show detected links
Browse files Browse the repository at this point in the history
  • Loading branch information
augustovicente committed May 9, 2024
1 parent d2c7af0 commit a6262e0
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lang/issuu-panel-domain-lang-pl_PL.po
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ msgstr "Zezwól na komentowanie"
msgid "Allow file download"
msgstr "Zezwól na pobieranie"

msgid "Show detected links"
msgstr "Pokaż wykryte linki"

msgid "Access"
msgstr "Dostęp"

Expand Down
3 changes: 3 additions & 0 deletions lang/issuu-panel-domain-lang-pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ msgstr "Permitir comentários"
msgid "Allow file download"
msgstr "Permitir download do arquivo"

msgid "Show detected links"
msgstr "Mostrar links detectados"

msgid "Access"
msgstr "Acesso"

Expand Down
3 changes: 3 additions & 0 deletions lang/issuu-panel-domain-lang-sv_SE.po
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ msgstr "Tillåt kommentarer"
msgid "Allow file download"
msgstr "Tillåt att fil kan laddas ner"

msgid "Show detected links"
msgstr "Visa upptäckta länkar"

msgid "Access"
msgstr "Behörighet"

Expand Down
9 changes: 8 additions & 1 deletion menu/document/forms/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,17 @@
<tr>
<th><label for="downloadable"><?php the_issuu_message('Allow file download'); ?></label></th>
<td>
<input type="checkbox" name="downloadable" id="downloadable" value="true"
<input type="checkbox" name="downloadable" id="downloadable" value="<?php echo ($doc[$slug]->downloadable == true)? 'true' : 'false'; ?>"
<?php echo ($doc[$slug]->downloadable == true)? 'checked' : ''; ?>>
</td>
</tr>
<tr>
<th><label for="showDetectedLinks"><?php the_issuu_message('Show detected links'); ?></label></th>
<td>
<input type="checkbox" name="showDetectedLinks" id="showDetectedLinks" value="<?php echo ($doc[$slug]->showDetectedLinks == true)? 'true' : 'false'; ?>"
<?php echo ($doc[$slug]->showDetectedLinks == true)? 'checked' : ''; ?>>
</td>
</tr>
<tr>
<th><label><?php the_issuu_message('Access'); ?></label></th>
<td>
Expand Down
4 changes: 4 additions & 0 deletions menu/document/forms/upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
<th><label for="downloadable"><?php the_issuu_message('Allow file download'); ?></label></th>
<td><input type="checkbox" name="downloadable" id="downloadable" value="true"></td>
</tr>
<tr>
<th><label for="showDetectedLinks"><?php the_issuu_message('Show detected links'); ?></label></th>
<td><input type="checkbox" name="showDetectedLinks" id="showDetectedLinks" value="true"></td>
</tr>
<tr>
<th><label><?php the_issuu_message('Access'); ?></label></th>
<td>
Expand Down
4 changes: 4 additions & 0 deletions menu/document/forms/url-upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
<th><label for="downloadable"><?php the_issuu_message('Allow file download'); ?></label></th>
<td><input type="checkbox" name="downloadable" id="downloadable" value="true"></td>
</tr>
<tr>
<th><label for="showDetectedLinks"><?php the_issuu_message('Show detected links'); ?></label></th>
<td><input type="checkbox" name="showDetectedLinks" id="showDetectedLinks" value="true"></td>
</tr>
<tr>
<th><label><?php the_issuu_message('Access'); ?></label></th>
<td>
Expand Down

0 comments on commit a6262e0

Please sign in to comment.