Loading htdocs/admin/site/cookieconsent2.php +4 −0 Original line number Diff line number Diff line Loading @@ -150,6 +150,7 @@ CODE; $data = array( 'social' => array( 'id' => '0', 'title' => get_string('cookietypessocial', 'cookieconsent'), 'item1' => get_string('instructiontext1', 'cookieconsent', get_string('cookietypessocial','cookieconsent'), get_string('example1social','cookieconsent')), 'item2' => get_string('instructiontext2-1', 'cookieconsent'), Loading @@ -160,6 +161,7 @@ $data = array( 'help2' => get_string('itdidntwork2', 'cookieconsent', '<a href="http://sitebeam.net/cookieconsent/documentation/code-examples#examples-social" target="_blank">', '</a>', '<a href="http://www.linkedin.com/groups/Cookie-Consent-developers-4980594?trk=groups_management_submission_queue-h-dsc" target="_blank">', '</a>') ), 'analytics' => array( 'id' => '1', 'title' => get_string('cookietypesanalytics', 'cookieconsent'), 'item1' => get_string('instructiontext1', 'cookieconsent', get_string('cookietypesanalytics','cookieconsent'), get_string('example1analytics','cookieconsent')), 'item2' => get_string('instructiontext2-1', 'cookieconsent'), Loading @@ -170,6 +172,7 @@ $data = array( 'help2' => get_string('itdidntwork2', 'cookieconsent', '<a href="http://sitebeam.net/cookieconsent/documentation/code-examples#examples-analytics" target="_blank">', '</a>', '<a href="http://www.linkedin.com/groups/Cookie-Consent-developers-4980594?trk=groups_management_submission_queue-h-dsc" target="_blank">', '</a>') ), 'advertising' => array( 'id' => '2', 'title' => get_string('cookietypesadvertising', 'cookieconsent'), 'item1' => get_string('instructiontext1', 'cookieconsent', get_string('cookietypesadvertising','cookieconsent'), get_string('example1advertising','cookieconsent')), 'item2' => get_string('instructiontext2-1', 'cookieconsent'), Loading @@ -180,6 +183,7 @@ $data = array( 'help2' => get_string('itdidntwork2', 'cookieconsent', '<a href="http://sitebeam.net/cookieconsent/documentation/code-examples#examples-advertising" target="_blank">', '</a>', '<a href="http://www.linkedin.com/groups/Cookie-Consent-developers-4980594?trk=groups_management_submission_queue-h-dsc" target="_blank">', '</a>') ), 'necessary' => array( 'id' => '3', 'title' => get_string('cookietypesnecessary', 'cookieconsent'), 'item1' => get_string('instructiontext1', 'cookieconsent', get_string('cookietypesnecessary','cookieconsent'), get_string('example1necessary','cookieconsent')), 'item2' => get_string('instructiontext2-1', 'cookieconsent'), Loading htdocs/theme/raw/templates/admin/site/cookieconsent2.tpl +43 −46 Original line number Diff line number Diff line {include file="header.tpl"} <p>{$modifications|safe}</p> {foreach from=$data item=item} Loading @@ -8,43 +9,39 @@ <li>{$item.item2|safe}</li> <li>{$item.item3|safe}</li> </ol> <table class="cb attachments fullwidth"> <thead class="expandable-head"> <tr> <td><a class="toggle" href="#">{str tag=example section=cookieconsent}</a></td> </tr> </thead> <tbody class="expandable-body"> <tr class="r1"> <td><p>{str tag=examplebefore section=cookieconsent}</p> </tr> <tr class="r0"> <td>{$item.code1|safe}</td> </tr> <tr class="r1"> <td><p>{str tag=exampleafter section=cookieconsent}</p></td> </tr> <tr class="r0"> <td>{$item.code2|safe}</td> </tr> </tbody> </table> <table class="cb attachments fullwidth"> <thead class="expandable-head"> <tr> <td><a class="toggle" href="#">{str tag=itdidntwork section=cookieconsent}</a></td> </tr> </thead> <tbody class="expandable-body"> <tr class="r1"> <td> <div class="form-group collapsible-group"> <fieldset class="pieform-fieldset collapsible"> <legend> <h4> <a href="#example_{$item.id}" data-toggle="collapse" aria-expanded="true" class="collapsed">{str tag=example section=cookieconsent} <span class="icon icon-chevron-down collapse-indicator right pull-right" role="presentation" aria-hidden="true"></span> </a> </h4> </legend> <div id="example_{$item.id}" class="fieldset-body collapse"> <p>{str tag=examplebefore section=cookieconsent}</p> {$item.code1|safe} {str tag=exampleafter section=cookieconsent} {$item.code2|safe} </div> </fieldset> </div> <div class="last form-group collapsible-group"> <fieldset class="pieform-fieldset last collapsible"> <legend> <h4> <a href="#didnt_work_{$item.id}" data-toggle="collapse" aria-expanded="true" class="collapsed">{str tag=itdidntwork section=cookieconsent} <span class="icon icon-chevron-down collapse-indicator right pull-right" role="presentation" aria-hidden="true"></span> </a> </h4> </legend> <div id="didnt_work_{$item.id}" class="fieldset-body collapse"> <p>{$item.help1|safe}</p> <p>{$item.help2|safe}</p> </td> </tr> </tbody> </table> </div> </fieldset> </div> {/foreach} {include file="footer.tpl"} Loading
htdocs/admin/site/cookieconsent2.php +4 −0 Original line number Diff line number Diff line Loading @@ -150,6 +150,7 @@ CODE; $data = array( 'social' => array( 'id' => '0', 'title' => get_string('cookietypessocial', 'cookieconsent'), 'item1' => get_string('instructiontext1', 'cookieconsent', get_string('cookietypessocial','cookieconsent'), get_string('example1social','cookieconsent')), 'item2' => get_string('instructiontext2-1', 'cookieconsent'), Loading @@ -160,6 +161,7 @@ $data = array( 'help2' => get_string('itdidntwork2', 'cookieconsent', '<a href="http://sitebeam.net/cookieconsent/documentation/code-examples#examples-social" target="_blank">', '</a>', '<a href="http://www.linkedin.com/groups/Cookie-Consent-developers-4980594?trk=groups_management_submission_queue-h-dsc" target="_blank">', '</a>') ), 'analytics' => array( 'id' => '1', 'title' => get_string('cookietypesanalytics', 'cookieconsent'), 'item1' => get_string('instructiontext1', 'cookieconsent', get_string('cookietypesanalytics','cookieconsent'), get_string('example1analytics','cookieconsent')), 'item2' => get_string('instructiontext2-1', 'cookieconsent'), Loading @@ -170,6 +172,7 @@ $data = array( 'help2' => get_string('itdidntwork2', 'cookieconsent', '<a href="http://sitebeam.net/cookieconsent/documentation/code-examples#examples-analytics" target="_blank">', '</a>', '<a href="http://www.linkedin.com/groups/Cookie-Consent-developers-4980594?trk=groups_management_submission_queue-h-dsc" target="_blank">', '</a>') ), 'advertising' => array( 'id' => '2', 'title' => get_string('cookietypesadvertising', 'cookieconsent'), 'item1' => get_string('instructiontext1', 'cookieconsent', get_string('cookietypesadvertising','cookieconsent'), get_string('example1advertising','cookieconsent')), 'item2' => get_string('instructiontext2-1', 'cookieconsent'), Loading @@ -180,6 +183,7 @@ $data = array( 'help2' => get_string('itdidntwork2', 'cookieconsent', '<a href="http://sitebeam.net/cookieconsent/documentation/code-examples#examples-advertising" target="_blank">', '</a>', '<a href="http://www.linkedin.com/groups/Cookie-Consent-developers-4980594?trk=groups_management_submission_queue-h-dsc" target="_blank">', '</a>') ), 'necessary' => array( 'id' => '3', 'title' => get_string('cookietypesnecessary', 'cookieconsent'), 'item1' => get_string('instructiontext1', 'cookieconsent', get_string('cookietypesnecessary','cookieconsent'), get_string('example1necessary','cookieconsent')), 'item2' => get_string('instructiontext2-1', 'cookieconsent'), Loading
htdocs/theme/raw/templates/admin/site/cookieconsent2.tpl +43 −46 Original line number Diff line number Diff line {include file="header.tpl"} <p>{$modifications|safe}</p> {foreach from=$data item=item} Loading @@ -8,43 +9,39 @@ <li>{$item.item2|safe}</li> <li>{$item.item3|safe}</li> </ol> <table class="cb attachments fullwidth"> <thead class="expandable-head"> <tr> <td><a class="toggle" href="#">{str tag=example section=cookieconsent}</a></td> </tr> </thead> <tbody class="expandable-body"> <tr class="r1"> <td><p>{str tag=examplebefore section=cookieconsent}</p> </tr> <tr class="r0"> <td>{$item.code1|safe}</td> </tr> <tr class="r1"> <td><p>{str tag=exampleafter section=cookieconsent}</p></td> </tr> <tr class="r0"> <td>{$item.code2|safe}</td> </tr> </tbody> </table> <table class="cb attachments fullwidth"> <thead class="expandable-head"> <tr> <td><a class="toggle" href="#">{str tag=itdidntwork section=cookieconsent}</a></td> </tr> </thead> <tbody class="expandable-body"> <tr class="r1"> <td> <div class="form-group collapsible-group"> <fieldset class="pieform-fieldset collapsible"> <legend> <h4> <a href="#example_{$item.id}" data-toggle="collapse" aria-expanded="true" class="collapsed">{str tag=example section=cookieconsent} <span class="icon icon-chevron-down collapse-indicator right pull-right" role="presentation" aria-hidden="true"></span> </a> </h4> </legend> <div id="example_{$item.id}" class="fieldset-body collapse"> <p>{str tag=examplebefore section=cookieconsent}</p> {$item.code1|safe} {str tag=exampleafter section=cookieconsent} {$item.code2|safe} </div> </fieldset> </div> <div class="last form-group collapsible-group"> <fieldset class="pieform-fieldset last collapsible"> <legend> <h4> <a href="#didnt_work_{$item.id}" data-toggle="collapse" aria-expanded="true" class="collapsed">{str tag=itdidntwork section=cookieconsent} <span class="icon icon-chevron-down collapse-indicator right pull-right" role="presentation" aria-hidden="true"></span> </a> </h4> </legend> <div id="didnt_work_{$item.id}" class="fieldset-body collapse"> <p>{$item.help1|safe}</p> <p>{$item.help2|safe}</p> </td> </tr> </tbody> </table> </div> </fieldset> </div> {/foreach} {include file="footer.tpl"}