コード例 #1
0
ファイル: edit.php プロジェクト: skaligotla/PodcastGenerator
			<input name="countdown" class="readonlyinput" type="text" value="255" class ="alert" size="3" readonly> ' . _("characters left") . '</span> 
			<br /><br />';
            ### INCLUDE CATEGORIES FORM
            if ($categoriesenabled == "yes") {
                // if categories are enabled in config.php
                include "{$absoluteurl}" . "core/admin/showcat.php";
            }
            //else { // if categories are disabled, then use an empty value
            //$PG_mainbody .= '<input type="hidden" name="category[0]" value="">';
            //	}
            ### END CATEGORIES FORM
            $PG_mainbody .= '
							<br /><br />
							<label>' . _("Change the episode date") . '</label>
							<span class="alert alert-warning">' . _("The episodes of your podcast are automatically sorted by date. Changing the date of this episode will change its order in the podcast feed. If you specify a date in future, your episode won't be shown till then.") . '</span><br /><br />
							' . CreaFormData("", $episodedate, $dateformat);
            //dateformat is taken from config.php
            $PG_mainbody .= '<br /><br />';
            $PG_mainbody .= _("Fields marked with * are required.") . '
				
				';
            //	$PG_mainbody .= '<p><input type="checkbox" value="'._("add extra information to this episode").'" onClick="javascript:Effect.toggle(\'main\',\'appear\');">'._("add extra information to this episode").'</p>';
            $PG_mainbody .= '</fieldset>
			</div>';
            $PG_mainbody .= '
			 <div class="span5 col-md-5">

				<fieldset>
				<legend><b>' . _("Extras") . '</b></legend>

				<label for="long_description">' . _("Long Description") . '</label>
コード例 #2
0
    ### INCLUDE CATEGORIES FORM
    if ($categoriesenabled == "yes") {
        // if categories are enabled in config.php
        include "{$absoluteurl}" . "core/admin/showcat.php";
    }
    //else { // if categories are disabled, then use an empty value
    //$PG_mainbody .= '<input type="hidden" name="category[0]" value="">';
    //	}
    ### END CATEGORIES FORM
    //	$PG_mainbody .=  '<a href="javascript:;" onclick="$(\'#dateForm\').fadeToggle();"> '._("Publication Date").'</a><br />';
    //	$PG_mainbody .= '<div id="dateForm" style="display:none;">HERE THE DATE FORM</div>';
    $PG_mainbody .= '
			<br /><br />
			<label>' . _("Publication Date") . '</label>
			<span class ="alert">' . _("The form below reports the current time and date of the server. If you specify a date in future, your episode won't be shown till then.") . '</span><br /><br />
			' . CreaFormData("", time(), $dateformat);
    //dateformat is taken from config.php
    $PG_mainbody .= '<br /><br />';
    $PG_mainbody .= _("Fields marked with * are required.") . '
				
				';
    //	$PG_mainbody .= '<p><input type="checkbox" value="'._("add extra information to this episode").'" onClick="javascript:Effect.toggle(\'main\',\'appear\');">'._("add extra information to this episode").'</p>';
    $PG_mainbody .= '</fieldset>
			</div>';
    $PG_mainbody .= '
			 <div class="span5 col-md-5">

				<fieldset>
				<legend><b>' . _("Extras") . '</b></legend>

				<label for="long_description">' . _("Long Description") . '</label>