当前位置: 首页>>代码示例>>PHP>>正文


PHP josSpoofValue函数代码示例

本文整理汇总了PHP中josSpoofValue函数的典型用法代码示例。如果您正苦于以下问题:PHP josSpoofValue函数的具体用法?PHP josSpoofValue怎么用?PHP josSpoofValue使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了josSpoofValue函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: _EDIT

 /**
  * Draws the menu to edit a menu item
  */
 function _EDIT()
 {
     global $id;
     if (!$id) {
         $cid = josGetArrayInts('cid');
         $id = $cid[0];
     }
     $menutype = strval(mosGetParam($_REQUEST, 'menutype', 'mainmenu'));
     mosMenuBar::startTable();
     if (!$id) {
         $link = 'index2.php?option=com_menus&menutype=' . $menutype . '&task=new&hidemainmenu=1&' . josSpoofValue() . '=1';
         mosMenuBar::back('Back', $link);
         mosMenuBar::spacer();
     }
     mosMenuBar::save();
     mosMenuBar::spacer();
     mosMenuBar::apply();
     mosMenuBar::spacer();
     if ($id) {
         // for existing content items the button is renamed `close`
         mosMenuBar::cancel('cancel', 'Close');
     } else {
         mosMenuBar::cancel();
     }
     mosMenuBar::spacer();
     mosMenuBar::help('screen.menus.edit');
     mosMenuBar::endTable();
 }
开发者ID:patricmutwiri,项目名称:joomlaclube,代码行数:31,代码来源:toolbar.menus.html.php

示例2: showInstalledMambots


//.........这里部分代码省略.........
				Autor
				</th>
				<th width="5%" align="center">
				Versão
				</th>
				<th width="10%" align="center">
				Data
				</th>
				<th width="15%" align="left">
				E-mail do Autor
				</th>
				<th width="15%" align="left">
				URL do Autor
				</th>
			</tr>
			<?php 
            $rc = 0;
            $n = count($rows);
            for ($i = 0; $i < $n; $i++) {
                $row =& $rows[$i];
                ?>
				<tr class="<?php 
                echo "row{$rc}";
                ?>
">
					<td>
					<input type="radio" id="cb<?php 
                echo $i;
                ?>
" name="cid[]" value="<?php 
                echo $row->id;
                ?>
" onclick="isChecked(this.checked);">
					<span class="bold">
					<?php 
                echo $row->name;
                ?>
					</span>
					</td>
					<td>
					<?php 
                echo $row->folder;
                ?>
					</td>
					<!--
					Currently Unsupported
					<td>
					<?php 
                //echo $row->client_id == "0" ? 'Site' : 'Administrator';
                ?>
					</td>
					-->
					<td>
					<?php 
                echo @$row->author != '' ? $row->author : "&nbsp;";
                ?>
					</td>
					<td align="center">
					<?php 
                echo @$row->version != '' ? $row->version : "&nbsp;";
                ?>
					</td>
					<td align="center">
					<?php 
                echo @$row->creationdate != '' ? $row->creationdate : "&nbsp;";
                ?>
					</td>
					<td>
					<?php 
                echo @$row->authorEmail != '' ? $row->authorEmail : "&nbsp;";
                ?>
					</td>
					<td>
					<?php 
                echo @$row->authorUrl != "" ? "<a href=\"" . (substr($row->authorUrl, 0, 7) == 'http://' ? $row->authorUrl : 'http://' . $row->authorUrl) . "\" target=\"_blank\">{$row->authorUrl}</a>" : "&nbsp;";
                ?>
					</td>
				</tr>
				<?php 
                $rc = 1 - $rc;
            }
            ?>
			</table>

			<input type="hidden" name="task" value="" />
			<input type="hidden" name="boxchecked" value="0" />
			<input type="hidden" name="option" value="com_installer" />
			<input type="hidden" name="element" value="mambot" />
			<input type="hidden" name="<?php 
            echo josSpoofValue();
            ?>
" value="1" />
		</form>
			<?php 
        } else {
            ?>
			Não há plugins personalizados instalados.
			<?php 
        }
    }
开发者ID:patricmutwiri,项目名称:joomlaclube,代码行数:101,代码来源:mambot.html.php

