XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
rmc_aw_bknew.php
Go to the documentation of this file.
1 <div id="bks-wnew" class="bkbk_forms">
2  <label><?php _e('Block','rmcommon'); ?></label>
3  <select name="bk_module" id="bk-module">
4  <option value=""><?php _e('Select block...','rmcommon'); ?></option>
5  <?php foreach($blocks as $dir => $block): ?>
6  <?php if(!empty($block['blocks'])): ?><option value="" style="font-weight: bold;" disabled="disabled" class="disabled"><?php echo $block['name']; ?></option><?php endif; ?>
7  <?php foreach($block['blocks'] as $id => $bk): ?>
8  <option value="<?php echo $dir; ?>-<?php echo $id; ?>">&mdash; <?php echo $bk['name']; ?></option>
9  <?php endforeach; ?>
10  <?php endforeach; ?>
11  </select>
12  <input type="button" id="add-now-btn" value="<?php _e('Add Block','rmcommon'); ?>" />
13 </div>