foreach ($exts as $ext => $ext_info) { $ext_cnt = !$extm->is_activated($ext); ?> <?php if ($extm->is_activated($ext)) { ?> <tr class="inactive"> <th class="check-column"> <input type="checkbox" name="ext_chk[]" value="<?php echo $ext; ?> " /> </th> <td class="plugin-title"> <strong><?php rf_e($ext_info['Name']); ?> </strong> </td> <td class="column-description desc"> <?php // Item description $description = '<div class="plugin-description"><p>' . rf__($ext_info['Description']) . '</p></div>'; // Item info $class = $ext_cnt ? 'inactive' : 'active'; $version = $ext_info['Version'] ? __('Version', 'framework') . ': ' . $ext_info['Version'] : ''; if ($ext_info['Author']) { $author = ' | By ' . $ext_info['Author']; if ($ext_info['AuthorURI']) { $author = ' | By <a href="' . $ext_info['AuthorURI'] . '" title="' . __('Visit author homepage', 'framework') . '">' . $ext_info['Author'] . '</a>'; }
?> </strong> (<?php echo __('Version', 'framework') . ': ' . $extension->Version; ?> )<hr> <?php rf_e($extension->Description); ?> </div> </td> <td class="vers column-version"><?php echo $extension->Version; ?> </td> <td class="desc column-description"><?php rf_e($extension->Description); ?> </td> </tr> <?php } } else { echo '<tr><td colspan="3">' . __('Extensions not found', 'framework') . '</td></tr>'; } ?> </tbody> <tfoot> <tr> <th scope="col" class="manage-column column-name" style=""><?php
function settings_save_button($text = 'Save', $class = 'button') { $this->keys = isset($this->keys) ? $this->keys : array(); $keys = implode(',', (array) $this->keys); $import_key = !is_array($this->get_val('import_key')) ? $this->get_val('import_key') : ''; $ancestor_key = !is_array($this->get_val('ancestor_key')) ? $this->get_val('ancestor_key') : ''; ?> <input type="hidden" name='version_key' value='<?php echo $this->get_version_id(); ?> ' /> <input type="hidden" name='import_key' value='<?php echo $import_key; ?> ' /> <input type="hidden" name='ancestor_key' value='<?php echo $ancestor_key; ?> ' /> <input type="hidden" name='originating_keys' value='<?php echo $keys; ?> ' /> <input type="hidden" name='action' value='save' /> <p class="submit"> <input type="submit" class='<?php echo $class; ?> ' value='<?php rf_e($text); ?> ' /> </p> </form> <?php }
foreach ($headers as $key => $values) { $trClass = $count % 2 == 0 ? 'active alt' : 'active'; ?> <tr class="<?php echo $trClass; ?> "> <td class="row-title"> <a href="<?php echo $this->self_url('edit-header'); ?> &alias=<?php echo $values['alias']; ?> "><strong><?php rf_e($values['title']); ?> </strong></a> </td> <td class="column-description" style="text-align:right;"> <a href="<?php echo $this->self_url('edit-header'); ?> &alias=<?php echo $values['alias']; ?> "><?php _e('Edit', 'framework'); ?> </a> | <a style="color: #BC0B0B;" href="<?php
<form method="post" action="<?php echo $action_url_yes; ?> " style="display:inline;"> <p> <?php echo __('You are about to remove the following', 'framework') . ' ' . rf__($item_confirm) . ':'; ?> <ul class="ul-disc"> <li><?php rf_e($item_title); ?> </li> </ul> <?php echo __('Are you sure you want to delete this', 'framework') . ' ' . rf__($item_confirm) . '?'; ?> </p> <?php submit_button(__('Yes, Delete this', 'framework') . ' ' . rf__($item_confirm), 'button', 'submit', false); ?> </form> <form method="post" action="<?php echo $action_url_no; ?> " style="display:inline;"> <?php submit_button(__('No, Return me to the', 'framework') . ' ' . rf__($item_confirm) . ' ' . __('list', 'framework'), 'button', 'submit', false); ?> </form>
echo isset($layout) ? $layout['alias'] : ''; ?> "> <!-- BEGIN - LAYOUT MANAGER --> <br> <div> <div id="titlediv"> <div id="titlewrap"> <label class="hide-if-no-js" style="visibility: hidden; " id="title-prompt-text" for="title"><?php _e('Enter title here', 'framework'); ?> </label> <input type="text" name="post_title" size="30" tabindex="1" value="<?php rf_e($layout['title']); ?> " id="title" autocomplete="off"> </div> </div> <h3 id="big-header" class="layout-heading"><?php _e('HEADER', 'framework'); ?> </h3> <div id="HeaderWrapper"> <div class="control-bar"> <div id="HeaderAddNew"> <a href="#add_header" id="AddHeader" class="button"><?php _e('Add New', 'framework'); ?>
</td> <td class="column-alias"> <p><?php echo $values['alias']; ?> </p> </td> <td class="column-shortcode"> <p>[sidebar alias="<?php echo $values['alias']; ?> "]</p> </td> <td class="column-description"> <p><?php rf_e($values['description']); ?> </p> </td> <td class="column-description"> <p> <a href="<?php echo $this->self_url('edit-sidebar'); ?> &alias=<?php echo $values['alias']; ?> "><?php _e('Edit', 'framework'); ?> </a> |