示例3: copySection

    /**
     * Form to select Section/Category to copys item(s) to
     */
    function copySection($option, $cid, $sectCatList, $sectionid, $items)
    {
        ?>
		<script language="javascript" type="text/javascript">
		function submitbutton(pressbutton) {
			var form = document.adminForm;
			if (pressbutton == 'cancel') {
				submitform( pressbutton );
				return;
			}

			// do field validation
			if (!getSelectedValue( 'adminForm', 'sectcat' )) {
				alert( "Por favor, selecione um seção/categoria para mover os artigos" );
			} else {
				submitform( pressbutton );
			}
		}
		</script>
		<form action="index2.php" method="post" name="adminForm">
		<br />
		<table class="adminheading">
		<tr>
			<th class="edit">
			Copiar itens de conteúdo
			</th>
		</tr>
		</table>

		<br />
		<table class="adminform">
		<tr>
			<td align="left" valign="top" width="40%">
			<strong>Copiar para Seção/Categoria:</strong>
			<br />
			<?php 
        echo $sectCatList;
        ?>
			<br /><br />
			</td>
			<td align="left" valign="top">
			<strong>Itens que serão copiados:</strong>
			<br />
			<?php 
        echo "<ol>";
        foreach ($items as $item) {
            echo "<li>" . $item->title . "</li>";
        }
        echo "</ol>";
        ?>
			</td>
		</tr>
		</table>
		<br /><br />

		<input type="hidden" name="option" value="<?php 
        echo $option;
        ?>
" />
		<input type="hidden" name="sectionid" value="<?php 
        echo $sectionid;
        ?>
" />
		<input type="hidden" name="task" value="" />
		<?php 
        foreach ($cid as $id) {
            echo "\n<input type=\"hidden\" name=\"cid[]\" value=\"{$id}\" />";
        }
        ?>
		<input type="hidden" name="<?php 
        echo josSpoofValue();
        ?>
" value="1" />
		</form>
		<?php 
    }
开发者ID:patricmutwiri,项目名称:joomlaclube,代码行数:79,代码来源:admin.content.html.php

示例4: edit


//.........这里部分代码省略.........
					<td width="10%" align="right">URL:</td>
					<td width="80%">
                    <?php 
        echo ampReplace($lists['link']);
        ?>
					</td>
				</tr>
				<tr>
					<td align="right">Parent Item:</td>
					<td>
					<?php 
        echo $lists['parent'];
        ?>
					</td>
				</tr>

				<tr>
					<td valign="top" align="right">Ordering:</td>
					<td>
					<?php 
        echo $lists['ordering'];
        ?>
					</td>
				</tr>
				<tr>
					<td valign="top" align="right">Access Level:</td>
					<td>
					<?php 
        echo $lists['access'];
        ?>
					</td>
				</tr>
				<tr>
					<td valign="top" align="right">Published:</td>
					<td>
					<?php 
        echo $lists['published'];
        ?>
					</td>
				</tr>
				<tr>
					<td colspan="2">&nbsp;</td>
				</tr>
				</table>
			</td>
			<td width="40%">
				<table class="adminform">
				<tr>
					<th>
					Parameters
					</th>
				</tr>
				<tr>
					<td>
					<?php 
        if ($menu->id) {
            echo $params->render();
        } else {
            ?>
						<strong>Parameter list will be available once you save this New menu item</strong>
						<?php 
        }
        ?>
					</td>
				</tr>
				</table>
			</td>
		</tr>
		</table>

		<input type="hidden" name="option" value="<?php 
        echo $option;
        ?>
" />
		<input type="hidden" name="id" value="<?php 
        echo $menu->id;
        ?>
" />
		<input type="hidden" name="link" value="" />
		<input type="hidden" name="menutype" value="<?php 
        echo $menu->menutype;
        ?>
" />
		<input type="hidden" name="type" value="<?php 
        echo $menu->type;
        ?>
" />
		<input type="hidden" name="task" value="" />
		<input type="hidden" name="hidemainmenu" value="0" />
		<input type="hidden" name="<?php 
        echo josSpoofValue();
        ?>
" value="1" />
		</form>
		<script language="Javascript" src="<?php 
        echo $mosConfig_live_site;
        ?>
/includes/js/overlib_mini.js"></script>
		<?php 
    }
开发者ID:jwest00724,项目名称:Joomla-1.0,代码行数:101,代码来源:components.menu.html.php

示例5: edit


