?> </td> <td align="center"><?php echo isset($user['cnt']) ? intval($user['cnt']) : 0; ?> </td> <td align="center"><?php echo isset($user['acl']) && isset($grp[$user['acl']]['N']) ? cn_htmlspecialchars(ucfirst($grp[$user['acl']]['N'])) : ''; ?> </td> </tr> <?php } } else { ?> <tr><td colspan="5">No users found</td> </tr><?php } ?> </table> <!-- paginate --> <?php cn_snippet_paginate($st, $per_page, count($users)); ?> <div style="text-align: right; margin: 16px 0 0 0;"><a class="external" onclick="<?php echo cn_snippet_open_win(PHP_SELF . '?mod=help§ion=users'); ?> " href="#">Understanding user levels</a></div>
} elseif ($item['type'] == 'image') { ?> <div> <input id="faddm_<?php echo $name; ?> " type="text" style="width: 500px" value="<?php echo isset($item['#value']) ? cn_htmlspecialchars($item['#value']) : ''; ?> " name="faddm[<?php echo $name; ?> ]" /> <a class="external" href="#" onclick="<?php echo cn_snippet_open_win(cn_url_modify('mod=media', 'opt=inline', 'faddm=Y', 'callback=faddm_' . $name), array('w' => 1000)); ?> ">Select resource</a> </div> <?php } elseif ($item['type'] == 'select') { ?> <div style="margin: 4px 0 4px 0;"> <select name="faddm[<?php echo $name; ?> ]"> <?php $opts = spsep($item['meta'], ';');
} } ?> </select> </td> </tr> <tr> <td align="right">Icon</td> <td><input style="width: 350px;" type="text" id="category_icon" name="category_icon" value="<?php echo cn_htmlspecialchars($category_icon); ?> "/> <a class="external" href="#" onclick="<?php echo cn_snippet_open_win(cn_url_modify('mod=media', 'opt=inline', 'faddm=C', 'callback=category_icon'), array('w' => 640)); ?> "> Media manager </a> </td> </tr> <tr> <td>Groups</td> <td> <?php foreach ($groups as $id => $name) { ?> <input type="checkbox" name="category_acl[]" <?php if ($category_acl && in_array($id, $category_acl)) {
<input type="submit" name="delete" value="Delete" /> <?php } else { ?> <input type="submit" name="reset" value="Reset" /> <?php } ?> <?php echo cn_htmlspecialchars(ucfirst($template)); ?> </div> <?php } ?> </form> <div style="text-align: right; margin: 16px 0 0 0"> <a href="#" onclick="<?php echo cn_snippet_open_win(PHP_SELF . '?mod=help§ion=templates'); ?> " class="external">Understanding Templates</a> <a href="#" onclick="<?php echo cn_snippet_open_win(PHP_SELF . '?mod=help§ion=tplvars', array('w' => 720, 'h' => 640, 'l' => 'auto')); ?> " class="external">Template variables</a> </div>
<td><?php echo cn_htmlspecialchars($u); ?> </td> <td> <?php if (is_array($v)) { echo '<a href="' . cn_url_modify('path=' . $path . '/' . $u) . '">click to expand →</a>'; $edit = FALSE; } elseif (is_numeric($v)) { echo $v; $edit = TRUE; } elseif (strlen($v) > 128) { echo cn_htmlspecialchars(clever_truncate($v, 128)); $edit = TRUE; } else { echo cn_htmlspecialchars($v); $edit = TRUE; } if ($edit) { echo ' [<a href="#" onclick="' . cn_snippet_open_win(cn_url_modify('edit=' . $u), array('w' => 800, 'h' => 550, 'l' => 'auto')) . '" class="external">edit</a>]'; } ?> </td> </tr> <?php } ?> </table>
<tr> <td><b>Static Include:</b></td> <td rowspan="2" align="center"><input type="checkbox" <?php if (REQ('w_static')) { echo "checked=''"; } ?> value="yes" name="w_static"></td> </tr> <tr> <td style="padding-left:10px;"> <i>if Yes, the news will be displayed but will not show the full story and comment pages when requested. useful for <a href="#" onclick="<?php echo cn_snippet_open_win(PHP_SELF . '?mod=help§ion=multiple_includes'); ?> ">multiple includes</a>.</i> </td> </tr> <tr> <td colspan="2" style="border-top:1px solid gray; text-align: right; padding: 10px;"> <input type="submit" style="font-weight:bold;" value="Proceed to Integration >>"> </td> </tr> </table> <?php } elseif ($sub == 'rss') {
<br/> <div class="panel"> <input type="submit" value="Save changes" /> <select name="snippet"> <?php foreach ($__list as $id => $_t) { echo '<option ' . ($id == $__snippet ? 'selected' : '') . '>' . cn_htmlspecialchars($id) . '</option>'; } ?> </select> <input type="submit" name="select" value="Select" /> <input type="text" value="" name="create" style="width: 250px;"/> <input type="submit" value="Create new" /> <?php if ($__can_delete) { ?> <input type="submit" name="delete" value="Delete snippet" /> <?php } ?> </div> </form> <p style="text-align: right;"><a href="#" onclick="<?php echo cn_snippet_open_win(cn_url_modify(array('reset'), 'mod=help', 'section=snippets')); ?> " class="external">Understanding snippets</a></p>
global $callback; ?> <a href="#" title="Bold" onclick="return(bb_wrap('<?php echo $callback; ?> ', 'b'));"><img src="skins/images/format-bold.png" /></a> <a href="#" title="Italic" onclick="return(bb_wrap('<?php echo $callback; ?> ', 'i'));"><img src="skins/images/format-italic.png" /></a> <a href="#" title="Underline" onclick="return(bb_wrap('<?php echo $callback; ?> ', 'u'));"><img src="skins/images/format-underline.png" /></a> <a href="#" title="Quote" onclick="return(bb_wrap('<?php echo $callback; ?> ', 'quote'));"><img src="skins/images/format-quote.png" /></a> <a href="#" title="Insert image" onclick="<?php echo cn_snippet_open_win(PHP_SELF . '?mod=media&opt=inline&imgopts=yes&callback=' . $callback . '&style=add', array('w' => 1000, 'h' => 640, 'l' => 'auto')); ?> " target="_blank"><img src="skins/images/format-insert_image.png" /> Image</a> <a href="#" title="BB-code" onclick="<?php echo cn_snippet_open_win(PHP_SELF . '?mod=help&action=code&target_id=' . $callback, array('w' => 480, 'h' => 320, 't' => 240, 'l' => 'auto')); ?> " target="_blank"><img src="skins/images/format-bb.png" /> bb-code</a> <?php echo insert_smilies($callback, 40, true);