Exemplo n.º 1
0
if (!$is_repl_opt) {
    ?>
<div style="color:#FF0000; font-size: 10px;">
    For working word replacement need turn on option: Use word replace module.<br/>
    For more information contact with site administrator.
</div>
<?php 
}
?>
<form action="<?php 
echo PHP_SELF;
?>
" method="POST">

    <?php 
cn_form_open('mod, opt');
?>
    <table class="std-table" width="100%">
        <tr><th>Word</th> <th>Replace</th></tr>

        <?php 
if (is_array($wlist) && $wlist) {
    foreach ($wlist as $name => $var) {
        ?>

            <tr <?php 
        if ($word == $name) {
            echo 'class="row_selected"';
        }
        ?>
>
Exemplo n.º 2
0
</div>

<br/>

<?php 
// ---------------------------------------------------------------------------------------------------------------
?>

<form action="<?php 
echo PHP_SELF;
?>
" method="POST">

    <?php 
cn_form_open('mod, source, archive_id');
?>
    <input type="hidden" name="action" value="massaction">

    <table width="100%" class="std-table">
    <tr valign="top">

        <!-- Browse periods -->
        <td style="background: #f8f8f8; border: 0; display: block;" id="browse_dates">

            <!-- news list -->
            <table class="std-table" width="100%">
                <tr><th><nobr><a href="<?php 
echo cn_url_modify('mod=editnews', 'mon,day,year,archive_id');
?>
">All periods</a></nobr></th></tr>
Exemplo n.º 3
0
<?php

list($users, $section, $st, $per_page, $grp) = _GL('users, section, st, per_page, grp');
list($user_name, $user_nick, $user_email, $user_acl, $is_edit) = _GL('user_name, user_nick, user_email, user_acl, is_edit');
cn_snippet_messages();
cn_snippet_bc();
?>

<form action="<?php 
echo PHP_SELF;
?>
" method="POST">

    <?php 
cn_form_open('mod, opt, section');
?>

    <!-- add / modify form -->
    <table class="panel" width="100%">

        <tr>
            <td align="right">Username <span class="required">*</span></td>
            <td><input type="text" name="user_name" style="width: 350px;" value="<?php 
echo cn_htmlspecialchars($user_name);
?>
"/></td>
        </tr>

        <tr>
            <td align="right">Password <?php 
if (!$user_name || $user_name && !$is_edit) {
Exemplo n.º 4
0
        </select>
        <input type="submit" value="Select" />
    </p>
</form>

<!-- operations -->
<?php 
if ($lang_token) {
    ?>

    <form action="<?php 
    echo PHP_SELF;
    ?>
" method="POST">
        <?php 
    cn_form_open('mod, opt, lang_token, exid');
    ?>
        <input type="hidden" name="modifica" value="Y" />

        <table class="panel" width="100%">

            <?php 
    if ($exid) {
        ?>
                <tr>
                    <td align="right"><input type="checkbox" name="create_phrase" value="Y" /></td>
                    <td>Create new phrase</td>
                </tr>
            <?php 
    }
    ?>
Exemplo n.º 5
0
<?php

list($version, $sample_id, $codepage, $preview_html, $old_dir) = _GL('version, sample_id, codepage, preview_html, old_dir');
cn_snippet_messages();
?>

<form action="<?php 
echo PHP_SELF;
?>
" method="POST">

    <?php 
cn_form_open('mod', 'opt');
?>

    <table>
        <tr>
            <td align="right">Migrate from <span class="required">*</span></td>
            <td>
                <select name="version">
                    <option <?php 
if ($version == '2.0.x') {
    echo 'selected';
}
?>
>2.0.x</option>
                    <option <?php 
if ($version == '1.5.x') {
    echo 'selected';
}
?>
Exemplo n.º 6
0
    <div style="float: right">
        <a href="#" onclick="return(add_file_node());">Add another file input box</a>
        <input style="vertical-align: middle;" type="checkbox" name="overwrite" value="Y"> Overwrite
        <input type="submit" name="upload" value="Upload file(s)"/>
    </div>

    <div id="file_node"><input type="file" name="upload_file[]" /></div>
    <br/>
</form>

<!-- MEDIA FILES -->
<form action="<?php 
echo PHP_SELF;
?>
" method="POST"><?php 
cn_form_open($KeepString);
?>

    <table class="std-table wide" width="100%">
        <tr><th>ICON</th><th width="400px">Image</th> <th>Width, px</th> <th>Height, px</th> <th>Size, kb.</th> <th><input type="checkbox" name="master_box" title="Check All" onclick="check_uncheck_all('rm[]');" /></th></tr>

        <!-- make UP button -->
        <?php 
if ($cp) {
    $prev_folder = join(DIRECTORY_SEPARATOR, array_slice($cp, 0, -1));
    ?>
<tr><td align="center">&nbsp;</td><td colspan="5"><a href="<?php 
    echo cn_url_modify("folder={$prev_folder}");
    ?>
">..</a></td> </tr>
Exemplo n.º 7
0
    if (getoption('ckeditor2template')) {
        cn_snippet_ckeditor('template_text');
    }
    ?>

    <?php 
}
?>

    <!-- template actions -->
    <?php 
if ($template) {
    ?>

        <?php 
    cn_form_open('mod, opt, template, sub');
    ?>
        <div class="panel">
            <input type="submit" value="Save template" />
            <input type="text" style="width: 250px;" name="template_name" value="" />
            <input type="submit" name="create" value="Clone template" />

            <?php 
    if ($can_delete) {
        ?>
                <input type="submit" name="delete" value="Delete" />
             <?php 
    } else {
        ?>
                <input type="submit" name="reset" value="Reset" />
            <?php 
Exemplo n.º 8
0
    ?>
</td>
        </tr>

    <?php 
}
?>
</table>

<form action="<?php 
echo PHP_SELF;
?>
" method="POST">

    <?php 
cn_form_open('mod, opt, archive_id');
?>

    <hr/>
    <table class="panel">

        <?php 
if (!$archive_id) {
    ?>

            <tr>
                <td>From</td>
                <td>
                    <select name="from_date_day"><?php 
    echo $f_date_d;
    ?>
Exemplo n.º 9
0
    echo ucfirst($ID);
    ?>
</a></li>
    <?php 
}
?>
</ul>
<div style="clear: both;"></div>

<form action="<?php 
echo PHP_SELF;
?>
" method="POST">

    <?php 
cn_form_open('mod, opt, sub');
?>

    <table class="std-table opt_table">
        <tr><th>Option name</th> <th>Configuration parameter</th></tr>

    <?php 
foreach ($options as $opt_id => $opt_vars) {
    if ($opt_vars[0] == 'title') {
        echo '<tr class="o_heading"><td colspan="2">' . $opt_vars['title'] . '</td></tr>';
        continue;
    }
    ?>
        <tr<?php 
    if ($odd++ % 2) {
        echo ' style="background: #f8f8f8;"';
Exemplo n.º 10
0
        echo ucfirst($plugin['name']);
        ?>
</a></li>
    <?php 
    }
    ?>
</div>

<div class="widget-settings">
    <form action="<?php 
    echo PHP_SELF;
    ?>
" method="POST">

        <?php 
    cn_form_open('mod, opt, selected');
    ?>

        <?php 
    if ($widget_current) {
        ?>

            <h1>Widget "<?php 
        echo ucfirst($widget_current);
        ?>
" settings</h1>
            <input type="hidden" name="widget_name" value="<?php 
        echo $widget_current;
        ?>
" />
Exemplo n.º 11
0
                <div style="height: 8px"></div>
            </div>        
        <?php 
    }
    ?>
    <?php 
}
?>

<form method="post" action="<?php 
echo PHP_SELF;
?>
">

    <?php 
cn_form_open('mod, action, archive_id, source');
?>
    <input type="hidden" name="id" value="<?php 
echo intval($id);
?>
" />

    <div class="section">
        <div class="name">Article title<?php 
if (!getoption('disable_title')) {
    echo ' <span class="req">*</span>';
}
?>
</div>
        <div><input type="text" style="width: 100%" value="<?php 
echo cn_htmlspecialchars($vTitle);
Exemplo n.º 12
0
<?php

if ($__saved) {
    ?>
<div style="padding: 8px; background: #40e040;"><b>Changes saved</b></div><?php 
}
?>
<div style="padding: 8px; background: #f0f0f0;"><b>Edit path:</b> <?php 
echo $__path . '/' . $__edit;
?>
</div>
<form action="<?php 
echo PHP_SELF;
?>
" method="POST">
    <?php 
cn_form_open('opt, mod, sub, path, edit');
?>
    <div><textarea name="save_conf" style="width: 790px; height: 400px;"><?php 
echo cn_htmlspecialchars($__template);
?>
</textarea></div>
    <div><input type="submit" value="Save changes" /></div>
</form>