//.........这里部分代码省略.........
        ?>
					</td>
				</tr>
				<tr>
					<td align="right">
					Parent Item:
					</td>
					<td>
					<?php 
        echo $lists['parent'];
        ?>
					</td>
				</tr>
				<tr>
					<td valign="top" align="right">
					Ordering:
					</td>
					<td>
					<?php 
        echo $lists['ordering'];
        ?>
					</td>
				</tr>
				<tr>
					<td valign="top" align="right">
					Access Level:
					</td>
					<td>
					<?php 
        echo $lists['access'];
        ?>
					</td>
				</tr>
				<tr>
					<td valign="top" align="right">Published:</td>
					<td>
					<?php 
        echo $lists['published'];
        ?>
					</td>
				</tr>
				<tr>
					<td colspan="2">&nbsp;</td>
				</tr>
				</table>
			</td>
			<td width="40%">
				<table class="adminform">
				<tr>
					<th>
					Parameters
					</th>
				</tr>
				<tr>
					<td>
					<?php 
        echo $params->render();
        ?>
					</td>
				</tr>
				</table>
			</td>
		</tr>
		</table>

		<input type="hidden" name="scid" value="<?php 
        echo $menu->componentid;
        ?>
" />
		<input type="hidden" name="option" value="<?php 
        echo $option;
        ?>
" />
		<input type="hidden" name="id" value="<?php 
        echo $menu->id;
        ?>
" />
		<input type="hidden" name="link" value="" />
		<input type="hidden" name="menutype" value="<?php 
        echo $menu->menutype;
        ?>
" />
		<input type="hidden" name="type" value="<?php 
        echo $menu->type;
        ?>
" />
		<input type="hidden" name="task" value="" />
		<input type="hidden" name="componentid" value="" />
		<input type="hidden" name="hidemainmenu" value="0" />
		<input type="hidden" name="<?php 
        echo josSpoofValue();
        ?>
" value="1" />
		</form>
		<script language="Javascript" src="<?php 
        echo $mosConfig_live_site;
        ?>
/includes/js/overlib_mini.js"></script>
		<?php 
    }
开发者ID:jwest00724,项目名称:Joomla-1.0,代码行数:101,代码来源:content_typed.menu.html.php

示例6: elseif

        ?>
			<input type="hidden" value="login" name="op2" />
			<input type="hidden" value="<?php 
        echo $return;
        ?>
" name="return" />
		  	<br/>
			<input type="submit" value="<?php 
        echo $VM_LANG->_('BUTTON_LOGIN');
        ?>
" class="button" name="Login" />
			<?php 
        if (vmIsJoomla(1.5)) {
            $validate = JUtility::getToken();
        } elseif (function_exists('josspoofvalue')) {
            $validate = josSpoofValue(1);
        } else {
            // used for spoof hardening
            $validate = vmSpoofValue(1);
        }
        ?>
			<input type="hidden" name="<?php 
        echo $validate;
        ?>
" value="1" />
			</form>
		  </td>
		</tr>
		<tr>
		  <td colspan="2">
			<a href="<?php 
开发者ID:dalinhuang,项目名称:joomla-goods-china,代码行数:31,代码来源:mod_virtuemart.php

