Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phame/editor/PhameBlogEditEngine.php
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Lines | id(new PhabricatorRemarkupEditField()) | ||||
->setDescription(pht('Blog description.')) | ->setDescription(pht('Blog description.')) | ||||
->setConduitDescription(pht('Change the blog description.')) | ->setConduitDescription(pht('Change the blog description.')) | ||||
->setConduitTypeDescription(pht('New blog description.')) | ->setConduitTypeDescription(pht('New blog description.')) | ||||
->setTransactionType(PhameBlogTransaction::TYPE_DESCRIPTION) | ->setTransactionType(PhameBlogTransaction::TYPE_DESCRIPTION) | ||||
->setValue($object->getDescription()), | ->setValue($object->getDescription()), | ||||
id(new PhabricatorTextEditField()) | id(new PhabricatorTextEditField()) | ||||
->setKey('domainFullURI') | ->setKey('domainFullURI') | ||||
->setLabel(pht('Full Domain URI')) | ->setLabel(pht('Full Domain URI')) | ||||
->setControlInstructions(pht('Set Full Domain URI if you plan to '. | |||||
'serve this blog on another hosted domain. Parent Site Name and '. | |||||
'Parent Site URI are optional but helpful since they provide '. | |||||
'a link from the blog back to your parent site.')) | |||||
->setDescription(pht('Blog full domain URI.')) | ->setDescription(pht('Blog full domain URI.')) | ||||
->setConduitDescription(pht('Change the blog full domain URI.')) | ->setConduitDescription(pht('Change the blog full domain URI.')) | ||||
->setConduitTypeDescription(pht('New blog full domain URI.')) | ->setConduitTypeDescription(pht('New blog full domain URI.')) | ||||
->setValue($object->getDomainFullURI()) | ->setValue($object->getDomainFullURI()) | ||||
->setTransactionType(PhameBlogTransaction::TYPE_FULLDOMAIN), | ->setTransactionType(PhameBlogTransaction::TYPE_FULLDOMAIN), | ||||
id(new PhabricatorTextEditField()) | id(new PhabricatorTextEditField()) | ||||
->setKey('parentSite') | ->setKey('parentSite') | ||||
->setLabel(pht('Parent Site')) | ->setLabel(pht('Parent Site Name')) | ||||
->setDescription(pht('Blog parent site name.')) | ->setDescription(pht('Blog parent site name.')) | ||||
->setConduitDescription(pht('Change the blog parent site name.')) | ->setConduitDescription(pht('Change the blog parent site name.')) | ||||
->setConduitTypeDescription(pht('New blog parent site name.')) | ->setConduitTypeDescription(pht('New blog parent site name.')) | ||||
->setValue($object->getParentSite()) | ->setValue($object->getParentSite()) | ||||
->setTransactionType(PhameBlogTransaction::TYPE_PARENTSITE), | ->setTransactionType(PhameBlogTransaction::TYPE_PARENTSITE), | ||||
id(new PhabricatorTextEditField()) | id(new PhabricatorTextEditField()) | ||||
->setKey('parentDomain') | ->setKey('parentDomain') | ||||
->setLabel(pht('Parent Domain')) | ->setLabel(pht('Parent Site URI')) | ||||
->setDescription(pht('Blog parent domain name.')) | ->setDescription(pht('Blog parent domain name.')) | ||||
->setConduitDescription(pht('Change the blog parent domain.')) | ->setConduitDescription(pht('Change the blog parent domain.')) | ||||
->setConduitTypeDescription(pht('New blog parent domain.')) | ->setConduitTypeDescription(pht('New blog parent domain.')) | ||||
->setValue($object->getParentDomain()) | ->setValue($object->getParentDomain()) | ||||
->setTransactionType(PhameBlogTransaction::TYPE_PARENTDOMAIN), | ->setTransactionType(PhameBlogTransaction::TYPE_PARENTDOMAIN), | ||||
id(new PhabricatorSelectEditField()) | id(new PhabricatorSelectEditField()) | ||||
->setKey('status') | ->setKey('status') | ||||
->setLabel(pht('Status')) | ->setLabel(pht('Status')) | ||||
Show All 11 Lines |