| Server IP : 104.21.25.182 / Your IP : 216.73.216.141 Web Server : Apache System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : nobi37te ( 1003) PHP Version : 8.2.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/nobi37te/public_html/wp-content/themes/buddyboss-theme/lifterlms/certificates/ |
Upload File : |
<?php /** * Single certificate actions. * * @package LifterLMS/Templates/Certificates * * @since 6.0.0 * @version 6.0.0 * * @param LLMS_User_Certificate $certificate Certificate object. * @param string $back_link URL for the back link. * @param string $back_text Text for the back link anchor. * @param boolean $is_shaing_enabled Whether or not sharing is enabled for the certificate. * @param boolean $is_template Whether or not a certificate template is being displayed. */ defined( 'ABSPATH' ) || exit; ?> <div class="llms-print-certificate no-print" id="llms-print-certificate"> <?php if ( ! $is_template ) : ?> <a class="llms-cert-return-link" href="<?php echo esc_url( $back_link ); ?>">← <?php echo esc_attr( $back_text ); ?></a> <?php endif; ?> <button class="llms-button-secondary" onClick="window.print()" type="button"> <?php echo esc_html__( 'Print', 'buddyboss-theme' ); ?> <i class="bb-icon-f bb-icon-printer" aria-hidden="true"></i> </button> <form action="" method="POST"> <button class="llms-button-secondary" type="submit" name="llms_generate_cert"> <?php echo esc_html__( 'Save', 'buddyboss-theme' ); ?> <i class="bb-icon-f bb-icon-cloud-download" aria-hidden="true"></i> </button> <?php if ( ! $is_template ) : ?> <button class="llms-button-secondary" type="submit" name="llms_enable_cert_sharing" value="<?php echo esc_attr( ! $is_sharing_enabled ); ?>"> <?php echo $is_sharing_enabled ? esc_html__( 'Disable sharing', 'buddyboss-theme' ) : esc_html__( 'Enable sharing', 'buddyboss-theme' ); ?> <i class="bb-icon-f bb-icon-share-dots" aria-hidden="true"></i> </button> <?php endif; ?> <input type="hidden" name="certificate_id" value="<?php echo esc_attr( get_the_ID() ); ?>"> <?php wp_nonce_field( 'llms-cert-actions', '_llms_cert_actions_nonce' ); ?> </form> </div>