示例7: registerForm

    function registerForm($option, $useractivation)
    {
        // used for spoof hardening
        $validate = josSpoofValue();
        ?>
		<script language="javascript" type="text/javascript">
		function submitbutton_reg() {
			var form = document.mosForm;
			var r = new RegExp("[\<|\>|\"|\'|\%|\;|\(|\)|\&|\+|\-]", "i");

			// do field validation
			if (form.name.value == "") {
				alert( "<?php 
        echo addslashes(html_entity_decode(_REGWARN_NAME));
        ?>
" );
			} else if (form.username.value == "") {
				alert( "<?php 
        echo addslashes(html_entity_decode(_REGWARN_UNAME));
        ?>
" );
			} else if (r.exec(form.username.value) || form.username.value.length < 3) {
				alert( "<?php 
        printf(addslashes(html_entity_decode(_VALID_AZ09_USER)), addslashes(html_entity_decode(_PROMPT_UNAME)), 2);
        ?>
" );
			} else if (form.email.value == "") {
				alert( "<?php 
        echo addslashes(html_entity_decode(_REGWARN_MAIL));
        ?>
" );
			} else if (form.password.value.length < 6) {
				alert( "<?php 
        echo addslashes(html_entity_decode(_REGWARN_PASS));
        ?>
" );
			} else if (form.password2.value == "") {
				alert( "<?php 
        echo addslashes(html_entity_decode(_REGWARN_VPASS1));
        ?>
" );
			} else if ((form.password.value != "") && (form.password.value != form.password2.value)){
				alert( "<?php 
        echo addslashes(html_entity_decode(_REGWARN_VPASS2));
        ?>
" );
			} else if (r.exec(form.password.value)) {
				alert( "<?php 
        printf(addslashes(html_entity_decode(_VALID_AZ09)), addslashes(html_entity_decode(_REGISTER_PASS)), 6);
        ?>
" );
			} else {
				form.submit();
			}
		}
		</script>
		<form action="index.php" method="post" name="mosForm">

		<div class="componentheading">
			<?php 
        echo _REGISTER_TITLE;
        ?>
		</div>

		<table cellpadding="0" cellspacing="0" border="0" width="100%" class="contentpane">
		<tr>
			<td colspan="2"><?php 
        echo _REGISTER_REQUIRED;
        ?>
</td>
		</tr>
		<tr>
			<td width="30%">
				<?php 
        echo _REGISTER_NAME;
        ?>
 *
			</td>
		  	<td>
		  		<input type="text" name="name" size="40" value="" class="inputbox" maxlength="50" />
		  	</td>
		</tr>
		<tr>
			<td>
				<?php 
        echo _REGISTER_UNAME;
        ?>
 *
			</td>
			<td>
				<input type="text" name="username" size="40" value="" class="inputbox" maxlength="25" />
			</td>
		</tr>
		<tr>
			<td>
				<?php 
        echo _REGISTER_EMAIL;
        ?>
 *
			</td>
//.........这里部分代码省略.........
开发者ID:patricmutwiri,项目名称:joomlaclube,代码行数:101,代码来源:registration.html.php

示例8: edit


//.........这里部分代码省略.........
			 		<?php 
        echo mosToolTip('You can select multiple Categories');
        ?>
			  		</td>
				</tr>
				<tr>
					<td align="right">URL:</td>
					<td colspan="2">
                    <?php 
        echo ampReplace($lists['link']);
        ?>
					</td>
				</tr>
				<tr>
					<td align="right">Parent Item:</td>
					<td colspan="2">
					<?php 
        echo $lists['parent'];
        ?>
					</td>
				</tr>
				<tr>
					<td valign="top" align="right">Ordering:</td>
					<td colspan="2">
					<?php 
        echo $lists['ordering'];
        ?>
					</td>
				</tr>
				<tr>
					<td valign="top" align="right">Access Level:</td>
					<td colspan="2">
					<?php 
        echo $lists['access'];
        ?>
					</td>
				</tr>
				<tr>
					<td valign="top" align="right">Published:</td>
					<td colspan="2">
					<?php 
        echo $lists['published'];
        ?>
					</td>
				</tr>
				<tr>
					<td colspan="3">&nbsp;</td>
				</tr>
				</table>
			</td>
			<td width="40%">
				<table class="adminform">
				<tr>
					<th>
					Parameters
					</th>
				</tr>
				<tr>
					<td>
					<?php 
        echo $params->render();
        ?>
					</td>
				</tr>
				</table>
			</td>
		</tr>
		</table>

		<input type="hidden" name="option" value="<?php 
        echo $option;
        ?>
" />
		<input type="hidden" name="id" value="<?php 
        echo $menu->id;
        ?>
" />
		<input type="hidden" name="menutype" value="<?php 
        echo $menu->menutype;
        ?>
" />
		<input type="hidden" name="type" value="<?php 
        echo $menu->type;
        ?>
" />
		<input type="hidden" name="link" value="index.php?option=com_content&task=blogcategory&id=0" />
		<input type="hidden" name="componentid" value="0" />
		<input type="hidden" name="task" value="" />
		<input type="hidden" name="hidemainmenu" value="0" />
		<input type="hidden" name="<?php 
        echo josSpoofValue();
        ?>
" value="1" />
		</form>
		<script language="Javascript" src="<?php 
        echo $mosConfig_live_site;
        ?>
/includes/js/overlib_mini.js"></script>
		<?php 
    }
开发者ID:jwest00724,项目名称:Joomla-1.0,代码行数:101,代码来源:content_blog_category.menu.html.php

示例9: settings

    function settings($option, &$params, $id)
    {
        global $mosConfig_live_site, $mosConfig_cachepath, $my;
        ?>
		<div id="overDiv" style="position:absolute; visibility:hidden; z-index:10000;"></div>
		<form action="index2.php" method="post" name="adminForm">
		<table class="adminheading">
		<tr>
			<th>
			Configurações do Difusor de Notícias
			</th>
		</tr>
		</table>

		<table class="adminform">
		<tr>
			<th>
			Parâmetros
			</th>
		</tr>
		<tr>
			<td>
			<?php 
        echo $params->render();
        ?>
			</td>
		</tr>
		</table>
		
		<table class="adminform">
		<tr>
			<td>
				<table align="center">
				<?php 
        $visible = 0;
        // check to hide certain paths if not super admin
        if ($my->gid == 25) {
            $visible = 1;
        }
        mosHTML::writableCell($mosConfig_cachepath, 0, '<strong>Diretório de Cache</strong> ', $visible);
        ?>
				</table>
			</td>
		</tr>
		</table>

		<input type="hidden" name="id" value="<?php 
        echo $id;
        ?>
" />
		<input type="hidden" name="name" value="Difusão de Notícias" />
		<input type="hidden" name="admin_menu_link" value="option=com_syndicate" />
		<input type="hidden" name="admin_menu_alt" value="Administrar configuração de Difusão de Notícias" />
		<input type="hidden" name="option" value="com_syndicate" />
		<input type="hidden" name="admin_menu_img" value="js/ThemeOffice/component.png" />
		<input type="hidden" name="option" value="<?php 
        echo $option;
        ?>
" />
		<input type="hidden" name="task" value="" />
		<input type="hidden" name="boxchecked" value="0" />
		<input type="hidden" name="<?php 
        echo josSpoofValue();
        ?>
" value="1" />
		</form>
		<script language="Javascript" src="<?php 
        echo $mosConfig_live_site;
        ?>
/includes/js/overlib_mini.js"></script>
		<?php 
    }
开发者ID:patricmutwiri,项目名称:joomlaclube,代码行数:72,代码来源:admin.syndicate.html.php

示例10: editWeblink

    /**
     * Writes the edit form for new and existing record (FRONTEND)
     *
     * A new record is defined when <var>$row</var> is passed with the <var>id</var>
     * property set to 0.
     * @param mosWeblink The weblink object
     * @param string The html for the categories select list
     */
    function editWeblink($option, &$row, &$lists)
    {
        global $mainframe;
        require_once $GLOBALS['mosConfig_absolute_path'] . '/includes/HTML_toolbar.php';
        $Returnid = intval(mosGetParam($_REQUEST, 'Returnid', 0));
        // used for spoof hardening
        $validate = josSpoofValue();
        ?>
		<script language="javascript" type="text/javascript">
		function submitbutton(pressbutton) {
			var form = document.adminForm;
			if (pressbutton == 'cancel') {
				submitform( pressbutton );
				return;
			}

			// do field validation
			if (form.title.value == ""){
				alert( "Weblink item must have a title" );
			} else if (getSelectedValue('adminForm','catid') < 1) {
				alert( "You must select a category." );
			} else if (form.url.value == ""){
				alert( "You must have a url." );
			} else {
				submitform( pressbutton );
			}
		}
		</script>

		<form action="<?php 
        echo sefRelToAbs("index.php");
        ?>
" method="post" name="adminForm" id="adminForm">
		<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr>
			<td class="contentheading">
			<?php 
        echo _SUBMIT_LINK;
        ?>
			</td>
			<td width="10%">
			<?php 
        mosToolBar::startTable();
        mosToolBar::spacer();
        mosToolBar::save();
        mosToolBar::cancel();
        mosToolBar::endtable();
        ?>
			</td>
		</tr>
		</table>

		<table cellpadding="4" cellspacing="1" border="0" width="100%">
		<tr>
			<td width="20%" align="right">
			<?php 
        echo _NAME;
        ?>
			</td>
			<td width="80%">
			<input class="inputbox" type="text" name="title" size="50" maxlength="250" value="<?php 
        echo htmlspecialchars($row->title, ENT_QUOTES);
        ?>
" />
			</td>
		</tr>
		<tr>
			<td valign="top" align="right">
			<?php 
        echo _SECTION;
        ?>
			</td>
			<td>
			<?php 
        echo $lists['catid'];
        ?>
			</td>
		</tr>
		<tr>
			<td valign="top" align="right">
			<?php 
        echo _URL;
        ?>
			</td>
			<td>
			<input class="inputbox" type="text" name="url" value="<?php 
        echo $row->url;
        ?>
" size="50" maxlength="250" />
			</td>
		</tr>
		<tr>
//.........这里部分代码省略.........
开发者ID:allenahner,项目名称:mizzou,代码行数:101,代码来源:weblinks.html.php

示例11: showRestore

    /**
     * A restore confirmation page
     * Writes list of the items that have been selected for restore
     */
    function showRestore($option, $cid, $items, $type)
    {
        ?>
		<form action="index2.php" method="post" name="adminForm">
		<table class="adminheading">
		<tr>
			<th>Restaurar Itens</th>
		</tr>
		</table>

		<br />
		<table class="adminform">
		<tr>
			<td width="3%"></td>
			<td align="left" valign="top" width="20%">
			<strong>Número de Itens:</strong>
			<br />
			<font color="#000066"><strong><?php 
        echo count($cid);
        ?>
</strong></font>
			<br /><br />
			</td>
			<td align="left" valign="top" width="25%">
			<strong>Itens sendo Restaurados:</strong>
			<br />
			<?php 
        echo "<ol>";
        foreach ($items as $item) {
            echo "<li>" . $item->name . "</li>";
        }
        echo "</ol>";
        ?>
			</td>
			 <td valign="top">
			* Isto vai <strong><font color="#FF0000">Restaurar</font></strong> estes itens,<br />eles serão devolvidos para os lugares de origem.*
			<br /><br /><br />
			<div style="border: 1px dotted gray; width: 80px; padding: 10px; margin-left: 50px;">
			<a class="toolbar" href="javascript:if (confirm('Tem certeza que deseja restaurar os itens listados?.')){ submitbutton('restore');}" onmouseout="MM_swapImgRestore();"  onmouseover="MM_swapImage('restore','','images/restore_f2.png',1);">
			<img name="restore" src="images/restore.png" alt="Restore" border="0" align="middle" />
			&nbsp;Restaurar
			</a>
			</div>
			</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		</table>
		<br /><br />

		<input type="hidden" name="option" value="<?php 
        echo $option;
        ?>
" />
		<input type="hidden" name="task" value="" />
		<input type="hidden" name="boxchecked" value="1" />
		<input type="hidden" name="type" value="<?php 
        echo $type;
        ?>
" />
		<?php 
        foreach ($cid as $id) {
            echo "\n<input type=\"hidden\" name=\"cid[]\" value=\"{$id}\" />";
        }
        ?>
		<input type="hidden" name="<?php 
        echo josSpoofValue();
        ?>
" value="1" />
		</form>
		<?php 
    }
开发者ID:patricmutwiri,项目名称:joomlaclube,代码行数:77,代码来源:admin.trash.html.php

示例12: editConfigSource


//.........这里部分代码省略.........
		Joomla.submitbutton = submitbutton;
		<?php 
        }
        ?>
	
		//-->
		</script>

		<form action="index.php" method="post" name="adminForm">		
		<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr>
			<td valign="top" width="220px">
			<div>
				<?php 
        echo joomla_lms_adm_html::JLMS_menu();
        ?>
			</div>
			</td>
			<td valign="top">
			<table cellpadding="0" cellspacing="0" border="0" width="100%">
			<tr>
			<td width="290">
		<?php 
        if (!class_exists('JToolBarHelper')) {
            ?>
			<table class="adminheading"><tr><th class="config"><?php 
            echo _JOOMLMS_COMP_NAME . ': <small>DEV.config</small>';
            ?>
</th></tr></table>
		<?php 
        }
        ?>
			</td>
			<td width="220">
				<span class="componentheading">config.inc.php is :
				<b><?php 
        echo is_writable($config_path) ? '<font color="green"> ' . _JLMS_WRITABLE . '</font>' : '<font color="red"> ' . _JLMS_UNWRITABLE . '</font>';
        ?>
</b>
				</span>
			</td>
<?php 
        if (mosIsChmodable($config_path)) {
            if (is_writable($config_path)) {
                ?>
			<td>
				<input type="checkbox" id="disable_write" name="disable_write" value="1"/>
				<label for="disable_write"><?php 
                echo _JLMS_CFG_MSG_UNWR_AFTER_SAVE;
                ?>
</label>
			</td>
<?php 
            } else {
                ?>
			<td>
				<input type="checkbox" id="enable_write" name="enable_write" value="1"/>
				<label for="enable_write"><?php 
                echo _JLMS_CFG_MSG_OVERRIDE_PROTT;
                ?>
</label>
			</td>
<?php 
            }
            // if
        }
        // if
        ?>
		</tr>
		</table>
		<div class="width-100">
		<fieldset class="adminform">
		<table >
			<tr><th><?php 
        echo $config_path;
        ?>
</th></tr>
			<tr><td><textarea style="width:100%;height:500px" cols="110" rows="25" name="filecontent" class="inputbox"><?php 
        echo $content;
        ?>
</textarea></td></tr>
		</table>
		</fieldset>
		</div>
		</td>
		</tr>
		</table>		
		<input type="hidden" name="option" value="<?php 
        echo $option;
        ?>
" />
		<input type="hidden" name="task" value="dev_config" />
		<input type="hidden" name="page" value="save_config" />
		<input type="hidden" name="<?php 
        echo josSpoofValue();
        ?>
" value="1" />
		</form>		
		<?php 
    }
开发者ID:parkmi,项目名称:dolschool14,代码行数:101,代码来源:admin.dev_config.html.php

示例13: editCategory


//.........这里部分代码省略.........
        ?>
					</td>
				</tr>
				<tr>
					<td align="right">
					Parent Item:
					</td>
					<td colspan="2">
					<?php 
        echo $lists['parent'];
        ?>
					</td>
				</tr>
				<tr>
					<td valign="top" align="right">
					Ordering:
					</td>
					<td colspan="2">
					<?php 
        echo $lists['ordering'];
        ?>
					</td>
				</tr>
				<tr>
					<td valign="top" align="right">
					Access Level:
					</td>
					<td colspan="2">
					<?php 
        echo $lists['access'];
        ?>
					</td>
				</tr>
				<tr>
					<td valign="top" align="right">
					Published:
					</td>
					<td colspan="2">
					<?php 
        echo $lists['published'];
        ?>
					</td>
				</tr>
				<tr>
					<td colspan="3">&nbsp;</td>
				</tr>
				</table>
			</td>
			<td width="40%">
				<table class="adminform">
				<tr>
					<th>
					Parameters
					</th>
				</tr>
				<tr>
					<td>
					<?php 
        echo $params->render();
        ?>
					</td>
				</tr>
				</table>
			</td>
		</tr>
		</table>

		<input type="hidden" name="option" value="<?php 
        echo $option;
        ?>
" />
		<input type="hidden" name="id" value="<?php 
        echo $menu->id;
        ?>
" />
		<input type="hidden" name="menutype" value="<?php 
        echo $menu->menutype;
        ?>
" />
		<input type="hidden" name="type" value="<?php 
        echo $menu->type;
        ?>
" />
		<input type="hidden" name="link" value="<?php 
        echo $menu->link;
        ?>
" />
		<input type="hidden" name="task" value="" />
		<input type="hidden" name="hidemainmenu" value="0" />
		<input type="hidden" name="<?php 
        echo josSpoofValue();
        ?>
" value="1" />
		</form>
		<script language="Javascript" src="<?php 
        echo $mosConfig_live_site;
        ?>
/includes/js/overlib_mini.js"></script>
		<?php 
    }
开发者ID:jwest00724,项目名称:Joomla-1.0,代码行数:101,代码来源:newsfeed_category_table.menu.html.php

示例14: showInstalledModules


//.........这里部分代码省略.........

			<table class="adminlist">
			<tr>
				<th width="20%" class="title">
				Arquivo do Módulo
				</th>
				<th width="10%" align="left">
				Cliente
				</th>
				<th width="10%" align="left">
				Autor
				</th>
				<th width="5%" align="center">
				Versão
				</th>
				<th width="10%" align="center">
				Data
				</th>
				<th width="15%" align="left">
				 E-mail do Autor
				</th>
				<th width="15%" align="left">
				URL do Autor
				</th>
			</tr>
			<?php 
            $rc = 0;
            for ($i = 0, $n = count($rows); $i < $n; $i++) {
                $row =& $rows[$i];
                ?>
				<tr class="<?php 
                echo "row{$rc}";
                ?>
">
					<td>
					<input type="radio" id="cb<?php 
                echo $i;
                ?>
" name="cid[]" value="<?php 
                echo $row->id;
                ?>
" onclick="isChecked(this.checked);"><span class="bold"><?php 
                echo $row->module;
                ?>
</span></td>
					<td>
					<?php 
                echo $row->client_id == "0" ? 'Site' : 'Administração';
                ?>
					</td>
					<td>
					<?php 
                echo @$row->author != "" ? $row->author : "&nbsp;";
                ?>
					</td>
					<td align="center">
					<?php 
                echo @$row->version != "" ? $row->version : "&nbsp;";
                ?>
					</td>
					<td align="center">
					<?php 
                echo @$row->creationdate != "" ? $row->creationdate : "&nbsp;";
                ?>
					</td>
					<td>
					<?php 
                echo @$row->authorEmail != "" ? $row->authorEmail : "&nbsp;";
                ?>
					</td>
					<td>
					<?php 
                echo @$row->authorUrl != "" ? "<a href=\"" . (substr($row->authorUrl, 0, 7) == 'http://' ? $row->authorUrl : 'http://' . $row->authorUrl) . "\" target=\"_blank\">{$row->authorUrl}</a>" : "&nbsp;";
                ?>
					</td>
				</tr>
				<?php 
                $rc = $rc == 0 ? 1 : 0;
            }
        } else {
            ?>
			<td class="small">
			Não há módulos personalizados instalados
			</td>
			<?php 
        }
        ?>
		</table>

		<input type="hidden" name="task" value="" />
		<input type="hidden" name="boxchecked" value="0" />
		<input type="hidden" name="option" value="com_installer" />
		<input type="hidden" name="element" value="module" />
		<input type="hidden" name="<?php 
        echo josSpoofValue();
        ?>
" value="1" />
		</form>
		<?php 
    }
开发者ID:patricmutwiri,项目名称:joomlaclube,代码行数:101,代码来源:module.html.php

示例15: editNewsFeed


//.........这里部分代码省略.........
			<th colspan="2">
			Detalhes
			</th>
		</tr>
		<tr>
			<td>
			Nome
			</td>
			<td>
			<input class="inputbox" type="text" size="40" name="name" value="<?php 
        echo $row->name;
        ?>
">
			</td>
		</tr>
		<tr>
			<td>
			Categoria
			</td>
			<td>
			<?php 
        echo $lists['category'];
        ?>
			</td>
		</tr>
		<tr>
			<td>
			URL
			</td>
			<td>
			<input class="inputbox" type="text" size="60" name="link" value="<?php 
        echo $row->link;
        ?>
">
			</td>
		</tr>
		<tr>
			<td>
			Número de Artigos
			</td>
			<td>
			<input class="inputbox" type="text" size="2" name="numarticles" value="<?php 
        echo $row->numarticles;
        ?>
">
			</td>
		</tr>
		<tr>
			<td>
			Duração da Cache (em segundos)
			</td>
			<td>
			<input class="inputbox" type="text" size="4" name="cache_time" value="<?php 
        echo $row->cache_time;
        ?>
">
			</td>
		</tr>
		<tr>
			<td>
			Ordem
			</td>
			<td>
			<?php 
        echo $lists['ordering'];
        ?>
			</td>
		</tr>
		<tr>
			<td valign="top" align="right">
			Publicado:
			</td>
			<td>
			<?php 
        echo $lists['published'];
        ?>
			</td>
		</tr>
		<tr>
			<td colspan="2" align="center">
			</td>
		</tr>
		</table>

		<input type="hidden" name="id" value="<?php 
        echo $row->id;
        ?>
">
		<input type="hidden" name="option" value="<?php 
        echo $option;
        ?>
">
		<input type="hidden" name="task" value="">
		<input type="hidden" name="<?php 
        echo josSpoofValue();
        ?>
" value="1" />
		</form>
	<?php 
    }
开发者ID:patricmutwiri,项目名称:joomlaclube,代码行数:101,代码来源:admin.newsfeeds.html.php


注:本文中的josSpoofValue函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。