public function renderAviaryConfigurationForm() { $values = N2ImageAviary::loadSettings(); $form = new N2Form($this->appType); $form->loadArray($values); $form->loadXMLFile(N2Loader::getPath('models', 'system') . '/forms/aviary.xml'); echo N2Html::openTag("form", array("id" => "nextend-config", "method" => "post", "action" => N2Request::getRequestUri())); $form->render('aviary'); echo N2Html::closeTag("form"); }
n2_e('Fill the captcha'); ?> </li> <li><?php n2_e('Click the "ADD APPLICATION" button'); ?> </li> <li><?php n2_e('Then you can copy and paste your Client ID and Client secret to this form and Save it'); ?> </li> </ol> </div> </div> <?php $values = N2ImageAviary::loadSettings(); if ($values['public'] && $values['secret']) { ?> <div class="n2-form-tab "> <div class="n2-h2 n2-content-box-title-bg"><?php n2_e('High resolution feature'); ?> </div> <div class="n2-description"> <p><?php n2_e('By default Aviary is limited in the image size up to 1 megapixel. If you would like to edit bigger images, you can ask them (it\'s free) to enable high resolution image support on your app. '); ?> </p> <a class="n2-button n2-button-big n2-button-green" href="mailto:websupport@creativesdk.zendesk.com?Subject=Web%20High%20Resolution%20Upgrade%20Inquiry&Body=Hello%2C%0AI%20would%20like%20to%20ask%20you%20to%20enable%20high%20resolution%20image%20support%20on%20my%20app.%0AMy%20Client%20id%20is%3A%20<?php